diff --git a/G/Glib/build_tarballs.jl b/G/Glib/build_tarballs.jl index 87796f3fc42..1d136c37c71 100644 --- a/G/Glib/build_tarballs.jl +++ b/G/Glib/build_tarballs.jl @@ -1,52 +1,46 @@ using BinaryBuilder name = "Glib" -version = v"2.59.0" +version = v"2.68.1" # Collection of sources required to build Glib sources = [ ArchiveSource("https://ftp.gnome.org/pub/gnome/sources/glib/$(version.major).$(version.minor)/glib-$(version).tar.xz", - "664a5dee7307384bb074955f8e5891c7cecece349bbcc8a8311890dc185b428e"), + "241654b96bd36b88aaa12814efc4843b578e55d47440103727959ac346944333"), + DirectorySource("./bundled"), ] # Bash recipe for building across all platforms script = raw""" cd $WORKSPACE/srcdir/glib-*/ -# Get a local gettext for msgfmt cross-building -apk add gettext +if [[ "${target}" == *-freebsd* ]]; then + # Our FreeBSD libc has `environ` as undefined symbol, so the linker will + # complain if this symbol is used in the built library, even if this won't + # be a problem at runtim. This flag allows having undefined symbols. + MESON_FLAGS=(-Db_lundef=false) -# Provide answers to a few configure questions automatically -cat > glib.cache < + #ifdef HAVE_SYS_TYPES_H