Commit graph

13 commits

Author SHA1 Message Date
Philippe Normand
c78f0ef222 gst-uninstalled: Display current git branch name in the shell prompt
This is really useful when using multiple git worktrees.

https://bugzilla.gnome.org/show_bug.cgi?id=796989
2018-08-30 17:03:24 +01:00
Nirbheek Chauhan
b4015f7bbe scripts: Fix missing import in common.py
This was causing a build failure on the CI.
2018-08-11 18:41:04 +05:30
Nirbheek Chauhan
783e6a226d 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
2018-08-11 02:52:51 +05:30
Tim-Philipp Müller
62f1739133 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.
2018-06-12 15:03:03 +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
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
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
Thibault Saunier
954c27641d 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
2016-12-13 12:58:31 -03:00
Thibault Saunier
c843f48740 Add 'update' and git-update targets to update git repos 2016-11-08 15:16:57 -03:00
Thibault Saunier
6a1d489cc5 Minor improvement in the git function 2016-10-11 02:05:39 +02:00
Thibault Saunier
76e946465f Add meson as a submodule for now
Allowing us to control the meson version in use so that it just works.
2016-10-11 02:00:32 +02:00