summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-10-30build-tools: copy the removed site.py from setuptools1.16Matthew Waters2-0/+111
Fixes python programs (like meson) from using libraries from incorrect places. Upstream reference: https://github.com/pypa/setuptools/issues/2295 Fixes: https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/307 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/655>
2020-10-27Build 1.16 branch againTim-Philipp Müller4-5/+5
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/650>
2020-10-26cerbero/hacks: Don't blindly join args for os.path.join1.16.3Nirbheek Chauhan1-1/+2
The code takes care to never append two absolute paths, for example. Instead, use Python's `join` and convert to posix paths before returning. Backport of https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/183 Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/301 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/649>
2020-10-23nettle/ios: pass -Wno-error=implicit-function-declaration for build compilerMatthew Waters1-1/+3
Otherwise, nettle configure fails to find a build compiler and errors out like so: checking build system compiler gcc... no checking build system compiler cc... no checking build system compiler c89... no checking build system compiler c99... no configure: error: Cannot find a build system compiler Due to the incompatible check: conftest.c:4:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] exit(0); ^ conftest.c:4:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/648>
2020-10-23config/darwin: unconditionally add -Wno-error=implicit-function-declarationMatthew Waters1-0/+1
A lot of recipes in 1.16 aren't ready for XCode 12's new default of erroring out. Wholesale disable that warning where possible. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/648>
2020-10-22recipes/zlib: fix build with XCode 12Matthew Waters2-1/+44
XCode 12 will now error out by default for implicit function declarations. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/646>
2020-10-22reciped/gperf: fix build with XCode 12Matthew Waters2-1/+40
XCode 12 will now error by default for implicit function declarations Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/646>
2020-10-22Build 1.16.3 releaseTim-Philipp Müller12-13/+13
2020-10-21Update FreeType to 2.10.4 to fix security vulnerabilityXavier Claessens2-20/+12
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/643>
2020-10-10meson: Ensure large file support for MinGW buildSeungha Yang2-0/+32
Applying upstream PR to fix missing large file support on Windows MinGW build Backported-by: Nirbheek Chauhan <nirbheek@centricular.com> Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/635>
2020-10-09cerbero: Don't warn about distro version bootstrapperNirbheek Chauhan1-2/+0
Closes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/94 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09openssl.recipe: Ensure that Perl uses forward slashesNirbheek Chauhan1-0/+6
Someone reported on IRC that openssl was failing to build because it was complaining about Perl using backward slashes instead of forward slashes. Turned out to be because someone had overriden TERM to be `dumb` instead of the default `cygwin`. Set those vars ourselves to prevent this from happening. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09cerbero: Read/write meson config files as utf-8Nirbheek Chauhan1-3/+3
The cross and native files should be written as utf-8 because that is what Meson expects, and we should read meson_options.txt as utf-8, because that is what it will always be. Fixes the following error on macOS while reading meson_options.txt: ``` Traceback (most recent call last): File "cerbero/build/oven.py", line 451, in _cook_recipe_step await ret File "cerbero/build/recipe.py", line 82, in async_wrapped await stepfunc() File "cerbero/build/build.py", line 63, in async_call res = await func(*args) File "cerbero/build/build.py", line 1011, in configure self._set_option({'introspection', 'gir'}, 'gi') File "cerbero/build/build.py", line 771, in _set_option options = f.read() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 12: ordinal not in range(128) ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09Add Linux Mint 20.04 Ulyana based on Ubuntu FocalLoïc Le Page1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09libnice.recipe: Bump to 0.1.17Nirbheek Chauhan3-4/+59
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09Fix distro check for focal and Python >= 3.8Pablo Marcos Oltra1-19/+23
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09cerbero: add debian unstable/sid to the distro listTim-Philipp Müller2-1/+4
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09openssl.recipe: Bump to 1.1.1gNirbheek Chauhan1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09Add support for Ubuntu 20.04Seungha Yang2-0/+3
Add Ubunut 20.04 Focal Fossa to known distro list Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09add support Ubuntu 19.10Maxim Paymushkin2-0/+3
Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com> Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09add support Ubuntu 18.10Maxim Paymushkin2-0/+3
Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com> Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09libunwind.recipe: Fix build on Fedora 32Nirbheek Chauhan2-1/+404
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09recipes: Upgrade libunwind to 1.3.1Edward Hervey1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09libunwind: bump up to 1.2.1 to support aarch64Justin Kim1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09ninja.recipe: Output full command-lines when buildingNirbheek Chauhan1-1/+1
This helps debug build issues. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09pkg-config.recipe: Do not enable --define-prefix on LinuxNirbheek Chauhan1-1/+5
It doesn't work well if your prefix is not `usr/libblah/pkgconfig`, such as on Debian. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-09pkg-config.recipe: Always auto-detect the prefixNirbheek Chauhan1-1/+1
With this, the `prefix` variable in .pc files will be automatically detected based on the location of the .pc file. This allows for portable prefixes. This is the recommended configuration on Windows and macOS. We need to enable this since we ship pkg-config with the release binaries now. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
2020-10-01gnutls: Backport patch for correct certificate handlingNirbheek Chauhan2-1/+496
Also had to pull in two other patches for these to apply cleanly. Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/271 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/619>
2020-10-01gnutls: update to 3.5.19Tim-Philipp Müller1-3/+2
See https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/271 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/619>
2020-10-01x264.recipe: Use relative paths in pkgconfig fileNirbheek Chauhan2-0/+36
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/624>
2020-09-10Revert "ci: Temporarily change remote and branch for ci template"Nirbheek Chauhan1-1/+1
This reverts commit 200290c8c0161110ae3d4ca1f6257def6d72df39. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/598>
2020-09-09cerbero: Run download tool outside of the build envNirbheek Chauhan3-12/+13
When we run from inside the build env, LD_LIBRARY_PATH is set to point to the cerbero prefix, which contains an old version of GnuTLS. This is no longer possible in master because we no longer set the build env in `os.environ` there. Fixes: wget: [...]/dist/linux_x86_64/lib/libgnutls.so.30: version `GNUTLS_3_6_3' not found (required by wget) Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/596>
2020-09-08upload-cache: Print some more messagesNirbheek Chauhan1-1/+2
2020-09-08ci: Temporarily change remote and branch for ci templateNirbheek Chauhan1-1/+1
2020-09-08windows.config: Place temporary wine files in var/tmpNirbheek Chauhan2-0/+6
This is a more obvious place for it, and is self-documenting in the CI YAML too, where we exclude it from the cerbero-deps tarball.
2020-09-01cache: Re-implememt cache on top of our external storageNicolas Dufresne2-126/+275
The goal is to reduce egress on FDO server. In this patch, the cache is split from fetch.py into it's own set of commands in cache.py. It now implements fetch-cache, gen-cache and upload-chache. upload-cache can only work if the SSH private key needed to upload has been set into CERBERO_PRIVATE_SSH_KEY environment or is available in your .ssh folder. The key will be made availabe through configuration in gstreamer/cerbero CI configuration and only available to protected branches on the gstreamer namespace. Backported-by: Nirbheek Chauhan <nirbheek@centricular.com>
2020-08-01cerbero: Ship plugin .pc files for all modulesNirbheek Chauhan1-3/+13
We use the .la entries for this. This will always be correct because we generate the .la files from the .pc files in the first place. Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/157
2020-06-28cerbero: Add support for Fedora 32Nirbheek Chauhan2-0/+3
2020-06-28cerbero: Define a custom user agent while downloadingNirbheek Chauhan3-5/+12
Some places block urllib, and others block wget / curl. Set our own agent to workaround that, and so that people can contact us in case we're doing something they don't like while downloading things.
2020-02-27fontconfig.recipe: Fix EXC_BAD_ACCESS crash on iOS ARM64Nirbheek Chauhan2-1/+47
Found by Carsten Griffin on https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/407 Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/648
2020-02-27Fix for fetching tags using gitPablo Marcos Oltra1-1/+1
2020-02-27openh264: fix recipe for text relocation issues on Android >= 5.0 x86 buildsPieter Willem Jordaan1-0/+3
Adding `ENFORCEPIC=Yes` to the recipe fixes the openh264 build to avoid text relocations on Android >= 5.0 x86. The fix works on openh264 since version 1.7.0. Fixes #8
2020-02-11cerbero/source: Make download failure exceptions usableNirbheek Chauhan1-3/+3
Now we print the original URL that failed to download, then a tuple of murl, exception so users can figure out what happened with the mirrors.
2020-02-10cerbero/source: Use ftp.gnu.org instead of ftpmirrorNirbheek Chauhan1-1/+1
ftpmirror points to random GNU mirrors which are community maintained and are likely to be down.
2020-02-04cerbero/filesprovider: Be stricter when finding plugin DLLsNirbheek Chauhan1-5/+9
Do not look for a `libfoo.dll` plugin when the recipe has been built with MSVC. This avoids incorrect packaging when the prefix is dirty due to user error.
2020-02-04gst-plugins-base: Enable opengl plugin depsNirbheek Chauhan1-0/+3
This is needed for some elements, and we build those dependencies already, so we can enable them to ensure that they do get built.
2020-02-04meson.recipe: Don't pass /Brepro, partial revertNirbheek Chauhan2-3/+3
Upstream decided to not include it because it's a risky flag. Let's remove it too in case we break things for people. Our PE files are anyway not reproducible because there's no equivalent flag for gcc.
2020-02-04cerbero: Disable debian packaging for nowNirbheek Chauhan1-0/+7
People keep tripping over this and opening issues. Point people to the existing issue in a warning and generate tarballs instead.
2020-02-04Prepend $CERBERO_PREFIX/lib path in LD_LIBRARY_PATHLoïc Le Page1-1/+1
When not cross-compiling, $CERBERO_PREFIX/lib path was added at the end of LD_LIBRARY_PATH whereas build-tools/lib path was prepended. As a consequence, libraries and tools installed during bootstrap were taking precedence over the one built later within the prefix (for libraries and tools available at both places). This happens for example with glib when it is installed during bootstrap (glib-tools.recipe) and built later as a dependency (glib.recipe). This commit prepends $CERBERO_PREFIX/lib in LD_LIBRARY_PATH in order to use the build-tools/lib when no dependency is custom built, and then to use the $CERBERO_PREFIX/lib once the dependency has been correctly built. It also brings coherency with PATH variable order as $CERBERO_PREFIX/bin preceeds build-tools/bin.
2020-01-15meson.recipe: Ignore programs in the WindowsApps directoryNirbheek Chauhan2-0/+86
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/issues/223