Portage is a package management system used by Gentoo Linux
# ChangeLog for gnome-base/librsvg
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/ChangeLog,v 1.178 2008/08/12 13:37:38 armin76 Exp $
12 Aug 2008; Raúl Porcel
alpha/ia64/sparc stable wrt #229709
10 Aug 2008; Markus Meier
x86 stable, bug #229709
30 Jul 2008; Brent Baude
Marking librsvg-2.22.2 ppc stable for bug 229709
26 Jul 2008; Olivier Crête
Stable on amd64, bug #229709
08 Jun 2008; Gilles Dartiguelongue
-librsvg-2.16.1-r2.ebuild, -librsvg-2.18.2.ebuild:
clean up old revisions.
05 May 2008; Ryan Hill
Rekeyword for mips.
02 May 2008; Doug Goldstein
move G2CONF and DOCS into pkg_setup()
*librsvg-2.22.2 (23 Mar 2008)
23 Mar 2008; Gilles Dartiguelongue
+librsvg-2.22.2.ebuild:
New version for GNOME-2.22. Uses GIO instead of gnome-vfs and gtk-print in
place of gnomeprint.
04 Feb 2008; Jeroen Roovers
Stable for HPPA (bug #208366).
03 Feb 2008; Raúl Porcel
alpha/ia64/sparc stable wrt #208366
02 Feb 2008; Chris Gianelloni
Stable on amd64 wrt bug #208366.
01 Feb 2008; Brent Baude
Marking librsvg-2.20.0 ppc64 and ppc stable for bug 208366
01 Feb 2008; Christian Faulhammer
librsvg-2.20.0.ebuild:
stable x86, bug 208366
*librsvg-2.20.0 (20 Jan 2008)
20 Jan 2008; Gilles Dartiguelongue
-librsvg-2.16.1.ebuild, +librsvg-2.20.0.ebuild:
bump to 2.20.0 and clean up old revision
29 Nov 2007; Jeroen Roovers
Stable for HPPA (bug #199740).
26 Nov 2007; Markus Rothe
Stable on ppc64; bug #199740
24 Nov 2007; Brent Baude
Marking librsvg-2.18.2 ppc stable for bug 199740
22 Nov 2007; Raúl Porcel
alpha/ia64/sparc stable wrt #199740
21 Nov 2007; Dawid Węgliński
Stable on x86 (bug #199740)
20 Nov 2007; Samuli Suominen
amd64 stable wrt #199740
*librsvg-2.18.2 (09 Oct 2007)
09 Oct 2007; Mart Raudsepp
New series for Gnome 2.20
25 Sep 2007; Joshua Kinard
Bumping straight to stable to catch up on some small gnome keywords on mips,
per #191920.
22 Sep 2007; Tom Gall
stable on ppc64
14 Sep 2007; Roy Marples
librsvg-2.16.1-r1.ebuild, librsvg-2.16.1-r2.ebuild:
elibtoolize now patches install-sh for us.
07 Sep 2007; Jeroen Roovers
Stable for HPPA too.
11 Aug 2007; Mart Raudsepp
-librsvg-2.14.4.ebuild:
Removing Gnome 2.14
11 Aug 2007; Andrej Kacian
Stable on x86, bug #185823.
10 Aug 2007; Christoph Mende
librsvg-2.16.1-r2.ebuild:
Stable on amd64 wrt bug #185823
08 Aug 2007; Raúl Porcel
alpha/ia64 stable wrt #185823
07 Aug 2007; Tobias Scherbaum
librsvg-2.16.1-r2.ebuild:
Stable on ppc wrt bug #185823.
07 Aug 2007; Gustavo Zacarias
librsvg-2.16.1-r2.ebuild:
Stable on sparc wrt #185823
*librsvg-2.16.1-r2 (11 Jun 2007)
11 Jun 2007; Daniel Gryniewicz
+files/librsvg-2.16.1-leak-fixes.patch, +librsvg-2.16.1-r2.ebuild:
Fix some leaks; bug #181532
02 Jun 2007; Brent Baude
Marking librsvg-2.16.1-r1 ppc stable for bug #171107
31 May 2007; Jeroen Roovers
Stable for HPPA (bug #171107).
31 May 2007; Daniel Gryniewicz
Marked stable on amd64 for bug #171107
31 May 2007; Brent Baude
Marking librsvg-2.16.1-r1 ppc64 stable for bug #171107
30 May 2007; Raúl Porcel
alpha/ia64 stable wrt #171107
29 May 2007; Andrej Kacian
Stable on x86, bug #171107.
29 May 2007; Gustavo Zacarias
librsvg-2.16.1-r1.ebuild:
Stable on sparc wrt #171107
27 May 2007; Joshua Kinard
Stable on mips.
*librsvg-2.16.1-r1 (06 Apr 2007)
06 Apr 2007; Saleem Abdulrasool
+files/librsvg-2.16.1-uninit.patch, +librsvg-2.16.1-r1.ebuild:
Revbump for a patch from truedfx to prevent floating point exceptions
08 Feb 2007; Mart Raudsepp
-files/librsvg-2.12.6-plugin_checks.patch, -librsvg-2.12.7-r1.ebuild,
-librsvg-2.16.0.ebuild:
Remove redundant versions
04 Feb 2007; Markus Rothe
Stable on ppc64; bug #164978
03 Feb 2007; Andrej Kacian
Stable on x86, bug #164978.
03 Feb 2007; Tobias Scherbaum
librsvg-2.16.1.ebuild:
Stable on ppc wrt bug #164978.
01 Feb 2007; Gustavo Zacarias
Stable on sparc
26 Jan 2007; Daniel Gryniewicz
Marked stable on amd64 Mark stable; there are themes that don't work with
2.16.0
18 Jan 2007; Jeroen Roovers
Stable for HPPA (bug #147751).
14 Jan 2007; Bryan Østergaard
Stable on Alpha.
13 Jan 2007; Roy Marples
Keyworded ~x86-fbsd
11 Jan 2007; Daniel Gryniewicz
Update old install-sh in tarball to enable installation on fbsd. Bug #159238
01 Jan 2007; Doug Goldstein
librsvg-2.16.0.ebuild, librsvg-2.16.1.ebuild:
png USE flag did nothing for cairo. It always hardcoded on, removed png USE
flag. So I'm removing the check from here.
21 Dec 2006; Saleem Abdulrasool
-librsvg-1.0.3.ebuild:
gnome-1.x removal
*librsvg-2.16.1 (17 Dec 2006)
17 Dec 2006; Mart Raudsepp
Version bump
09 Dec 2006; Bryan Østergaard
Stable on Alpha.
01 Dec 2006; Gustavo Zacarias
Stable on hppa wrt #156572
01 Dec 2006; Markus Rothe
Stable on ppc64; bug #156572
01 Dec 2006; Gustavo Zacarias
Stable on sparc wrt #156572
30 Nov 2006; Tobias Scherbaum
librsvg-2.16.0.ebuild:
ppc stable, bug #156572
30 Nov 2006; Christian Faulhammer
librsvg-2.16.0.ebuild:
stable x86, bug #156572
29 Nov 2006; Olivier Crête
Stable on amd64 for bugs #156572
20 Oct 2006; Aron Griffis
Mark 2.14.4 stable on alpha
13 Oct 2006; Mart Raudsepp
Remove print USE flag, eog may be used for SVG printing instead
15 Sep 2006; Daniel Gryniewicz
Mips gone
13 Sep 2006; Aron Griffis
Mark 2.14.4 stable on ia64. #139612
*librsvg-2.16.0 (07 Sep 2006)
07 Sep 2006; Daniel Gryniewicz
+files/librsvg-2.15.90-die-gtk-doc-die.patch, +librsvg-2.16.0.ebuild:
New version for gnome 2.16
16 Aug 2006; Markus Rothe
Stable on ppc64
17 Jul 2006; Daniel Gryniewicz
Marked stable on amd64 for bug #139612
16 Jul 2006; Tobias Scherbaum
librsvg-2.14.4.ebuild:
hppa stable, bug #139612
14 Jul 2006; Tobias Scherbaum
librsvg-2.14.4.ebuild:
ppc stable, bug #139612
12 Jul 2006; Chris Gianelloni
Stable on x86 wrt bug #139612.
10 Jul 2006; Gustavo Zacarias
Stable on sparc wrt #139612
*librsvg-2.12.7-r1 (03 Jul 2006)
03 Jul 2006; John N. Laliberte
-librsvg-2.12.7.ebuild, +librsvg-2.12.7-r1.ebuild, -librsvg-2.14.3.ebuild:
remove nsplugin useflag and disable mozilla plugin since its present by
default in new firefox.
*librsvg-2.14.4 (30 Jun 2006)
30 Jun 2006;
Bump for 2.14.2
30 Jun 2006; Marinus Schraal
Check to make sure cairo is built with png in USE (#138158)
Dep fix freetype, remove libart as dep
29 Jun 2006; Daniel Drake
Fix nsplugin mozilla checks thanks to andrei.ivanov in bug #131104
17 Jun 2006; Michael Sterrett
make DESCRIPTION consistent
*librsvg-2.14.3 (02 May 2006)
02 May 2006; Daniel Gryniewicz
Bump for 2.14.1
27 Apr 2006; Marien Zwart
files/digest-librsvg-2.9.5, Manifest:
Fixing SHA256 digest, pass four
15 Mar 2006; John N. Laliberte
librsvg-2.12.7.ebuild:
remove ${D} for new eclass.
*librsvg-2.14.2 (13 Mar 2006)
13 Mar 2006; Saleem Abdulrasool
+librsvg-2.14.2.ebuild:
Version bump from upstream. cairo fix from dsd, disabling the mozilla flag
16 Feb 2006; Leonardo Boshell
librsvg-2.12.7.ebuild:
Fix logic regarding the browser plugin (bug #112635). Patch provided by
Daniel Nilsson.
03 Feb 2006; Guy Martin
Stable on hppa.
02 Feb 2006; Aron Griffis
Mark 2.12.7 stable on alpha
02 Feb 2006; Aron Griffis
Mark 2.12.7 stable on ia64
22 Jan 2006; Markus Rothe
Stable on ppc64
22 Jan 2006;
Marked stable on amd64 per bug #119634
22 Jan 2006; Tobias Scherbaum
librsvg-2.12.7.ebuild:
Marked ppc stable for bug #119634; Stabilize Gnome-2.12.2
22 Jan 2006; Joshua Jackson
Stable on x86 for bug #119634; Stabilize Gnome-2.12.2
20 Jan 2006; Gustavo Zacarias
Stable on sparc wrt #119634
*librsvg-2.12.7 (20 Oct 2005)
20 Oct 2005; Leonardo Boshell
+librsvg-2.12.7.ebuild:
New version. Added simple checks to avoid colliding files when 'nsplugin' is
enabled.
11 Oct 2005; John N. Laliberte
librsvg-2.12.6.ebuild:
remove support for arm and mips, filed bugs
*librsvg-2.12.6 (08 Oct 2005)
08 Oct 2005; Leonardo Boshell
+files/librsvg-2.12.6-plugin_checks.patch, -librsvg-2.12.3.ebuild,
+librsvg-2.12.6.ebuild:
New version. Use gecko-sdk to build the browser plugin, and replace the
'mozilla' USE flag with 'nsplugin'.
*librsvg-2.12.3 (30 Sep 2005)
30 Sep 2005;
+librsvg-2.12.3.ebuild:
New version
*librsvg-2.12.2 (30 Sep 2005)
30 Sep 2005; Leonardo Boshell
-librsvg-2.12.0.ebuild, +librsvg-2.12.2.ebuild:
New version.
20 Sep 2005; Leonardo Boshell
librsvg-2.12.0.ebuild:
Set GTK2_CONFDIR correctly in pkg_postrm() (bug #106504).
*librsvg-2.12.0 (17 Sep 2005)
17 Sep 2005; Leonardo Boshell
-librsvg-2.11.1.ebuild, +librsvg-2.12.0.ebuild:
New version. Updated dependencies. Added 'mozilla' USE flag.
*librsvg-2.11.1 (12 Sep 2005)
12 Sep 2005;
Bump to version for gnome 2.12.0
16 Aug 2005; Simon Stelling
moving has_multilib_profile out of global scope
12 Jul 2005; Stephen P. Becker
stable on mips
02 Jul 2005; Bryan Østergaard
Stable on alpha.
26 Jun 2005; Guy Martin
Stable on hppa.
13 Jun 2005; Markus Rothe
Stable on ppc64
12 Jun 2005; Olivier Crête
Stable on amd64
12 Jun 2005; Tobias Scherbaum
librsvg-2.9.5.ebuild:
Stable on ppc.
09 Jun 2005; Gustavo Zacarias
Stable on sparc
18 Apr 2005; Herbie Hopkins
librsvg-2.9.5.ebuild:
Fix bug #67989, use the correct GTK2_CONF_DIR on multilib systems.
07 Apr 2005; Simon Stelling
stable on amd64
02 Apr 2005; Stephen P. Becker
librsvg-2.8.1-r1.ebuild:
stable on mips
*librsvg-2.9.5 (20 Mar 2005)
20 Mar 2005; Joe McCann
gnome-2.10 release
20 Mar 2005; Bryan Østergaard
librsvg-2.8.1-r1.ebuild:
Stable on alpha.
09 Mar 2005; Gustavo Zacarias
Stable on sparc
09 Mar 2005; Mike Gardiner
Keyworded x86 ppc
*librsvg-2.8.1-r1 (20 Jan 2005)
20 Jan 2005; Mike Gardiner
New revision with fix for gtk-doc installation, see bug #77419, and
thanks to Stephane Loeuillet.
08 Jan 2005; Tom Martin
Stable on amd64.
29 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
27 Dec 2004; Guy Martin
Stable on hppa.
11 Dec 2004; Bryan Østergaard
Stable on alpha.
11 Nov 2004; Gustavo Zacarias
Stable on sparc
11 Nov 2004; Luca Barbato
Marked ppc
01 Oct 2004; Stephen P. Becker
stable on mips
*librsvg-2.8.1 (15 Sep 2004)
15 Sep 2004; foser
Gnome 2.8 release
update croco dep (fix in older versions)
add gnome USE for gnome-vfs
22 Aug 2004; Bryan Østergaard
Stable on alpha.
05 Aug 2004; Gustavo Zacarias
Stable on sparc
05 Aug 2004; Guy Martin
Stable on hppa.
31 Jul 2004;
stable on x86 for gnome 2.6.2
13 Jul 2004; Tom Gall
added ~ppc64 bug #54807
11 Jul 2004;
IUSE to shut repoman up
04 Jul 2004; Bryan Østergaard
Stable on alpha.
01 Jul 2004; Jeremy Huddleston
virtual/glibc -> virtual/libc
04 Jun 2004; Stephen P. Becker
Stable on mips.
29 May 2004; Pieter Van den Abeele
librsvg-2.6.4.ebuild:
Masked librsvg-2.6.4.ebuild stable for ppc
26 May 2004; Guy Martin
Marked stable on hppa.
13 May 2004; Stephen P. Becker
Stable on mips.
*librsvg-2.6.5 (04 May 2004)
04 May 2004; foser
New release
25 Apr 2004; foser
Remove the package made gdk pixbuf loader config, we do this ourselves (#47766)
08 Apr 2004; L. Boshell
files/ librsvg-2.6.4-gcc2_fix.patch:
Added patch so it can compile using gcc-2. Replace the --enable-croco
flag with --with-croco.
*librsvg-2.6.4 (01 Apr 2004)
01 Apr 2004; foser
New release, gnome 2.6 final
*librsvg-2.6.3 (21 Mar 2004)
21 Mar 2004; foser
New release
*librsvg-2.6.2 (19 Mar 2004)
10 Mar 2004; foser
Gnome 2.6 release
Added libcroco support
Fixed license
15 Mar 2004; Bret Curtis
Added ~mips to KEYWORDS
*librsvg-2.4.0-r1 (08 Feb 2004)
08 Feb 2004;
add a --without-croco, we're pending inclusion of libcroco.
13 Dec 2003; foser
Fix homepage and description
04 Dec 2003; foser
disable building of gimp plugin, it breaks with recent dev versions (#34896)
08 Nov 2003; Todd Sunderlin
added sparc keyword
22 Oct 2003; Bartosch Pixa
set ppc in keywords
17 Oct 2003; Aron Griffis
Stable on alpha
05 Oct 2003; Mike Gardiner
Marked stable on x86
*librsvg-2.4.0 (07 Sep 2003)
16 Nov 2003; Guy Martin
Marked stable on hppa.
07 Sep 2003; foser
New version, add zlib use flag for compressed svg support
*librsvg-2.3.1 (07 Sep 2003)
07 Sep 2003; foser
Gnome 2.4 rc1
23 Aug 2003; foser
Add gdk-pixbuf loader config stuff
15 Jul 2003; Todd Sunderlin
Marked stable for sparc
30 Jun 2003; Bartosch Pixa
set ppc in keywords
*librsvg-2.2.5 (21 Mar 2003)
04 Jul 2003; Guy Martin
Added hppa to KEYWORDS.
21 Mar 2003; foser
New version
*librsvg-2.2.4 (10 Mar 2003)
17 Mar 2003; Jason Wever
Added ~sparc to keywords.
10 Mar 2003; foser
New version
*librsvg-2.2.3 (12 Feb 2003)
21 Feb 2003; Aron Griffis
Mark stable on alpha
12 Feb 2003; foser
New version
10 Feb 2003; Aron Griffis
Add ~alpha to KEYWORDS
07 Feb 2003; Aron Griffis
Add dependency on >=libgsf-1.6.0 since it doesn't build with 1.3.0
*librsvg-2.2.2.1 (4 Feb 2003)
01 Mar 2003; Jason Wever
Added ~sparc to keywords.
04 Feb 2003; foser
Added doc to IUSE, fixed deps, fixed license
04 Feb 2003; Spider
Added latest+greatest
fix for S=WORKDIR.. Remember to revert that in next version
*librsvg-2.2.1 (30 Jan 2003)
30 Jan 2003; foser
GNOME 2.2 rc2 commit
06 Dec 2002; Rodney Rees
*librsvg-2.1.1 (27 Oct 2002)
03 Dec 2002; Jon Nall
keyworded ~ppc
27 Oct 2002; foser
Gnome 2.1 commit
*librsvg-2.0.1 (25 Jul 2002)
26 Jul 2002; Spider
seems it depends on libart >=2.3.10
thanks to tiigel for pointing it out
25 Jul 2002; Spider
versionbumped, changed deps, mirror:/ and eclassed
thanks to Andreas Kotowicz
*librsvg-2.0.0-r1 (19 Jun 2002)
19 Jun 2002; Gabriele Giorgetti
Added missing GTK+2 depencie. (librsvg was failing to build if no GTK+2
emerged).
*librsvg-2.0.0 (19 Jun 2002)
19 Jun 2002; Gabriele Giorgetti
Yay! version 2.0.0
*librsvg-1.1.6-r2 (22 May 2002)
22 May 2002; Spider
the gnome2 branch
*librsvg-1.0.3 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
AUX librsvg-2.15.90-die-gtk-doc-die.patch 581 RMD160 94e7da4d6260daebd5e7b298911d1888f234ce91 SHA1 fe31e163db3afbe028b6499a20301c5278ab3966 SHA256 b85d7c1b58905258c75fd86a360a0ba2eebd5d530793d359e4be7913fffb2201
AUX librsvg-2.16.1-leak-fixes.patch 1503 RMD160 2d9fa76342acc32bce9606b65bb6b9dd336e2f6b SHA1 7c03a0f1324f181d62bae36bd71330cd6c396220 SHA256 8014d46af6996b8547034358389910ab9098ab5cb0f3183cf1c66ed157b3d52f
AUX librsvg-2.16.1-uninit.patch 765 RMD160 abfb6af1fd08aab3fafacd19c1c216a3420f7115 SHA1 71549540d317402a08168bd5f3ad66750a3c05fe SHA256 b2fea4b59407fff1ccf1474412acf2296d43cf9b83a35abba6acb65a8ad45a0b
DIST librsvg-2.20.0.tar.bz2 463714 RMD160 76e657bce620ee677298110de9e8eedf2e39430e SHA1 906877feaa189606caa012cc51706cc7daef9fb4 SHA256 f980a58e766c42eb0d9d942fd2068f02aa19e68c7e57f822de60b739da1a1fb0
DIST librsvg-2.22.2.tar.bz2 464857 RMD160 ead6af5c0b1c251f640d7eec06b354e33739a489 SHA1 a42ad2dd0a1b3b7195fe7d4e89c7e1f0352a51cf SHA256 2bfc1853ecdc545bf3767ed92c93b8796f2075f522c8eab1693c96f11d55a59e
EBUILD librsvg-2.20.0.ebuild 1686 RMD160 2658d964269992815a7b7550f2a671858e503758 SHA1 7a81993165eb84a33b8c818d7d9915cbeeba8964 SHA256 2a7a18fd74f927514f0f3dc67d5dcb3655d57a644f054a044bdcaf4b3bc5be36
EBUILD librsvg-2.22.2.ebuild 1582 RMD160 fea2aecbcebe34bec29df92182aa27184f1e4c74 SHA1 68f86e3345d101656d3383704c3f02ff9c024a6f SHA256 7ae6eaa3fc71c8cb50f531d0bacdb09c4fb86aac73ec54f2f85599881a103c11
MISC ChangeLog 21799 RMD160 9058bface0685d9a63b4b9c22ffd962d8ba00f67 SHA1 89e4fa3fabc4c48877a6bcb42233653700ee6907 SHA256 84c54758341e5838ef3c95990a324d685e1d777ca55a4c8e5eb755b6e5219cc1
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-2.20.0.ebuild,v 1.8 2008/04/20 01:35:57 vapier Exp $
inherit gnome2 multilib
DESCRIPTION="Scalable Vector Graphics (SVG) rendering library"
HOMEPAGE="http://librsvg.sourceforge.net/"
LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="doc gnome zlib"
RDEPEND="
>=media-libs/fontconfig-1.0.1
>=x11-libs/gtk+-2.6
>=dev-libs/glib-2.12
>=dev-libs/libxml2-2.4.7
>=x11-libs/cairo-1.2
>=x11-libs/pango-1.2
>=media-libs/freetype-2
zlib? ( >=gnome-extra/libgsf-1.6 )
>=dev-libs/libcroco-0.6.1
gnome? (
>=gnome-base/gnome-vfs-2
>=gnome-base/libgnomeprint-2.2
>=gnome-base/libgnomeprintui-2.2
)"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.12
doc? ( >=dev-util/gtk-doc-1 )"
DOCS="AUTHORS ChangeLog README NEWS TODO"
pkg_setup() {
# FIXME: USEify croco support (?)
G2CONF="${G2CONF}
$(use_with zlib svgz)
$(use_enable gnome gnome-vfs)
$(use_enable gnome gnome-print)
--disable-mozilla-plugin
--with-croco
--enable-pixbuf-loader
--enable-gtk-theme"
}
set_gtk_confdir() {
# An arch specific config directory is used on multilib systems
has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0}
}
src_install() {
gnome2_src_install
# remove gdk-pixbuf loaders (#47766)
rm -fr "${D}/etc"
}
pkg_postinst() {
set_gtk_confdir
gdk-pixbuf-query-loaders > ${GTK2_CONFDIR}/gdk-pixbuf.loaders
}
pkg_postrm() {
set_gtk_confdir
gdk-pixbuf-query-loaders > ${GTK2_CONFDIR}/gdk-pixbuf.loaders
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-2.22.2.ebuild,v 1.6 2008/08/12 13:37:38 armin76 Exp $
inherit gnome2 multilib
DESCRIPTION="Scalable Vector Graphics (SVG) rendering library"
HOMEPAGE="http://librsvg.sourceforge.net/"
LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ~ppc64 ~sh sparc x86 ~x86-fbsd"
IUSE="doc zlib"
RDEPEND=">=media-libs/fontconfig-1.0.1
>=media-libs/freetype-2
>=x11-libs/gtk+-2.6
>=dev-libs/glib-2.15.4
>=x11-libs/cairo-1.2
>=x11-libs/pango-1.10
>=dev-libs/libxml2-2.4.7
>=dev-libs/libcroco-0.6.1
zlib? ( >=gnome-extra/libgsf-1.6 )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.12
doc? ( >=dev-util/gtk-doc-1 )"
DOCS="AUTHORS ChangeLog README NEWS TODO"
pkg_setup() {
# FIXME: USEify mozilla support (?)
# croco is forced on to respect SVG specification
G2CONF="${G2CONF}
$(use_with zlib svgz)
--disable-mozilla-plugin
--with-croco
--enable-pixbuf-loader
--enable-gtk-theme"
}
set_gtk_confdir() {
# An arch specific config directory is used on multilib systems
has_multilib_profile && GTK2_CONFDIR="${ROOT}etc/gtk-2.0/${CHOST}"
GTK2_CONFDIR="${GTK2_CONFDIR:-/etc/gtk-2.0}"
}
src_install() {
gnome2_src_install
# remove gdk-pixbuf loaders (#47766)
rm -fr "${D}/etc"
}
pkg_postinst() {
set_gtk_confdir
gdk-pixbuf-query-loaders > "${GTK2_CONFDIR}/gdk-pixbuf.loaders"
}
pkg_postrm() {
set_gtk_confdir
gdk-pixbuf-query-loaders > "${GTK2_CONFDIR}/gdk-pixbuf.loaders"
}