Commit graph

449 commits

Author SHA1 Message Date
Tim-Philipp Müller 29352ad0f8 Release 1.19.2 2021-09-23 01:36:20 +01:00
Jordan Petridis f75713f070 git-update: dump output in case subproject download fails
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/261>
2021-08-31 20:21:32 +03:00
Nirbheek Chauhan c99e3b312a meson: Don't use add_global_arguments when a subproject
This is the correct fix for https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/236

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/259>
2021-08-30 17:23:05 +05:30
Nirbheek Chauhan 06869815fd Revert "Meson: Avoid using add_global_arguments() when gst-build is a subproject"
This reverts commit ebcca1e5ea.

/utf-8 is needed to deal with subprojects that we do not control.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/259>
2021-08-30 17:21:44 +05:30
Nirbheek Chauhan a31e9dcf43 gst-env: Don't set DYLD_LIBRARY_PATH on macOS
This is not actually needed because everything we build is using
@rpath already, and setting it causes dynamic linker path priority
issues with macOS internals causing *all* programs to fail to run
inside gst-env:

```
$ vim
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
  Expected in: /Users/nirbheek/projects/repos/gst-build/_build_macos/subprojects/libjpeg-turbo-2.1.0/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
Abort trap: 6
```

In this case it is caused by libjpeg.dylib, but it can happen with
other dylibs that conflict with dylibs used by macOS internally.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/257>
2021-08-28 23:44:52 +05:30
Nirbheek Chauhan 80621a3f07 libopenjp2.wrap: Update to v6 to fix macOS build
https://github.com/mesonbuild/wrapdb/pull/138

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/257>
2021-08-28 23:44:52 +05:30
Nirbheek Chauhan afd11f3383 New subproject macos-bison-binary to provide bison on macOS
The version of bison that ships with macOS is too old, so we need to
provide our own version of it.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/174

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/257>
2021-08-28 23:44:52 +05:30
Olivier Crete 879126a31c Allow running gst-uninstalled when gst-build is a subproject
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/222>
2021-08-27 12:44:25 +00:00
Jay Douglass 395407483c Use the default formatting for git show in case the user has set a pretty format
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/258>
2021-08-27 03:21:52 +00:00
Jordan Petridis 747e62aed8 libsoup: update to 2.74.0
With an extra commit on top to fix the windows build.

See https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/249

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/252>
2021-08-26 15:59:08 +03:00
Xavier Claessens 8f62c0c933 Update to sqlite3 from wrapdb
`meson subprojects update` fails with Meson >= 0.59 because 'sqlite'
wrap got renamed to 'sqlite3' in wrapdb v2.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/252>
2021-08-24 20:52:06 +00:00
Xavier Claessens ebcca1e5ea Meson: Avoid using add_global_arguments() when gst-build is a subproject
Meson only allows the main project to use it. We already set that flag
in all GStreamer modules just like warning flags.

Fixes: #152
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/236>
2021-08-12 14:17:30 +00:00
Thibault Saunier c24958c781 git-update: Fix passing fetch_args
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/255>
2021-08-12 13:20:15 +00:00
Thibault Saunier b29665f3bd git-update: Force fetching tags
Making it simpler for user to specify tags in manifests

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/255>
2021-08-12 13:20:15 +00:00
Tim-Philipp Müller 681068a59d subprojects: pin pango wrap to tag
master branch got renamed to main, but might as well pin it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/256>
2021-08-08 19:42:24 +01:00
Seungha Yang 0587385a42 subprojects: Bump libjpeg-turbo version to 2.1.0-2 for x86 MSVC build
Need the latest version to support 32bit MSVC build

