platform/upstream/gstreamer.git
3 years agodevenv: Add webrtc testsuite to paths
Olivier Crête [Fri, 30 Apr 2021 21:37:31 +0000 (17:37 -0400)]
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>

3 years agobash-completion: add completion for gstreamer tools
Stéphane Cerveau [Fri, 26 Feb 2021 10:13:45 +0000 (11:13 +0100)]
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>

3 years agosubprojects: Update glib to 2.68 and glib-networking to 2.66 branch
Edward Hervey [Sun, 11 Apr 2021 23:09:17 +0000 (00:09 +0100)]
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>

3 years agogit-update: Make fetching of external repos non-fatal on the CI
Nirbheek Chauhan [Thu, 8 Apr 2021 09:51:07 +0000 (15:21 +0530)]
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>

3 years agogst-env: Windows: Fix looking for cmd_or_ps.ps1 in the wrong directory
Andrey Moiseev [Mon, 5 Apr 2021 07:00:34 +0000 (07:00 +0000)]
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>

3 years ago.gitignore: add more subproject checkouts
Tim-Philipp Müller [Thu, 14 Jan 2021 19:18:26 +0000 (19:18 +0000)]
.gitignore: add more subproject checkouts

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/231>

3 years agosubprojects: add libdv wrap
Tim-Philipp Müller [Thu, 14 Jan 2021 19:16:01 +0000 (19:16 +0000)]
subprojects: add libdv wrap

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/231>

3 years agomeson: Update zlib.wrap to use wrapdb instead of github fork
Xavier Claessens [Tue, 27 Oct 2020 13:45:32 +0000 (09:45 -0400)]
meson: Update zlib.wrap to use wrapdb instead of github fork

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/217>

3 years agogst-full: add way to test features presence
Stéphane Cerveau [Fri, 9 Oct 2020 09:54:19 +0000 (11:54 +0200)]
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>

3 years agogst-full: add 'gst-full-' features options
Stéphane Cerveau [Thu, 16 Jul 2020 11:18:38 +0000 (13:18 +0200)]
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>

3 years agogitignore: Add the webrtc-audio-processing subproject
Arun Raghavan [Thu, 3 Dec 2020 11:40:15 +0000 (06:40 -0500)]
gitignore: Add the webrtc-audio-processing subproject

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/227>

3 years agogst-full: fix static build on Windows host
Stéphane Cerveau [Wed, 18 Nov 2020 09:44:34 +0000 (10:44 +0100)]
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>

3 years agoAdd opus wrap
Tim-Philipp Müller [Sat, 7 Nov 2020 17:27:51 +0000 (17:27 +0000)]
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>

3 years agomeson: Update expat.wrap for MSVC fix
Nirbheek Chauhan [Thu, 5 Nov 2020 07:38:37 +0000 (13:08 +0530)]
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>

3 years agogitignore: Add new subprojects to ignore list
Nirbheek Chauhan [Wed, 4 Nov 2020 13:26:38 +0000 (18:56 +0530)]
gitignore: Add new subprojects to ignore list

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/223>

3 years agomeson: Do not add MSVC warnings flags globally
Nirbheek Chauhan [Wed, 4 Nov 2020 10:30:14 +0000 (16:00 +0530)]
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>

3 years agosubprojects: add webrtc-audio-processing.wrap
Guillaume Desmottes [Wed, 28 Oct 2020 15:14:41 +0000 (16:14 +0100)]
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>

3 years agogst-full: add warning for gst_init_static_plugins
Stéphane Cerveau [Thu, 22 Oct 2020 09:55:43 +0000 (11:55 +0200)]
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>

3 years agoRevert "subprojects: orc: pin to 0.4.29 release"
Stéphane Cerveau [Tue, 27 Oct 2020 13:02:36 +0000 (14:02 +0100)]
Revert "subprojects: orc: pin to 0.4.29 release"

This reverts commit 8a2ac5c668e9cf65dbd905be9b9aa996ed420429.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/215>

3 years agolibpsl.wrap: pin to 0.21.1 tag
Tim-Philipp Müller [Mon, 26 Oct 2020 12:13:12 +0000 (12:13 +0000)]
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>

