summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-05-26glib: Ship Windows process spawning helpersSebastian Dröge1-0/+12
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1185>
2023-02-26Build 1.20 branch againTim-Philipp Müller3-4/+4
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1124>
2023-02-25cerbero: Don't use VS 2022 when building UWP1.20.6Nirbheek Chauhan1-2/+4
Fails with: ``` LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib' ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1119>
2023-02-24Build 1.20.6 releaseTim-Philipp Müller14-15/+15
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1118>
2023-02-21cerbero: Fix setuptools site.py breakage in Python 3.11Nirbheek Chauhan2-2/+23
We can use a proper Python virtual env, and it'll work out of the box. There might be some weirdness with the fact that we use two prefixes: build-tools and the target prefix, but that might just mean adding a second site-packages prefix somehow. In any case, python bindings are disabled right now, so not a blocker. Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/406 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1097>
2023-01-10fontconfig.recipe: Explicitly use gnu99 as the C stdNirbheek Chauhan1-1/+6
This is required when using older toolchains, such as CentOS, and is a regression due to a backported version bump. Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/401 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1069>
2023-01-10cerbero: Fix python 3.6 compat (regression)Nirbheek Chauhan1-6/+8
The heartbeat is purely cosmetic anyway. Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/400 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1069>
2023-01-10macOS, iOS: Fix Xcode 14 ABI breakage with older XcodeNirbheek Chauhan2-2/+22
Starting with Xcode 14, clang emits `_objc_msgSend` stubs that are unsupported by older Xcode toolchains. This makes artifacts created with Xcode 14 unusable with older Xcode versions. Disable this for now. Other projects are doing the same thing: https://github.com/llvm/llvm-project/issues/56034 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1070>
2022-12-21Build 1.20 branch againTim-Philipp Müller3-4/+4
2022-12-20Build 1.20.5 release1.20.5Tim-Philipp Müller14-15/+15
2022-12-11oven: output status line at least every minuteMatthew Waters2-0/+16
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/393 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1052>
2022-12-10fontconfig: update to 2.14.1Tim-Philipp Müller2-10/+11
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1050>
2022-12-08package: Print progress while creating dist tarballNirbheek Chauhan1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/999>
2022-12-08package: Pass -cf as the last argument to tarNirbheek Chauhan1-1/+2
Old tar versions and bsdtar do not accept any further arguments after -f so everything passed after -f <file> will be interpreted as archive contents, and bsdtar will silently ignore non-existing files. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/999>
2022-12-08gst-plugins-base: Add missing GL pkgconfig fileNirbheek Chauhan1-0/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1047>
2022-12-08gst-plugins-good: Fix post_install failure when qt5 is enabledNirbheek Chauhan1-0/+2
Need to add qt5 to PKG_CONFIG_LIBDIR if the variant is enabled otherwise pkg-config will fail to find Qt5Core.pc Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1046>
2022-12-07ffmpeg: add patch to generate the pc files properlyStéphane Cerveau2-1/+30
The pc files should be generated using prefix in libdir and includedir Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1040>
2022-12-07cerbero: Unconditionally set CMAKE_SYSTEM_NAME on WindowsNirbheek Chauhan1-1/+1
CMake recipes fail to build on MinGW without it. This was a regression from: https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1027 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1041>
2022-12-07taglib: add patch to generate the pc files properlyStéphane Cerveau2-0/+79
The pc files should be generated using prefix in libdir and includedir Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1038>
2022-12-07fontconfig: update to 2.14.0Tim-Philipp Müller7-232/+10
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1366 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1037>
2022-12-07cerbero: Fix ios cross-compile with cmake on M1Nirbheek Chauhan1-4/+11
Without this, the cmake will insert `-arch arm64` when cross-compiling to x86_64. This is in general the correct way to do cross-compilation. See: https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1039>
2022-11-18utils: Add retry logic in shell.downloadRuben Gonzalez1-7/+11
The `tries` option in wget was not working. The `retry-connrefused`, 'retry-on-host-error' and `retry-on-http-error` options are mandatory to retry correctly, only with the `tries` option is not enough. Before: ``` $ wget http://httpbin.org/status/404 --tries=4 --timeout=10.0 --progress=dot:giga --2021-10-08 11:47:22-- http://httpbin.org/status/404 Resolving httpbin.org (httpbin.org)... 3.209.149.47, 54.156.165.4, 54.159.86.231, ... Connecting to httpbin.org (httpbin.org)|3.209.149.47|:80... connected. HTTP request sent, awaiting response... 404 NOT FOUND 2021-10-08 11:47:22 ERROR 404: NOT FOUND. ``` After: ``` $ wget http://httpbin.org/status/404 --tries=4 --retry-connrefused --retry-on-host-error --retry-on-http-error=404,429,503,504 --timeout=10.0 --progress=dot:giga --2021-10-08 11:48:10-- http://httpbin.org/status/404 Resolving httpbin.org (httpbin.org)... 3.215.162.201, 54.159.86.231, 54.156.165.4, ... Connecting to httpbin.org (httpbin.org)|3.215.162.201|:80... connected. HTTP request sent, awaiting response... 404 NOT FOUND Retrying. --2021-10-08 11:48:12-- (try: 2) http://httpbin.org/status/404 Reusing existing connection to httpbin.org:80. HTTP request sent, awaiting response... 404 NOT FOUND Retrying. --2021-10-08 11:48:14-- (try: 3) http://httpbin.org/status/404 Reusing existing connection to httpbin.org:80. HTTP request sent, awaiting response... 404 NOT FOUND Retrying. --2021-10-08 11:48:17-- (try: 4) http://httpbin.org/status/404 Reusing existing connection to httpbin.org:80. HTTP request sent, awaiting response... 404 NOT FOUND Giving up. ``` But the `retry-on-http-error` requeres version 1.19.1. This version is very new and it is not included in all supported OSs. Final solution was implementing the retry mechanism in cerbero to support all versions of wget, and also curl and urllib2. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1020>
2022-11-18cerbero: Return an error when download fails on powershellNirbheek Chauhan1-2/+2
The &{ } construct we were using for chaining commands actually eats the exit code of the last command. Turns out we don't actually need that construct at all to chain commands. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1020>
2022-11-18cerbero: Speed up downloads on Windows drasticallyNirbheek Chauhan1-5/+10
Apparently Invoke-WebRequest updates the progress bar for every byte, which makes downloads happen orders of magnitude slower than necessary. So let's disable the progress bar. On my system, downloads that required minutes now happen instantly. This is now faster than the old urllib implementation too. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1020>
2022-11-15openssl.recipe: Fix compile errors on upgradesNirbheek Chauhan1-2/+5
Because of the CFLAGS that we are adding, openssl's build system ends up picking up the headers in the install prefix over the headers in the source tree. Leads to build failures when new prototypes, defines, enums, etc are added. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1019>
2022-11-15moltenvk.recipe: Also ship the static library on macOSNirbheek Chauhan1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1018>
2022-11-09gitlab: remove the macos x86_64 jobMatthew Waters1-33/+0
We don't ship x86-64-only binaries on macOS anymore. All compilation failures would be covered by the macOS universal job anyway. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1004>
2022-11-04gst-plugins-bad: Ship AES pluginSeungha Yang1-0/+3
It was added in 1.20 and we are building required dependency openssl already Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/998>
2022-11-04libvpx: Enable high bitdepth supportSeungha Yang1-2/+2
Required for high bitdepth en/decoding Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/997>
2022-11-04openssl: update to 1.1.1sTim-Philipp Müller1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/996>
2022-11-04glib.recipe: Update patch to auto-detect modules on macOSNirbheek Chauhan2-28/+28
Upstream MR has been merged, so lets' update the patch so we're using the right code, and we can get testing for it before 2.76 is out. https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2848 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/995>
2022-11-04ci: Store meson-logs/meson-log.txt in artifacts to help debuggingNirbheek Chauhan1-0/+5
There's no other way to get this information, since it is in the source tree and is discarded when the job ends. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/994>
2022-10-18ci: drop gst-inspect check for cross-win jobsJordan Petridis2-8/+3
Recent versions of wine have began complaining about not finding an x11 socker, and when provided with one under xvfb/weston xwayland they are hanging. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/966>
2022-10-18ci: Add CERBERO_RUN_* env vars to the windows cross deps jobsJordan Petridis1-0/+4
These variables are used by cerbero_setup.sh that runs inspect after the build. They were missing and as such it was trying to launch the system version of gst-inspect. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/966>
2022-10-18ci: Update fedora images to f36Jordan Petridis1-6/+6
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/966>
2022-10-17cerbero: Actually print the sha for which the cache was not foundNirbheek Chauhan1-3/+3
There's a %s that's not being substituted. Replace a few more occurrences with f-strings, since they are less error-prone. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/968>
2022-10-17ci: Update windows imageJordan Petridis1-2/+2
Close gstreamer/cerbero#391 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/965>
2022-10-14Build 1.20 branch againTim-Philipp Müller3-4/+4
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/963>
2022-10-12Build 1.20.4 release1.20.4Tim-Philipp Müller14-15/+15
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/961>
2022-10-03cerbero: Fix os.path.relpath on WindowsNirbheek Chauhan1-0/+10
os.path.relpath was broken because we were monkey-patching os.path.abspath. We need to revert it to the original implementation when invoking os.path.relpath. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
2022-10-03gen-cache: Use tarfile + xz on WindowsNirbheek Chauhan1-34/+60
It seems tar + bzip2 *also* hangs sometimes on the Windows CI: https://gitlab.freedesktop.org/nirbheek/cerbero/-/jobs/29258182 https://gitlab.freedesktop.org/nirbheek/cerbero/-/jobs/29258183 So use tarfile to generate the tarball and then use xz to compress it. Hopefully this will not hang... Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
2022-10-03gen-cache: Fix tar usage on macOS and WindowsNirbheek Chauhan1-5/+7
bsdtar and older GNU tar expect no further arguments after the -f option. 0:00:03.006861 Generating cache file with ['tar', '-C', '/Users/gst-ci/builds/gstreamer/cerbero/cerbero-build', '--exclude=var/tmp', '-cf', '/Users/gst-ci/builds/gstreamer/cerbero/cerbero-build/cerbero-deps.tar.xz', 'build-tools', 'build-tools.cache', 'dist/darwin_universal', 'darwin_universal.cache', '--verbose', '--use-compress-program=xz --threads=0'] tar: --verbose: Cannot stat: No such file or directory tar: --use-compress-program=xz --threads=0: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
2022-10-03gen-cache: Sprinkle some more loggingNirbheek Chauhan1-1/+6
This helps debug issues with cache generation on the CI Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
2022-10-03gen-cache: Add files verbosely for debugging reasonsNirbheek Chauhan1-0/+1
This way we get progress status to debug hangs and we can also easily inspect changes in the contents, or extraneous files that should not be cached. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
2022-10-03gen-cache: Use bzip2 instead of xz on WindowsNirbheek Chauhan1-41/+49
Compressing the deps cache with xz seems to cause hangs on the Windows CI, so let's use bzip2. The size difference is minimal on Windows anyway, but it's quite significant on other platforms. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
2022-09-27pkg-config.recipe: Add to core platform files listNirbheek Chauhan2-0/+11
This was broken by https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/743 which converted pkg-config to a runtime dep, but made it so that it's no longer shipped with the MSI. We technically don't need it to be a runtime dep because we build it as a build-tool, but it won't make it into the cerbero CI deps cache unless it's a runtime dep. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/934>
2022-09-26git: Fix issue with last security patchRuben Gonzalez1-1/+1
Error: ``` $ tar xvf automake-1.15.1.tar.xz $ cd automake-1.15.1 $ ls -l total 1520 -rw-r--r-- 1 jenkins jenkins 1516 Jun 18 2017 aclocal.m4 -rw-r--r-- 1 jenkins jenkins 553 Dec 20 2015 AUTHORS drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 2017 bin -rwxrwxr-x 1 jenkins jenkins 3995 Jun 17 2017 bootstrap -r--r--r-- 1 jenkins jenkins 816626 Jun 19 2017 ChangeLog -rwxrwxr-x 1 jenkins jenkins 232853 Jun 18 2017 configure -rw-rw-r-- 1 jenkins jenkins 22833 Jun 18 2017 configure.ac drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 2017 contrib -rw-rw-r-- 1 jenkins jenkins 17987 Jun 17 2017 COPYING drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 2017 doc -rwxrwxr-x 1 jenkins jenkins 13940 Jun 16 2017 gen-testsuite-part -rw-rw-r-- 1 jenkins jenkins 3300 Jun 16 2017 GNUmakefile -rw-rw-r-- 1 jenkins jenkins 17844 Jun 18 2017 HACKING -rw-rw-r-- 1 jenkins jenkins 15752 Jun 17 2017 INSTALL drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 2017 lib drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 2017 m4 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 2017 maintainer -rw-rw-r-- 1 jenkins jenkins 4278 Jun 16 2017 Makefile.am -rw-r--r-- 1 jenkins jenkins 133420 Jun 18 2017 Makefile.in -rw-rw-r-- 1 jenkins jenkins 124401 Jun 18 2017 NEWS drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 2017 old drwxr-xr-x 4 jenkins jenkins 4096 Jun 17 2017 PLANS -rw-rw-r-- 1 jenkins jenkins 2713 Jun 17 2017 README drwxrwxr-x 6 jenkins jenkins 53248 Jun 19 2017 t -rw-rw-r-- 1 jenkins jenkins 22998 Jun 17 2017 THANKS $ git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialized empty Git repository in /tmp/a/automake-1.15.1/.git/ $ git status fatal: unsafe repository ('/tmp/a/automake-1.15.1' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /tmp/a/automake-1.15.1 $ git config user.email "cerbero@gstreamer.freedesktop.org" fatal: not in a git directory ``` Related to: https://stackoverflow.com/questions/71849415/cannot-add-parent-directory-to-safe-directory-on-git and https://github.blog/2022-04-12-git-security-vulnerability-announced/ Solution is using `--no-same-owner` to extract files as yourself. Fixes #372 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/927>
2022-09-26Fix issue getting distro_version in Debian BookwormRuben Gonzalez1-1/+2
Debian Bookworm version is 'testing'. It is not numeric. ``` >>> distro.linux_distribution() ('Debian GNU/Linux', 'testing', 'bookworm') ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/911>
2022-09-26build-tools: Fix error copying removed site.py from setuptoolsRuben Gonzalez1-1/+1
Ubuntu 22.04 Jammy Jellyfish produces next error on bootstrap: ``` Traceback (most recent call last): File "<string>", line 20, in <module> ... File "/usr/lib/python3.10/shutil.py", line 256, in copyfile with open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: '/src/cerbero/build/build-tools/local/lib/python3.10/dist-packages/site.py' ``` The error is produced because Ubuntu 22.04 Jammy Jellyfish uses posix_local as sysconfig default scheme: ``` $ python -m sysconfig Platform: "linux-x86_64" Python version: "3.10" Current installation scheme: "posix_local" Paths: data = "/usr/local" include = "/usr/include/python3.10" platinclude = "/usr/include/python3.10" platlib = "/usr/local/lib/python3.10/dist-packages" platstdlib = "/usr/lib/python3.10" purelib = "/usr/local/lib/python3.10/dist-packages" scripts = "/usr/local/bin" stdlib = "/usr/lib/python3.10" Variables: ... ``` To fix the issue the posix_prefix schema needs to be provided to get the purelib path from the sysconfig. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/947>
2022-09-26Add auto-generated logic for Ubuntu distrosRuben Gonzalez1-0/+2
To support Ubuntu 22.04 (Jammy Jellyfish) Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/947>