Commit graph

283 commits

Author SHA1 Message Date
Thibault Saunier
d1425b0307 update: Fetch the refname before checking out the specified sha
Working around freedesktop/freedesktop#95
2018-12-06 07:56:05 -03:00
Xavier Claessens
636abc351b Add 'nls' common option 2018-11-27 09:28:36 -05:00
Thibault Saunier
1c8085d9fb Download libxml from http and not ftp 2018-11-26 15:55:26 -03:00
Thibault Saunier
03214bccc7 Add a libxml2 wrap to be used by GES 2018-11-26 14:48:18 -03:00
Alicia Boya García
0b6c960ca7 gst-uninstalled: Don't change current working directory
Currently gst-uninstalled.py changes the current directory to the root
of the gst-build before executing execute the command passed as
arguments. This is unnecessary, it creates confusion and makes scripting
more cumbersome. This patch fixes that.
2018-11-23 18:22:43 +00:00
Alicia Boya García
96a1384af9 gst-uninstalled: Don't add validate plugins to GST_PLUGIN_PATH
Validate plugins are automatically scanned from GST_VALIDATE_PLUGIN_PATH
instead. Adding them to GST_PLUGIN_PATH causes race conditions as the
plugins may be loaded before validate itself.
2018-11-23 15:42:03 +01:00
Thibault Saunier
b174f7a9a1 update: Take into account the path attribute of projects 2018-11-21 20:41:46 -03:00
Seungha Yang
bc5bc17667 Support *nix like development prompt on Windows
CMD on windows could support customized prompt like $PS1 on bash
2018-11-10 02:07:24 +09:00
Jordan Petridis
ab47fccaec
Add Gitlab CI configuration
This commit adds a .gitlab-ci.yml file, which uses a feature
to fetch the config from a centralized repository. The intent is
to have all the gstreamer modules use the same configuration.

The configuration is currently hosted at the gst-ci repository
under the gitlab/ci_template.yml path.
2018-11-09 18:54:03 +02:00
Thibault Saunier
df235d4f6c uninstalled: Make sure that the new gdb python macros are usable
directly from the uninstalled env
2018-11-08 11:52:03 -03:00
Thibault Saunier
0b36fc55c7 update: Make sure to detach branch when checking out a specific revision
Avoiding to get spammed about the fact that the branch is detached
2018-11-08 11:51:27 -03:00
Nicolas Dufresne
6bb5408f1b Revert "Updated after gst-libav got moved to gst-ffmpeg"
This reverts commit d027bf7401.
2018-11-06 06:02:34 -05:00
Nicolas Dufresne
d027bf7401 Updated after gst-libav got moved to gst-ffmpeg 2018-11-06 05:34:52 -05:00
Thibault Saunier
acb77ccb0a update: Enhance logging about what kind of update is happening 2018-11-05 09:52:41 -03:00
Thibault Saunier
57f8844958 update: Ensure that a revision is used when updating a detached repo
For the  case it was not guaranteed
2018-11-05 09:43:50 -03:00
Thibault Saunier
52c0086c5a update: Fix the manifest commit dictionnary format
The structure was changed in last commit but a code path was not properly updated
2018-11-05 09:42:29 -03:00
Xavier Claessens
859e613edb Change wrap URLs to gitlab 2018-11-04 11:27:11 +00:00
Thibault Saunier
7db3c6b0ce gst-update: Handle specified remotes in manifest 2018-11-03 10:32:01 -03:00
Mathieu Duponchelle
2758a63714 pygobject: add as a subproject when python is enabled
This should make our awkward interactions with a system-wide install
of pygobject in our uninstalled setup go away.
2018-10-31 00:46:31 +01:00
Nirbheek Chauhan
0c4456fb13 README: Warn about not using the Meson MSI 2018-10-28 16:05:49 +00:00
Mathieu Duponchelle
5feafc66ce uninstalled: remove setup_python_env
We now use a different approach to setting up our
uninstalled python environment:

