summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-11-14rust: Update to 1.70Sebastian Dröge1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1299>
2023-11-14rust: Update to 1.69Sebastian Dröge1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1299>
2023-11-14rust: Update to Rust 1.68.2Sebastian Dröge1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1299>
2023-11-14rust: Update to 1.68Sebastian Dröge1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1299>
2023-11-14zbar/macos: workaround not finding -liconvMatthew Waters1-0/+3
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1299>
2023-11-14config/ios: remove unneeded (-Wl) minimum ios versionMatthew Waters1-3/+0
We are already setting the minimum version via a (-m) argument and the -Wl, variant now produces errors from clang. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1299>
2023-11-14meson.recipe: Bump to 1.2.3Nirbheek Chauhan2-55/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1299>
2023-11-13Build 1.22.7 releaseTim-Philipp Müller15-16/+16
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1298>
2023-11-08cerbero: Fix venv setup on Python 3.11+L. E. Segovia1-1/+4
Symlinks are not optional on macOS. Let's use them where capable except on Windows (where they need administrative permissions). Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1297>
2023-11-03glib: Work around AppleClang + -werror test build failureL. E. Segovia1-0/+3
See: https://gitlab.gnome.org/GNOME/glib/-/issues/2902 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1294>
2023-11-03cargo: Restrict parallelism if a small system is detectedL. E. Segovia2-3/+52
Cargo starves the rest of the system of RAM and wall clock cycles on Intel Macs and other systems with low amount of RAM. So allow it to use multiple jobs only if a big enough system is detected, and only to the maximum number of threads. For the purposes of Cerbero, more than 4 threads AND more than 8GB of RAM is considered "big enough". The latter is only tested for macOS through sysctl. Fixes #446 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1293>
2023-11-02ca-certificates: Update to version from 2023-08-22Piotr Brzeziński1-4280/+3440
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1296>
2023-10-30hacks: Fix unlinking of Android NDK directories if install fails midwayL. E. Segovia1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1292>
2023-10-16glib: Remove unused patchesPiotr Brzeziński14-892/+0
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1284>
2023-10-16glib: Re-add gio module loading patch for macOSPiotr Brzeziński1-0/+2
This one was incorrectly removed in bda5e209a013e097e2dcece431a683a61d045ce9 when bumping glib version. We're at 2.74, this patch is not present upstream until 2.75. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1284>
2023-09-25Build 1.22 branch againTim-Philipp Müller3-4/+4
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1274>
2023-09-20Build 1.22.6 release1.22.6Tim-Philipp Müller14-15/+15
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1273>
2023-08-26cargo-c: Add Cargo.lock so builds don't fail laterNirbheek Chauhan3-0/+1671
Cargo-C ships the Cargo.lock separately from the source tarball, so add it in the recipe. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1259>
2023-08-26cargo-c.recipe: Force openssl-sys to pick our openssl, not brewNirbheek Chauhan1-0/+5
The plague of Rust -sys crates continues. The openssl-sys crate UNCONDITIONALLY looks into the brew prefix to find openssl libs. It doesn't bother using pkg-config or some other standard mechanism. Thankfully, it first looks at `OPENSSL_LIB_DIR` and `OPENSSL_INCLUDE_DIR` so let's set that. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1259>
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/1254>
2023-08-21cerbero: Add rust support for MSVC ARM64L. E. Segovia1-0/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1251>
2023-08-08cerbero: Recognise PERL5LIB as a joinable Unix variableL. E. Segovia1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1247>
2023-08-08cerbero: Recognise Manjaro as an Arch derivativeL. E. Segovia1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1246>
2023-07-26cerbero: Fix picking up cmake from build-toolsNirbheek Chauhan1-7/+5
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1233>
2023-07-26cerbero: Fix CMake lookup with non-standard MSYS2 prefixNirbheek Chauhan2-4/+14
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1233>
2023-07-25Build 1.22 branch againTim-Philipp Müller3-4/+4
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1229>
2023-07-24cerbero: Fix entering build environment on Windows1.22.5Nirbheek Chauhan3-8/+19
MSYS2 and MSYS support starting up a prompt in the current terminal directly, which means entering the build env will actually work when running cerbero remotely over SSH. Also, MSYS2 wasn't preserving PATH correctly, so hack around it. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-24cerbero: Fix source dir to enter into on build failureNirbheek Chauhan1-4/+8
Cerbero would try to enter into _builddir if extract failed, but that dir only exists once the configure step starts. So if we fail while extracting, enter into the source tree. Also fix some whitespace. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-24cerbero: Warn that MSYS is deprecated and will be removedNirbheek Chauhan2-4/+11
Make the warning really big, annoying, and hard to miss. Don't warn about the setuptools bug, everyone is running that now and no one needs to know. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-24cerbero: Only emit visualstudio variant warning on old installsNirbheek Chauhan1-2/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-24cerbero: Pick the right cmake on MSYS2Nirbheek Chauhan1-1/+12
MSYS2 can provide CMake, and that CMake doesn't support MSVC. So ignore it by removing all MSYS2 paths when searching for cmake. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-24cerbero: Never do an MSYS2 system upgrade during bootstrapNirbheek Chauhan1-1/+1
It will likely cause the process to exit with a non-zero exit code and terminate bootstrap. Also be verbose, not need to be quiet about what we're doing. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-24cerbero: Fix build tools list on MSYS2Nirbheek Chauhan2-14/+12
We still need to build our own nasm because MSYS2 nasm fails: ``` nasm -Ox -f win64 -DNEAR -g -o crypto\aes\aesni-sha256-x86_64.obj "crypto\aes\aesni-sha256-x86_64.asm" panic: crypto\aes\aesni-sha256-x86_64.asm: assertion cv8_state.source_files != NULL failed at output/codeview.c:515 NMAKE : fatal error U1077: 'nasm -Ox -f win64 -DNEAR -g -o crypto\aes\aesni-sha256-x86_64.obj "crypto\aes\aesni-sha256-x86_64.asm"' : return code '0x3' ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-24fontconfig.recipe: Fix build with MSYS2 gperfNirbheek Chauhan2-0/+39
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-24librsvg.recipe: Fix build on MSYS2Nirbheek Chauhan1-11/+44
The MSYS2 shell converts --fprod " /* enumerations from \"@filename@\" */\n" to --fprod " /* enumerations from \"@filename@\" *C:/msys64/\n" Due to: https://www.msys2.org/docs/filesystem-paths/ This converts the whole enum-types file into one big comment and breaks the build: ld: .libs/librsvg_2_la-rsvg-gobject.o: in function `rsvg_handle_class_init': rsvg-gobject.c:231: undefined reference to `rsvg_handle_flags_get_type' So, just remove those args. They're useless comments anyway. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-24cerbero: Do not print misleading message when using MinGWNirbheek Chauhan1-5/+5
Build tools always use Visual Studio, so we were *always* printing "Building recipes with Visual Studio", which is confusing when you're building with -v mingw Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
2023-07-22Build 1.22.5 releaseTim-Philipp Müller15-16/+16
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1224>
2023-07-21cerbero: Remove absolute RPATHs from objectsNirbheek Chauhan1-0/+8
These shouldn't be in the object files at all, and it prevents macOS app store validation when making an app bundle. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1225>
2023-07-18orc: update to 0.4.34Tim-Philipp Müller3-165/+3
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1220>
2023-07-18ffmpeg: update to 5.0.3Tim-Philipp Müller1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1219>
2023-07-07build-tools: Pick up ninja from the system if availableNirbheek Chauhan4-14/+17
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1213>
2023-07-07build-tools: Fix cerbero always building cmakeNirbheek Chauhan4-12/+22
Cerbero was always building cmake even when it was provided by the system. Fix that. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1213>
2023-07-07build-tools: CMake recipes must not depend on ninja manuallyNirbheek Chauhan1-0/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1213>
2023-06-27libsoup: update to 2.74.3Tim-Philipp Müller1-2/+2
Fixes #435 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1210>
2023-06-22Build 1.22 branch againTim-Philipp Müller3-4/+4
2023-06-20Build 1.22.4 release1.22.4Tim-Philipp Müller14-15/+15
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1205>
2023-06-09moltenvk: Fix deprecation warnings on macOSNirbheek Chauhan3-1/+32
``` In file included from ../sys/applemedia/videotexturecache-vulkan.mm:43: build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:225:1: error: 'MTLTextureSwizzle' is only available on macOS 10.15 or newer [-Werror,-Wunguarded-availability-new] MTLTextureSwizzle mvkMTLTextureSwizzleFromVkComponentSwizzle(VkComponentSwizzle vkSwizzle); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h:38:26: note: 'MTLTextureSwizzle' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0 typedef NS_ENUM(uint8_t, MTLTextureSwizzle) { ^ build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:225:19: note: annotate 'mvkMTLTextureSwizzleFromVkComponentSwizzle' with an availability attribute to silence this warning MTLTextureSwizzle mvkMTLTextureSwizzleFromVkComponentSwizzle(VkComponentSwizzle vkSwizzle); ^ build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:228:1: error: 'MTLTextureSwizzleChannels' is only available on macOS 10.15 or newer [-Werror,-Wunguarded-availability-new] MTLTextureSwizzleChannels mvkMTLTextureSwizzleChannelsFromVkComponentMapping(VkComponentMapping vkMapping); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h:53:3: note: 'MTLTextureSwizzleChannels' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0 } MTLTextureSwizzleChannels API_AVAILABLE(macos(10.15), ios(13.0)); ^ build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:228:27: note: annotate 'mvkMTLTextureSwizzleChannelsFromVkComponentMapping' with an availability attribute to silence this warning MTLTextureSwizzleChannels mvkMTLTextureSwizzleChannelsFromVkComponentMapping(VkComponentMapping vkMapping); ^ build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:364:1: error: 'MTLMultisampleDepthResolveFilter' is only available on macOS 10.14 or newer [-Werror,-Wunguarded-availability-new] MTLMultisampleDepthResolveFilter mvkMTLMultisampleDepthResolveFilterFromVkResolveModeFlagBits(VkResolveModeFlagBits vkResolveMode); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h:145:29: note: 'MTLMultisampleDepthResolveFilter' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.13.0 typedef NS_ENUM(NSUInteger, MTLMultisampleDepthResolveFilter) ^ build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:364:34: note: annotate 'mvkMTLMultisampleDepthResolveFilterFromVkResolveModeFlagBits' with an availability attribute to silence this warning MTLMultisampleDepthResolveFilter mvkMTLMultisampleDepthResolveFilterFromVkResolveModeFlagBits(VkResolveModeFlagBits vkResolveMode); ^ 3 errors generated. ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1117>
2023-06-09taglib.recipe: Fix deprecation warnings on macOSNirbheek Chauhan2-0/+197
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1117>
2023-06-09Bump minimum macOS version to 10.13 (High Sierra)Nirbheek Chauhan1-1/+1
There are a bunch of reasons to do this: 1. This is the oldest version of macOS that people still use - Released 5½ years ago, went out of security support 2½ years ago - 93.5% according to https://www.statista.com/statistics/944559/worldwide-macos-version-market-share/ - 96.8% according to https://gs.statcounter.com/os-version-market-share/macos/desktop/worldwide 2. GLib uses `utimensat` added in 10.13 for nanosecond granularity file timestamps, which is an important feature 3. This is also the oldest version supported by Qt5 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1117>
2023-06-09macOS: Ensure errors on unguarded use of new APIsNirbheek Chauhan1-1/+1
APIs that are only available on newer macOS versions need to be guarded with __builtin_available for a runtime check that won't load the symbol at all on older OS versions. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1117>