summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-08-24ci: cache: fix MSYS detection for 1.20 branch1.20Tim-Philipp Müller1-3/+3
We don't support MSYS2 here, so need to check for Windows.
2023-08-23ci: Use OpenSSH client shipped by Windows 10 on MSYSNirbheek Chauhan1-22/+46
The mechanism is convoluted, so don't use it when we have MSYS2 ssh. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1256>
2023-07-28Build 1.20 branch againTim-Philipp Müller3-4/+4
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1240>
2023-07-26Build 1.20.7 release1.20.7Tim-Philipp Müller14-15/+15
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1234>
2023-07-25packages: Put libass in the same category as assrenderNirbheek Chauhan2-4/+2
The library is not GPL, it's BSD licensed. Fixes warnings at runtime about gstassrender.dll not being loaded because libass-9.dll was not found when restricted GPL plugins aren't selected in the MSI installer for Windows. Reported by Tobias Rapp on the mailing list. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1228>
2023-05-27pango: Fix crash on Windows 32bit buildSeungha Yang2-1/+38
See https://gitlab.gnome.org/GNOME/pango/-/merge_requests/694 Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2604 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1186>
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>