summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-23 20:25:51 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-23 20:25:51 +0000
commita558412e313101c0f2592534eebb80547b41266f (patch)
tree1b96ed8597551c9a105ee6aa41d91844a72c2ade /app-text
parentMask dev-util/monodevelop-boo and dev-util/monodevelop-debugger-mdb for removal. (diff)
downloadhistorical-a558412e313101c0f2592534eebb80547b41266f.tar.gz
historical-a558412e313101c0f2592534eebb80547b41266f.tar.bz2
historical-a558412e313101c0f2592534eebb80547b41266f.zip
Bump. Improves support for bezier curves and opacity, and adds utilities for converting XPS to other formats.
Package-Manager: portage-2.2.0_alpha77/cvs/Linux x86_64
Diffstat (limited to 'app-text')
-rw-r--r--app-text/libgxps/ChangeLog10
-rw-r--r--app-text/libgxps/Manifest12
-rw-r--r--app-text/libgxps/files/libgxps-0.2.0-libm.patch70
-rw-r--r--app-text/libgxps/files/libgxps-0.2.0-libpng15.patch29
-rw-r--r--app-text/libgxps/libgxps-0.2.0.ebuild63
5 files changed, 179 insertions, 5 deletions
diff --git a/app-text/libgxps/ChangeLog b/app-text/libgxps/ChangeLog
index 63469d48f97b..0eda7f766831 100644
--- a/app-text/libgxps/ChangeLog
+++ b/app-text/libgxps/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-text/libgxps
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libgxps/ChangeLog,v 1.1 2011/11/03 05:10:47 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/libgxps/ChangeLog,v 1.2 2011/11/23 20:25:51 tetromino Exp $
+
+*libgxps-0.2.0 (23 Nov 2011)
+
+ 23 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +libgxps-0.2.0.ebuild, +files/libgxps-0.2.0-libm.patch,
+ +files/libgxps-0.2.0-libpng15.patch:
+ Bump. Improves support for bezier curves and opacity, and adds utilities for
+ converting XPS to other formats.
*libgxps-0.1.0 (03 Nov 2011)
diff --git a/app-text/libgxps/Manifest b/app-text/libgxps/Manifest
index 2147be19c0dc..a9f9a979f024 100644
--- a/app-text/libgxps/Manifest
+++ b/app-text/libgxps/Manifest
@@ -1,14 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX libgxps-0.2.0-libm.patch 1550 RMD160 f3926cda486acb2a0e3fef9b6b67251a2c9ba3c1 SHA1 b68e09ae0376334c6ad86164922438153214edd2 SHA256 991b8a3bbe6ca7e262887f8e1190cd103fb049edb03c7493ce36777db0b5f36d
+AUX libgxps-0.2.0-libpng15.patch 752 RMD160 92e8d03c12264ccb8bc6dc35ebf941ac7a95c145 SHA1 d5397998c952fa034dcdb4a1d20b6ccc0aa1e1af SHA256 f8511b76ad50fe6a9d1817ea0a0a133d0b47878e3a00db73fb5cec1e9209f058
DIST libgxps-0.1.0.tar.xz 259168 RMD160 6513e82c624cb55251a42e22cef1e80e91999fe0 SHA1 f1d4ba87c070e0ef57de988154142330d9171cf4 SHA256 10d25905a0f5318e47e2d0471606ce8e5318cf7d7f93fb60218a716078d3548e
+DIST libgxps-0.2.0.tar.xz 299908 RMD160 0efdd608e68dc5a17936b0c2a7520e1bb218675a SHA1 e847f672c19c7ef3461d2ea0c737d9e159688ad6 SHA256 6c6958b3bd19e02abf4dfa99a2cdaec09be46bf89707ece5b45851bc518e46e6
EBUILD libgxps-0.1.0.ebuild 1141 RMD160 1f2d3414c523ffb930a0c1782116b2f7b1333a93 SHA1 d0e609254773fc8880b1c9506f68b84ff101f766 SHA256 3ce34ea1b4c20f8c492da1f9d493f690b79235cdd2259760df962fb4f4512247
-MISC ChangeLog 424 RMD160 7470eefb8580e22740fd371052d4cadf8fb78d2f SHA1 02923e900e2aaed833b7d58843961e92881edb27 SHA256 2e7b9fff88463e6ab3ddafd02e8c1b48e147bbc773a031fb2e4e841fbb3ddfbd
+EBUILD libgxps-0.2.0.ebuild 1645 RMD160 7a4ccd6cef908980e7c3f4c08ecbc3de5d8cab2a SHA1 b6ed6fdd8a7f552a388b347a33d05fba98df7a44 SHA256 04102a70d73a61f300e7aa94b7a4d93175bb589e9449e24289511e4368942ee6
+MISC ChangeLog 725 RMD160 391949c1d9bdba94a0e3263dce8a2f90e2d92881 SHA1 94c37f125717ca41840687420e355b8bac42e498 SHA256 aebb54eaa06ebb3a64b4c981a420e75519ef15cdf82685d8fa2fa85555402dd4
MISC metadata.xml 275 RMD160 d198c939ae6264af123154814d7862c93e21f4de SHA1 3a1da363677fe7793a7d6b99de721b87283d174a SHA256 b686b26b3537ca6aabcea923eeb34db08cae5f75a0f2559e381c88e02e6fab5f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk6yIlwACgkQdjK8w9WeBnDFZAD/WQYlUKY4O1ukG9ucWWfPfPxn
-mTC8aUW53f+ZpSNSVbIA/jgvJkoQa12624T5rQlU+G/pCTZAc/w03kbOxgEZnnay
-=+/uy
+iF4EAREIAAYFAk7NVtQACgkQdjK8w9WeBnCl1QEApnEp/F/7F1x1cACjvOVrTNqH
+mnJMo3juYzcEqL3RkLQA/R4rqHeAYsbFv+lMdAkGXtjDaj3Yqt83FRR+R48Mjbmq
+=nQK3
-----END PGP SIGNATURE-----
diff --git a/app-text/libgxps/files/libgxps-0.2.0-libm.patch b/app-text/libgxps/files/libgxps-0.2.0-libm.patch
new file mode 100644
index 000000000000..6a1ea20b8fb3
--- /dev/null
+++ b/app-text/libgxps/files/libgxps-0.2.0-libm.patch
@@ -0,0 +1,70 @@
+From 7bc33181d7e44aab35db01d4ac1560dcf408d5d9 Mon Sep 17 00:00:00 2001
+From: Dominique Leuenberger <dimstar@opensuse.org>
+Date: Mon, 21 Nov 2011 08:51:54 +0100
+Subject: [PATCH] Build: link with libm. Fixes bgo#664439.
+
+---
+ configure.ac | 1 +
+ tools/Makefile.am | 7 ++++++-
+ 2 files changed, 7 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index b7d38c6..7ef4310 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -47,6 +47,7 @@ AC_ISC_POSIX
+ AC_PROG_CC_STDC
+ AC_STDC_HEADERS
+ AC_C_BIGENDIAN
++LT_LIB_M
+
+ GNOME_MAINTAINER_MODE_DEFINES
+ GNOME_COMPILE_WARNINGS
+diff --git a/tools/Makefile.am b/tools/Makefile.am
+index ccb7e05..0bf1538 100644
+--- a/tools/Makefile.am
++++ b/tools/Makefile.am
+@@ -54,6 +54,7 @@ xpstopng_CFLAGS = \
+
+ xpstopng_LDADD = \
+ libgxpstools.la \
++ $(LIBM) \
+ $(LIBPNG_LIBS)
+ endif # HAVE_LIBPNG
+
+@@ -77,6 +78,7 @@ xpstojpeg_CFLAGS = \
+
+ xpstojpeg_LDADD = \
+ libgxpstools.la \
++ $(LIBM) \
+ $(LIBJPEG)
+ endif # HAVE_LIBJPEG
+
+@@ -99,6 +101,7 @@ xpstopdf_CFLAGS = \
+
+ xpstopdf_LDADD = \
+ libgxpstools.la \
++ $(LIBM) \
+ $(CAIRO_PDF_LIBS)
+ endif # HAVE_CAIRO_PDF
+
+@@ -121,6 +124,7 @@ xpstops_CFLAGS = \
+
+ xpstops_LDADD = \
+ libgxpstools.la \
++ $(LIBM) \
+ $(CAIRO_PS_LIBS)
+ endif # HAVE_CAIRO_PS
+
+@@ -143,5 +147,6 @@ xpstosvg_CFLAGS = \
+
+ xpstosvg_LDADD = \
+ libgxpstools.la \
++ $(LIBM) \
+ $(CAIRO_SVG_LIBS)
+-endif # HAVE_CAIRO_SVG
+\ No newline at end of file
++endif # HAVE_CAIRO_SVG
+--
+1.7.8.rc3
+
diff --git a/app-text/libgxps/files/libgxps-0.2.0-libpng15.patch b/app-text/libgxps/files/libgxps-0.2.0-libpng15.patch
new file mode 100644
index 000000000000..c4d89f906ec6
--- /dev/null
+++ b/app-text/libgxps/files/libgxps-0.2.0-libpng15.patch
@@ -0,0 +1,29 @@
+From 1b8587d4abe24a4416628638f54e58d52287551a Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Wed, 23 Nov 2011 13:24:50 -0500
+Subject: [PATCH] Fix building with libpng15
+
+https://bugzilla.gnome.org/show_bug.cgi?id=664666
+---
+ tools/gxps-png-writer.c | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/tools/gxps-png-writer.c b/tools/gxps-png-writer.c
+index 7d78ec9..369e0e0 100644
+--- a/tools/gxps-png-writer.c
++++ b/tools/gxps-png-writer.c
+@@ -23,6 +23,11 @@
+ #include <png.h>
+ #include <stdint.h>
+
++/* starting with libpng15, png.h no longer #includes zlib.h */
++#ifndef Z_BEST_COMPRESSION
++#define Z_BEST_COMPRESSION 9
++#endif
++
+ struct _GXPSPngWriter {
+ GObject parent;
+
+--
+1.7.8.rc3
+
diff --git a/app-text/libgxps/libgxps-0.2.0.ebuild b/app-text/libgxps/libgxps-0.2.0.ebuild
new file mode 100644
index 000000000000..7f45f4d0266f
--- /dev/null
+++ b/app-text/libgxps/libgxps-0.2.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/libgxps/libgxps-0.2.0.ebuild,v 1.1 2011/11/23 20:25:50 tetromino Exp $
+
+EAPI="4"
+GNOME2_LA_PUNT="yes"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Library for handling and rendering XPS documents"
+HOMEPAGE="http://live.gnome.org/libgxps"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc +introspection jpeg lcms static-libs tiff"
+
+RDEPEND=">=app-arch/libarchive-2.8
+ >=dev-libs/glib-2.24:2
+ media-libs/freetype:2
+ media-libs/libpng:0
+ >=x11-libs/cairo-1.10[svg]
+ introspection? ( >=dev-libs/gobject-introspection-0.10.1 )
+ jpeg? ( virtual/jpeg )
+ lcms? ( media-libs/lcms:2 )
+ tiff? ( media-libs/tiff[zlib] )"
+DEPEND="${RDEPEND}
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ dev-util/pkgconfig
+ doc? (
+ app-text/docbook-xml-dtd:4.1.2
+ >=dev-util/gtk-doc-1.14 )
+
+ dev-util/gtk-doc-am"
+# eautoreconf requires: dev-util/gtk-doc-am
+
+# There is no automatic test suite, only an interactive test application
+RESTRICT="test"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --enable-man
+ --disable-test
+ $(use_enable debug)
+ $(use_enable introspection)
+ $(use_with jpeg libjpeg)
+ $(use_with lcms liblcms2)
+ $(use_enable static-libs static)
+ $(use_with tiff libtiff)"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
+
+src_prepare() {
+ # Upstream patch to fix linking, in next release, requires eautoreconf
+ epatch "${FILESDIR}/${P}-libm.patch"
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=664666
+ epatch "${FILESDIR}/${PN}-0.2.0-libpng15.patch"
+
+ eautoreconf
+ gnome2_src_prepare
+}