Commit graph

407 commits

Author SHA1 Message Date
Mathieu Duponchelle
c938c75916 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)
2018-01-19 21:07:08 +01:00
Mathieu Duponchelle
a484ed4124 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.
2018-01-19 21:04:09 +01:00
Alicia Boya García
a5ed8944e3 gst-uninstalled.py: Don't close parent file descriptors
https://bugzilla.gnome.org/show_bug.cgi?id=791616
2018-01-12 16:43:23 -03:00
Tim-Philipp Müller
dfc24cc612 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).
2017-12-25 23:00:46 +01:00
Mathieu Duponchelle
d106c2f8df common.get_meson(): use MESONINTROSPECT if present
If meson has set this, it takes priority over whatever
we may find in PATH.
2017-12-18 18:46:14 +01:00
Mathieu Duponchelle
c6c09b7317 Stop using now deprecated mesonintrospect executable 2017-12-18 17:05:47 +01:00
Mathieu Duponchelle
834a66ec9a meson.build: bump up required meson to 0.42.0
In order to use meson introspect, meson conf
2017-12-18 17:05:20 +01:00
Nirbheek Chauhan
61ece08deb meson.build: Fix typo in gstreamer-sharp message
Reported by @jeandet on IRC.
2017-12-14 04:28:44 +05:30
Tim-Philipp Müller
8ff8df2112 Build with buildtype debugoptimized by default
https://bugzilla.gnome.org/show_bug.cgi?id=790989
2017-12-06 10:58:23 +00:00
Philippe Normand
c23be22adc README: Document fish shell prompt customization 2017-12-01 14:16:34 +00:00
Sreerenj Balachandran
ccedfe7472 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
2017-11-01 10:32:55 -07:00
Edward Hervey
13996d5244 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.
2017-10-20 12:22:57 +02:00
Tim-Philipp Müller
1f847ffbf4 Fix checking for libxml2, it's not required 2017-10-07 15:42:59 +01:00
Thibault Saunier
20cca3f10b msys2: Handle aliased functions when generating the .lib files 2017-09-25 14:15:09 -03:00
Philippe Normand
c79e252c53 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.
2017-09-15 14:59:49 +01:00
Thibault Saunier
60585d2812 Handle a prefix in prefix/
This is usefull to use external libs and tool not buildable with meson
inside our environment
2017-09-06 16:10:03 -03:00
Thibault Saunier
6bb7528a48 Make the cs compiler optional 2017-09-06 15:34:27 -03:00
Thibault Saunier
f7c192a440 Add csharp/gstreamer-sharp support 2017-09-06 13:48:10 -03:00
Tim-Philipp Müller
5b801e2f0e 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.
2017-08-03 23:45:52 +01:00
Tim-Philipp Müller
dfa64559a6 glib.wrap: meson support has been merged into master branch
So use this until we can point to a release that contains it.
2017-07-17 22:39:15 +01:00
Alessandro Decina
4a52d1a034 Check out glib from git://git.gnome.org/glib 2017-07-12 23:08:45 +10:00
Thibault Saunier
e94d5163ac uninstalled: Do not concider not installed dynamic libs as possible plugins 2017-06-07 17:38:59 -04:00
Tim-Philipp Müller
4b29870a5d Bump meson version requirement to >= 0.40.1
Which matches that of GStreamer core.
2017-05-26 14:05:12 +01:00
Scott D Phillips
13db445e11 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
2017-05-05 14:34:58 +05:30
Thibault Saunier
e69935afac Back to development 2017-05-04 14:13:50 -03:00
Thibault Saunier
b318a1ff26 Release 1.12.0 2017-05-04 14:12:24 -03:00
Scott D Phillips
4db18a66b4 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
2017-05-02 17:37:01 +02:00
Thibault Saunier
60ff3d539b uninstalled: Make the regex to look for plugin paths more generic
We might end up with spurious paths but it is no big deal.
2017-04-24 16:00:17 -03:00
Nirbheek Chauhan
71cf22cc19 gst-uninstalled: Match plugin path when lib64 is libdir
Fixes setting of GST_PLUGIN_PATH on Fedora 64-bit
2017-04-22 17:58:51 +05:30
Thibault Saunier
43c107d4fe Set GST_PLUGIN_PATH only to plugin paths 2017-04-20 10:12:08 -03:00
Thibault Saunier
c071855c48 Allow disabling introspection from toplevel gst-build
https://bugzilla.gnome.org/show_bug.cgi?id=781148
2017-04-11 12:05:20 -03:00
Tim-Philipp Müller
af5ee95a5b 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
2017-04-10 01:07:38 +01:00
Mathieu Duponchelle
12b1289519 uninstalled: use build and source root 2017-04-06 00:25:49 +02:00
Thibault Saunier
4df327a69b uninstalled: Take into account -good pkgconfig uninstalled file 2017-03-28 14:32:36 -03:00
Mathieu Duponchelle
95d525f43a Enable custom subprojects option 2017-03-08 00:36:03 +01:00
Thibault Saunier
9335ccae00 Add push-url to all wrap files 2017-02-15 10:55:37 -03:00
Scott D Phillips
a6ae14b612 add gstreamer-vaapi as a possible subproject
https://bugzilla.gnome.org/show_bug.cgi?id=778407
2017-02-09 16:15:31 -03:00
Guillaume Desmottes
5a06cf2807 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
2017-01-30 19:58:40 +00:00
Thibault Saunier
f822ffead9 Add meson/ to PYTHONPATH if needed 2017-01-27 16:54:48 -03:00
Matthew Waters
45d7f5f337 add gst-omx as a possible subproject 2017-01-18 16:25:52 +11:00
Tim-Philipp Müller
14de71cd96 Bump version 2017-01-13 13:07:47 +00:00
Arun Raghavan
225419e030 git-update: Update submodules too
More correct than not doing it, and prevents careless people from
mistakenly pushing changes to submodules.
2017-01-11 17:29:33 +05:30
Guillaume Desmottes
0d2f4e136f 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
2017-01-05 09:45:05 -03:00
Thibault Saunier
7655cdcc58 uninstalled: Also set GST_PRESET_PATH and GST_ENCODING_TARGET_PATH 2017-01-04 08:30:21 -03:00
Thibault Saunier
ba774df5a8 Also use meson introspect to set PATH 2017-01-04 08:30:21 -03:00
Nirbheek Chauhan
97262139f1 setup.py: Print the detected Ninja and quote build_dir
The build_dir is an absolute path, so quote it.
2017-01-03 23:01:02 +05:30
Nirbheek Chauhan
b75903c8f8 Revert "setup.py: Use the detected Ninja and quote build_dir"
This reverts commit 9a64b727bf.

Closes https://bugzilla.gnome.org/show_bug.cgi?id=776801

The actual fix is in the next commit.
2017-01-03 23:00:44 +05:30
Nirbheek Chauhan
9a64b727bf 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
2017-01-03 02:11:43 +05:30
Guillaume Desmottes
9c15b9a136 README: document how to run tests
https://bugzilla.gnome.org/show_bug.cgi?id=776710
2017-01-02 12:31:52 +00:00
Thibault Saunier
d68bff3c47 msys2: Allow disabling failures on warning 2016-12-13 21:42:11 -03:00