From 8b94bc289e6ab9ed4fa793941b27506cc8e1ad27 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Thu, 24 Apr 2025 09:42:47 -0400 Subject: [PATCH] at_spi2_core: New version 2.56.1 --- A/at_spi2_core/build_tarballs.jl | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/A/at_spi2_core/build_tarballs.jl b/A/at_spi2_core/build_tarballs.jl index 9ccc3601d27..af115919c20 100644 --- a/A/at_spi2_core/build_tarballs.jl +++ b/A/at_spi2_core/build_tarballs.jl @@ -3,12 +3,12 @@ using BinaryBuilder name = "at_spi2_core" -version = v"2.34.0" +version = v"2.56.1" # Collection of sources required to build at-spi2-core sources = [ ArchiveSource("http://ftp.gnome.org/pub/gnome/sources/at-spi2-core/$(version.major).$(version.minor)/at-spi2-core-$(version).tar.xz", - "d629cdbd674e539f8912028512af583990938c7b49e25184c126b00121ef11c6"), + "fd177fecd8c95006ff0a355eafd7066fe110a2e17eb5eb5fe17ff70e49a4eace"), ] # Bash recipe for building across all platforms @@ -19,12 +19,22 @@ mkdir build && cd build # Get a local gettext for msgfmt cross-building apk add gettext +# We need `fixesproto @6`, but the latest release is `fixesproto @5`. +# (There is a `libXfixes @6`, but no respective `fixesproto @6` exists.) +# The X11 system is quite stable so this work-around should work. +# See e.g. . +mv $libdir/pkgconfig/fixesproto.pc $libdir/pkgconfig/fixesproto.pc.saved +sed 's/Version: 5.0/Version: 6.0/' $libdir/pkgconfig/fixesproto.pc.saved >$libdir/pkgconfig/fixesproto.pc + meson .. --cross-file="${MESON_TARGET_TOOLCHAIN}" \ - -Dintrospection=no \ - -Dx11=yes \ + -Dintrospection=disabled \ + -Dx11=enabled \ -Dsystemd_user_dir=no ninja -j${nproc} ninja install + +# Undo change from above +mv $libdir/pkgconfig/fixesproto.pc.saved $libdir/pkgconfig/fixesproto.pc """ # These are the platforms we will build for by default, unless further @@ -39,9 +49,16 @@ products = [ # Dependencies that must be installed before this package can be built dependencies = [ Dependency("Dbus_jll"), - Dependency("Glib_jll", v"2.59.0"; compat="2.59.0"), + Dependency("Glib_jll"; compat="2.84.0"), Dependency("Xorg_libXtst_jll"), + BuildDependency("Xorg_fixesproto_jll"), + BuildDependency("Xorg_inputproto_jll"), + BuildDependency("Xorg_kbproto_jll"), + BuildDependency("Xorg_recordproto_jll"), + BuildDependency("Xorg_xextproto_jll"), + BuildDependency("Xorg_xproto_jll"), ] # Build the tarballs, and possibly a `build.jl` as well. -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies) +build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; + julia_compat="1.6", preferred_gcc_version=v"5")