summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2006-05-23 00:12:25 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2006-05-23 00:12:25 +0000
commit83f1e1d44aba596e29e0cb0509dfac8ab9acde6b (patch)
treeb75596d9333eea79baf7e2538248abe6250766f3 /app-text
parentNew poppler 0.5.2 (diff)
downloadgentoo-2-83f1e1d44aba596e29e0cb0509dfac8ab9acde6b.tar.gz
gentoo-2-83f1e1d44aba596e29e0cb0509dfac8ab9acde6b.tar.bz2
gentoo-2-83f1e1d44aba596e29e0cb0509dfac8ab9acde6b.zip
New version: 0.5.2
(Portage version: 2.1_rc1-r4)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/poppler-bindings/ChangeLog8
-rw-r--r--app-text/poppler-bindings/files/digest-poppler-bindings-0.5.23
-rw-r--r--app-text/poppler-bindings/files/poppler-0.5.2-bindings.patch88
-rw-r--r--app-text/poppler-bindings/poppler-bindings-0.5.2.ebuild70
4 files changed, 168 insertions, 1 deletions
diff --git a/app-text/poppler-bindings/ChangeLog b/app-text/poppler-bindings/ChangeLog
index e7c13334ed16..1c7f2dfb7621 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.27 2006/04/08 21:41:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v 1.28 2006/05/23 00:12:25 dang Exp $
+
+*poppler-bindings-0.5.2 (23 May 2006)
+
+ 23 May 2006; Daniel Gryniewicz <dang@gentoo.org>
+ +files/poppler-0.5.2-bindings.patch, +poppler-bindings-0.5.2.ebuild:
+ New version: 0.5.2
08 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
files/poppler-0.5.1-qt-pthread.patch:
diff --git a/app-text/poppler-bindings/files/digest-poppler-bindings-0.5.2 b/app-text/poppler-bindings/files/digest-poppler-bindings-0.5.2
new file mode 100644
index 000000000000..b980e1bae59b
--- /dev/null
+++ b/app-text/poppler-bindings/files/digest-poppler-bindings-0.5.2
@@ -0,0 +1,3 @@
+MD5 e4e22cdec4a8b9d50be8a905089a4a25 poppler-0.5.2.tar.gz 1046998
+RMD160 132730e1d5371a684f1a9a221a647a21c2d73617 poppler-0.5.2.tar.gz 1046998
+SHA256 b3f2b753b6070e42f391c74a0edd06bb6cb0a3d33e5dc1a08ff204777508ee99 poppler-0.5.2.tar.gz 1046998
diff --git a/app-text/poppler-bindings/files/poppler-0.5.2-bindings.patch b/app-text/poppler-bindings/files/poppler-0.5.2-bindings.patch
new file mode 100644
index 000000000000..395f3cdfd4d7
--- /dev/null
+++ b/app-text/poppler-bindings/files/poppler-0.5.2-bindings.patch
@@ -0,0 +1,88 @@
+diff --exclude-from=/home/dang/.diffrc -u -ruN poppler-0.5.2.orig/glib/Makefile.am poppler-0.5.2/glib/Makefile.am
+--- poppler-0.5.2.orig/glib/Makefile.am 2006-05-19 18:09:00.000000000 -0400
++++ poppler-0.5.2/glib/Makefile.am 2006-05-22 19:55:31.000000000 -0400
+@@ -81,7 +81,7 @@
+ poppler-private.h
+
+ libpoppler_glib_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_GLIB_LIBS) \
+ $(FREETYPE_LIBS) \
+ $(cairo_libs)
+@@ -94,7 +94,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.2.orig/Makefile.am poppler-0.5.2/Makefile.am
+--- poppler-0.5.2.orig/Makefile.am 2006-01-10 11:09:33.000000000 -0500
++++ poppler-0.5.2/Makefile.am 2006-05-22 19:55:31.000000000 -0400
+@@ -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,7 @@
+
+ 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.2.orig/qt/Makefile.am poppler-0.5.2/qt/Makefile.am
+--- poppler-0.5.2.orig/qt/Makefile.am 2006-02-28 17:51:10.000000000 -0500
++++ poppler-0.5.2/qt/Makefile.am 2006-05-22 19:55:31.000000000 -0400
+@@ -22,7 +22,7 @@
+ poppler-private.h
+
+ libpoppler_qt_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_QT_LIBS) \
+ $(FREETYPE_LIBS)
+
+@@ -38,7 +38,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.2.orig/qt4/src/Makefile.am poppler-0.5.2/qt4/src/Makefile.am
+--- poppler-0.5.2.orig/qt4/src/Makefile.am 2006-05-19 13:44:23.000000000 -0400
++++ poppler-0.5.2/qt4/src/Makefile.am 2006-05-22 19:56:44.000000000 -0400
+@@ -27,7 +27,7 @@
+ poppler-private.h
+
+ libpoppler_qt4_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(top_builddir)/poppler/libpoppler-arthur.la \
+ $(POPPLER_QT4_LIBS)
+
+diff --exclude-from=/home/dang/.diffrc -u -ruN poppler-0.5.2.orig/qt4/tests/Makefile.am poppler-0.5.2/qt4/tests/Makefile.am
+--- poppler-0.5.2.orig/qt4/tests/Makefile.am 2006-01-23 09:43:39.000000000 -0500
++++ poppler-0.5.2/qt4/tests/Makefile.am 2006-05-22 19:55:31.000000000 -0400
+@@ -7,7 +7,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.2.ebuild b/app-text/poppler-bindings/poppler-bindings-0.5.2.ebuild
new file mode 100644
index 000000000000..241909fbea67
--- /dev/null
+++ b/app-text/poppler-bindings/poppler-bindings-0.5.2.ebuild
@@ -0,0 +1,70 @@
+# 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.2.ebuild,v 1.1 2006/05/23 00:12:25 dang Exp $
+
+inherit autotools eutils multilib
+
+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="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="gtk qt cairo qt4"
+
+RDEPEND="~app-text/poppler-${PV}
+ cairo? ( >=x11-libs/cairo-0.5 )
+ gtk? (
+ >=x11-libs/gtk+-2.6
+ >=gnome-base/libglade-2
+ )
+ qt? ( =x11-libs/qt-3* )
+ qt4? ( =x11-libs/qt-4* )"
+
+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
+
+ AT_M4DIR="m4" eautoreconf
+ sed -i s:/usr/lib/qt:/usr/lib/qt4: configure
+}
+
+src_compile() {
+ # Configure needs help finding qt libs on multilib systems
+ export QTLIB="${QTDIR}/$(get_libdir)"
+
+ econf --enable-opi \
+ $(use_enable cairo cairo-output) \
+ $(use_enable gtk poppler-glib) \
+ $(use_enable qt poppler-qt) \
+ $(use_enable qt4 poppler-qt4) \
+ || die "configuration failed"
+ cd poppler
+ if use cairo; then
+ emake libpoppler-cairo.la || die "cairo failed"
+ fi
+ if use qt4; then
+ emake libpoppler-arthur.la || die "arthur failed"
+ fi
+ cd ..
+ emake || die "compilation failed"
+}
+
+src_install() {
+ dolib.a poppler/libpoppler-cairo.la
+ make DESTDIR=${D} install || die "make install failed"
+}
+
+pkg_postinst() {
+ ewarn "You need to rebuild everything depending on poppler, use revdep-rebuild"
+}