3 years agoMeson: Use generated -uninstalled.pc files
Xavier Claessens [Mon, 30 Mar 2020 19:31:13 +0000 (15:31 -0400)]
Meson: Use generated -uninstalled.pc files

3 years agogst-full: add linker flag to keep gst_init_static_plugins
Stéphane Cerveau [Tue, 20 Oct 2020 10:45:59 +0000 (12:45 +0200)]
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>

3 years agogst-full: use '-Wl,-Bsymbolic-functions' to reduce footprint
Stéphane Cerveau [Tue, 13 Oct 2020 14:31:57 +0000 (16:31 +0200)]
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>

3 years agogstreamer-full: add assert for global symbols
Stéphane Cerveau [Fri, 9 Oct 2020 10:58:07 +0000 (12:58 +0200)]
gstreamer-full: add assert for global symbols

Add _gst_caps_features_any not null assert
Add _gst_caps_features_memory_system_memory as well

A bug has been detected when using -Bsymbolic in the link
of libgstreamer-full.so

This flag has been introduced to fix this issue:

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

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/204>

3 years agoRevert "gstreamer-full: Fix link with x264"
Stéphane Cerveau [Fri, 9 Oct 2020 16:17:03 +0000 (18:17 +0200)]
Revert "gstreamer-full: Fix link with x264"

This reverts commit e236d4f71a014cb26417428cc3dac881200e455d.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/204>

3 years agogst-full: use a default version script
Stéphane Cerveau [Mon, 12 Oct 2020 15:46:04 +0000 (17:46 +0200)]
gst-full: use a default version script

Use a default version script instead of
Bsymbolic to get rid of x264 and ffmpeg
symbol relocation issue.

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

Export only glib and gstreamer symbols.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/204>

3 years agomeson: Update expat.wrap with latest version
Xavier Claessens [Tue, 13 Oct 2020 16:27:28 +0000 (12:27 -0400)]
meson: Update expat.wrap with latest version

It fixes missing exported symbols:
https://github.com/mesonbuild/expat/commit/2602bd52eb7db804b5f0f988e293a1571b2b2709

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/206>

3 years agosubprojects: Update libwpe and wpebackend-fdo for fallback support
Philippe Normand [Mon, 12 Oct 2020 12:24:14 +0000 (13:24 +0100)]
subprojects: Update libwpe and wpebackend-fdo for fallback support

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/205>

3 years agogstreamer-full: add unit test
Stéphane Cerveau [Thu, 16 Jul 2020 16:13:50 +0000 (18:13 +0200)]
gstreamer-full: add unit test

This test allows to test gstreamer-full behaviour

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/203>

3 years agogstfull: Also include 'sources' from dependencies
Xavier Claessens [Sun, 26 Jul 2020 12:00:58 +0000 (08:00 -0400)]
gstfull: Also include 'sources' from dependencies

It contains generated headers like mkenums.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/203>

3 years agogst-full: Add missing include directories to use it in subprojects
Xavier Claessens [Fri, 24 Jul 2020 15:15:44 +0000 (11:15 -0400)]
gst-full: Add missing include directories to use it in subprojects

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/203>

3 years agogst-full: declare dependency
Stéphane Cerveau [Wed, 15 Jul 2020 14:57:47 +0000 (16:57 +0200)]
gst-full: declare dependency

Declare the gstreamer-full dependency which can be used
later by 3rd party applications.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/203>

3 years agomeson: move custom_subproject definition for gst-full
Stéphane Cerveau [Wed, 15 Jul 2020 13:46:49 +0000 (15:46 +0200)]
meson: move custom_subproject definition for gst-full

In order to let any subproject to use gstreamer-full
declare the subprojects after gstreamer-full definition.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/203>

3 years agowpebackend-fdo: Update to 1.9
Philippe Normand [Thu, 8 Oct 2020 08:41:30 +0000 (09:41 +0100)]
wpebackend-fdo: Update to 1.9

This commit will be useful for the wpesrc audio support, and for CI/SHM purposes
in general.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/202>

3 years agoAdd libwpe subproject
Philippe Normand [Thu, 8 Oct 2020 09:26:03 +0000 (10:26 +0100)]
Add libwpe subproject

