Nirbheek Chauhan [Mon, 1 Apr 2019 18:25:14 +0000 (23:55 +0530)]
gst-uninstalled: Add qt5 DLLs to PATH on Windows
This is needed for using the qmlgl out of the box inside
gst-uninstalled. Of course this won't work if the user is using
a native file to specify the path to `qmake`.
Nirbheek Chauhan [Mon, 1 Apr 2019 18:06:33 +0000 (23:36 +0530)]
meson: Add a subproject wrap file for x264
This allows building x264enc from -ugly on all platforms.
Seungha Yang [Thu, 24 Jan 2019 17:13:08 +0000 (02:13 +0900)]
uninstalled: Add support PowerShell on Windows
... depending on detected shell program. For instance,
if the nearest ancestor process is PowerShell, run uninstalled
environment via PowerShell. Otherwise, $COMSPEC (most likely cmd.exe)
will be used.
Tim-Philipp Müller [Fri, 29 Mar 2019 13:23:51 +0000 (13:23 +0000)]
README: small updates
Nirbheek Chauhan [Fri, 22 Mar 2019 19:10:43 +0000 (00:40 +0530)]
Add FFmpeg.wrap and update .gitignore
Tested on Linux and Windows (MSVC)
Antonio Ospite [Fri, 8 Mar 2019 16:38:43 +0000 (17:38 +0100)]
gst-uninstalled: make the bash prompt override optional
When using a custom prompt the automatic override may not look good, so
provide a mechanism to disable it.
Document that the user will have to use GST_ENV manually when setting
the prompt to have a visual indicator of the gst-uninstalled
environment.
Thibault Saunier [Wed, 13 Mar 2019 22:08:59 +0000 (19:08 -0300)]
Add gst-integration-testsuites as a subproject
Tim-Philipp Müller [Sun, 3 Mar 2019 21:00:32 +0000 (21:00 +0000)]
Back to development
Tim-Philipp Müller [Sun, 3 Mar 2019 20:58:38 +0000 (20:58 +0000)]
Build 1.15.2 release
Tim-Philipp Müller [Mon, 18 Feb 2019 16:53:07 +0000 (16:53 +0000)]
meson: use new 'python' module instead of deprecated 'python3' one
https://github.com/mesonbuild/meson/pull/4169
Tim-Philipp Müller [Mon, 18 Feb 2019 16:13:07 +0000 (16:13 +0000)]
Configure subprojects in the right order
Use an array instead of a dict to make sure we iterate over
the list of subprojects in the right order, which is first
GStreamer core, then gst-plugins-base, then other things.
Without this subprojects might get configured in random order,
in which case gstreamer or gst-plugins-base libs might get picked
up via pkg-config if they are also available installed, instead of
being picked up from the subproject. This breaks all kinds of
assumptions in gst-build and will likely have strange effects
and/or lead to build failures such as
subprojects/gst-plugins-good/tests/check/meson.build:144:2:
ERROR: 'gstreamer-plugins-base-1.0' is not a pkgconfig dependency
Nirbheek Chauhan [Thu, 14 Feb 2019 08:31:52 +0000 (14:01 +0530)]
gst-uninstalled: Fix compatibility with meson 0.50
Starting with Meson 0.50, meson instrospect --targets uses a list
for the filename and install_filenames of each target. Handle both
lists and strings.
Nirbheek Chauhan [Fri, 8 Feb 2019 10:55:29 +0000 (16:25 +0530)]
Add subprojects/libsoup/ to .gitignore
Nirbheek Chauhan [Wed, 6 Feb 2019 10:14:11 +0000 (15:44 +0530)]
openh264.wrap: Update the upstream commit
Needed for building on Windows with MSVC.
Nirbheek Chauhan [Tue, 5 Feb 2019 17:13:30 +0000 (22:43 +0530)]
New subproject win-nasm to provide nasm on Windows
This is needed for building openh264 as a subproject. Currently it's
downloaded unconditionally since the download is very small.
Nirbheek Chauhan [Tue, 5 Feb 2019 12:23:10 +0000 (17:53 +0530)]
Add orc to gitignore
Nirbheek Chauhan [Tue, 5 Feb 2019 11:53:49 +0000 (17:23 +0530)]
scripts: Auto-detect whether we can enable colors
Also do the setup necessary on Windows to enable ANSI colours on the
console (if available). That code is copied from Meson and is Apache2
licensed.
Seungha Yang [Tue, 29 Jan 2019 01:58:21 +0000 (10:58 +0900)]
Add an orc wrap file for using orc subproject
Depending on the newly added 'orc' meson option, this make possible
to use orc subproject on gst-build.
Tim-Philipp Müller [Mon, 28 Jan 2019 22:19:19 +0000 (23:19 +0100)]
subprojects: use libffi and gl-headers from gstreamer gitlab repos
https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/28
Tim-Philipp Müller [Mon, 21 Jan 2019 17:38:07 +0000 (17:38 +0000)]
Configure gst-rtsp-server before gst-devtools
Since gst-devtools checks for gst-rtsp-server and will
happily pick up an external dep which isn't what we want
if we configure it as subproject afterwards.
This assumes meson dicts are always stable, which may
not necessarily be the case, but it seems to work in
practice for now.
See #16
Mathieu Duponchelle [Thu, 24 Jan 2019 16:11:59 +0000 (17:11 +0100)]
windows: unconditionally use flex / bison binaries
This to simplify the checks made when for example a flex binary
is available system wide: the build process was failing when
that system wide binary didn't have the required version. Instead
of adding more checks and making things more complex, let's just
always use our binary subproject.
Xavier Claessens [Wed, 23 Jan 2019 21:06:02 +0000 (16:06 -0500)]
Add wrap file for libsoup and libpsl
libpsl is a dependency if libsoup that has an upstream Meson build
system (in master only).
libsoup also needs libxml2 but we already have a wrap file for it.
The only remaining dependency that must come from the system is sqlite3.
Guillaume Desmottes [Fri, 4 Jan 2019 11:58:37 +0000 (12:58 +0100)]
gst-uninstalled: define GST_OMX_CONFIG_DIR
GST_OMX_CONFIG_DIR is used by gst-omx to load the gstomx.conf associated
with the selected OMX target.
Arun Raghavan [Sat, 29 Dec 2018 07:14:20 +0000 (12:44 +0530)]
gitignore: Add cscope files
Ignores top-level cscope files that might be used for a cross-project
cscope index.
Arun Raghavan [Sat, 29 Dec 2018 07:13:30 +0000 (12:43 +0530)]
gitignore: Add top-level pygobject symlink
Tim-Philipp Müller [Sat, 15 Dec 2018 15:39:03 +0000 (15:39 +0000)]
subprojects: use upstream libnice
Meson port is upstream now.
Tim-Philipp Müller [Fri, 14 Dec 2018 21:35:17 +0000 (21:35 +0000)]
subprojects: update libxml2 wrap to revision 5
Fixes build with MSVC.
Xavier Claessens [Mon, 3 Dec 2018 14:16:14 +0000 (09:16 -0500)]
Add example cross files
These are example cross files that will be used by the CI. They
could require manual editing to change hardcoded paths to toolchains
when used on different environment.
Thibault Saunier [Thu, 6 Dec 2018 13:47:04 +0000 (10:47 -0300)]
update: Re add support for manifests without a refname
Thibault Saunier [Thu, 6 Dec 2018 10:48:23 +0000 (07:48 -0300)]
update: Fetch the refname before checking out the specified sha
Working around freedesktop/freedesktop#95
Xavier Claessens [Thu, 22 Nov 2018 15:16:48 +0000 (10:16 -0500)]
Add 'nls' common option
Thibault Saunier [Mon, 26 Nov 2018 18:55:26 +0000 (15:55 -0300)]
Download libxml from http and not ftp
Thibault Saunier [Mon, 26 Nov 2018 17:48:18 +0000 (14:48 -0300)]
Add a libxml2 wrap to be used by GES
Alicia Boya García [Fri, 23 Nov 2018 18:13:49 +0000 (19:13 +0100)]
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.
Alicia Boya García [Fri, 23 Nov 2018 14:42:03 +0000 (15:42 +0100)]
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.
Thibault Saunier [Wed, 21 Nov 2018 23:29:28 +0000 (20:29 -0300)]
update: Take into account the path attribute of projects
Seungha Yang [Sat, 3 Nov 2018 16:50:30 +0000 (01:50 +0900)]
Support *nix like development prompt on Windows
CMD on windows could support customized prompt like $PS1 on bash
Jordan Petridis [Fri, 9 Nov 2018 16:54:03 +0000 (18:54 +0200)]
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.
Thibault Saunier [Thu, 8 Nov 2018 14:52:03 +0000 (11:52 -0300)]
uninstalled: Make sure that the new gdb python macros are usable
directly from the uninstalled env
Thibault Saunier [Thu, 8 Nov 2018 14:51:27 +0000 (11:51 -0300)]
update: Make sure to detach branch when checking out a specific revision
Avoiding to get spammed about the fact that the branch is detached
Nicolas Dufresne [Tue, 6 Nov 2018 11:02:34 +0000 (06:02 -0500)]
Revert "Updated after gst-libav got moved to gst-ffmpeg"
This reverts commit
d027bf74011381a699ae59e3e95df3630cc73cfb.
Nicolas Dufresne [Tue, 6 Nov 2018 10:34:52 +0000 (05:34 -0500)]
Updated after gst-libav got moved to gst-ffmpeg
Thibault Saunier [Mon, 5 Nov 2018 12:52:41 +0000 (09:52 -0300)]
update: Enhance logging about what kind of update is happening
Thibault Saunier [Mon, 5 Nov 2018 12:43:50 +0000 (09:43 -0300)]
update: Ensure that a revision is used when updating a detached repo
For the case it was not guaranteed
Thibault Saunier [Mon, 5 Nov 2018 12:42:29 +0000 (09:42 -0300)]
update: Fix the manifest commit dictionnary format
The structure was changed in last commit but a code path was not properly updated
Xavier Claessens [Sun, 4 Nov 2018 01:38:33 +0000 (21:38 -0400)]
Change wrap URLs to gitlab
Thibault Saunier [Mon, 6 Aug 2018 04:33:08 +0000 (00:33 -0400)]
gst-update: Handle specified remotes in manifest
Mathieu Duponchelle [Tue, 30 Oct 2018 23:46:31 +0000 (00:46 +0100)]
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.
Nirbheek Chauhan [Sun, 28 Oct 2018 16:05:23 +0000 (16:05 +0000)]
README: Warn about not using the Meson MSI
Mathieu Duponchelle [Sun, 28 Oct 2018 13:15:31 +0000 (14:15 +0100)]
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.
Thibault Saunier [Sat, 20 Oct 2018 22:04:25 +0000 (19:04 -0300)]
Use subproject 'required' argument
Making the whole logic much simpler, and end result more accurate
Mathieu Duponchelle [Sat, 27 Oct 2018 15:59:29 +0000 (17:59 +0200)]
uninstalled: build and set PYTHONPATH
Mathieu Duponchelle [Sat, 27 Oct 2018 15:58:44 +0000 (17:58 +0200)]
Add pygobject and pycairo as subprojects
Thibault Saunier [Tue, 23 Oct 2018 12:08:34 +0000 (14:08 +0200)]
Add wrap file for json-glib
Nirbheek Chauhan [Tue, 2 Oct 2018 08:09:49 +0000 (13:39 +0530)]
git-update: Get the revision of the right repository
Typo, should fix the gst-build CI failures.
Nirbheek Chauhan [Tue, 2 Oct 2018 04:23:09 +0000 (09:53 +0530)]
gitignore: Ignore the subprojects openh264 git repo
Nirbheek Chauhan [Tue, 2 Oct 2018 04:21:11 +0000 (09:51 +0530)]
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.
Martin Kelly [Wed, 22 Aug 2018 16:11:47 +0000 (09:11 -0700)]
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
Nirbheek Chauhan [Wed, 5 Sep 2018 12:00:27 +0000 (17:30 +0530)]
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.
Nirbheek Chauhan [Mon, 3 Sep 2018 15:52:25 +0000 (21:22 +0530)]
meson: Fix libav checks to use feature options correctly
Víctor Manuel Jáquez Leal [Fri, 31 Aug 2018 11:31:24 +0000 (13:31 +0200)]
meson: strip branch name when uninstalled
Remove ending newlines characters on branch's name.
https://bugzilla.gnome.org/show_bug.cgi?id=796989
Philippe Normand [Fri, 31 Aug 2018 10:44:17 +0000 (11:44 +0100)]
meson: Follow-up fix for ninja uninstalled
The --gst-version was removed in
c78f0ef2229925f48b0ffabc410c2ca35dcb0df9 so
remove it from the meson.build file as well.
https://bugzilla.gnome.org/show_bug.cgi?id=796989
Philippe Normand [Fri, 17 Aug 2018 14:33:09 +0000 (15:33 +0100)]
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
Víctor Manuel Jáquez Leal [Sat, 23 Jun 2018 20:01:16 +0000 (22:01 +0200)]
Don't process the whole commit
https://bugzilla.gnome.org/show_bug.cgi?id=796655
Nirbheek Chauhan [Sat, 11 Aug 2018 13:11:04 +0000 (18:41 +0530)]
scripts: Fix missing import in common.py
This was causing a build failure on the CI.
Nirbheek Chauhan [Fri, 10 Aug 2018 21:20:14 +0000 (02:50 +0530)]
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
Tim-Philipp Müller [Mon, 6 Aug 2018 23:41:51 +0000 (00:41 +0100)]
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.
Nirbheek Chauhan [Fri, 27 Jul 2018 13:20:01 +0000 (18:50 +0530)]
Update .gitignore and add more subprojects
Nirbheek Chauhan [Wed, 25 Jul 2018 14:06:20 +0000 (19:36 +0530)]
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
Thibault Saunier [Tue, 24 Jul 2018 16:28:48 +0000 (12:28 -0400)]
uninstalled: Also support GES overrides
Simplifying one step further too
Thibault Saunier [Tue, 24 Jul 2018 16:11:52 +0000 (12:11 -0400)]
Fix previous commit putting mesonconfig.py in our custom sitecustomize directory
Thibault Saunier [Mon, 23 Jul 2018 17:39:19 +0000 (13:39 -0400)]
uninstalled: Simplify our python environment setup
Not changing the main usersitepackage env but creating our own,
similarly to what a venv would do.
Thibault Saunier [Mon, 23 Jul 2018 15:11:03 +0000 (11:11 -0400)]
uninstalled: Avoid failling while setting up PyGObject env hack files
Tim-Philipp Müller [Sun, 22 Jul 2018 22:31:16 +0000 (23:31 +0100)]
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
Thibault Saunier [Thu, 19 Jul 2018 20:22:03 +0000 (16:22 -0400)]
Mark ffmpeg as not required
As it was supposed to be.
Thibault Saunier [Fri, 13 Jul 2018 22:54:34 +0000 (18:54 -0400)]
dssim: Use http:// git repo
Thibault Saunier [Fri, 13 Jul 2018 16:11:48 +0000 (12:11 -0400)]
Update libav dependency version check.
Thibault Saunier [Fri, 13 Jul 2018 15:45:28 +0000 (11:45 -0400)]
Add back gst-libav
It slipped through in the previous refactoring
Tim-Philipp Müller [Thu, 12 Jul 2018 23:11:41 +0000 (00:11 +0100)]
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
Thibault Saunier [Thu, 12 Jul 2018 14:14:33 +0000 (10:14 -0400)]
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
Thibault Saunier [Thu, 28 Jun 2018 19:20:25 +0000 (15:20 -0400)]
Add a wrap for openh264
Tim-Philipp Müller [Tue, 12 Jun 2018 14:03:03 +0000 (15:03 +0100)]
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.
Tim-Philipp Müller [Thu, 7 Jun 2018 18:25:22 +0000 (19:25 +0100)]
Don't build gst-python if required deps aren't available
Matthew Waters [Thu, 7 Jun 2018 04:13:03 +0000 (14:13 +1000)]
add gl-headers subproject for necessary OpenGL headers
At least for windows.
Thibault Saunier [Wed, 6 Jun 2018 11:55:20 +0000 (07:55 -0400)]
uninstalled: Set PKG_CONFIG_PATH to point to prefix/lib/pkgconfig
Thibault Saunier [Tue, 5 Jun 2018 14:41:07 +0000 (10:41 -0400)]
Add bindinator wrap file
Tim-Philipp Müller [Mon, 21 May 2018 22:08:43 +0000 (23:08 +0100)]
meson: rename gtkdoc option to gtk_doc
Nirbheek Chauhan [Thu, 17 May 2018 08:25:43 +0000 (13:55 +0530)]
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.
Nirbheek Chauhan [Thu, 17 May 2018 08:25:43 +0000 (13:55 +0530)]
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.
Nirbheek Chauhan [Thu, 17 May 2018 08:25:43 +0000 (13:55 +0530)]
Add a wrap file for libnice.wrap
Temporarily pointing to Centricular's git repository till upstream
libnice accepts the port (poke ocrete on IRC!).
Nirbheek Chauhan [Sat, 5 May 2018 15:05:12 +0000 (20:35 +0530)]
gst-uninstalled.py: Look for both 'build' and '_build' for builddir
Nirbheek Chauhan [Sat, 5 May 2018 14:55:52 +0000 (20:25 +0530)]
meson: Update option names to omit prefixes
Also, common options are now consistent across all gstreamer modules,
and are inherited automatically.
Nirbheek Chauhan [Sat, 5 May 2018 13:08:00 +0000 (18:38 +0530)]
gst-uninstalled: Use absolute path to custom builddir
Thibault Saunier [Wed, 2 May 2018 20:50:22 +0000 (22:50 +0200)]
Add a wrap for dssim
Tim-Philipp Müller [Wed, 25 Apr 2018 00:06:27 +0000 (01:06 +0100)]
Bump Meson requirement to 0.46
Which matches GStreamer core's (and soon the other modules).
Mathieu Duponchelle [Sun, 22 Apr 2018 00:51:20 +0000 (17:51 -0700)]
subprojects: add some missing wraps
Mathieu Duponchelle [Sun, 22 Apr 2018 00:50:06 +0000 (17:50 -0700)]
uname does not exist everywhere
Nirbheek Chauhan [Sat, 21 Apr 2018 07:29:04 +0000 (12:59 +0530)]
meson: Fix typo, lower() -> to_lower()
Nirbheek Chauhan [Fri, 13 Apr 2018 09:26:33 +0000 (14:56 +0530)]
Only pass -DZ_SOLO on MSVC if using MSYS2 zlib
This fixes the build when we're building our own zlib as a subproject.
Thibault Saunier [Thu, 22 Feb 2018 12:14:26 +0000 (09:14 -0300)]
Add a script to checkout a worktree of gst-build and its subprojects
https://bugzilla.gnome.org/show_bug.cgi?id=794519