# librsvg/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: ocgitfetch --run librsvg \ https://salsa.debian.org/gnome-team/librsvg-c.git #--------------------------------------------------------------------- 2. The original "librsvg" project started to require "rust" circa its 2.41.X release series. "rust" is horror unleashed. In particular, "rust" is actively as op- posed to passively hostile to offline builds. This distro supports Rust but isn't enthusiastic about it. This raises the question of what to do about "librsvg". Presently, this distro uses a fork of "librsvg" named "librsvg-c". As of 2023, the fork hadn't been updated in 4 years and no other non- "rust" fork available. So, this distro's "librsvg" package was, and remains, frozen. #--------------------------------------------------------------------- 3. "librvsg" needs to share its "install" tree with "gtk20" and/or "gtk30", or "gtk*" applications won't be able to use "librsvg's" SVG support. #--------------------------------------------------------------------- 4. Since "librsvg" shares its tree with "gtk*", Xorg should be shut down before a rebuild of "librsvg" is initiated. It's not safe to run Xorg while the "gtk*" "install" tree is being updated or modi- fied. Note: If this package's "settings" block sets "strip = no", rebuilds under Xorg may be safer. However, builds outside Xorg are recommended, regardless. #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.58 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.01 hours (or 000.67 minutes) - HP Pavilion dv8 8GB RAM 00.02 hours (or 001.47 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.03 hours (or 001.63 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.06 hours (or 003.37 minutes) - ThinkPad W530 i7 4x2 32GB RAM #--------------------------------------------------------------------- [settings] fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING nls = disabled proddir = $PRODTREE/gtkcore purge = no shareddir = yes strip = no # See "technotes" in "cfg" file tmpsize = 52M #--------------------------------------------------------------------- [depends] actools brotli cairo expat fontconfig freetype2 gawk glib20 grep gtk20:strict gtk30:strict gtkcore:strict libart libcroco libgnomeprint libgsf libpopt libxml2 llvmgcc pango pkgconf sed xorg #--------------------------------------------------------------------- [configure] DOCDIR=$PKGDIR_PROD/doc MANBASE=$PKGDIR_PROD/man mkdir -p $DOCDIR $MANBASE mkdir -p $PKGDIR_PROD rm -fr `find $PKGDIR_PROD/ -name librsvg-2\*` bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --disable-gtk-doc \ --docdir=$DOCDIR \ --enable-mozilla-plugin=no \ --enable-shared=yes \ --enable-static=no \ --mandir=$MANBASE #--------------------------------------------------------------------- [build] export LD_LIBRARY_PATH= # Kludge related to cross-compilation smpmake && make install #--------------------------------------------------------------------- [postbuild] echo strip -g $PKGDIR_PROD/lib/librsvg-2.so* strip -g $PKGDIR_PROD/lib/librsvg-2.so* echo makelac cairo --force makelac cairo --force #--------------------------------------------------------------------- # 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/librsvg url_home = http://librsvg.sourceforge.net/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ general/librsvg.html url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 170826 Updated from 2.40.13 to 2.40.18 171205 Updated from 2.40.18 to 2.40.19 190411 Updated from 2.40.19 to fcd9dc831 ("git" hash)