This is a dependency of wpebackend-fdo.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/202>

3 years agogst-worktree: add support for wrap file without 'directory' field
Guillaume Desmottes [Wed, 7 Oct 2020 13:01:10 +0000 (15:01 +0200)]
gst-worktree: add support for wrap file without 'directory' field

The script is currently not usable because of pango.wrap not having the
'directory' field and relying on the default from the file name.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/201>

3 years agolibopenjp2: update wrap
Stéphane Cerveau [Tue, 6 Oct 2020 10:31:24 +0000 (12:31 +0200)]
libopenjp2: update wrap

Fix lcms2 and wxWidgets system dependencies.

https://github.com/mesonbuild/libopenjp2/pull/2

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/200>

3 years agomeson: add gst-full-version-script option
Guillaume Desmottes [Tue, 11 Aug 2020 13:49:53 +0000 (15:49 +0200)]
meson: add gst-full-version-script option

Can be used to control the exact symbols exported, or not, in
libgstreamer-full.

This is useful when building a tailored libgstreamer-full aimed
to be run with some specific binaries. By using such version script
one can reduce the size of the generated lib by letting the linker
garbage collect all the unused APIs.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/195>

3 years agoAdd pango.wrap file and its dependencies
Xavier Claessens [Tue, 29 Sep 2020 14:33:44 +0000 (10:33 -0400)]
Add pango.wrap file and its dependencies

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/196>

3 years agomeson: make good and base optional
Stéphane Cerveau [Wed, 15 Jul 2020 13:01:37 +0000 (15:01 +0200)]
meson: make good and base optional

Be able to disable the base/good build on demand
By default its always enabled.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/178>

3 years agogst-full: Prevent multiple calls to gst_init_static_plugins()
Xavier Claessens [Thu, 1 Oct 2020 14:43:36 +0000 (10:43 -0400)]
gst-full: Prevent multiple calls to gst_init_static_plugins()

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/191>

3 years agoREADME: Document gstreamer-full-1.0
Xavier Claessens [Tue, 29 Sep 2020 19:24:07 +0000 (15:24 -0400)]
README: Document gstreamer-full-1.0

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/191>

3 years agogst-full: Remove gstinitstaticplugins.h
Xavier Claessens [Wed, 23 Sep 2020 17:47:40 +0000 (13:47 -0400)]
gst-full: Remove gstinitstaticplugins.h

That header is not needed any more because gst_init() now calls
gst_init_static_plugins() automatically when available.

This is an API break compared to 1.18, but release notes made it clear
it was an experimental feature.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/191>

3 years agowindows: Detect Strawberry Perl and error out early
Nirbheek Chauhan [Thu, 1 Oct 2020 17:35:34 +0000 (23:05 +0530)]
windows: Detect Strawberry Perl and error out early

This is going to fail during the compile phase because Strawberry Perl
ships with its own pkg-config and pkgconfig files for zlib/libffi with
unusable values.

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

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/197>

3 years agogst-env: use Path.open() in get_pkgconfig_variable_from_pcfile()
Antonio Ospite [Thu, 24 Sep 2020 11:50:09 +0000 (13:50 +0200)]
gst-env: use Path.open() in get_pkgconfig_variable_from_pcfile()

The pcfile argument passed to get_target_install_filename() is
guaranteed to be a Path() object so use the .open() method to open the
file instead of the standard open() function.

This makes it possible to run gst-env.py on older systems with pyhton3.5
where the standard open() function cannot handle Path arguments.

The change fixes errors like the following:

