summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2004-04-08 10:50:48 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2004-04-08 10:50:48 +0000
commit6c37c19cfb6680726b5c5c43a9f03273eff3da01 (patch)
tree597dea4e53602571cc7de3fec3b946002934797a /gnome-base/librsvg
parentpdftops doesn't print pdf form elements properly, bug #46529 (diff)
downloadhistorical-6c37c19cfb6680726b5c5c43a9f03273eff3da01.tar.gz
historical-6c37c19cfb6680726b5c5c43a9f03273eff3da01.tar.bz2
historical-6c37c19cfb6680726b5c5c43a9f03273eff3da01.zip
Patch that fixes compilation under GCC 2. Misc cleanups.
Diffstat (limited to 'gnome-base/librsvg')
-rw-r--r--gnome-base/librsvg/ChangeLog7
-rw-r--r--gnome-base/librsvg/Manifest13
-rw-r--r--gnome-base/librsvg/files/librsvg-2.6.4-gcc2_fix.patch24
-rw-r--r--gnome-base/librsvg/librsvg-1.0.3.ebuild4
-rw-r--r--gnome-base/librsvg/librsvg-2.4.0.ebuild4
-rw-r--r--gnome-base/librsvg/librsvg-2.6.4.ebuild13
6 files changed, 51 insertions, 14 deletions
diff --git a/gnome-base/librsvg/ChangeLog b/gnome-base/librsvg/ChangeLog
index 387800fb9ed7..34e3cdea17bc 100644
--- a/gnome-base/librsvg/ChangeLog
+++ b/gnome-base/librsvg/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for gnome-base/librsvg
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/ChangeLog,v 1.40 2004/03/31 22:27:28 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/ChangeLog,v 1.41 2004/04/08 10:50:48 leonardop Exp $
+ 08 Apr 2004; L. Boshell <leonardop@gentoo.org> librsvg-2.6.4.ebuild,
+ 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 <foser@gentoo.org> librsvg-2.6.4.ebuild :
diff --git a/gnome-base/librsvg/Manifest b/gnome-base/librsvg/Manifest
index c7995656ea07..3982f09cafe7 100644
--- a/gnome-base/librsvg/Manifest
+++ b/gnome-base/librsvg/Manifest
@@ -1,10 +1,11 @@
-MD5 e08f57c89adced1bdacc581e95ed251b librsvg-1.0.3.ebuild 954
-MD5 c26005f594324c8ae8a75f00c5207b72 librsvg-2.4.0-r1.ebuild 1031
-MD5 bbdd83908af9d92a909af2df50010d81 librsvg-2.6.4.ebuild 1111
-MD5 2d452193cff78779d92d3c37c1b497f4 librsvg-2.4.0.ebuild 1006
-MD5 4e2f19b6ed75496116a79f8fddc9b204 ChangeLog 5081
+MD5 2d8a34080dd6392b6f37b6b513f0a770 ChangeLog 5296
+MD5 7293466c723b195756008528242b9f21 librsvg-1.0.3.ebuild 955
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
-MD5 34c42ed742cb02509b40848042cbc522 files/digest-librsvg-2.4.0-r1 66
+MD5 9478e2ad1ac1ce8a46a06ed9f898e6d2 librsvg-2.4.0.ebuild 1010
+MD5 c26005f594324c8ae8a75f00c5207b72 librsvg-2.4.0-r1.ebuild 1031
+MD5 9169b643de07e42e875b5abc8160d0b5 librsvg-2.6.4.ebuild 1270
MD5 70f6afa0baffe29c6c4ab43dccbd0435 files/digest-librsvg-1.0.3 65
MD5 34c42ed742cb02509b40848042cbc522 files/digest-librsvg-2.4.0 66
+MD5 34c42ed742cb02509b40848042cbc522 files/digest-librsvg-2.4.0-r1 66
MD5 a8d8e664929769b2cb10ba5dbeccb0d6 files/digest-librsvg-2.6.4 66
+MD5 4da0dc642eed645fd4dcbbfa8c7f4989 files/librsvg-2.6.4-gcc2_fix.patch 653
diff --git a/gnome-base/librsvg/files/librsvg-2.6.4-gcc2_fix.patch b/gnome-base/librsvg/files/librsvg-2.6.4-gcc2_fix.patch
new file mode 100644
index 000000000000..cfcb0db49f95
--- /dev/null
+++ b/gnome-base/librsvg/files/librsvg-2.6.4-gcc2_fix.patch
@@ -0,0 +1,24 @@
+diff -NurdB librsvg-2.6.4-orig/rsvg-paint-server.c librsvg-2.6.4/rsvg-paint-server.c
+--- librsvg-2.6.4-orig/rsvg-paint-server.c 2004-04-08 05:25:24.000000000 -0500
++++ librsvg-2.6.4/rsvg-paint-server.c 2004-04-08 05:32:19.000000000 -0500
+@@ -149,6 +149,9 @@
+ double x1, y1, x2, y2;
+ double dx, dy, scale;
+ double affine[6];
++ float xchange, ychange, pointlen,unitlen;
++ float nx2, ny2;
++ float x0, y0;
+ int i;
+
+ agl = z->agl;
+@@ -180,10 +183,6 @@
+
+ art_affine_multiply(affine, rlg->affine, affine);
+
+- float xchange, ychange, pointlen,unitlen;
+- float nx2, ny2;
+- float x0, y0;
+-
+ xchange = rlg->x2 - rlg->x1;
+ ychange = rlg->y2 - rlg->y1;
+
diff --git a/gnome-base/librsvg/librsvg-1.0.3.ebuild b/gnome-base/librsvg/librsvg-1.0.3.ebuild
index 88a87ed0dffd..94c86102f744 100644
--- a/gnome-base/librsvg/librsvg-1.0.3.ebuild
+++ b/gnome-base/librsvg/librsvg-1.0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-1.0.3.ebuild,v 1.11 2004/02/22 20:47:56 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-1.0.3.ebuild,v 1.12 2004/04/08 10:50:48 leonardop Exp $
S=${WORKDIR}/${P}
DESCRIPTION="librsvg"
diff --git a/gnome-base/librsvg/librsvg-2.4.0.ebuild b/gnome-base/librsvg/librsvg-2.4.0.ebuild
index 733853c9fc67..c09d2fe1a5d9 100644
--- a/gnome-base/librsvg/librsvg-2.4.0.ebuild
+++ b/gnome-base/librsvg/librsvg-2.4.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-2.4.0.ebuild,v 1.11 2003/12/13 22:22:27 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-2.4.0.ebuild,v 1.12 2004/04/08 10:50:48 leonardop Exp $
inherit gnome2
diff --git a/gnome-base/librsvg/librsvg-2.6.4.ebuild b/gnome-base/librsvg/librsvg-2.6.4.ebuild
index 0c8f86412eb8..89dab01230bd 100644
--- a/gnome-base/librsvg/librsvg-2.6.4.ebuild
+++ b/gnome-base/librsvg/librsvg-2.6.4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-2.6.4.ebuild,v 1.1 2004/03/31 22:27:28 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-2.6.4.ebuild,v 1.2 2004/04/08 10:50:48 leonardop Exp $
-inherit gnome2
+inherit eutils gnome2
DESCRIPTION="Scalable Vector Graphics (SVG) rendering library"
HOMEPAGE="http://librsvg.sourceforge.net/"
@@ -27,12 +27,19 @@ DEPEND="${RDEPEND}
# FIXME : USEify croco support (?)
G2CONF="${G2CONF} $(use_with zlib svgz) \
- --enable-croco \
+ --with-croco \
--enable-pixbuf-loader \
--enable-gtk-theme"
DOCS="AUTHORS ChangeLog COPYIN* README INSTALL NEWS TODO"
+src_unpack () {
+ unpack ${A}
+ cd ${S}
+ # Make sure the source is proper ANSI C, so it compiles with gcc-2.
+ epatch ${FILESDIR}/${P}-gcc2_fix.patch
+}
+
pkg_postinst() {
gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders