platform/upstream/gstreamer.git
7 years agoREADME: update tests section
Guillaume Desmottes [Mon, 30 Jan 2017 08:08:59 +0000 (09:08 +0100)]
README: update tests section

- Add example to list all tests
- Add example to run all tests of a specific component
- Update example running one specific test to avoid test name clashes
with other components.

https://bugzilla.gnome.org/show_bug.cgi?id=776718

7 years agoAdd meson/ to PYTHONPATH if needed
Thibault Saunier [Fri, 27 Jan 2017 19:54:21 +0000 (16:54 -0300)]
Add meson/ to PYTHONPATH if needed

7 years agoadd gst-omx as a possible subproject
Matthew Waters [Wed, 18 Jan 2017 05:25:52 +0000 (16:25 +1100)]
add gst-omx as a possible subproject

7 years agoBump version
Tim-Philipp Müller [Fri, 13 Jan 2017 13:07:47 +0000 (13:07 +0000)]
Bump version

7 years agogit-update: Update submodules too
Arun Raghavan [Wed, 11 Jan 2017 11:59:33 +0000 (17:29 +0530)]
git-update: Update submodules too

More correct than not doing it, and prevents careless people from
mistakenly pushing changes to submodules.

7 years agogst-uninstalled: set PKG_CONFIG_PATH
Guillaume Desmottes [Wed, 4 Jan 2017 11:10:56 +0000 (12:10 +0100)]
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

7 years agouninstalled: Also set GST_PRESET_PATH and GST_ENCODING_TARGET_PATH
Thibault Saunier [Mon, 19 Dec 2016 13:10:58 +0000 (10:10 -0300)]
uninstalled: Also set GST_PRESET_PATH and GST_ENCODING_TARGET_PATH

7 years agoAlso use meson introspect to set PATH
Thibault Saunier [Wed, 14 Dec 2016 20:13:53 +0000 (17:13 -0300)]
Also use meson introspect to set PATH

7 years agosetup.py: Print the detected Ninja and quote build_dir
Nirbheek Chauhan [Tue, 3 Jan 2017 17:29:52 +0000 (22:59 +0530)]
setup.py: Print the detected Ninja and quote build_dir

The build_dir is an absolute path, so quote it.

7 years agoRevert "setup.py: Use the detected Ninja and quote build_dir"
Nirbheek Chauhan [Tue, 3 Jan 2017 17:23:18 +0000 (22:53 +0530)]
Revert "setup.py: Use the detected Ninja and quote build_dir"

This reverts commit 9a64b727bf6ad42d66f1e5f0404baca46f57167c.

Closes https://bugzilla.gnome.org/show_bug.cgi?id=776801

The actual fix is in the next commit.

7 years agosetup.py: Use the detected Ninja and quote build_dir
Nirbheek Chauhan [Mon, 2 Jan 2017 20:36:42 +0000 (02:06 +0530)]
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

7 years agoREADME: document how to run tests
Guillaume Desmottes [Mon, 2 Jan 2017 12:18:37 +0000 (13:18 +0100)]
README: document how to run tests

https://bugzilla.gnome.org/show_bug.cgi?id=776710

7 years agomsys2: Allow disabling failures on warning
Thibault Saunier [Wed, 14 Dec 2016 00:36:25 +0000 (21:36 -0300)]
msys2: Allow disabling failures on warning

7 years agomsys2: Fix special lib names regexes and add some necessary ones
Thibault Saunier [Wed, 14 Dec 2016 00:35:14 +0000 (21:35 -0300)]
msys2: Fix special lib names regexes and add some necessary ones

And always flush on prints (so we have understandable outputs)

7 years agomsys2: Pass extra argument directly to uninstalled.py
Thibault Saunier [Tue, 13 Dec 2016 18:22:15 +0000 (15:22 -0300)]
msys2: Pass extra argument directly to uninstalled.py

7 years agoAdd a script to setup a developement environment based on msys2
Thibault Saunier [Sat, 19 Nov 2016 13:18:33 +0000 (10:18 -0300)]
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

7 years agoUse mesonintrospect to set library path
Thibault Saunier [Sat, 19 Nov 2016 21:01:44 +0000 (18:01 -0300)]
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

7 years agoWork around issue using msys2 provided zlib
Thibault Saunier [Sat, 19 Nov 2016 13:16:03 +0000 (05:16 -0800)]
Work around issue using msys2 provided zlib

https://bugzilla.gnome.org/show_bug.cgi?id=775281

7 years agouninstalled: Properly setup uninstalled env on windows
Thibault Saunier [Sat, 19 Nov 2016 13:11:55 +0000 (05:11 -0800)]
uninstalled: Properly setup uninstalled env on windows

https://bugzilla.gnome.org/show_bug.cgi?id=775281

7 years agosubprojects: use https:// instead of git:// protocol
Tim-Philipp Müller [Fri, 25 Nov 2016 19:55:15 +0000 (19:55 +0000)]
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

7 years agogit-update: fixes for running on windows
Scott D Phillips [Thu, 17 Nov 2016 18:55:44 +0000 (10:55 -0800)]
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