-----------------------------------------------------------------------
$ ninja -C build/ devenv
ninja: Entering directory `build/'
[0/1] Running external command devenv
Traceback (most recent call last):
  File "/home/ao2/gst-build/gst-env.py", line 493, in <module>
    env = get_subprocess_env(options, gst_version)
  File "/home/ao2/gst-build/gst-env.py", line 342, in get_subprocess_env
    elif is_gio_module(target, filename, options.builddir):
  File "/home/ao2/gst-build/gst-env.py", line 121, in is_gio_module
    giomoduledir = PurePath(get_pkgconfig_variable(builddir, 'gio-2.0', 'giomoduledir'))
  File "/home/ao2/gst-build/gst-env.py", line 110, in get_pkgconfig_variable
    return get_pkgconfig_variable_from_pcfile(pcfile, varname)
  File "/home/ao2/gst-build/gst-env.py", line 89, in get_pkgconfig_variable_from_pcfile
    with open(pcfile, 'r', encoding='utf-8') as f:
TypeError: invalid file: PosixPath('/home/ao2/gst-build/build/meson-private/gio-2.0.pc')
FAILED: meson-devenv
-----------------------------------------------------------------------

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/192>

3 years agomeson: Add qt5 feature
Nicolas Dufresne [Tue, 15 Sep 2020 18:23:40 +0000 (14:23 -0400)]
meson: Add qt5 feature

This allow disabling qt5 across GStreamer with a single configuration.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/190>

3 years ago{pygobject,pycairo}.wrap: point to stable refs
Jordan Petridis [Tue, 15 Sep 2020 12:12:25 +0000 (15:12 +0300)]
{pygobject,pycairo}.wrap: point to stable refs

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/189>

3 years agoBack to development
Tim-Philipp Müller [Tue, 8 Sep 2020 15:59:25 +0000 (16:59 +0100)]
Back to development

3 years agoRelease 1.18.0
Tim-Philipp Müller [Mon, 7 Sep 2020 23:10:28 +0000 (00:10 +0100)]
Release 1.18.0

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/186>

3 years agocross-files: update README
Guillaume Desmottes [Thu, 27 Aug 2020 12:59:41 +0000 (14:59 +0200)]
cross-files: update README

- fix cross file path in example;
- make_standalone_toolchain.py has been deprecated, it's now recommended
to use prebuilt toolchains.

3 years agoRelease 1.17.90
Tim-Philipp Müller [Thu, 20 Aug 2020 15:17:01 +0000 (16:17 +0100)]
Release 1.17.90

3 years agogst-env: Load gio modules in the devenv
Nirbheek Chauhan [Thu, 23 Jul 2020 11:02:44 +0000 (16:32 +0530)]
gst-env: Load gio modules in the devenv

By setting GIO_EXTRA_MODULES we can ensure that any gio modules we
built are loaded by the devenv.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/180>

3 years agogst-env: Factor out some common code
Nirbheek Chauhan [Thu, 23 Jul 2020 10:59:53 +0000 (16:29 +0530)]
gst-env: Factor out some common code

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/180>

3 years agogst-env: Prematurely skip all targets that aren't installed
Nirbheek Chauhan [Thu, 23 Jul 2020 10:35:06 +0000 (16:05 +0530)]
gst-env: Prematurely skip all targets that aren't installed

Simplifies the code a bit.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/180>

3 years agoUpdate .gitignore with subprojects and gdbinit
Nirbheek Chauhan [Thu, 23 Jul 2020 08:48:39 +0000 (14:18 +0530)]
Update .gitignore with subprojects and gdbinit

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/180>

3 years agoAdd glib-networking as a subproject when glib is a subproject
Nirbheek Chauhan [Thu, 23 Jul 2020 11:01:07 +0000 (16:31 +0530)]
Add glib-networking as a subproject when glib is a subproject

We need gio modules for tls when building gstwebrtcbin, gstsoup, etc.

Control it via a new 'tls' option, since it requires either gnutls or
openssl.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/180>

3 years agox264: update to latest stable 160.3011
Tim-Philipp Müller [Thu, 30 Jul 2020 14:52:04 +0000 (15:52 +0100)]
x264: update to latest stable 160.3011

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/183>

3 years agoFFmpeg: update to 4.3.1
Tim-Philipp Müller [Sat, 25 Jul 2020 12:43:44 +0000 (13:43 +0100)]
FFmpeg: update to 4.3.1

Fixes #54

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/182>

3 years agogstreamer-full: Fix link with x264
Stéphane Cerveau [Tue, 7 Jul 2020 09:13:49 +0000 (11:13 +0200)]
gstreamer-full: Fix link with x264

If a static build is requested and x264 plugin has been enabled
the full link fails with:

/usr/bin/ld: subprojects/x264/libx264.a(cabac-a.o): relocation
R_X86_64_PC32 against symbol `x264_cabac_range_lps' can not be used when
making a shared object; recompile with -fPIC

