Commit graph

68 commits

Author SHA1 Message Date
Matthew Waters
45d7f5f337 add gst-omx as a possible subproject 2017-01-18 16:25:52 +11:00
Tim-Philipp Müller
14de71cd96 Bump version 2017-01-13 13:07:47 +00:00
Arun Raghavan
225419e030 git-update: Update submodules too
More correct than not doing it, and prevents careless people from
mistakenly pushing changes to submodules.
2017-01-11 17:29:33 +05:30
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
Nirbheek Chauhan
97262139f1 setup.py: Print the detected Ninja and quote build_dir
The build_dir is an absolute path, so quote it.
2017-01-03 23:01:02 +05:30
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
Guillaume Desmottes
9c15b9a136 README: document how to run tests
https://bugzilla.gnome.org/show_bug.cgi?id=776710
2017-01-02 12:31:52 +00:00
Thibault Saunier
d68bff3c47 msys2: Allow disabling failures on warning 2016-12-13 21:42:11 -03:00
Thibault Saunier
1efbb1392d msys2: Fix special lib names regexes and add some necessary ones
And always flush on prints (so we have understandable outputs)
2016-12-13 21:42:01 -03:00
Thibault Saunier
0857e59dea msys2: Pass extra argument directly to uninstalled.py 2016-12-13 21:41:34 -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
2b74d4d86d Work around issue using msys2 provided zlib
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
Tim-Philipp Müller
e87fac1b4d subprojects: use https:// instead of git:// protocol
https provides authentication and also works better in
environments with restricted network connectivity.

https://bugzilla.gnome.org/show_bug.cgi?id=775110
2016-11-25 20:06:23 +00:00
Scott D Phillips
978f107a0b git-update: fixes for running on windows
when running git-update as `py git-update` (which is convenient on
windows), SCRIPTDIR is '' instead of '.'. Fix that with normpath.

Printing emdash (U+2014) doesn't work on windows because it isn't in
cp437. Change it to hyphen.

https://bugzilla.gnome.org/show_bug.cgi?id=774636
2016-11-17 17:49:17 -03:00
Thibault Saunier
b45052b60e setup: Directly use --werror to set Werror
Using mesonconf -Dwerror afterward is failling because of https://github.com/ninja-build/ninja/issues/371
Using meson -Dwerror=true is failing currently for some reason.
2016-11-14 19:11:22 -03:00
Tim-Philipp Müller
8ebcfad265 Require latest meson release (0.36)
We'll start depending on it in other modules soon.
2016-11-14 19:09:20 +00:00
Nirbheek Chauhan
30a35c3d60 git-update: Use git config to set autostash
The build bots don't like it; probably because the git version is
ancient there. Bots should ignore the unknown config variable.
2016-11-10 01:10:58 +05:30
Tim-Philipp Müller
90021b82af Update version to match git master
Use the 1.10 branch if you want to track 1.10.
2016-11-09 09:37:56 +00:00
Thibault Saunier
c843f48740 Add 'update' and git-update targets to update git repos 2016-11-08 15:16:57 -03:00
Thibault Saunier
ac383f6b68 git-update: Also update gst-build 2016-11-08 15:10:50 -03:00
Thibault Saunier
a6e6feac3e Add a way to skip updating a particular repo
When entering a shell to fix the rebasing you can just `exit 255`
and we concider it means 'skip update'.

Also support entering shell on windows
2016-11-08 15:10:50 -03:00
Nirbheek Chauhan
6707b41d08 git-update: Use --autosquash during pull --rebase
This option has existed forever and allows people to automatically
update and autosquash/pop changes in subproject git repositories.
2016-11-08 23:30:16 +05:30
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
Scott D Phillips
95a0651b2c Include libav dependency in FFmpeg check
The FFmpeg-origin check can't work if it isn't provided the
dependency library.

https://bugzilla.gnome.org/show_bug.cgi?id=773911
2016-11-03 21:51:01 -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
Tim-Philipp Müller
33e0791294 Skip gst-devtools if json-glib-1.0 is missing
We shouldn't fail hard because of a gst-devtools dependency,
so if json-glib-1.0 is not found, just skip the module and
build the rest.
2016-10-27 20:11:45 +01:00
Tim-Philipp Müller
0b560fb187 Add gst-rtsp-server 2016-10-27 00:30:32 +01:00
Tim-Philipp Müller
9a8ab306b7 Fix build if we can't find system ffmpeg / libavfilter dev packages
It would unconditionally add gst-libav to subprojects even
if the dep was not found.
2016-10-27 00:05:51 +01:00
Tim-Philipp Müller
73f692ddf9 Bump version to match gst git master 2016-10-27 00:05:39 +01:00
Tim-Philipp Müller
233bdf98e8 Require meson 0.35.1
Otherwise gst-devtools will fail to configure with
UnboundLocalError: local variable 'variable' referenced before assignment
2016-10-27 00:02:01 +01:00
Thibault Saunier
4c2f97525f Get absolute path to run meson
It is necessary now that we explicitly run it through the python
interpreter.
2016-10-26 19:46:09 -03:00
Thibault Saunier
b2b737dc1b README: Enhance and update 2016-10-26 18:00:55 -03:00
Thibault Saunier
a2c4f6f2b0 Rename to gst-build 2016-10-26 17:44:19 -03:00
Thibault Saunier
3875f0c705 Add options to disable some modules 2016-10-26 17:03:18 -03:00
Thibault Saunier
aca3e8c96e Remove some cruft leftover 2016-10-21 05:32:57 -03:00
Thibault Saunier
526a5cd04a Rename configure to setup 2016-10-21 05:31:13 -03:00
Thibault Saunier
85880a3a22 Create symlinks to built subprojects 2016-10-21 05:31:13 -03:00
Thibault Saunier
e54a4ac66c Let user know about how to build after configure is done 2016-10-20 17:53:08 -03:00
Thibault Saunier
b0bcc40026 Remove meson/ submodule
But let user have a meson/ checkout that will be used by ./configure
2016-10-20 17:47:07 -03:00
Thibault Saunier
b844b7229a Do not gst-python by default 2016-10-20 17:47:07 -03:00
Thibault Saunier
1a36ab2c27 README: Do not mention building projects on top of gst-all
We might enable that in the future but this is a non goal for now
2016-10-20 16:16:15 -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
3b8dc3b4d2 meson submodule: Default to the new 0.35.1 release 2016-10-17 21:13:01 +02:00
Thibault Saunier
57680a0dd3 Do not update meson by default and fix setting -Werror=true 2016-10-17 21:13:01 +02:00
Thibault Saunier
b991036624 Explain that on Fedora ninja is called ninja-build 2016-10-14 10:31:38 +02:00