diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-06-01 22:20:37 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-06-01 22:20:37 +0000 |
commit | 2a4da19d43351fc31af40bc60b113e25a577a06f (patch) | |
tree | 620e6f87089c79cfc90d22fa42cb763033baeaf1 /app-text/xpdf | |
parent | unbreak the tree (diff) | |
download | gentoo-2-2a4da19d43351fc31af40bc60b113e25a577a06f.tar.gz gentoo-2-2a4da19d43351fc31af40bc60b113e25a577a06f.tar.bz2 gentoo-2-2a4da19d43351fc31af40bc60b113e25a577a06f.zip |
Change xpdfrc paths, thanks to Ulf <fly-a-lot@web.de> in bug 134537, and add Language Support Packages for rare cases, bug 134537
(Portage version: 2.1_rc3-r4)
Diffstat (limited to 'app-text/xpdf')
-rw-r--r-- | app-text/xpdf/files/digest-xpdf-3.01-r8 | 33 | ||||
-rw-r--r-- | app-text/xpdf/files/sample-xpdfrc | 28 | ||||
-rw-r--r-- | app-text/xpdf/xpdf-3.01-r8.ebuild | 38 |
3 files changed, 82 insertions, 17 deletions
diff --git a/app-text/xpdf/files/digest-xpdf-3.01-r8 b/app-text/xpdf/files/digest-xpdf-3.01-r8 index 759b9d806a07..eee17f7a7292 100644 --- a/app-text/xpdf/files/digest-xpdf-3.01-r8 +++ b/app-text/xpdf/files/digest-xpdf-3.01-r8 @@ -1,3 +1,36 @@ MD5 5b6f88c5b5ac7eb0421c73d74f31159d xpdf-3.01-poppler.tar.bz2 82831 RMD160 3bb63e7f6cbc52ab4f77ea9cfab53d7cc9316a8d xpdf-3.01-poppler.tar.bz2 82831 SHA256 3463535f65db8eeb71ef1ec3c185ccd1941af66ec783aa50577cd065f79e5629 xpdf-3.01-poppler.tar.bz2 82831 +MD5 67f05f65bc64bf022b36138c7c26746d xpdf-arabic-2003-feb-16.tar.gz 1058 +RMD160 5790c247333125a1ed1df0cbcacf0ffd876c9f58 xpdf-arabic-2003-feb-16.tar.gz 1058 +SHA256 b196448a54bcbf7d8af551c75299ed95ccf1bb304208f23479ae3dcc6e84e1fc xpdf-arabic-2003-feb-16.tar.gz 1058 +MD5 6c3b04008000948e62530b8582e7f37c xpdf-chinese-simplified-2004-jul-27.tar.gz 835960 +RMD160 6241d2ff1270566f74ee6b98b1b96a50d2e4b41d xpdf-chinese-simplified-2004-jul-27.tar.gz 835960 +SHA256 ac886f7bccdc7c70fcfcbd9916ea907a93f0fe698ff7ca81da8f312c7fab07d7 xpdf-chinese-simplified-2004-jul-27.tar.gz 835960 +MD5 b7fa7f1850f7cfa28498701507079abb xpdf-chinese-traditional-2004-jul-27.tar.gz 794604 +RMD160 fdf9c84db84e85daa048f96e67039d41ae5027a5 xpdf-chinese-traditional-2004-jul-27.tar.gz 794604 +SHA256 49269682ac4b5af2b54763dd2fe7f539ba0ec2452f0545980f4927ffa2a5f2ed xpdf-chinese-traditional-2004-jul-27.tar.gz 794604 +MD5 7b22f31289ce0812d2ec77014e7b0cdf xpdf-cyrillic-2003-jun-28.tar.gz 1660 +RMD160 3010d686fdd46d5282a679aacfd02d95acb15c5e xpdf-cyrillic-2003-jun-28.tar.gz 1660 +SHA256 a5c6e151107d246995a0f73c7d33a611a8cc03192cc498a3e550a8f7d67e98de xpdf-cyrillic-2003-jun-28.tar.gz 1660 +MD5 dacacda02b84b1184235a5fab072fbd8 xpdf-greek-2003-jun-28.tar.gz 1263 +RMD160 95c8abaab369a302b857d95f9f1d139d91b066ff xpdf-greek-2003-jun-28.tar.gz 1263 +SHA256 57f0a188e8a01f72fdb1352e8769c45fe101ac5ae82cb5a1446bd807408eb45b xpdf-greek-2003-jun-28.tar.gz 1263 +MD5 438dd417517641cbb78a94facf2d938e xpdf-hebrew-2003-feb-16.tar.gz 1314 +RMD160 77f33aadf3602767ba2a2ed3c9b5c38ab00988c5 xpdf-hebrew-2003-feb-16.tar.gz 1314 +SHA256 890d209fc55eaea6df6b0e18a3d26a505690309b44b02da4f447f405252302ff xpdf-hebrew-2003-feb-16.tar.gz 1314 +MD5 a11ee6476d0f381983664fc614f7a95e xpdf-japanese-2004-jul-27.tar.gz 494803 +RMD160 dbc2b4feb6141a5f9f3663717c807faca64580ff xpdf-japanese-2004-jul-27.tar.gz 494803 +SHA256 b7419fc10d078628a407e5966146450acbe81d9a5e7f63448916536f0ac6432f xpdf-japanese-2004-jul-27.tar.gz 494803 +MD5 3c1e00f3b9d5fa713df8a3d763d12f3a xpdf-korean-2005-jul-07.tar.gz 470455 +RMD160 9e5bab5f0f8bcdc7fa5506f7311b7044e374c33f xpdf-korean-2005-jul-07.tar.gz 470455 +SHA256 ee8ae069ae613a24c7f500666a1a50cc5783f253feba61ebdbe2ef458232974f xpdf-korean-2005-jul-07.tar.gz 470455 +MD5 ac19ef990cd63afd2837c10dc7e1c3ab xpdf-latin2-2002-oct-22.tar.gz 1435 +RMD160 7dd1f32d0e857789983d64ee71fedfde13123947 xpdf-latin2-2002-oct-22.tar.gz 1435 +SHA256 f74eab0a8d5b5b77becd344910be5218666aba06b9c02554549d2e6c1ae42643 xpdf-latin2-2002-oct-22.tar.gz 1435 +MD5 96e058c1b0429ae1ba0b50f1784b0985 xpdf-thai-2002-jan-16.tar.gz 1873 +RMD160 5bb942b4a50cf1ff9758dbfbb9cd6e3310c059c3 xpdf-thai-2002-jan-16.tar.gz 1873 +SHA256 9708a88ed37150ecdbba3abb01cf86f1a8a75192a758af729a59f7162722e931 xpdf-thai-2002-jan-16.tar.gz 1873 +MD5 511758c86e21328a241adc8590834ea2 xpdf-turkish-2002-apr-10.tar.gz 1140 +RMD160 25e49dd17c93d6904372f1223c2204543ddbf22d xpdf-turkish-2002-apr-10.tar.gz 1140 +SHA256 25b992d294e2e135e2b1b3d93010d97f33b3e2cd9437aa903d2795016a10e6c7 xpdf-turkish-2002-apr-10.tar.gz 1140 diff --git a/app-text/xpdf/files/sample-xpdfrc b/app-text/xpdf/files/sample-xpdfrc index 481e4179ecc0..f3d5b11a9d45 100644 --- a/app-text/xpdf/files/sample-xpdfrc +++ b/app-text/xpdf/files/sample-xpdfrc @@ -29,20 +29,20 @@ # installed in a "standard" location, xpdf will find them # automatically.) -#displayFontT1 Times-Roman /usr/local/share/ghostscript/fonts/n021003l.pfb -#displayFontT1 Times-Italic /usr/local/share/ghostscript/fonts/n021023l.pfb -#displayFontT1 Times-Bold /usr/local/share/ghostscript/fonts/n021004l.pfb -#displayFontT1 Times-BoldItalic /usr/local/share/ghostscript/fonts/n021024l.pfb -#displayFontT1 Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb -#displayFontT1 Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb -#displayFontT1 Helvetica-Bold /usr/local/share/ghostscript/fonts/n019004l.pfb -#displayFontT1 Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb -#displayFontT1 Courier /usr/local/share/ghostscript/fonts/n022003l.pfb -#displayFontT1 Courier-Oblique /usr/local/share/ghostscript/fonts/n022023l.pfb -#displayFontT1 Courier-Bold /usr/local/share/ghostscript/fonts/n022004l.pfb -#displayFontT1 Courier-BoldOblique /usr/local/share/ghostscript/fonts/n022024l.pfb -#displayFontT1 Symbol /usr/local/share/ghostscript/fonts/s050000l.pfb -#displayFontT1 ZapfDingbats /usr/local/share/ghostscript/fonts/d050000l.pfb +#displayFontT1 Times-Roman /usr/share/fonts/default/ghostscript/n021003l.pfb +#displayFontT1 Times-Italic /usr/share/fonts/default/ghostscript/n021023l.pfb +#displayFontT1 Times-Bold /usr/share/fonts/default/ghostscript/n021004l.pfb +#displayFontT1 Times-BoldItalic /usr/share/fonts/default/ghostscript/n021024l.pfb +#displayFontT1 Helvetica /usr/share/fonts/default/ghostscript/n019003l.pfb +#displayFontT1 Helvetica-Oblique /usr/share/fonts/default/ghostscript/n019023l.pfb +#displayFontT1 Helvetica-Bold /usr/share/fonts/default/ghostscript/n019004l.pfb +#displayFontT1 Helvetica-BoldOblique /usr/share/fonts/default/ghostscript/n019024l.pfb +#displayFontT1 Courier /usr/share/fonts/default/ghostscript/n022003l.pfb +#displayFontT1 Courier-Oblique /usr/share/fonts/default/ghostscript/n022023l.pfb +#displayFontT1 Courier-Bold /usr/share/fonts/default/ghostscript/n022004l.pfb +#displayFontT1 Courier-BoldOblique /usr/share/fonts/default/ghostscript/n022024l.pfb +#displayFontT1 Symbol /usr/share/fonts/default/ghostscript/s050000l.pfb +#displayFontT1 ZapfDingbats /usr/share/fonts/default/ghostscript/d050000l.pfb # If you need to display PDF files that refer to non-embedded fonts, # you should add one or more fontDir options to point to the diff --git a/app-text/xpdf/xpdf-3.01-r8.ebuild b/app-text/xpdf/xpdf-3.01-r8.ebuild index 717c8c57b0db..750d6d657aa4 100644 --- a/app-text/xpdf/xpdf-3.01-r8.ebuild +++ b/app-text/xpdf/xpdf-3.01-r8.ebuild @@ -1,13 +1,23 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.01-r8.ebuild,v 1.8 2006/05/29 19:42:25 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.01-r8.ebuild,v 1.9 2006/06/01 22:20:37 genstef Exp $ inherit eutils flag-o-matic DESCRIPTION="An X Viewer for PDF Files" HOMEPAGE="http://www.foolabs.com/xpdf/" -SRC_URI="mirror://gentoo/${P}-poppler.tar.bz2 - http://dev.gentoo.org/~genstef/files/dist/${P}-poppler.tar.bz2" +SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}-poppler.tar.bz2 + linguas_ar? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-arabic-2003-feb-16.tar.gz ) + linguas_zh_CN? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-simplified-2004-jul-27.tar.gz ) + linguas_zh_TW? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-traditional-2004-jul-27.tar.gz ) + linguas_ru? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-cyrillic-2003-jun-28.tar.gz ) + linguas_el? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-greek-2003-jun-28.tar.gz ) + linguas_he? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-hebrew-2003-feb-16.tar.gz ) + linguas_ja? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-japanese-2004-jul-27.tar.gz ) + linguas_ko? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-korean-2005-jul-07.tar.gz ) + linguas_la? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-latin2-2002-oct-22.tar.gz ) + linguas_th? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-thai-2002-jan-16.tar.gz ) + linguas_tr? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-turkish-2002-apr-10.tar.gz )" LICENSE="GPL-2" SLOT="0" @@ -37,4 +47,26 @@ src_install() { insinto /etc newins ${FILESDIR}/sample-xpdfrc xpdfrc dodoc README ANNOUNCE CHANGES + + 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 +} + +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/* } |