Fixes #108

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/169>

3 years agogst-env.py: Sort path sets before using prepend_env_var
Jan Alexander Steffens (heftig) [Tue, 21 Jul 2020 19:07:13 +0000 (21:07 +0200)]
gst-env.py: Sort path sets before using prepend_env_var

Python `set`s have a random ordering. To avoid creating a random
environment, create sorted lists before iterating over them.

Our Rust crates instruct cargo to rebuild if `PKG_CONFIG_PATH` changes,
so this has been causing unnecessary rebuilds.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/177>

3 years agoREADME: Document ARM64 native build on Windows
Seungha Yang [Tue, 14 Jul 2020 18:51:10 +0000 (03:51 +0900)]
README: Document ARM64 native build on Windows

Add some guide for native ARM64 build on Windows

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/175>

3 years agosqlite: Fix build on Windows with MSVC
Nirbheek Chauhan [Mon, 13 Jul 2020 12:08:48 +0000 (17:38 +0530)]
sqlite: Fix build on Windows with MSVC

We need to use the latest sqlite wrap version which fixes a bug where
symbols weren't getting exported and the import library couldn't be
created, so libsoup couldn't find sqlite.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/174>

3 years agoFix up update-orc-dist target for the case where there are no orc targets
Tim-Philipp Müller [Wed, 8 Jul 2020 10:28:19 +0000 (11:28 +0100)]
Fix up update-orc-dist target for the case where there are no orc targets

See https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/168#note_561914

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/173>

3 years agomeson: clean up workaround for older meson versions that's no longer needed
Tim-Philipp Müller [Tue, 7 Jul 2020 14:36:04 +0000 (15:36 +0100)]
meson: clean up workaround for older meson versions that's no longer needed

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/172>

3 years agosubprojects: libmicrodns: pin to 0.1.2 release
Tim-Philipp Müller [Tue, 7 Jul 2020 14:23:29 +0000 (15:23 +0100)]
subprojects: libmicrodns: pin to 0.1.2 release

Now that there is a release with the meson build.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/170>

3 years agoAdd update-orc-dist target
Tim-Philipp Müller [Sat, 4 Jul 2020 14:00:35 +0000 (15:00 +0100)]
Add update-orc-dist target

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/168>

3 years agoBack to development
Tim-Philipp Müller [Fri, 3 Jul 2020 01:04:31 +0000 (02:04 +0100)]
Back to development

3 years agoRelease 1.17.2
Tim-Philipp Müller [Thu, 2 Jul 2020 23:37:52 +0000 (00:37 +0100)]
Release 1.17.2

3 years agoRevert "Revert "Add libavtp wrap file""
Ederson de Souza [Thu, 28 May 2020 23:13:18 +0000 (16:13 -0700)]
Revert "Revert "Add libavtp wrap file""

This reverts commit 1ec87d752a7a14304e98068520cbb216894dbfa7.

As the avtp plugin on gst-plugins-bad is now ensured to be built only on
Linux, this patch can come back.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/153>

3 years agomeson: pass doc option as required argument to gst-docs subproject
Mathieu Duponchelle [Wed, 24 Jun 2020 12:37:28 +0000 (14:37 +0200)]
meson: pass doc option as required argument to gst-docs subproject

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/166>

3 years agoBack to development
Tim-Philipp Müller [Fri, 19 Jun 2020 23:28:49 +0000 (00:28 +0100)]
Back to development

3 years agoRelease 1.17.1
Tim-Philipp Müller [Fri, 19 Jun 2020 18:28:22 +0000 (19:28 +0100)]
Release 1.17.1

3 years agoREADME: document updated meson requirement
Tim-Philipp Müller [Thu, 18 Jun 2020 15:42:33 +0000 (16:42 +0100)]
README: document updated meson requirement

3 years agomeson: bump meson requirement to 0.52 to align with effective requirement
Tim-Philipp Müller [Thu, 18 Jun 2020 14:41:18 +0000 (15:41 +0100)]
meson: bump meson requirement to 0.52 to align with effective requirement

Latest libnice requires 0.52, so it probably makes sense to
update the meson requirement in gst-build for that, so we
have good out-of-the-box developer experience for people,
with webrtc working out of the box.

