diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2005-06-07 09:25:03 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2005-06-07 09:25:03 +0000 |
commit | 1ebed1f315aecaa539919f6076260998d0e50b55 (patch) | |
tree | 116ccd9d02f86e4b0444ba9a15f1d523b8871197 /app-text | |
parent | cleanups (diff) | |
download | gentoo-2-1ebed1f315aecaa539919f6076260998d0e50b55.tar.gz gentoo-2-1ebed1f315aecaa539919f6076260998d0e50b55.tar.bz2 gentoo-2-1ebed1f315aecaa539919f6076260998d0e50b55.zip |
changelog
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xpdf/Manifest | 16 | ||||
-rw-r--r-- | app-text/xpdf/files/digest-xpdf-3.00-r9 | 12 | ||||
-rw-r--r-- | app-text/xpdf/files/xpdf-3.00-fonts.patch | 11 | ||||
-rw-r--r-- | app-text/xpdf/xpdf-3.00-r8.ebuild | 5 | ||||
-rw-r--r-- | app-text/xpdf/xpdf-3.00-r9.ebuild | 116 |
5 files changed, 146 insertions, 14 deletions
diff --git a/app-text/xpdf/Manifest b/app-text/xpdf/Manifest index 1c7d63068c72..41da48d2ece4 100644 --- a/app-text/xpdf/Manifest +++ b/app-text/xpdf/Manifest @@ -1,7 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 1c35b99efa5d907dfcd948602eaa7a17 xpdf-3.00-r8.ebuild 3624 +MD5 6263c455946bcc659433fca55e37826d xpdf-3.00-r8.ebuild 3603 +MD5 43015cce564169c46d2ca2e6838352a3 xpdf-3.00-r9.ebuild 3842 MD5 f3e993bddd63c3ee69191ce569cdd492 ChangeLog 9720 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 MD5 8221707abac9c48b486b8c2b9bc7a7a0 files/xpdf-3.00-empty-bookmark.patch 373 @@ -9,18 +7,14 @@ MD5 a21a0caeb7356fb3e68e5db195a505e9 files/xpdfrc.1 1587 MD5 f200f24c7cfa6061337dc6c0e03f36b9 files/xpdf-3.00-nodrm.diff 1049 MD5 dd4a7f876f8002dc835dab94f7fcefc1 files/xpdf-3.00-pl2.patch 1665 MD5 37f0b42aad269cb5896773b47b1d83ac files/xpdf-3.00-truetype-new.diff.gz 1271 +MD5 f30cc4e866d80f3645b6b35ec2169b58 files/xpdf-3.00-fontconfig.patch 7674 MD5 ae2950dd45961a041a23aae7f740815b files/xpdf-3.00-pl3.patch 356 MD5 1ca86139c360680d756c771b7c6c8647 files/xpdf-3.00-freetype-2.1.7.patch 2743 +MD5 a0e8c344d40384d23af93a7b7a2adba7 files/xpdf-3.00-fonts.patch 399 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 ec978d9450f061ea49ee697b39d545bf files/digest-xpdf-3.00-r8 767 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCkf0cevY57Fted3ERAoTLAKDIBgZojXobzIae6j4Uj1r6UM8zNACgz3eg -X2badaMiF1LPce8PwH3N56o= -=7lc9 ------END PGP SIGNATURE----- +MD5 fd6eaa6f4bb5d94506718515cf20ac26 files/digest-xpdf-3.00-r9 61 diff --git a/app-text/xpdf/files/digest-xpdf-3.00-r9 b/app-text/xpdf/files/digest-xpdf-3.00-r9 new file mode 100644 index 000000000000..5d4918e4839b --- /dev/null +++ b/app-text/xpdf/files/digest-xpdf-3.00-r9 @@ -0,0 +1,12 @@ +MD5 95294cef3031dd68e65f331e8750b2c2 xpdf-3.00.tar.gz 534697 +MD5 67f05f65bc64bf022b36138c7c26746d xpdf-arabic.tar.gz 1058 +MD5 713659f0282b9e3d169390e246e5eb74 xpdf-chinese-simplified.tar.gz 756127 +MD5 5be730b859f8b01de569eb1bad188426 xpdf-chinese-traditional.tar.gz 698902 +MD5 21f57122247e2e2a63bfed4dc4f6c199 xpdf-cyrillic.tar.gz 1286 +MD5 2240a364b9c28ce09fd8c3107784ce40 xpdf-greek.tar.gz 1124 +MD5 438dd417517641cbb78a94facf2d938e xpdf-hebrew.tar.gz 1314 +MD5 57bb9359437583479b6670e75fa06c31 xpdf-japanese.tar.gz 430478 +MD5 10cd92e4eef065a6a26341d9a2a1b5c2 xpdf-korean.tar.gz 419081 +MD5 ac19ef990cd63afd2837c10dc7e1c3ab xpdf-latin2.tar.gz 1435 +MD5 9af495766ee4eaf3411d1fa74560f0ec xpdf-thai.tar.gz 1876 +MD5 f9233880805e3d8d2cf15a4fe679f25b xpdf-turkish.tar.gz 1140 diff --git a/app-text/xpdf/files/xpdf-3.00-fonts.patch b/app-text/xpdf/files/xpdf-3.00-fonts.patch new file mode 100644 index 000000000000..1292918f6144 --- /dev/null +++ b/app-text/xpdf/files/xpdf-3.00-fonts.patch @@ -0,0 +1,11 @@ +diff -ur xpdf.org/xpdf/GlobalParams.cc xpdf-3.00/xpdf/GlobalParams.cc +--- xpdf.org/xpdf/GlobalParams.cc 2004-01-21 17:26:45.000000000 -0800 ++++ xpdf-3.00/xpdf/GlobalParams.cc 2005-03-18 19:52:03.000000000 -0800 +@@ -84,6 +84,7 @@ + "/usr/share/ghostscript/fonts", + "/usr/local/share/ghostscript/fonts", + "/usr/share/fonts/default/Type1", ++ "/usr/share/fonts/default/ghostscript", + NULL + }; + diff --git a/app-text/xpdf/xpdf-3.00-r8.ebuild b/app-text/xpdf/xpdf-3.00-r8.ebuild index f48c6db6943d..0d22ac4adbb7 100644 --- a/app-text/xpdf/xpdf-3.00-r8.ebuild +++ b/app-text/xpdf/xpdf-3.00-r8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.00-r8.ebuild,v 1.13 2005/05/23 15:55:44 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.00-r8.ebuild,v 1.14 2005/06/07 09:25:02 lanius Exp $ inherit eutils @@ -27,8 +27,7 @@ IUSE="motif nodrm" DEPEND="motif? ( !s390? ( virtual/x11 x11-libs/openmotif ) ) >=media-libs/freetype-2.0.5 - >=media-libs/t1lib-1.3 - virtual/ghostscript" + >=media-libs/t1lib-1.3" RDEPEND="${DEPEND} linguas_ja? ( >=media-fonts/kochi-substitute-20030809-r3 ) diff --git a/app-text/xpdf/xpdf-3.00-r9.ebuild b/app-text/xpdf/xpdf-3.00-r9.ebuild new file mode 100644 index 000000000000..359990e3cdfc --- /dev/null +++ b/app-text/xpdf/xpdf-3.00-r9.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.00-r9.ebuild,v 1.1 2005/06/07 09:25:02 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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~mips ~s390" +IUSE="motif nodrm truetype" + +DEPEND="motif? ( !s390? ( virtual/x11 + x11-libs/openmotif ) ) + truetype? ( + >=media-libs/freetype-2.0.5 + media-libs/t1lib + virtual/ghostscript + )" + +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} + use truetype && epatch ${FILESDIR}/xpdf-3.00-truetype-new.diff.gz + use truetype && 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 + epatch ${FILESDIR}/xpdf-3.00-pl2.patch + epatch ${FILESDIR}/xpdf-3.00-pl3.patch + epatch ${FILESDIR}/xpdf-3.00-fonts.patch + autoconf +} + +src_compile() { + use truetype \ + && myconf="--enable-freetype2 --with-freetype2-includes=/usr/include/freetype2" \ + || myconf="--disable-freetype2" + + econf \ + ${myconf} \ + --enable-opi || 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/* +} + +pkg_postinst() { + use motif || einfo "If you want to compile xpdf binary you have to set USE=motif" +} |