# glib20/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This package requires, at "build" time, a copy of "meson" that has been patched so as not to mess with "rpath". #--------------------------------------------------------------------- [buildtimes] 00.03 hours (or 001.63 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.03 hours (or 001.65 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.04 hours (or 002.47 minutes) - HP Pavilion dv8 8GB RAM 00.11 hours (or 006.35 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.13 hours (or 008.03 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.20 hours (or 011.93 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING nls = disabled proddir = $PRODTREE/gtkcore shareddir = yes tmpsize = 177M unpack = relaxed setpaths = $PRODTREE/gtkcore gettext #--------------------------------------------------------------------- [depends] actools gawk gettext grep libffi meson perl pkgconf python sed util-linux # For libmount xorg zlib #--------------------------------------------------------------------- [configure] rm -fr /usr/local/include/{glib-2.0,glib,glib.h,glibconfig.h} for base in $PKGDIR_PROD /usr/local do rm -fr $base/{include,lib}/glib-2.* rm -fr $base/lib/lib{glib,gmodule,gobject,gthread}-2.* rm -fr $base/lib/pkgconfig/{glib,gmodule*,gobject,gthread}-2.*.pc done MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE # Warning: "Builds" may fail unless "--keeptimes" is used here. treetextsub --keeptimes \ --pattern="G_DISABLE_DEPRECATED" \ --newtext="G_DISABLE_MASTICATED" #--------------------------------------------------------------------- PATH=$PRODTREE/python3/bin:$PATH PP=$PKGDIR_PROD rm -fr build mkdir build meson build \ -D prefix=$PP \ -D man=true \ -D nls=disabled \ -D selinux=disabled \ -D tests=false \ -D installed_tests=false cd build if [ \! -f build.ninja ]; then exit 1; fi meson configure sed -e "s@^#define HAVE_BIND_TEXTDOMAIN_CODESET@//&@" \ -i config.h #--------------------------------------------------------------------- [build] cd build ninja_simple_build #--------------------------------------------------------------------- [postbuild] INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib cd $INCDIR/glib-2.0 ln -nsf ../../lib/glib-2.0/include/glibconfig.h . cd $LIBDIR/pkgconfig sed \ -e 's@\(-lgio-2.0\)@\1 -lgobject-2.0@' \ -e 's@\(-lgmodule-2.0\)@\1 -lglib-2.0@' \ -e 's@\(-lgobject-2.0\)@\1 -lglib-2.0@' \ -e 's@\(-lgthread-2.0\)@\1 -lglib-2.0@' \ -i *.pc sed \ -e "s@^\(Libs:.*\)@\1 -L$PRODTREE/openssl/lib -lssl@" \ -i gio-2.0.pc export LACNOPURGE=yes rm -fr $SYSTREE/status/build/appstream-glib/ rm -fr $SYSTREE/status/build/gettext/ makelac gettext #--------------------------------------------------------------------- [setup.bash] export XDG_DATA_DIRS=`xdgaddshare $PKGDIR_PROD` #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/glib2.0 url_home = http://www.gtk.org/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ general/glib2.html url_tarball = https://ftp.gnome.org/pub/gnome/sources/glib/\ 2.78/glib-2.78.4.tar.xz #--------------------------------------------------------------------- [history] 170505 updated from 2.47.5 to 2.52.1 170603 Updated to 2.52.2 170704 Updated to 2.52.3 170812 Updated to 2.54.0 171004 Updated to 2.54.1 171028 Updated to 2.54.2 180114 Updated to 2.54.3 180317 Updated to 2.56.0 180408 Updated to 2.56.1 180629 Added an Alpine patch 180817 Updated to 2.56.2 180902 Updated to 2.58.0 180922 Updated to 2.58.1 181223 Updated to 2.58.2 190226 Updated to 2.58.3 190314 Updated to 2.60.0 190512 Updated to 2.60.2 190601 Updated to 2.60.3 190830 Updated to 2.60.6 191006 Updated to 2.60.7 210125 Updated to 2.66.4 210204 Updated to 2.66.5 210213 Updated to 2.66.7 210424 Updated to 2.66.8 210720 Updated to 2.68.3 210820 Updated to 2.68.4 220802 Updated to 2.72.3 230219 Updated to 2.74.5 230225 Updated to 2.74.6 230406 Updated to 2.76.1 230706 Updated to 2.76.4 240308 Updated to 2.78.4