Contents
/usr/lib/gdk-pixbuf-2.0/2.10.0/
)
The librsvg package contains a library and tools used to manipulate, convert and view Scalable Vector Graphic (SVG) images.
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): https://download.gnome.org/sources/librsvg/2.54/librsvg-2.54.4.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/librsvg/2.54/librsvg-2.54.4.tar.xz
Download MD5 sum: 03ed641e182b2813b445d4f4974b752e
Download size: 27 MB
Estimated disk space required: 971 MB (27 MB installed), add 244 MB for tests
Estimated build time: 1.1 SBU (Using parallelism=4), add 0.4 SBU for tests
Cairo-1.17.6, gdk-pixbuf-2.42.9, Pango-1.50.9, and rustc-1.60.0
gobject-introspection-1.72.0 and Vala-0.56.2
docutils-0.19 (for man pages), Xorg Fonts (for tests), and gi-docgen (for documentation)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/librsvg
Install librsvg by running the following commands:
./configure --prefix=/usr \ --enable-vala \ --disable-static \ --docdir=/usr/share/doc/librsvg-2.54.4 && make
To test the results, issue: make -k check. During testing some binaries are rebuilt with a different debug level, so you should run make again after the tests are complete to ensure everything is ready to be installed.
Now, as the root
user:
make install
If you installed the package on to your system using a
“DESTDIR” method, an important file
was not installed and should be copied and/or generated. Generate
it using the following command as the root
user:
gdk-pixbuf-query-loaders --update-cache
--enable-vala
: This switch
enables building of the Vala bindings. Remove this switch if you
don't have Vala-0.56.2 installed.
--disable-static
: This
switch prevents installation of static versions of the libraries.
--disable-introspection
: Use this
switch if you have not installed Gobject
Introspection.
--enable-gtk-doc
: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
/usr/lib/gdk-pixbuf-2.0/2.10.0/
)