We add the gst-python folder to PYTHONPATH, and it no
longer contains __init__.py files. This means that
import gi.overrides correctly loads pygobject's __init__
module, but import gi.overrides.Gst also works, as __init__
files are no longer required by python.
2018-10-28 14:18:08 +01:00
Thibault Saunier
8eaf74d816 Use subproject 'required' argument
Making the whole logic much simpler, and end result more accurate
2018-10-27 17:20:33 +01:00
Mathieu Duponchelle
72c43ce73f uninstalled: build and set PYTHONPATH 2018-10-27 17:59:29 +02:00
Mathieu Duponchelle
c42ec82de6 Add pygobject and pycairo as subprojects 2018-10-27 17:58:44 +02:00
Thibault Saunier
81b7a024c4 Add wrap file for json-glib 2018-10-23 14:17:06 +02:00
Nirbheek Chauhan
1a75371b8b git-update: Get the revision of the right repository
Typo, should fix the gst-build CI failures.
2018-10-02 13:39:49 +05:30
Nirbheek Chauhan
839acd5bd6 gitignore: Ignore the subprojects openh264 git repo 2018-10-02 09:53:09 +05:30
Nirbheek Chauhan
0f21cf4740 git-update: Don't try to pull --rebase repos that are not on master
This fixes updating of repos that are at a specific commit and
a detached HEAD, such as openh264.
2018-10-02 09:51:11 +05:30
Martin Kelly
4525078098 uninstalled: use usercustomize, not sitecustomize
Currently, gst-uninstalled is using sitecustomize.py for adding gi
override tweaks. However, if the standard Python libraries come before
this file in sys.path, then sitecustomize.py will never be run because
the "import sitecustomize" done in site.py will use the standard Python
libraries instead. This can be seen by running "import sitecustomize;
print(sitecustomize.__file__)" inside the uninstalled environment, as
well as by checking gi.override.__path__ and seeing that the tweaks are
missing (and the overrides are misbehaving).

Switch to using usercustomize.py, which has no match in the standard
libraries and thus will be correctly imported.

https://bugzilla.gnome.org/show_bug.cgi?id=797011
2018-09-13 07:05:33 -03:00
Nirbheek Chauhan
56130b0edd Rename --no-error to --werror and flip default
We should not default to -Werror because that's not what we default to
anywhere in gstreamer, and it's bad for releases anyway. The CI will
be fixed to pass --werror manually.
2018-09-05 17:34:11 +05:30
Nirbheek Chauhan
3e714d0bae meson: Fix libav checks to use feature options correctly 2018-09-03 21:22:25 +05:30
Víctor Manuel Jáquez Leal
13131122b7 meson: strip branch name when uninstalled
Remove ending newlines characters on branch's name.

https://bugzilla.gnome.org/show_bug.cgi?id=796989
2018-08-31 13:17:42 +01:00
Philippe Normand
51759df370 meson: Follow-up fix for ninja uninstalled
The --gst-version was removed in c78f0ef222 so
remove it from the meson.build file as well.

https://bugzilla.gnome.org/show_bug.cgi?id=796989
2018-08-31 11:44:17 +01:00
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
Víctor Manuel Jáquez Leal
d3ea533b20 Don't process the whole commit
https://bugzilla.gnome.org/show_bug.cgi?id=796655
2018-08-30 17:17:57 +02: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
1e21d789ae 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.
2018-08-07 00:43:08 +01:00
Nirbheek Chauhan
2a675954c4 Update .gitignore and add more subprojects 2018-07-27 18:50:01 +05:30
Nirbheek Chauhan
eaf17bfff4 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
2018-07-27 15:24:06 +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
Tim-Philipp Müller
5fd196b3d1 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
2018-07-22 23:31:16 +01:00
Thibault Saunier
e88cd3628a Mark ffmpeg as not required
As it was supposed to be.
2018-07-19 16:40:49 -04:00
Thibault Saunier
0682b17433 dssim: Use http:// git repo 2018-07-13 18:54:34 -04:00
Thibault Saunier
f8f510e50b Update libav dependency version check. 2018-07-13 12:16:20 -04:00
Thibault Saunier
a0bfbe1f8d Add back gst-libav
It slipped through in the previous refactoring
2018-07-13 11:45:28 -04:00
Tim-Philipp Müller
52859fba5c 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
2018-07-13 00:11:41 +01:00