diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-11-21 21:40:24 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-11-21 21:40:24 +0000 |
commit | c9365afd20cb395fc32f8c81a4d0e4023b4b5612 (patch) | |
tree | 477ed9265f78f7632c8dc349720155928381ef95 /app-text | |
parent | Version bump (diff) | |
download | gentoo-2-c9365afd20cb395fc32f8c81a4d0e4023b4b5612.tar.gz gentoo-2-c9365afd20cb395fc32f8c81a4d0e4023b4b5612.tar.bz2 gentoo-2-c9365afd20cb395fc32f8c81a4d0e4023b4b5612.zip |
Fix crashes, bug 199827 thanks to Thomas Kreuzer <thomas.kreuzer@rwth-aachen.de>
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xpdf/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/xpdf/files/digest-xpdf-3.02-r1 | 36 | ||||
-rw-r--r-- | app-text/xpdf/xpdf-3.02-r1.ebuild | 68 |
3 files changed, 111 insertions, 1 deletions
diff --git a/app-text/xpdf/ChangeLog b/app-text/xpdf/ChangeLog index d3d83b590e96..d9d0fd980723 100644 --- a/app-text/xpdf/ChangeLog +++ b/app-text/xpdf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/xpdf # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/ChangeLog,v 1.164 2007/11/18 20:31:21 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/ChangeLog,v 1.165 2007/11/21 21:40:23 genstef Exp $ + +*xpdf-3.02-r1 (21 Nov 2007) + + 21 Nov 2007; Stefan Schweizer <genstef@gentoo.org> +xpdf-3.02-r1.ebuild: + Fix crashes, bug 199827 thanks to Thomas Kreuzer + <thomas.kreuzer@rwth-aachen.de> 18 Nov 2007; Raúl Porcel <armin76@gentoo.org> xpdf-3.02.ebuild: alpha/ia64 stable wrt security #196735 diff --git a/app-text/xpdf/files/digest-xpdf-3.02-r1 b/app-text/xpdf/files/digest-xpdf-3.02-r1 new file mode 100644 index 000000000000..8f657a63d684 --- /dev/null +++ b/app-text/xpdf/files/digest-xpdf-3.02-r1 @@ -0,0 +1,36 @@ +MD5 dac5994e391d56203167080df3bb7f09 xpdf-3.02-poppler-20071121.tar.bz2 107935 +RMD160 faf276c824ef12f44609ef7610dc309c87ee3c96 xpdf-3.02-poppler-20071121.tar.bz2 107935 +SHA256 5e04476110ef9ec122e5aa427b4be5e79a003d2740ec8c65b32f526a03b52ed5 xpdf-3.02-poppler-20071121.tar.bz2 107935 +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/xpdf-3.02-r1.ebuild b/app-text/xpdf/xpdf-3.02-r1.ebuild new file mode 100644 index 000000000000..5033ba7f7cfa --- /dev/null +++ b/app-text/xpdf/xpdf-3.02-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.02-r1.ebuild,v 1.1 2007/11/21 21:40:23 genstef Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="An X Viewer for PDF Files" +HOMEPAGE="http://www.foolabs.com/xpdf/" +SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}-poppler-20071121.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" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="nodrm linguas_ar linguas_zh_CN linguas_zh_TW linguas_ru linguas_el +linguas_he linguas_ja linguas_ko linguas_la linguas_th linguas_tr" + +RDEPEND=">=app-text/poppler-0.6.1 + virtual/motif + x11-libs/libX11 + x11-libs/libXpm" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${P}-poppler + +src_unpack() { + unpack ${A} + cd "${S}" + use nodrm && epatch "${FILESDIR}"/${P}-poppler-nodrm.patch +} + +src_install() { + dobin xpdf + doman xpdf.1 ${FILESDIR}/xpdfrc.5 + insinto /etc + newins ${FILESDIR}/sample-xpdfrc xpdfrc + dodoc README ANNOUNCE CHANGES + + use linguas_ar && install_lang arabic + 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 -r *.unicodeMap *ToUnicode CMap +} |