7 years agosetup: Directly use --werror to set Werror
Thibault Saunier [Mon, 14 Nov 2016 22:09:41 +0000 (19:09 -0300)]
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.

7 years agoRequire latest meson release (0.36)
Tim-Philipp Müller [Mon, 14 Nov 2016 19:09:20 +0000 (19:09 +0000)]
Require latest meson release (0.36)

We'll start depending on it in other modules soon.

7 years agogit-update: Use git config to set autostash
Nirbheek Chauhan [Wed, 9 Nov 2016 19:40:58 +0000 (01:10 +0530)]
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.

7 years agoUpdate version to match git master
Tim-Philipp Müller [Wed, 2 Nov 2016 11:30:06 +0000 (11:30 +0000)]
Update version to match git master

Use the 1.10 branch if you want to track 1.10.

7 years agoAdd 'update' and `git-update` targets to update git repos
Thibault Saunier [Mon, 7 Nov 2016 21:17:39 +0000 (18:17 -0300)]
Add 'update' and `git-update` targets to update git repos

7 years agogit-update: Also update gst-build
Thibault Saunier [Mon, 7 Nov 2016 21:17:21 +0000 (18:17 -0300)]
git-update: Also update gst-build

7 years agoAdd a way to skip updating a particular repo
Thibault Saunier [Mon, 7 Nov 2016 21:11:07 +0000 (18:11 -0300)]
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

7 years agogit-update: Use --autosquash during pull --rebase
Nirbheek Chauhan [Tue, 8 Nov 2016 17:55:26 +0000 (23:25 +0530)]
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.

7 years agoProperly setup environment for python development if gst-python is being built
Thibault Saunier [Thu, 3 Nov 2016 14:46:34 +0000 (11:46 -0300)]
Properly setup environment for python development if gst-python is being built

Avoiding to mess with PYTHONPATH making using python2 in the env
impossible.

8 years agoInclude libav dependency in FFmpeg check
Scott D Phillips [Thu, 3 Nov 2016 19:42:07 +0000 (12:42 -0700)]
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

8 years agoFix setting $PS1 for bash
Thibault Saunier [Wed, 2 Nov 2016 18:40:54 +0000 (15:40 -0300)]
Fix setting $PS1 for bash

And let user know how to set prompt for zsh and powerline in our
README.

8 years agoSkip gst-devtools if json-glib-1.0 is missing
Tim-Philipp Müller [Thu, 27 Oct 2016 19:07:25 +0000 (20:07 +0100)]
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.

8 years agoAdd gst-rtsp-server
Tim-Philipp Müller [Wed, 26 Oct 2016 23:30:32 +0000 (00:30 +0100)]
Add gst-rtsp-server

8 years agoFix build if we can't find system ffmpeg / libavfilter dev packages
Tim-Philipp Müller [Wed, 26 Oct 2016 23:05:51 +0000 (00:05 +0100)]
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.

8 years agoBump version to match gst git master
Tim-Philipp Müller [Wed, 26 Oct 2016 23:02:22 +0000 (00:02 +0100)]
Bump version to match gst git master

8 years agoRequire meson 0.35.1
Tim-Philipp Müller [Wed, 26 Oct 2016 22:57:44 +0000 (23:57 +0100)]
Require meson 0.35.1

Otherwise gst-devtools will fail to configure with
UnboundLocalError: local variable 'variable' referenced before assignment

8 years agoGet absolute path to run meson
Thibault Saunier [Wed, 26 Oct 2016 22:39:49 +0000 (19:39 -0300)]
Get absolute path to run meson

It is necessary now that we explicitly run it through the python
interpreter.

8 years agoREADME: Enhance and update
Thibault Saunier [Wed, 26 Oct 2016 20:58:16 +0000 (17:58 -0300)]
README: Enhance and update

8 years agoRename to gst-build
Thibault Saunier [Wed, 26 Oct 2016 20:44:19 +0000 (17:44 -0300)]
Rename to gst-build

8 years agoAdd options to disable some modules
Thibault Saunier [Wed, 26 Oct 2016 20:03:18 +0000 (17:03 -0300)]
Add options to disable some modules

8 years agoRemove some cruft leftover
Thibault Saunier [Fri, 21 Oct 2016 08:32:57 +0000 (05:32 -0300)]
Remove some cruft leftover

8 years agoRename configure to setup
Thibault Saunier [Fri, 21 Oct 2016 08:18:40 +0000 (05:18 -0300)]
Rename configure to setup

8 years agoCreate symlinks to built subprojects
Thibault Saunier [Thu, 20 Oct 2016 21:12:53 +0000 (18:12 -0300)]
Create symlinks to built subprojects

8 years agoLet user know about how to build after configure is done
Thibault Saunier [Thu, 20 Oct 2016 20:53:08 +0000 (17:53 -0300)]
Let user know about how to build after configure is done

8 years agoRemove meson/ submodule
Thibault Saunier [Thu, 20 Oct 2016 20:41:08 +0000 (17:41 -0300)]
Remove meson/ submodule

