summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-12-20 21:01:34 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-12-20 21:01:34 +0000
commite4dc735942cfd0205595fd8ac9df7d7af9c7d2fa (patch)
tree7409ed89c5c789bcc9a7fe10e06ffa8f2002f6f1 /app-text
parentadd xpdf nomotif option (diff)
downloadgentoo-2-e4dc735942cfd0205595fd8ac9df7d7af9c7d2fa.tar.gz
gentoo-2-e4dc735942cfd0205595fd8ac9df7d7af9c7d2fa.tar.bz2
gentoo-2-e4dc735942cfd0205595fd8ac9df7d7af9c7d2fa.zip
change motif to nomotif use flag, bug #73985; add scroll opts patch, bug #73019
Diffstat (limited to 'app-text')
-rw-r--r--app-text/xpdf/ChangeLog7
-rw-r--r--app-text/xpdf/Manifest3
-rw-r--r--app-text/xpdf/files/digest-xpdf-3.00-r61
-rw-r--r--app-text/xpdf/files/xpdf-3.00-scroll-opts.patch.bz2bin0 -> 1869 bytes
-rw-r--r--app-text/xpdf/xpdf-3.00-r6.ebuild103
5 files changed, 113 insertions, 1 deletions
diff --git a/app-text/xpdf/ChangeLog b/app-text/xpdf/ChangeLog
index 80cc1483f747..168c857e34b3 100644
--- a/app-text/xpdf/ChangeLog
+++ b/app-text/xpdf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/xpdf
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/ChangeLog,v 1.57 2004/11/06 14:29:18 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/ChangeLog,v 1.58 2004/12/20 21:01:34 lanius Exp $
+
+*xpdf-3.00-r6 (20 Dec 2004)
+
+ 20 Dec 2004; Heinrich Wendel <lanius@gentoo.org> +xpdf-3.00-r6.ebuild:
+ change motif to nomotif use flag, bug #73985; add scroll opts patch, bug #73019
06 Nov 2004; <heino@gentoo.org> -xpdf-2.03.ebuild, -xpdf-3.00-r1.ebuild,
-xpdf-3.00-r4.ebuild:
diff --git a/app-text/xpdf/Manifest b/app-text/xpdf/Manifest
index a070b5f972b1..47433e2b9dc8 100644
--- a/app-text/xpdf/Manifest
+++ b/app-text/xpdf/Manifest
@@ -1,6 +1,7 @@
MD5 ec5f27e677e3d9f392761fa21ca735cc xpdf-3.00-r5.ebuild 3374
MD5 e32fc6b8cd28434e0325d360081e870e ChangeLog 7289
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
+MD5 f8c772069cdf4c745551094e1022410b xpdf-3.00-r6.ebuild 3431
MD5 8221707abac9c48b486b8c2b9bc7a7a0 files/xpdf-3.00-empty-bookmark.patch 373
MD5 a21a0caeb7356fb3e68e5db195a505e9 files/xpdfrc.1 1587
MD5 f200f24c7cfa6061337dc6c0e03f36b9 files/xpdf-3.00-nodrm.diff 1049
@@ -11,5 +12,7 @@ MD5 7c0787e730fecfb5b6ebc5a7a69cd64e files/xpdfrc 1092
MD5 3df9058a9971c09627e71dad6b056244 files/xpdf-3.00-core.patch.bz2 271
MD5 c3d50c3fb232fe51c2ae06ff1f530d49 files/xpdf-3.00-overflow.patch.bz2 2097
MD5 41c050cd5c7ccdcf1676a6852c7a35ed files/xpdf-3.00-PathScanner.patch.bz2 1003
+MD5 9a40ac2946ebb4599602f43e10f88786 files/xpdf-3.00-scroll-opts.patch.bz2 1869
MD5 2fce5bedd61300fad1566a41f991a782 files/xpdf-goo-sizet.patch 1424
MD5 36b521d0408d11075c1e6536e91265f2 files/digest-xpdf-3.00-r5 767
+MD5 fd6eaa6f4bb5d94506718515cf20ac26 files/digest-xpdf-3.00-r6 61
diff --git a/app-text/xpdf/files/digest-xpdf-3.00-r6 b/app-text/xpdf/files/digest-xpdf-3.00-r6
new file mode 100644
index 000000000000..0c8a53eec796
--- /dev/null
+++ b/app-text/xpdf/files/digest-xpdf-3.00-r6
@@ -0,0 +1 @@
+MD5 95294cef3031dd68e65f331e8750b2c2 xpdf-3.00.tar.gz 534697
diff --git a/app-text/xpdf/files/xpdf-3.00-scroll-opts.patch.bz2 b/app-text/xpdf/files/xpdf-3.00-scroll-opts.patch.bz2
new file mode 100644
index 000000000000..205abd845f01
--- /dev/null
+++ b/app-text/xpdf/files/xpdf-3.00-scroll-opts.patch.bz2
Binary files differ
diff --git a/app-text/xpdf/xpdf-3.00-r6.ebuild b/app-text/xpdf/xpdf-3.00-r6.ebuild
new file mode 100644
index 000000000000..d171fd01709b
--- /dev/null
+++ b/app-text/xpdf/xpdf-3.00-r6.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.00-r6.ebuild,v 1.1 2004/12/20 21:01:34 lanius Exp $
+
+inherit eutils
+
+DESCRIPTION="An X Viewer for PDF Files"
+HOMEPAGE="http://www.foolabs.com/xpdf/"
+SRC_URI="ftp://ftp.foolabs.com/pub/xpdf/${P}.tar.gz
+ linguas_ar? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-arabic.tar.gz )
+ linguas_zh_CN? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-simplified.tar.gz )
+ linguas_zh_TW? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-traditional.tar.gz )
+ linguas_ru? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-cyrillic.tar.gz )
+ linguas_el? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-greek.tar.gz )
+ linguas_he? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-hebrew.tar.gz )
+ linguas_ja? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-japanese.tar.gz )
+ linguas_ko? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-korean.tar.gz )
+ linguas_la? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-latin2.tar.gz )
+ linguas_th? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-thai.tar.gz )
+ linguas_tr? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-turkish.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="nomotif nodrm"
+
+DEPEND="!nomotif? ( virtual/x11
+ x11-libs/openmotif )
+ >=media-libs/freetype-2.0.5
+ >=media-libs/t1lib-1.3
+ >=virtual/ghostscript-7.07.1-r5"
+
+RDEPEND="${DEPEND}
+ linguas_ja? ( >=media-fonts/kochi-substitute-20030809-r3 )
+ linguas_zh_CN? ( >=media-fonts/arphicfonts-0.1-r2 )
+ linguas_zh_TW? ( >=media-fonts/arphicfonts-0.1-r2 )
+ linguas_ko? ( >=media-fonts/baekmuk-fonts-2.2 )
+ !app-text/xpdf-chinese-simplified
+ !app-text/xpdf-chinese-traditional
+ !app-text/xpdf-cyrillic
+ !app-text/xpdf-greek
+ !app-text/xpdf-japanese
+ !app-text/xpdf-korean
+ !app-text/xpdf-latin2
+ !app-text/xpdf-thai
+ !app-text/xpdf-turkish"
+PROVIDE="virtual/pdfviewer"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/xpdf-3.00-truetype-new.diff.gz
+ epatch ${FILESDIR}/xpdf-3.00-freetype-2.1.7.patch
+ epatch ${FILESDIR}/xpdf-3.00-empty-bookmark.patch
+ epatch ${FILESDIR}/xpdf-3.00-core.patch.bz2
+ epatch ${FILESDIR}/xpdf-3.00-overflow.patch.bz2
+ epatch ${FILESDIR}/xpdf-3.00-PathScanner.patch.bz2
+ use nodrm && epatch ${FILESDIR}/xpdf-3.00-nodrm.diff
+ epatch ${FILESDIR}/xpdf-goo-sizet.patch
+ epatch ${FILESDIR}/xpdf-3.00-scroll-opts.patch.bz2
+ autoconf
+}
+
+src_compile() {
+ econf \
+ --enable-freetype2 \
+ --with-freetype2-includes=/usr/include/freetype2 || die
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ prepallman
+ dodoc README ANNOUNCE CHANGES
+ insinto /etc
+ newins ${FILESDIR}/xpdfrc.1 xpdfrc
+
+ # install languages, but not on ppc64 (produces crashes...)
+ if use !ppc64; then
+ use linguas_ar && install_lang turkish
+ use linguas_zh_CN && install_lang chinese-simplified
+ use linguas_zh_TW && install_lang chinese-traditional
+ use linguas_ru && install_lang cyrillic
+ use linguas_el && install_lang greek
+ use linguas_he && install_lang hebrew
+ use linguas_ja && install_lang japanese
+ use linguas_ko && install_lang korean
+ use linguas_la && install_lang latin2
+ use linguas_th && install_lang thai
+ use linguas_tr && install_lang turkish
+ fi
+}
+
+install_lang() {
+ cd ../xpdf-$1
+ sed 's,/usr/local/share/xpdf/,/usr/share/xpdf/,g' add-to-xpdfrc >> ${D}/etc/xpdfrc
+ insinto /usr/share/xpdf/$1
+ doins *.unicodeMap
+ doins *.cid*
+ insinto /usr/share/xpdf/$1/CMap
+ doins CMap/*
+}