Commit graph

262 commits

Author SHA1 Message Date
Ruben Gonzalez
f93a39a9ee Add subprojects/gst-docs in gitignore
gst-docs in only build on Linux if hotdoc is in the PATH.

A correct gitigonore is important for modern tools like ripgrep,
fd or skim.
2019-10-20 21:21:27 +02:00
Thibault Saunier
0d54e153d3 Update ffmpeg to 4.1.4 2019-10-01 09:20:25 -03:00
Thibault Saunier
3d8662ebfe Add support for wine+mingw environments 2019-10-01 09:20:25 -03:00
Thibault Saunier
fe39bd3027 Rename 'uninstalled' to development environment
In the case of wine, the env can not be uninstalled, also developers
do not necessiraly care about the fact that it is "uninstalled", the
important thing is that it is a development environment, meaning
that they can work on GStreamer or with GStreamer in the environment.

I still keep the `uninstalled` target to avoid changing people's
habits for now.
2019-09-24 08:23:07 -03:00
Thibault Saunier
da86dcfee2 Remove msys2_setup as it is not used, not tested, not documentated 2019-09-24 08:23:07 -03:00
Nirbheek Chauhan
c6613d8da2 gst-uninstalled: Don't add plugin paths to PATH or LD_LIBRARY_PATH
We don't need to do that, and adding it causes us to exceed the PATH
length limit on Windows, which makes the terminal completely unusable.
2019-09-19 18:14:11 +05:30
Xavier Claessens
0633b417f7 Add back gtk_doc option
This is needed to disable gtk_doc in subprojects that have that option
yielding.
2019-09-18 11:27:59 -04:00
Nirbheek Chauhan
78c971df61 Update .gitignore 2019-09-16 08:51:47 +05:30
Nirbheek Chauhan
3c1b25465b Move to using GitHub binary releases
Can't update to 2.5.19 because of https://github.com/lexxmark/winflexbison/issues/48

Fixes https://gitlab.freedesktop.org/gstreamer/gst-build/issues/43
2019-09-16 08:51:06 +05:30
Tim-Philipp Müller
5291f7b2a1 subprojects: proxy-libintl: fix push-url 2019-08-14 18:51:43 +01:00
Jordan Petridis
9e7855866a
Update the flexmeson windows binary version
The old binary/url is no longer available, and the layout of the
sourceforge archvie seems to have changed to include a new
old_versions/ directory where the previous binary is
relocated.

https://sourceforge.net/projects/winflexbison/files/old_versions/

While we could use that, it seem better to invest the effort to
adapt the scipt afterwards to use the github archives instead

https://github.com/lexxmark/winflexbison/releases

So for now bump the version to get the subproject building
till we switch to github releases.
2019-07-30 07:11:10 +03:00
Yeongjin Jeong
8568e471fa uninstalled: Ensure bash prompt override even if bash script file does not exist
If automatic bash prompt override is enabled via the 'GST_BUILD_DISABLE_PS1_OVERRIDE',
We should set the bash prompt to have a visual indicator of the "gst-uninstalled" environment
even if bash script file does not exist.
2019-07-29 13:57:15 +09:00
Matthew Waters
d0acfc2bf7 add gst-examples repository to subproject list 2019-07-25 12:03:00 +10:00
Nirbheek Chauhan
5d803bda10 gst-uninstalled: Fix loading of prefix libraries on Fedora 30
On Fedora 64-bit, libdir is 'lib64'. Just add it unconditionally
everywhere because we have no reliable way of detecting which distros
or OSes will use that.
2019-07-19 21:59:03 +05:30
Nirbheek Chauhan
01eb252f67 Don't allow people to run meson inside the uninstalled env
People should not run `meson` on gst-build inside the uninstalled env.
It will cause problems because meson will detect the already-built
libraries and pkg-config files.

This is not obvious to people, and they often make this mistake.
2019-06-25 20:55:36 +05:30
Nicolas Dufresne
9c4cb201d0 uninstalled: Fix --sysroot implementation
This option was added so we could remove the sysroot path from the env
when cross-build is used over NFS. Though, the implementation wasn't complete
and went unnoticed.

This moves the sysroot path removal into the helper that prepends env so
that no more env get forgotten. This notably fixes the PATH environment.
2019-06-04 21:09:11 -04:00
Nicolas Dufresne
bb9c37dcf0 cross: Fix cross compilation meson error
The doc is not currently built in cross-compilation, but we still had
some meson code that eneded up being called and failed.
2019-06-04 15:30:43 -04:00
Niels De Graef
6bd73861ca meson: Bump minimal GLib version to 2.44
This means we can use some newer features and get rid of some
boilerplate code using the G_DECLARE_* macros.

As discussed on IRC, 2.44 is old enough by now to start depending on it.
2019-05-31 21:44:35 +00:00
Mathieu Duponchelle
dc325b42f5 uninstalled: update XDG_DATA_DIRS to point to our devhelp index
When using hotdoc, one can build the documentation for a single
subproject (eg. the GL plugins). In that case, hotdoc will look
up links in devhelp indexes available in standard locations.