But let user have a meson/ checkout that will be used by ./configure

8 years agoDo not gst-python by default
Thibault Saunier [Thu, 20 Oct 2016 20:35:34 +0000 (17:35 -0300)]
Do not gst-python by default

8 years agoREADME: Do not mention building projects on top of gst-all
Thibault Saunier [Thu, 20 Oct 2016 19:16:15 +0000 (16:16 -0300)]
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

8 years agoWindows fixes for scripts
Scott D Phillips [Mon, 17 Oct 2016 14:42:07 +0000 (07:42 -0700)]
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.

8 years agomeson submodule: Default to the new 0.35.1 release
Thibault Saunier [Mon, 17 Oct 2016 19:11:25 +0000 (21:11 +0200)]
meson submodule: Default to the new 0.35.1 release

8 years agoDo not update meson by default and fix setting -Werror=true
Thibault Saunier [Fri, 14 Oct 2016 09:53:21 +0000 (11:53 +0200)]
Do not update meson by default and fix setting -Werror=true

8 years agoExplain that on Fedora ninja is called ninja-build
Thibault Saunier [Fri, 14 Oct 2016 08:31:38 +0000 (10:31 +0200)]
Explain that on Fedora ninja is called ninja-build

8 years agoMinor improvement in the git function
Thibault Saunier [Tue, 11 Oct 2016 00:05:39 +0000 (02:05 +0200)]
Minor improvement in the git function

8 years agoMake gst-uninstalled compatible with python 3.3
Thibault Saunier [Mon, 10 Oct 2016 23:58:05 +0000 (01:58 +0200)]
Make gst-uninstalled compatible with python 3.3

8 years agoAdd meson as a submodule for now
Thibault Saunier [Mon, 10 Oct 2016 23:14:50 +0000 (01:14 +0200)]
Add meson as a submodule for now

Allowing us to control the meson version in use so that it just works.

8 years agoFix copy-pasto in gst-uninstalled argument help string
Arun Raghavan [Fri, 26 Aug 2016 03:10:07 +0000 (08:40 +0530)]
Fix copy-pasto in gst-uninstalled argument help string

8 years agoCompile with -Werror by default
Thibault Saunier [Mon, 10 Oct 2016 23:24:24 +0000 (01:24 +0200)]
Compile with -Werror by default

This is what we do in development version with autotools

8 years agogit-update: Add a way for user to fix any rebasing issue interactively
Thibault Saunier [Thu, 29 Sep 2016 23:25:42 +0000 (20:25 -0300)]
git-update: Add a way for user to fix any rebasing issue interactively

8 years agoconfigure: Let user know when exit on meson error
Thibault Saunier [Wed, 14 Sep 2016 13:42:52 +0000 (10:42 -0300)]
configure: Let user know when exit on meson error

8 years agoFix run_target usage
Thibault Saunier [Wed, 14 Sep 2016 13:36:28 +0000 (10:36 -0300)]
Fix run_target usage

8 years agoAllow passing a manifest to update subprojects repository
Thibault Saunier [Wed, 14 Sep 2016 12:54:59 +0000 (09:54 -0300)]
Allow passing a manifest to update subprojects repository

Allowing to have reproducible builds on the CI server, and locally.

8 years agoRemove .subprojects from the gitignore
Thibault Saunier [Fri, 9 Sep 2016 11:29:22 +0000 (08:29 -0300)]
Remove .subprojects from the gitignore

It is really inconvenient.

8 years agoAllow executing one process inside the uninstalled environment
Thibault Saunier [Tue, 6 Sep 2016 03:00:17 +0000 (00:00 -0300)]
Allow executing one process inside the uninstalled environment

8 years agoAdd an helper to update subprojects git repos
Thibault Saunier [Tue, 6 Sep 2016 02:37:25 +0000 (23:37 -0300)]
Add an helper to update subprojects git repos

8 years agoSet GST_VALIDATE_APPS_DIR GES validate app path
Thibault Saunier [Mon, 5 Sep 2016 17:47:50 +0000 (14:47 -0300)]
Set GST_VALIDATE_APPS_DIR GES validate app path

8 years agoAdd [gst-]python support
Thibault Saunier [Mon, 5 Sep 2016 14:54:46 +0000 (11:54 -0300)]
Add [gst-]python support

8 years agoBuild gst-libav if libav is on the system
Thibault Saunier [Mon, 29 Aug 2016 14:21:41 +0000 (11:21 -0300)]
Build gst-libav if libav is on the system

8 years agoSet CURRENT_GST
Thibault Saunier [Sun, 28 Aug 2016 23:14:36 +0000 (20:14 -0300)]
Set CURRENT_GST

8 years agoFix typos in README.md
Saunier Thibault [Fri, 26 Aug 2016 01:13:40 +0000 (22:13 -0300)]
Fix typos in README.md

8 years agoInitial commit
Saunier Thibault [Wed, 24 Aug 2016 15:10:21 +0000 (12:10 -0300)]
Initial commit