Might also make it easier to backport things later.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/164>

3 years agogit-update: rename check-status to status
Stéphane Cerveau [Tue, 16 Jun 2020 12:57:42 +0000 (14:57 +0200)]
git-update: rename check-status to status

'Check' prefix is superfluous

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/163>

3 years agogit-update: Use --force when checking out manifest
Nirbheek Chauhan [Mon, 15 Jun 2020 18:28:17 +0000 (23:58 +0530)]
git-update: Use --force when checking out manifest

When we have a manifest, we DEFINITELY want exactly that, please throw
away any local changes, thanks. Fixes CI:

https://gitlab.freedesktop.org/alatiera/gst-ci/-/jobs/3105690

```
 Checking out f5b44d31284cfa1b6d029fdfe69d6cdb9a8aeb36 in gst-devtools
Could not rebase subprojects\gst-devtools, please fix and try again. Error:
error: Your local changes to the following files would be overwritten by checkout:
docs/plugins/fakesrc.simple.validatetest.yaml
Please commit your changes or stash them before you switch branches.
Aborting
 Command '['git', 'checkout', '--detach', 'f5b44d31284cfa1b6d029fdfe69d6cdb9a8aeb36']' returned non-zero exit status 1.
 ```

This is probably caused by some shared cache shenanigans, but forcing
is also what we want anyway in this case.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/162>

3 years agoREADME: Add a screenshot showing how to run meson on windows
Nirbheek Chauhan [Mon, 15 Jun 2020 15:28:57 +0000 (20:58 +0530)]
README: Add a screenshot showing how to run meson on windows

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/161>

3 years agogst-env: Copy instead of symlink on Windows
Nirbheek Chauhan [Mon, 15 Jun 2020 14:18:30 +0000 (19:48 +0530)]
gst-env: Copy instead of symlink on Windows

os.symlink needs admin privs in most cases.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/160>

3 years agogst-env: Fix creation of gdb-autoload dirs on Windows
Nirbheek Chauhan [Mon, 15 Jun 2020 13:36:22 +0000 (19:06 +0530)]
gst-env: Fix creation of gdb-autoload dirs on Windows

`bdir[1:]` is supposed to convert `/path/to/bdir` to `path/to/bdir`
which is only correct on UNIX. On Windows it will convert
`C:\path\to\bdir` to `:\path\to\bdir` which is totally wrong.

Use pathlib instead, which makes it trivial to do the conversion using
`joinpath(*bdir.parts)`

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/160>

3 years agogst-env: Use meson-uninstalled pkgconfig files if available
Nirbheek Chauhan [Fri, 12 Jun 2020 13:29:17 +0000 (18:59 +0530)]
gst-env: Use meson-uninstalled pkgconfig files if available

This allows people to use the development environment for building
projects when glib is built as a subproject.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/158>

4 years agomeson_options.txt: Add an option to enable/disable tests
Nirbheek Chauhan [Thu, 11 Jun 2020 07:49:18 +0000 (13:19 +0530)]
meson_options.txt: Add an option to enable/disable tests

All subproject options yield to this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/157>

4 years agomeson_options: disable gtk_doc by default
Tim-Philipp Müller [Fri, 5 Jun 2020 09:40:29 +0000 (10:40 +0100)]
meson_options: disable gtk_doc by default

We don't need to build documentation for
gtk-doc using subprojects, not by default
at least, and our 'auto' option would
override the subproject 'disabled' default
in libnice's case.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/155>

4 years agoopenh264: update to v2.1.1
Tim-Philipp Müller [Sun, 31 May 2020 10:11:18 +0000 (11:11 +0100)]
openh264: update to v2.1.1

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/154>

4 years agoRevert "Add libavtp wrap file"
Edward Hervey [Thu, 28 May 2020 08:08:26 +0000 (10:08 +0200)]
Revert "Add libavtp wrap file"

This reverts commit 93074302b9f75378299ed10a3222fc1d9fcd457a.

Adding libavtp hasn't properly passed CI for some reason.

Reopens !148

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/152>

4 years agoAdd libavtp wrap file
Ederson de Souza [Wed, 13 May 2020 21:30:37 +0000 (14:30 -0700)]
Add libavtp wrap file