To make sure this case works, we thus need to add the path to
our devhelp index to XDG_DATA_DIRS. This also means when running
devhelp from inside the environment, the devhelp books produced
by hotdoc will now show up.
2019-05-29 00:34:50 +02:00
Mathieu Duponchelle
227c35b5d3 meson: fix GstPluginsPath.json generation
The refactored code was only adding paths to plugins in projects
that build hotdoc, which is not the case of gst-python for example
2019-05-26 15:51:06 +02:00
Thibault Saunier
4c6b301fa0 uninstalled: Add libnice plugin to GST_PLUGIN_PATH 2019-05-16 16:51:49 -04:00
Thibault Saunier
2c50c067d5 meson: Add a target to regenerate doc caches for all subprojects
Fixes https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/36
2019-05-16 09:32:50 -04:00
Thibault Saunier
802e18519b Avoid making a dependency between plugins and the build.ninja file
Basically meson detects that we pass file paths to run_command to regenerate the build.ninja file when those change
2019-05-15 23:23:46 -04:00
Tim-Philipp Müller
54ce8e882b meson.build: Fix typo in log message 2019-05-14 23:22:18 +01:00
Thibault Saunier
4736387c1b meson: Remove spurious subdir_done 2019-05-14 17:51:38 -04:00
Thibault Saunier
b46c29525f git-update: Make sure to download all subproject before applying manifest
Otherwise we might be missing some subprojects update
2019-05-13 11:42:42 -04:00
Thibault Saunier
fda8379411 scripts: Add a script to check that all repos are clean
This is useful to check that a build didn't result in changes in the
code/generated files

This will be used to check that the plugins documentation cache file is
properly commited, and that necessary workaround for particular case
are adopted.
2019-05-13 11:42:15 -04:00
Thibault Saunier
fbb81c6c78 Generate the GST_PLUGIN_PATH using the plugins variable in subprojects
To build the documentation, we are maintaining a 'standardise' `plugins`
variable accross all modules to list all plugins and generate
documentation for them.

This is also used to get the right plugin path when inspecting plugins
for the documentation.
2019-05-13 11:42:15 -04:00
Thibault Saunier
3d24de2f24 Build documentation with hotdoc 2019-05-13 11:42:15 -04:00
Vivia Nikolaidou
dde1b6ef3c gst-uninstalled: Add gst-indent directory to $PATH 2019-05-11 09:54:50 +00:00
Nicolas Dufresne
a769bf6c6e uninstalled: Add an option to strip off the sysroot path
As the data from meson is no longer relative path, it is not longer
possible to move gst-build around and run gst-uninstalled.py. This broke
cross-compilation usage, where you build on a host and run over NFS on
target. This adds an option to tell the script to strip off the host path
to the sysroot.
2019-05-06 16:10:59 -04:00
Thibault Saunier
7fb7739337 Fix link to meson "subprojects" documentation 2019-04-25 17:29:19 +00:00
Tim-Philipp Müller
f21a06f5d2 README: minor clarification
Fixes #30.
2019-04-25 17:21:02 +01:00
Thibault Saunier
f0a550eac9 subprojects: Add a wrap for gst-docs
Preparing for building API documentation with hotdoc
2019-04-19 16:33:54 -04:00
Tim-Philipp Müller
96dd9f4093 Build master again 2019-04-19 11:07:28 +01:00
Tim-Philipp Müller
5114d22911 Build 1.16.0 release 2019-04-19 02:23:51 +01:00
Nirbheek Chauhan
57e876e339 README: Add instructions for Windows with screenshots
Also add a note about installation
2019-04-17 17:55:48 +05:30
Nirbheek Chauhan
d4cc75ec1b Move cross-files to the data subdirectory
We will add more data soon.
2019-04-17 17:08:39 +05:30
Nirbheek Chauhan
cb3db265fe gitignore: Also ignore subproject symlinks
These subproject dirs are only ignored if they are directories if you
use a trailing slash.
2019-04-17 16:44:28 +05:30
Tim-Philipp Müller
273d95a18d Build master again 2019-04-16 16:49:32 +01:00
Tim-Philipp Müller
c0a8dd04b5 Build 1.15.90 release 2019-04-16 14:17:49 +00:00
Tim-Philipp Müller
462a2089ef subprojects: libsoup: pin to latest release 2019-04-16 14:17:49 +00:00
Tim-Philipp Müller
8a2ac5c668 subprojects: orc: pin to 0.4.29 release 2019-04-16 14:17:49 +00:00
Mart Raudsepp
be1eae5df3 gitignore: Add top-level libnice symlink
Missed adjustment from commit d3029ec0d6.
2019-04-16 16:00:45 +03:00
Nirbheek Chauhan
6a3a7760f2 ffmpeg.wrap: Bump to 4.1.3
Tested on Windows.
2019-04-15 15:46:27 +05:30
Nirbheek Chauhan
d422c2b791 gst-uninstalled: Try to use short names for env vars on Windows
Try even harder to not hit the maximum length limit for env var values
on Windows. Reduces the size by ~1000 characters on my machine.
2019-04-15 15:36:08 +05:30
Nirbheek Chauhan
c786776f27 gst-uninstalled: De-dedup before prepending to an env var
Helps us avoid breaching the maximum length limit for env var values
on Windows.
2019-04-15 15:32:36 +05:30
Nirbheek Chauhan
35e6c8b160 glib.wrap: Use the glib-2-60 stable branch instead of master
This fixes https://gitlab.freedesktop.org/gstreamer/gst-build/issues/21
2019-04-12 10:52:37 +05:30
Mathieu Duponchelle
d3029ec0d6 add libnice as a top-level subproject.
When relying on a system-wide libnice, we end up not building
the nice elements, which means we can't use them, and by extension
webrtcbin, in the uninstalled environment.

This also introduces a way to avoid checking the version of
a given subproject, and makes use of it for libnice and pygobject,
which only passed the version check by chance, as its current
major version is 3.
2019-04-05 15:27:37 +02:00
Nirbheek Chauhan
acf83f17c2 README.md: Document how to build the qt5 plugin 2019-04-02 13:16:05 +00:00