summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2006-01-20 17:01:18 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2006-01-20 17:01:18 +0000
commit982ab49f34f5d7068a8098aa84b7f83de1337eef (patch)
treef7b4d5f0dc1f99b4ef40e5eb7e5fe7883c008fb7 /app-text/poppler-bindings
parentVersion bumped. See bug #106215. (diff)
downloadgentoo-2-982ab49f34f5d7068a8098aa84b7f83de1337eef.tar.gz
gentoo-2-982ab49f34f5d7068a8098aa84b7f83de1337eef.tar.bz2
gentoo-2-982ab49f34f5d7068a8098aa84b7f83de1337eef.zip
New semi-major rev of poppler
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'app-text/poppler-bindings')
-rw-r--r--app-text/poppler-bindings/ChangeLog8
-rw-r--r--app-text/poppler-bindings/Manifest13
-rw-r--r--app-text/poppler-bindings/files/digest-poppler-bindings-0.5.01
-rw-r--r--app-text/poppler-bindings/files/poppler-0.5.0-bindings.patch78
-rw-r--r--app-text/poppler-bindings/poppler-bindings-0.5.0.ebuild47
5 files changed, 136 insertions, 11 deletions
diff --git a/app-text/poppler-bindings/ChangeLog b/app-text/poppler-bindings/ChangeLog
index 6111a0c3ba51..7f092660f6e8 100644
--- a/app-text/poppler-bindings/ChangeLog
+++ b/app-text/poppler-bindings/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/poppler-bindings
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v 1.8 2006/01/20 15:53:54 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v 1.9 2006/01/20 17:01:18 dang Exp $
+
+*poppler-bindings-0.5.0 (20 Jan 2006)
+
+ 20 Jan 2006; <dang@gentoo.org> +files/poppler-0.5.0-bindings.patch,
+ +poppler-bindings-0.5.0.ebuild:
+ New semi-major rev of poppler
*poppler-bindings-0.4.4 (20 Jan 2006)
diff --git a/app-text/poppler-bindings/Manifest b/app-text/poppler-bindings/Manifest
index e14dd620875d..7b23a5ba18a9 100644
--- a/app-text/poppler-bindings/Manifest
+++ b/app-text/poppler-bindings/Manifest
@@ -1,18 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 325718c1a0681ab1e9a4ab3e1a8c9179 ChangeLog 1323
MD5 fd7bca7be5c5d5779b32f4c4e7fe9b4c files/digest-poppler-bindings-0.4.3-r2 65
MD5 391a4af00a2993115c7fa9145936a221 files/digest-poppler-bindings-0.4.4 65
+MD5 342ecc2fc9aa2b0328c7522269b66049 files/digest-poppler-bindings-0.5.0 65
MD5 3342aad1175b4b522f84e453999fbb05 files/poppler-0.4.1-cairo-ft.patch 470
MD5 73800d8735fd2813b3ef67ad511fc2b5 files/poppler-0.4.3-bindings.patch 2915
+MD5 7f9b359a908b92073225b8d127d04083 files/poppler-0.5.0-bindings.patch 2751
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
MD5 a910c03003c4f6422942661260247207 poppler-bindings-0.4.3-r2.ebuild 1303
MD5 cd4bbf6e01c9d6d18fcc8338c6e93ec0 poppler-bindings-0.4.4.ebuild 1251
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux)
-
-iD8DBQFD0QfGomPajV0RnrERAgDyAJkB85brvI3vl9YD5AcNMCJMa+Os0wCfWda3
-/fDAcoEGQ4fg3RyBP12ODiQ=
-=fLKI
------END PGP SIGNATURE-----
+MD5 7e3d4caaa1e04f286dd0533609567fba poppler-bindings-0.5.0.ebuild 1276
diff --git a/app-text/poppler-bindings/files/digest-poppler-bindings-0.5.0 b/app-text/poppler-bindings/files/digest-poppler-bindings-0.5.0
new file mode 100644
index 000000000000..9442bb845fb6
--- /dev/null
+++ b/app-text/poppler-bindings/files/digest-poppler-bindings-0.5.0
@@ -0,0 +1 @@
+MD5 c84c1be19f43e4a84872ff08234c1960 poppler-0.5.0.tar.gz 935312
diff --git a/app-text/poppler-bindings/files/poppler-0.5.0-bindings.patch b/app-text/poppler-bindings/files/poppler-0.5.0-bindings.patch
new file mode 100644
index 000000000000..c30adb5b8b36
--- /dev/null
+++ b/app-text/poppler-bindings/files/poppler-0.5.0-bindings.patch
@@ -0,0 +1,78 @@
+diff --exclude-from=/home/dang/.diffrc -u -ruN poppler-0.5.0.orig/glib/Makefile.am poppler-0.5.0/glib/Makefile.am
+--- poppler-0.5.0.orig/glib/Makefile.am 2006-01-02 07:37:11.000000000 -0500
++++ poppler-0.5.0/glib/Makefile.am 2006-01-20 10:36:39.000000000 -0500
+@@ -76,7 +76,7 @@
+ poppler-private.h
+
+ libpoppler_glib_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_GLIB_LIBS) \
+ $(FREETYPE_LIBS) \
+ $(cairo_libs)
+@@ -87,7 +87,7 @@
+ test-poppler-glib.c
+
+ test_poppler_glib_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ libpoppler-glib.la \
+ $(POPPLER_GLIB_LIBS) \
+ $(FREETYPE_LIBS) \
+diff --exclude-from=/home/dang/.diffrc -u -ruN poppler-0.5.0.orig/Makefile.am poppler-0.5.0/Makefile.am
+--- poppler-0.5.0.orig/Makefile.am 2006-01-10 11:09:33.000000000 -0500
++++ poppler-0.5.0/Makefile.am 2006-01-20 10:38:38.000000000 -0500
+@@ -29,7 +29,7 @@
+ utils_subdir = utils
+ endif
+
+-SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) $(qt_subdir) test $(qt4_subdir)
++SUBDIRS = $(glib_subdir) $(qt_subdir) $(qt4_subdir)
+
+ EXTRA_DIST = \
+ README-XPDF \
+@@ -40,9 +40,6 @@
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = \
+- poppler.pc \
+- $(cairo_pc_file) \
+- $(splash_pc_file) \
+ $(glib_pc_file) \
+ $(qt_pc_file) \
+ $(qt4_pc_file)
+diff --exclude-from=/home/dang/.diffrc -u -ruN poppler-0.5.0.orig/qt/Makefile.am poppler-0.5.0/qt/Makefile.am
+--- poppler-0.5.0.orig/qt/Makefile.am 2006-01-03 09:02:31.000000000 -0500
++++ poppler-0.5.0/qt/Makefile.am 2006-01-20 10:36:39.000000000 -0500
+@@ -35,7 +35,7 @@
+ test-poppler-qt.cpp
+
+ test_poppler_qt_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ libpoppler-qt.la \
+ $(POPPLER_QT_LIBS) \
+ $(FREETYPE_LIBS)
+diff --exclude-from=/home/dang/.diffrc -u -ruN poppler-0.5.0.orig/qt4/src/Makefile.am poppler-0.5.0/qt4/src/Makefile.am
+--- poppler-0.5.0.orig/qt4/src/Makefile.am 2006-01-03 09:40:17.000000000 -0500
++++ poppler-0.5.0/qt4/src/Makefile.am 2006-01-20 10:40:19.000000000 -0500
+@@ -21,6 +21,6 @@
+ poppler-private.h
+
+ libpoppler_qt4_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_QT4_LIBS)
+
+diff --exclude-from=/home/dang/.diffrc -u -ruN poppler-0.5.0.orig/qt4/tests/Makefile.am poppler-0.5.0/qt4/tests/Makefile.am
+--- poppler-0.5.0.orig/qt4/tests/Makefile.am 2006-01-02 07:37:13.000000000 -0500
++++ poppler-0.5.0/qt4/tests/Makefile.am 2006-01-20 10:36:39.000000000 -0500
+@@ -6,7 +6,7 @@
+ $(POPPLER_QTTEST_CXXFLAGS)
+
+ LDADDS = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(top_builddir)/qt4/src/libpoppler-qt4.la \
+ $(POPPLER_QT4_LIBS)
+
diff --git a/app-text/poppler-bindings/poppler-bindings-0.5.0.ebuild b/app-text/poppler-bindings/poppler-bindings-0.5.0.ebuild
new file mode 100644
index 000000000000..92fce9ca4cf3
--- /dev/null
+++ b/app-text/poppler-bindings/poppler-bindings-0.5.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/poppler-bindings-0.5.0.ebuild,v 1.1 2006/01/20 17:01:18 dang Exp $
+
+inherit eutils
+
+MY_P=${P/-bindings/}
+DESCRIPTION="Poppler bindings are rendering bindings for GUI toolkits for poppler"
+HOMEPAGE="http://poppler.freedesktop.org"
+SRC_URI="http://poppler.freedesktop.org/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="gtk qt cairo"
+
+RDEPEND=">=app-text/poppler-0.5.0
+ cairo? ( >=x11-libs/cairo-0.5 )
+ gtk? ( >=x11-libs/gtk+-2.6 )
+ qt? ( =x11-libs/qt-3* )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=sys-devel/automake-1.9.6"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack(){
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${MY_P}-bindings.patch
+ autoreconf -f -v -i || die "autoreconf failed"
+}
+
+src_compile() {
+ econf --disable-poppler-qt4 --enable-opi \
+ $(use_enable cairo cairo-output) \
+ $(use_enable gtk poppler-glib) \
+ $(use_enable qt poppler-qt) \
+ || die "configuration failed"
+ emake || die "compilation failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc README AUTHORS ChangeLog NEWS README-XPDF TODO
+}