Nirbheek Chauhan [Sat, 11 Aug 2018 13:11:04 +0000 (18:41 +0530)]
scripts: Fix missing import in common.py
This was causing a build failure on the CI.
Nirbheek Chauhan [Fri, 10 Aug 2018 21:20:14 +0000 (02:50 +0530)]
scripts: Fix fetching of meson command to run
Don't assume that meson is always a python script, on Windows it can
be (and soon will almost always be) an executable.
See: Meson MSI installer and https://github.com/mesonbuild/meson/pull/4004
Tim-Philipp Müller [Mon, 6 Aug 2018 23:41:51 +0000 (00:41 +0100)]
subprojects: fix openh264 wrap commit
Meson was literally trying to check out tag/revision
'
a1b3f07c5271f312997fcc3451237031444c4475 # 1.8.0 + fix for gcc 8.'
which doesn't exist of course.
Nirbheek Chauhan [Fri, 27 Jul 2018 13:20:01 +0000 (18:50 +0530)]
Update .gitignore and add more subprojects
Nirbheek Chauhan [Wed, 25 Jul 2018 14:06:20 +0000 (19:36 +0530)]
Convert common meson options to feature options
These changes have been mirrored in all subproject repositories.
https://bugzilla.gnome.org/show_bug.cgi?id=795107
Thibault Saunier [Tue, 24 Jul 2018 16:28:48 +0000 (12:28 -0400)]
uninstalled: Also support GES overrides
Simplifying one step further too
Thibault Saunier [Tue, 24 Jul 2018 16:11:52 +0000 (12:11 -0400)]
Fix previous commit putting mesonconfig.py in our custom sitecustomize directory
Thibault Saunier [Mon, 23 Jul 2018 17:39:19 +0000 (13:39 -0400)]
uninstalled: Simplify our python environment setup
Not changing the main usersitepackage env but creating our own,
similarly to what a venv would do.
Thibault Saunier [Mon, 23 Jul 2018 15:11:03 +0000 (11:11 -0400)]
uninstalled: Avoid failling while setting up PyGObject env hack files
Tim-Philipp Müller [Sun, 22 Jul 2018 22:31:16 +0000 (23:31 +0100)]
subprojects: glib: point back at upstream master branch
instead of wip branch, the required tools override patches
are now upstream.
https://gitlab.gnome.org/GNOME/glib/merge_requests/188
Thibault Saunier [Thu, 19 Jul 2018 20:22:03 +0000 (16:22 -0400)]
Mark ffmpeg as not required
As it was supposed to be.
Thibault Saunier [Fri, 13 Jul 2018 22:54:34 +0000 (18:54 -0400)]
dssim: Use http:// git repo
Thibault Saunier [Fri, 13 Jul 2018 16:11:48 +0000 (12:11 -0400)]
Update libav dependency version check.
Thibault Saunier [Fri, 13 Jul 2018 15:45:28 +0000 (11:45 -0400)]
Add back gst-libav
It slipped through in the previous refactoring
Tim-Philipp Müller [Thu, 12 Jul 2018 23:11:41 +0000 (00:11 +0100)]
Disable gst-sharp by default, as it is not guaranteed to build
Can be re-enabled again if we check for all direct and
indirect hard deps before including it.
subprojects\gtk-sharp\Source\meson.build:40:0: ERROR: Program(s) ['gacutil'] not found or not executable
Thibault Saunier [Thu, 12 Jul 2018 14:14:33 +0000 (10:14 -0400)]
Use new 'feature' option and dictionnary
Simplifying the build definition, making its options more flexible and
it is now simpler to read.
On a side not we want https://github.com/mesonbuild/meson/issues/3880
to simplify that again.
https://bugzilla.gnome.org/show_bug.cgi?id=796798
Thibault Saunier [Thu, 28 Jun 2018 19:20:25 +0000 (15:20 -0400)]
Add a wrap for openh264
Tim-Philipp Müller [Tue, 12 Jun 2018 14:03:03 +0000 (15:03 +0100)]
uninstalled: Fix meson detection when using meson from a git checkout
This would not trigger on the build bot because there is
special casing in the code for a meson checkout underneath
gst-build. Fix needed as mesonintrospect.py was changed into
'meson.py introspect' in recent meson versions. When using
meson from git to configure the build the uninstalled script
would pick up a system meson instead which then would then
error out parsing the coredata from the newer meson.
Tim-Philipp Müller [Thu, 7 Jun 2018 18:25:22 +0000 (19:25 +0100)]
Don't build gst-python if required deps aren't available
Matthew Waters [Thu, 7 Jun 2018 04:13:03 +0000 (14:13 +1000)]
add gl-headers subproject for necessary OpenGL headers
At least for windows.
Thibault Saunier [Wed, 6 Jun 2018 11:55:20 +0000 (07:55 -0400)]
uninstalled: Set PKG_CONFIG_PATH to point to prefix/lib/pkgconfig
Thibault Saunier [Tue, 5 Jun 2018 14:41:07 +0000 (10:41 -0400)]
Add bindinator wrap file
Tim-Philipp Müller [Mon, 21 May 2018 22:08:43 +0000 (23:08 +0100)]
meson: rename gtkdoc option to gtk_doc
Nirbheek Chauhan [Thu, 17 May 2018 08:25:43 +0000 (13:55 +0530)]
Add a new subproject 'win-flex-bison-binaries'
This subproject will download and provide win32 binaries for flex
and/or bison if they aren't found at configure time on Windows.
Nirbheek Chauhan [Thu, 17 May 2018 08:25:43 +0000 (13:55 +0530)]
Update git repos for glib and proxy-libintl
The proxy-libintl meson build files have been upstreamed, so we do not
need to use Centricular's git repository anymore.
Glib has moved to GNOME's Gitlab instance, and we use a specific branch
on it to get override_find_program for glib tools.
Nirbheek Chauhan [Thu, 17 May 2018 08:25:43 +0000 (13:55 +0530)]
Add a wrap file for libnice.wrap
Temporarily pointing to Centricular's git repository till upstream
libnice accepts the port (poke ocrete on IRC!).
Nirbheek Chauhan [Sat, 5 May 2018 15:05:12 +0000 (20:35 +0530)]
gst-uninstalled.py: Look for both 'build' and '_build' for builddir
Nirbheek Chauhan [Sat, 5 May 2018 14:55:52 +0000 (20:25 +0530)]
meson: Update option names to omit prefixes
Also, common options are now consistent across all gstreamer modules,
and are inherited automatically.
Nirbheek Chauhan [Sat, 5 May 2018 13:08:00 +0000 (18:38 +0530)]
gst-uninstalled: Use absolute path to custom builddir
Thibault Saunier [Wed, 2 May 2018 20:50:22 +0000 (22:50 +0200)]
Add a wrap for dssim
Tim-Philipp Müller [Wed, 25 Apr 2018 00:06:27 +0000 (01:06 +0100)]
Bump Meson requirement to 0.46
Which matches GStreamer core's (and soon the other modules).
Mathieu Duponchelle [Sun, 22 Apr 2018 00:51:20 +0000 (17:51 -0700)]
subprojects: add some missing wraps
Mathieu Duponchelle [Sun, 22 Apr 2018 00:50:06 +0000 (17:50 -0700)]
uname does not exist everywhere
Nirbheek Chauhan [Sat, 21 Apr 2018 07:29:04 +0000 (12:59 +0530)]
meson: Fix typo, lower() -> to_lower()
Nirbheek Chauhan [Fri, 13 Apr 2018 09:26:33 +0000 (14:56 +0530)]
Only pass -DZ_SOLO on MSVC if using MSYS2 zlib
This fixes the build when we're building our own zlib as a subproject.
Thibault Saunier [Thu, 22 Feb 2018 12:14:26 +0000 (09:14 -0300)]
Add a script to checkout a worktree of gst-build and its subprojects
https://bugzilla.gnome.org/show_bug.cgi?id=794519
Tim-Philipp Müller [Tue, 20 Mar 2018 01:08:23 +0000 (01:08 +0000)]
Build master
Tim-Philipp Müller [Tue, 20 Mar 2018 00:45:32 +0000 (00:45 +0000)]
Build 1.14.0
Guillaume Desmottes [Mon, 5 Feb 2018 15:48:41 +0000 (16:48 +0100)]
README.md: explain how to run a specific test from a specific file
https://bugzilla.gnome.org/show_bug.cgi?id=793190
Guillaume Desmottes [Mon, 5 Feb 2018 15:46:00 +0000 (16:46 +0100)]
README.md: update specific test example
Tests naming scheme has changed.
https://bugzilla.gnome.org/show_bug.cgi?id=793190
Guillaume Desmottes [Mon, 5 Feb 2018 15:44:40 +0000 (16:44 +0100)]
README.md: use 'meson test' instead of 'mesontest'
The latter has been deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=793190
Mathieu Duponchelle [Mon, 15 Jan 2018 04:18:34 +0000 (05:18 +0100)]
gst-uninstalled: symlink mesonconfig in site-packages
This is still incredibly ugly, but at least now mesonconfig
gets found, unlike before where the path where it was looked
for was the path of the sitecustomize symlink, not of its target
(https://bugs.python.org/issue6386)
Mathieu Duponchelle [Fri, 19 Jan 2018 20:04:09 +0000 (21:04 +0100)]
gst-uninstalled: make override hacks work in virtualenv
virtualenv ships its own version of site.py, which does not
expose a getusersitepackages function. An alternative method
is thus used when we detect that we are running in a virtualenv.
Alicia Boya García [Thu, 14 Dec 2017 14:35:23 +0000 (15:35 +0100)]
gst-uninstalled.py: Don't close parent file descriptors
https://bugzilla.gnome.org/show_bug.cgi?id=791616
Tim-Philipp Müller [Mon, 25 Dec 2017 22:00:46 +0000 (23:00 +0100)]
Fix check for python3
Use the python3 module to find the right binary. It might not
be called 'python3', but could just be plain 'python' for example
(e.g. on windows).
Mathieu Duponchelle [Mon, 18 Dec 2017 17:46:14 +0000 (18:46 +0100)]
common.get_meson(): use MESONINTROSPECT if present
If meson has set this, it takes priority over whatever
we may find in PATH.
Mathieu Duponchelle [Mon, 18 Dec 2017 15:55:11 +0000 (16:55 +0100)]
Stop using now deprecated mesonintrospect executable
Mathieu Duponchelle [Mon, 18 Dec 2017 15:54:26 +0000 (16:54 +0100)]
meson.build: bump up required meson to 0.42.0
In order to use meson introspect, meson conf
Nirbheek Chauhan [Wed, 13 Dec 2017 22:58:20 +0000 (04:28 +0530)]
meson.build: Fix typo in gstreamer-sharp message
Reported by @jeandet on IRC.
Tim-Philipp Müller [Wed, 6 Dec 2017 10:58:23 +0000 (10:58 +0000)]
Build with buildtype debugoptimized by default
https://bugzilla.gnome.org/show_bug.cgi?id=790989
Philippe Normand [Fri, 1 Dec 2017 14:16:34 +0000 (14:16 +0000)]
README: Document fish shell prompt customization
Sreerenj Balachandran [Wed, 1 Nov 2017 17:32:55 +0000 (10:32 -0700)]
meson.build: blacklist only libva 0.99.0
This is the same fix we used in gstreaemr-vaapi to blacklist
the notoroious libva version 0.99.0
Intel's MSDK uses libva 0.99.0, meanwhile open source libva bumped
its API version to 1.0.0. Thus we have to blacklist only the MSDK's
libva (0.99.0)
https://bugzilla.gnome.org/show_bug.cgi?id=789744
Edward Hervey [Fri, 20 Oct 2017 10:22:57 +0000 (12:22 +0200)]
git-update: Close stdin if non-interactive
To be 100% certain that any usage of stdin will actually fail
instead of silently waiting for input.
Tim-Philipp Müller [Sat, 7 Oct 2017 14:42:59 +0000 (15:42 +0100)]
Fix checking for libxml2, it's not required
Thibault Saunier [Mon, 25 Sep 2017 17:14:53 +0000 (14:14 -0300)]
msys2: Handle aliased functions when generating the .lib files
Philippe Normand [Fri, 15 Sep 2017 12:24:54 +0000 (13:24 +0100)]
uninstalled: Symbolic link support for the script file
This allows the user to invoke the uninstalled shell using a symbolic link to
gst-uninstalled.py.
Thibault Saunier [Mon, 21 Aug 2017 14:57:29 +0000 (11:57 -0300)]
Handle a prefix in prefix/
This is usefull to use external libs and tool not buildable with meson
inside our environment
Thibault Saunier [Wed, 6 Sep 2017 18:34:27 +0000 (15:34 -0300)]
Make the cs compiler optional
Thibault Saunier [Tue, 22 Aug 2017 19:29:58 +0000 (16:29 -0300)]
Add csharp/gstreamer-sharp support
Tim-Philipp Müller [Thu, 3 Aug 2017 22:45:52 +0000 (23:45 +0100)]
Don't try to build ges if required dep isn't found
We shouldn't error out all of gst-build by default
if one of ges's required deps is not there.
Tim-Philipp Müller [Mon, 17 Jul 2017 21:39:15 +0000 (22:39 +0100)]
glib.wrap: meson support has been merged into master branch
So use this until we can point to a release that contains it.
Alessandro Decina [Wed, 12 Jul 2017 13:08:45 +0000 (23:08 +1000)]
Check out glib from git://git.gnome.org/glib
Thibault Saunier [Wed, 7 Jun 2017 21:38:59 +0000 (17:38 -0400)]
uninstalled: Do not concider not installed dynamic libs as possible plugins
Tim-Philipp Müller [Fri, 26 May 2017 13:05:12 +0000 (14:05 +0100)]
Bump meson version requirement to >= 0.40.1
Which matches that of GStreamer core.
Scott D Phillips [Mon, 1 May 2017 20:17:12 +0000 (13:17 -0700)]
uninstalled: fixes for windows usage
Fix a couple small breakages with windows usage, (1) Add
sys.executable to a subprocess invocation and (2) escape a path
fragment that gets used in a regex.
https://bugzilla.gnome.org/show_bug.cgi?id=782026
Thibault Saunier [Thu, 4 May 2017 17:13:26 +0000 (14:13 -0300)]
Back to development
Thibault Saunier [Thu, 4 May 2017 16:55:18 +0000 (13:55 -0300)]
Release 1.12.0
Scott D Phillips [Fri, 28 Apr 2017 05:58:35 +0000 (22:58 -0700)]
require libva < 0.99.0 for gstreamer-vaapi
Version 0.99.0 of libva isn't currently supported by gstreamer-vaapi.
https://bugzilla.gnome.org/show_bug.cgi?id=781866
Thibault Saunier [Mon, 24 Apr 2017 18:58:07 +0000 (15:58 -0300)]
uninstalled: Make the regex to look for plugin paths more generic
We might end up with spurious paths but it is no big deal.
Nirbheek Chauhan [Sat, 22 Apr 2017 12:28:51 +0000 (17:58 +0530)]
gst-uninstalled: Match plugin path when lib64 is libdir
Fixes setting of GST_PLUGIN_PATH on Fedora 64-bit
Thibault Saunier [Tue, 14 Mar 2017 22:31:11 +0000 (19:31 -0300)]
Set GST_PLUGIN_PATH only to plugin paths
Thibault Saunier [Mon, 10 Apr 2017 20:36:30 +0000 (17:36 -0300)]
Allow disabling introspection from toplevel gst-build
https://bugzilla.gnome.org/show_bug.cgi?id=781148
Tim-Philipp Müller [Sun, 9 Apr 2017 23:35:18 +0000 (00:35 +0100)]
Prefer MESONINTROSPECT env var to find mesonintrospect if set
This is new in meson 0.40. Makes sure we find and use the
mesonintrospect from the same location as our meson, and
not some other meson version that just happens to be in the
path. We might be using meson directly from a checkout, for
example.
https://bugzilla.gnome.org/show_bug.cgi?id=781110
Mathieu Duponchelle [Wed, 5 Apr 2017 22:25:31 +0000 (00:25 +0200)]
uninstalled: use build and source root
Thibault Saunier [Tue, 28 Mar 2017 17:32:24 +0000 (14:32 -0300)]
uninstalled: Take into account -good pkgconfig uninstalled file
Mathieu Duponchelle [Tue, 7 Mar 2017 23:31:26 +0000 (00:31 +0100)]
Enable custom subprojects option
Thibault Saunier [Wed, 15 Feb 2017 13:55:37 +0000 (10:55 -0300)]
Add push-url to all wrap files
Scott D Phillips [Thu, 9 Feb 2017 19:08:39 +0000 (11:08 -0800)]
add gstreamer-vaapi as a possible subproject
https://bugzilla.gnome.org/show_bug.cgi?id=778407
Guillaume Desmottes [Mon, 30 Jan 2017 08:08:59 +0000 (09:08 +0100)]
README: update tests section
- Add example to list all tests
- Add example to run all tests of a specific component
- Update example running one specific test to avoid test name clashes
with other components.
https://bugzilla.gnome.org/show_bug.cgi?id=776718
Thibault Saunier [Fri, 27 Jan 2017 19:54:21 +0000 (16:54 -0300)]
Add meson/ to PYTHONPATH if needed
Matthew Waters [Wed, 18 Jan 2017 05:25:52 +0000 (16:25 +1100)]
add gst-omx as a possible subproject
Tim-Philipp Müller [Fri, 13 Jan 2017 13:07:47 +0000 (13:07 +0000)]
Bump version
Arun Raghavan [Wed, 11 Jan 2017 11:59:33 +0000 (17:29 +0530)]
git-update: Update submodules too
More correct than not doing it, and prevents careless people from
mistakenly pushing changes to submodules.
Guillaume Desmottes [Wed, 4 Jan 2017 11:10:56 +0000 (12:10 +0100)]
gst-uninstalled: set PKG_CONFIG_PATH
Look for -uninstalled pc files and update PKG_CONFIG_PATH with the
directories containing those.
This feature is useful for users building the GStreamer stack
using meson and having to link it to another project which is still
using the autotools.
Fix a regression from the old gst-uninstalled tool.
https://bugzilla.gnome.org/show_bug.cgi?id=776810
Thibault Saunier [Mon, 19 Dec 2016 13:10:58 +0000 (10:10 -0300)]
uninstalled: Also set GST_PRESET_PATH and GST_ENCODING_TARGET_PATH
Thibault Saunier [Wed, 14 Dec 2016 20:13:53 +0000 (17:13 -0300)]
Also use meson introspect to set PATH
Nirbheek Chauhan [Tue, 3 Jan 2017 17:29:52 +0000 (22:59 +0530)]
setup.py: Print the detected Ninja and quote build_dir
The build_dir is an absolute path, so quote it.
Nirbheek Chauhan [Tue, 3 Jan 2017 17:23:18 +0000 (22:53 +0530)]
Revert "setup.py: Use the detected Ninja and quote build_dir"
This reverts commit
9a64b727bf6ad42d66f1e5f0404baca46f57167c.
Closes https://bugzilla.gnome.org/show_bug.cgi?id=776801
The actual fix is in the next commit.
Nirbheek Chauhan [Mon, 2 Jan 2017 20:36:42 +0000 (02:06 +0530)]
setup.py: Use the detected Ninja and quote build_dir
The build_dir is an absolute path, so quote it.
We don't really need to use the absolute path to Ninja in git-update
since we pass it to subprocess.call which will do an shutil.which
Guillaume Desmottes [Mon, 2 Jan 2017 12:18:37 +0000 (13:18 +0100)]
README: document how to run tests
https://bugzilla.gnome.org/show_bug.cgi?id=776710
Thibault Saunier [Wed, 14 Dec 2016 00:36:25 +0000 (21:36 -0300)]
msys2: Allow disabling failures on warning
Thibault Saunier [Wed, 14 Dec 2016 00:35:14 +0000 (21:35 -0300)]
msys2: Fix special lib names regexes and add some necessary ones
And always flush on prints (so we have understandable outputs)
Thibault Saunier [Tue, 13 Dec 2016 18:22:15 +0000 (15:22 -0300)]
msys2: Pass extra argument directly to uninstalled.py
Thibault Saunier [Sat, 19 Nov 2016 13:18:33 +0000 (10:18 -0300)]
Add a script to setup a developement environment based on msys2
This environment is meant to be setup in a Visual Studio
'Native X64 tools' terminal, and takes for granted that
msys2 has been installed, Visual Studio has C(++) support
has been installed and python3 is installed and is present
in PATH.
https://bugzilla.gnome.org/show_bug.cgi?id=775281
Thibault Saunier [Sat, 19 Nov 2016 21:01:44 +0000 (18:01 -0300)]
Use mesonintrospect to set library path
this way the uninstalled target can be used before the libraries are built
https://bugzilla.gnome.org/show_bug.cgi?id=775281
Thibault Saunier [Sat, 19 Nov 2016 13:16:03 +0000 (05:16 -0800)]
Work around issue using msys2 provided zlib
https://bugzilla.gnome.org/show_bug.cgi?id=775281
Thibault Saunier [Sat, 19 Nov 2016 13:11:55 +0000 (05:11 -0800)]
uninstalled: Properly setup uninstalled env on windows
https://bugzilla.gnome.org/show_bug.cgi?id=775281
Tim-Philipp Müller [Fri, 25 Nov 2016 19:55:15 +0000 (19:55 +0000)]
subprojects: use https:// instead of git:// protocol
https provides authentication and also works better in
environments with restricted network connectivity.
https://bugzilla.gnome.org/show_bug.cgi?id=775110
Scott D Phillips [Thu, 17 Nov 2016 18:55:44 +0000 (10:55 -0800)]
git-update: fixes for running on windows
when running git-update as `py git-update` (which is convenient on
windows), SCRIPTDIR is '' instead of '.'. Fix that with normpath.
Printing emdash (U+2014) doesn't work on windows because it isn't in
cp437. Change it to hyphen.
https://bugzilla.gnome.org/show_bug.cgi?id=774636
Thibault Saunier [Mon, 14 Nov 2016 22:09:41 +0000 (19:09 -0300)]
setup: Directly use --werror to set Werror
Using mesonconf -Dwerror afterward is failling because of https://github.com/ninja-build/ninja/issues/371
Using meson -Dwerror=true is failing currently for some reason.