So that the avtp plugin on gst-plugins-bad cab be built and tested on
the CI.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/148>

4 years agoNotify that gst-rts-server has plugin
Thibault Saunier [Wed, 27 May 2020 13:59:16 +0000 (09:59 -0400)]
Notify that gst-rts-server has plugin

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/151>

4 years agoUpdate WPEBackend-FDO wrap file
Philippe Normand [Fri, 22 May 2020 10:46:06 +0000 (11:46 +0100)]
Update WPEBackend-FDO wrap file

Current git master for the 1.7.0 development version is now usable as a
subproject.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/149>

4 years agolibopenjp2 wrap: change default directory
Stéphane Cerveau [Mon, 25 May 2020 09:35:24 +0000 (11:35 +0200)]
libopenjp2 wrap: change default directory

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/150>

4 years agoAdd wpebackend-fdo wrap file
Philippe Normand [Wed, 13 May 2020 13:39:12 +0000 (14:39 +0100)]
Add wpebackend-fdo wrap file

This will allow the wpe plugin to require WPEBackend-FDO 1.7.x which has support
for headless SHM. Hence we should be able to enable the wpesrc integration tests
in CI.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/146>

4 years agowrap: add libopenjp2 for gst-plugins-bad
Stéphane Cerveau [Thu, 14 May 2020 15:16:11 +0000 (17:16 +0200)]
wrap: add libopenjp2 for gst-plugins-bad

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/147>

4 years agogst-env: fix program name in argparse
Víctor Manuel Jáquez Leal [Mon, 11 May 2020 10:31:57 +0000 (12:31 +0200)]
gst-env: fix program name in argparse

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/145>

4 years agosubprojects: ffmpeg: bump to 4.1.5
Tim-Philipp Müller [Mon, 11 May 2020 11:46:59 +0000 (12:46 +0100)]
subprojects: ffmpeg: bump to 4.1.5

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/144>

4 years agoAdd dav1d wrap file
Xavier Claessens [Wed, 11 Mar 2020 13:39:46 +0000 (09:39 -0400)]
Add dav1d wrap file

This is needed to build gst-plugins-rs with dav1d as subproject.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/130>

4 years agobuild: allow for changing subprojects with docs enabled
Matthew Waters [Thu, 23 Apr 2020 03:48:22 +0000 (13:48 +1000)]
build: allow for changing subprojects with docs enabled

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/60
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/142>

4 years agogst-env: Remove non-existent directory from PKG_CONFIG_PATH
Philippe Normand [Mon, 20 Apr 2020 13:49:16 +0000 (14:49 +0100)]
gst-env: Remove non-existent directory from PKG_CONFIG_PATH

There is no pkgconfig directory in -good.

4 years agogst-env: Also look for `builddir` when hunting for a build dir
Nirbheek Chauhan [Thu, 16 Apr 2020 14:08:29 +0000 (19:38 +0530)]
gst-env: Also look for `builddir` when hunting for a build dir

4 years agoREADME: Document which dependencies are available
Nirbheek Chauhan [Thu, 16 Apr 2020 13:27:07 +0000 (18:57 +0530)]
README: Document which dependencies are available

Also document how to build the Intel MSDK plugins, and how to
enable/disable plugins in general.

Closes https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/90

4 years agoREADME: Document gst-worktree, remove checkout-branch-worktree
Nirbheek Chauhan [Thu, 16 Apr 2020 13:23:37 +0000 (18:53 +0530)]
README: Document gst-worktree, remove checkout-branch-worktree

Closes https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/72

4 years agoREADME: Use 'builddir' instead of 'build/'
Nirbheek Chauhan [Thu, 16 Apr 2020 13:17:03 +0000 (18:47 +0530)]
README: Use 'builddir' instead of 'build/'

`/` was added to make it clear that `build` is a directory and not
a meson sub-command. However, this can be confusing for Windows users.
use `builddir` which does the same job.

4 years agolibsoup: bump wrap to 2.70.0
ssethupa [Wed, 8 Apr 2020 02:55:29 +0000 (21:55 -0500)]
libsoup: bump wrap to 2.70.0