Commit graph

43 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
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
Thibault Saunier
7ec215b509 uninstalled: Also support GES overrides
Simplifying one step further too
2018-07-24 12:41:50 -04:00
Thibault Saunier
6a0c4b3771 Fix previous commit putting mesonconfig.py in our custom sitecustomize directory 2018-07-24 12:11:52 -04:00
Thibault Saunier
63e743def6 uninstalled: Simplify our python environment setup
Not changing the main usersitepackage env but creating our own,
similarly to what a venv would do.
2018-07-23 13:42:02 -04:00
Thibault Saunier
4ef0584295 uninstalled: Avoid failling while setting up PyGObject env hack files 2018-07-23 11:11:03 -04:00
Thibault Saunier
35079f67ac uninstalled: Set PKG_CONFIG_PATH to point to prefix/lib/pkgconfig 2018-06-06 07:55:20 -04:00
Nirbheek Chauhan
a57019296b gst-uninstalled.py: Look for both 'build' and '_build' for builddir 2018-05-05 20:35:12 +05:30
Nirbheek Chauhan
d7b86636f9 gst-uninstalled: Use absolute path to custom builddir 2018-05-05 18:38:00 +05:30
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
Mathieu Duponchelle
c6c09b7317 Stop using now deprecated mesonintrospect executable 2017-12-18 17:05:47 +01: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
f7c192a440 Add csharp/gstreamer-sharp support 2017-09-06 13:48:10 -03:00
Thibault Saunier
e94d5163ac uninstalled: Do not concider not installed dynamic libs as possible plugins 2017-06-07 17:38:59 -04: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
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
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
Thibault Saunier
f822ffead9 Add meson/ to PYTHONPATH if needed 2017-01-27 16:54:48 -03:00
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
Thibault Saunier
1c46eb2751 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
2016-12-13 14:48:34 -03:00
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
d3c029f102 uninstalled: Properly setup uninstalled env on windows
https://bugzilla.gnome.org/show_bug.cgi?id=775281
2016-12-13 12:58:31 -03:00
Thibault Saunier
07424d2fdf Properly setup environment for python development if gst-python is being built
Avoiding to mess with PYTHONPATH making using python2 in the env
impossible.
2016-11-04 12:30:28 -03:00
Thibault Saunier
0b3ba49c6c Fix setting $PS1 for bash
And let user know how to set prompt for zsh and powerline in our
README.
2016-11-02 16:20:56 -03:00
Thibault Saunier
aca3e8c96e Remove some cruft leftover 2016-10-21 05:32:57 -03:00
Thibault Saunier
85880a3a22 Create symlinks to built subprojects 2016-10-21 05:31:13 -03:00
Scott D Phillips
1f4380ac0a Windows fixes for scripts
subprocess.call runs programs directly when shell=False and can't
take advantage of the association that makes python scripts
executable in shells, so explicitly add the interpreter to the
args for call.

Run the windows command prompt by default in gst-uninstalled.
2016-10-20 08:55:06 -03:00
Thibault Saunier
1b6d719d54 Make gst-uninstalled compatible with python 3.3 2016-10-11 02:00:32 +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
Arun Raghavan
2f3c89b321 Fix copy-pasto in gst-uninstalled argument help string 2016-10-11 01:52:23 +02:00
Thibault Saunier
80e467ede8 Allow executing one process inside the uninstalled environment 2016-09-09 09:02:31 -03:00
Thibault Saunier
5903bbc0a3 Set GST_VALIDATE_APPS_DIR GES validate app path 2016-09-09 08:30:01 -03:00
Thibault Saunier
bf1aa16608 Add [gst-]python support 2016-09-09 08:30:01 -03:00
Thibault Saunier
62856bcad0 Set CURRENT_GST 2016-08-28 20:14:36 -03:00
Saunier Thibault
de987e8c61 Initial commit 2016-08-25 15:26:28 -03:00