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-9.1 platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/librsvg/2.46/librsvg-2.46.4.tar.xz
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/librsvg/2.46/librsvg-2.46.4.tar.xz
Download MD5 sum: aca4001b267de77924b786886a1ad64a
Download size: 12 MB
Estimated disk space required: 849 MB (add 375 MB for tests)
Estimated build time: 1.7 SBU (add 1.2 SBU for tests)
gdk-pixbuf-2.40.0, libcroco-0.6.13, Cairo-1.17.2+f93fc72c03e, Pango-1.44.7, and rustc-1.37.0
gobject-introspection-1.62.0 and Vala-0.46.6
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/librsvg
Install librsvg by running the following commands:
./configure --prefix=/usr \ --enable-vala \ --disable-static && make
To test the results, issue: make check. Over 100 tests fail as a result of problems with the test suite. These test failures are primarily related to svg1.1, and are comparison problems due to using a later version of Pango than what the developers created the initial SVG files with.
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.46.6 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.
Last updated on 2020-02-16 15:15:05 -0800