See also f24069784f
and https://github.com/mesonbuild/wrapdb/issues/111

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/254>
2021-08-04 19:22:30 +09:00
Seungha Yang fbc0fa0086 subprojects: Add libjpeg-turbo wrap
Would be useful for Windows

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/253>
2021-08-03 22:01:49 +09:00
Stéphane Cerveau e8d09435ae gitlab: add a gitlab issue template for bug
To clarify what is expected in an issue description and avoid
issue which is just an usage issue, add a bug template in gitlab.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/251>
2021-07-20 09:48:23 +02:00
Jordan Petridis 765fc5703b harfbuzz.wrap: Use the latest tag instead of tip of git
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/237>
2021-07-02 17:08:48 +03:00
Nicolas Dufresne 1dcdcc9b68 Fix fontconfig wrap revision
The project now uses main in replacement for master.
2021-06-30 10:01:04 -04:00
Thibault Saunier 2f46350910 git-update: Respect specified revision from manifest for gst-build
This broke in b9acfcace8

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/249>
2021-06-17 21:41:10 -04:00
Antonio Ospite 1676726332 subprojects: update glib-networking.wrap to use the 2.68 branch
glib-networking fixed some issues when building with older libssl version
in the 2.68 release, update the wrap file to use the newer version.

In particular this fixes building on Ubuntu 16.04 with:

  meson --wrap-mode=forcefallback

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/247>
2021-06-07 16:54:29 +02:00
Tim-Philipp Müller 227c137692 subprojects: update harfbuzz branch ref after rename
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/246>
2021-06-05 19:09:18 +01:00
Tim-Philipp Müller 723478b6be Back to development 2021-06-01 15:34:41 +01:00
Tim-Philipp Müller 3804f23e3f Release 1.19.1 2021-06-01 00:17:06 +01:00
Stéphane Cerveau 23f4266bbd gstreamer-full: fix empty -Dgst-full-plugins=
When this option was given empty, when for example we don't
want any plugin in gstreamer full, the
build process was failing because an empty
plugin was created in gstinitstaticplugins.c.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/244>
2021-05-18 14:41:41 +02:00
Stéphane Cerveau cb74a24fbd gstreamer-full: error about introspection
The introspection feature is not supported yet
in static build.
Needs
https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/167/diffs

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/242>
2021-05-04 11:41:46 +02:00
Olivier Crête e43985d8bb devenv: Add webrtc testsuite to paths
This makes it a little easier to run it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/243>
2021-04-30 17:37:31 -04:00
Stéphane Cerveau e4421c3c90 bash-completion: add completion for gstreamer tools
Allow to autocomplete with elements/properties
in the devenv using gst-launch-1.0 etc.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/232>
2021-04-29 23:54:33 +00:00
Edward Hervey ce79200376 subprojects: Update glib to 2.68 and glib-networking to 2.66 branch
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/143>
2021-04-12 00:14:20 +01:00
Nirbheek Chauhan 468232b6bc git-update: Make fetching of external repos non-fatal on the CI
Fixes intermittent failures when external repos have downtime. This is
common with GNOME Gitlab. Only error out on CI if a FDO gitlab repo
fails to fetch.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/240>
2021-04-08 15:21:07 +05:30
Andrey Moiseev d5b6cc88f9 gst-env: Windows: Fix looking for cmd_or_ps.ps1 in the wrong directory
At the point of get_windows_shell() execution, the current directory
equals DEFAULT_BUILDDIR=./build. But cmd_or_ps.ps1 is in SCRIPTDIR=./
(repo root). Point subprocess.check_output() to the correct directory.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/238>
2021-04-06 02:51:07 -07:00
Tim-Philipp Müller d3c4043db3 .gitignore: add more subproject checkouts
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/231>
2021-01-14 19:18:55 +00:00
Tim-Philipp Müller 334fdf5c3a subprojects: add libdv wrap
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/231>
2021-01-14 19:16:01 +00:00
Xavier Claessens a64eacd73b meson: Update zlib.wrap to use wrapdb instead of github fork
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/217>
2021-01-13 12:55:06 +00:00
Stéphane Cerveau f0f0662d9d gst-full: add way to test features presence
This test allows to test a list of features to be
registered in the library (or not).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199>
2020-12-11 12:50:16 +00:00
Stéphane Cerveau b6f61768d3 gst-full: add 'gst-full-' features options
These options allow to select a set of features from a given
plugin with the following syntax:

-Dgst-full-plugins=plugin1;plugin10
-Dgst-full-elements=plugin2:element1,element2
-Dgst-full-typefind-functions=plugins3:func
-Dgst-full-device-providers=plugin4,dp1
-Dgst-full-dynamic-types=plugin5:dt1

By default all the enabled plugin are registered and
gst-full-plugins will allow to include only a set of plugin

If a feature(element, typefind etc.) is selected from a plugin,
the plugin is removed from the plugins list.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199>
2020-12-11 12:50:16 +00:00
Arun Raghavan f0210bf92e gitignore: Add the webrtc-audio-processing subproject
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/227>
2020-12-03 06:40:15 -05:00
Stéphane Cerveau 52e7b2a8e0 gst-full: fix static build on Windows host
Static build needs a version script which is
not available on Windows.
Need to implement use of def file.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/226>
2020-11-23 17:32:08 +01:00
Tim-Philipp Müller 000b01c6f1 Add opus wrap
Now that Meson build system support has been merged upstream.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/225>
2020-11-16 19:23:20 +00:00
Nirbheek Chauhan 9898650a31 meson: Update expat.wrap for MSVC fix
This broke during the update in !206, and we didn't notice because the
CI doesn't update --reset the wraps, which will be fixed by
https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/375

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/224>
2020-11-05 13:09:46 +05:30
Nirbheek Chauhan e3d694195f gitignore: Add new subprojects to ignore list
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/223>
2020-11-04 18:56:38 +05:30
Nirbheek Chauhan 81c3c9175b meson: Do not add MSVC warnings flags globally
These get added to *all* subprojects, including ones we do not
maintain such as ffmpeg which then emits thousands of warnings that
completely overwhelm the compile output.

We will add these in each gstreamer subproject separately.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/223>
2020-11-04 18:41:36 +05:30
Guillaume Desmottes eba05e57a6 subprojects: add webrtc-audio-processing.wrap
Will be useful to build the iSAC plugin:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1124

Depends on https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/11

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/219>
2020-10-28 16:14:41 +01:00
Stéphane Cerveau 94260955ba gst-full: add warning for gst_init_static_plugins
As some compiler might not supported -Wl,--undefined
add a warning to the meson configure stage.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/211>
2020-10-28 14:15:52 +00:00
Stéphane Cerveau 89176610d2 Revert "subprojects: orc: pin to 0.4.29 release"
This reverts commit 8a2ac5c668.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/215>
2020-10-27 14:33:59 +01:00
Tim-Philipp Müller 2faa29909f libpsl.wrap: pin to 0.21.1 tag
So build failures on master don't break our build and CI.

https://github.com/rockdaboot/libpsl/pull/164

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/213>
2020-10-26 12:13:12 +00:00
Xavier Claessens 8046eda879 Meson: Use generated -uninstalled.pc files 2020-10-23 10:55:20 -04:00
Stéphane Cerveau a4f711e9e5 gst-full: add linker flag to keep gst_init_static_plugins
In a fully static link where an app link with gstreamer-full
the gst_init_static_plugins can be discarded because
no one references it.
Indeed the symbol is looked up by gst_init to call if it exists
and so it is not clearly referenced.

In order to avoid this issue, we use the linker flag
--undefined=gst_init_static_plugins to keep
the symbol.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/207>
2020-10-21 15:44:59 +02:00
Stéphane Cerveau f82527519c gst-full: use '-Wl,-Bsymbolic-functions' to reduce footprint
As most of the gst/glib modules, use this linker flag
to reduce footprint.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/204>
2020-10-14 16:05:13 +02:00