Commit graph

368 commits

Author SHA1 Message Date
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
Thibault Saunier
3d47163919 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
2018-07-12 12:15:30 -04:00
Thibault Saunier
9e4c1dc693 Add a wrap for openh264 2018-07-12 12:14:10 -04:00
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
Tim-Philipp Müller
3942dc262b Don't build gst-python if required deps aren't available 2018-06-07 19:25:22 +01:00
Matthew Waters
13ff7f43ec add gl-headers subproject for necessary OpenGL headers
At least for windows.
2018-06-07 14:13:03 +10:00
Thibault Saunier
35079f67ac uninstalled: Set PKG_CONFIG_PATH to point to prefix/lib/pkgconfig 2018-06-06 07:55:20 -04:00
Thibault Saunier
369cf4ecd0 Add bindinator wrap file 2018-06-05 10:43:23 -04:00
Tim-Philipp Müller
3544675ad1 meson: rename gtkdoc option to gtk_doc 2018-05-21 23:08:43 +01:00
Nirbheek Chauhan
85e49c19d4 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.
2018-05-17 13:57:33 +05:30
Nirbheek Chauhan
d22add782b 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.
2018-05-17 13:57:33 +05:30
Nirbheek Chauhan
ffa072ec90 Add a wrap file for libnice.wrap
Temporarily pointing to Centricular's git repository till upstream
libnice accepts the port (poke ocrete on IRC!).
2018-05-17 13:56:04 +05:30
Nirbheek Chauhan
a57019296b gst-uninstalled.py: Look for both 'build' and '_build' for builddir 2018-05-05 20:35:12 +05:30
Nirbheek Chauhan
f164b8d93f meson: Update option names to omit prefixes
Also, common options are now consistent across all gstreamer modules,
and are inherited automatically.
2018-05-05 20:30:29 +05:30
Nirbheek Chauhan
d7b86636f9 gst-uninstalled: Use absolute path to custom builddir 2018-05-05 18:38:00 +05:30
Thibault Saunier
184259f281 Add a wrap for dssim 2018-05-02 22:50:22 +02:00