summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-05-14 18:27:56 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-05-14 18:27:56 +0000
commite77aa65a6512898b503626c0d2ec3443da979158 (patch)
tree14a87f6ceffa38b4d89a78a6a50bf4152658437e /app-text/acroread
parentcorrect license (bug #92572) (diff)
downloadhistorical-e77aa65a6512898b503626c0d2ec3443da979158.tar.gz
historical-e77aa65a6512898b503626c0d2ec3443da979158.tar.bz2
historical-e77aa65a6512898b503626c0d2ec3443da979158.zip
New version thanks to Martin Adler <martin.adler@gmx.net> in bug 88956
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'app-text/acroread')
-rw-r--r--app-text/acroread/ChangeLog8
-rw-r--r--app-text/acroread/Manifest18
-rw-r--r--app-text/acroread/acroread-7.0.0.2.ebuild77
-rw-r--r--app-text/acroread/files/digest-acroread-7.0.0.21
4 files changed, 90 insertions, 14 deletions
diff --git a/app-text/acroread/ChangeLog b/app-text/acroread/ChangeLog
index e59b297ef43f..38cf3e6a775b 100644
--- a/app-text/acroread/ChangeLog
+++ b/app-text/acroread/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/acroread
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.50 2005/03/28 15:54:53 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.51 2005/05/14 18:27:56 genstef Exp $
+
+*acroread-7.0.0.2 (14 May 2005)
+
+ 14 May 2005; Stefan Schweizer <genstef@gentoo.org>
+ +acroread-7.0.0.2.ebuild:
+ New version thanks to Martin Adler <martin.adler@gmx.net> in bug 88956
28 Mar 2005; Mamoru KOMACHI <usata@gentoo.org> acroread-5.10.ebuild,
acroread-7.0.ebuild:
diff --git a/app-text/acroread/Manifest b/app-text/acroread/Manifest
index 6a9282306651..19296e5e6322 100644
--- a/app-text/acroread/Manifest
+++ b/app-text/acroread/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 33972bbf193965121b3b9f45f0da614d ChangeLog 8593
-MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
-MD5 5b5f9119fe3b2a9644cd0730e9ed9ded acroread-5.10.ebuild 2488
MD5 941cef678a8716928d50825cc5ebcbf4 acroread-7.0.ebuild 2242
+MD5 5b5f9119fe3b2a9644cd0730e9ed9ded acroread-5.10.ebuild 2488
+MD5 5e50e42bc0f54eaf552b0e8d4dd43359 acroread-7.0.0.2.ebuild 2192
+MD5 cc8b9d2a102bdf0dddfd803fa73801c9 ChangeLog 8783
+MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
MD5 d0981fc5a58874b78a6f2a2b73d3e43d files/digest-acroread-5.10 63
+MD5 a0a63a0ea609625aa0bfe86919510102 files/digest-acroread-7.0.0.2 79
MD5 c54a04836864a99a8792ef5817a968c1 files/digest-acroread-7.0 73
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCSCZ5VWNWqTUmv+0RAhIqAJ4hU2a/zNdWP3kDNiXyweJrYzdTNACeJ65A
-Wve5Ew2NO6P/0epYmhE9FuI=
-=k59L
------END PGP SIGNATURE-----
diff --git a/app-text/acroread/acroread-7.0.0.2.ebuild b/app-text/acroread/acroread-7.0.0.2.ebuild
new file mode 100644
index 000000000000..c20992fa00dd
--- /dev/null
+++ b/app-text/acroread/acroread-7.0.0.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-7.0.0.2.ebuild,v 1.1 2005/05/14 18:27:56 genstef Exp $
+
+inherit nsplugins eutils rpm versionator
+
+DESCRIPTION="Adobe's PDF reader"
+HOMEPAGE="http://www.adobe.com/products/acrobat/"
+SRC_URI="ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/AdobeReader_enu-$(replace_version_separator 3 "-").i386.rpm"
+LICENSE="Adobe"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+IUSE="noplugin ldap cjk"
+RESTRICT="nostrip"
+
+RDEPEND="virtual/libc
+ !amd64? ( ldap? ( net-nds/openldap ))
+ amd64? ( >=app-emulation/emul-linux-x86-gtklibs-1.2-r1 )"
+PDEPEND="cjk? ( =media-fonts/acroread-asianfonts-7.0* )"
+PROVIDE="virtual/pdfviewer"
+
+INSTALLDIR=/opt/Acrobat7
+
+S=${WORKDIR}/usr/local/Adobe/Acrobat7.0
+
+# x86 binary package, ABI=x86
+# Danny van Dyk <kugelfang@gentoo.org> 2005/03/25
+has_multilib_profile && ABI="x86"
+
+src_install() {
+ local i
+
+ cp Resource/Support/AdobeReader_KDE.desktop AdobeReader.desktop
+ domenu AdobeReader.desktop
+ doicon Resource/Icons/AdobeReader.png
+
+ dodir ${INSTALLDIR}
+ DIRS="Reader Resource"
+ for i in ${DIRS}
+ do
+ if [ -d ${i} ] ; then
+ chown -R --dereference root:root ${i}
+ mv ${i} ${D}${INSTALLDIR}
+ fi
+ done
+
+ exeinto ${INSTALLDIR}
+ doexe bin/acroread || die "doexe failed"
+ dodoc README LICREAD.TXT Browser/Browser_Plugin_HowTo.txt
+
+ if ! use noplugin ; then
+ exeinto /opt/netscape/plugins
+ doexe Browser/intellinux/nppdf.so
+ inst_plugin /opt/netscape/plugins/nppdf.so
+ fi
+
+ if use amd64 ; then
+ # Work around buggy 32bit glibc on amd64, bug 77229
+ dosed "3i\export GCONV_PATH=\"/usr/lib32/gconv\"" ${INSTALLDIR}/acroread
+ fi
+
+ if use amd64 || ! use ldap ; then
+ rm ${D}${INSTALLDIR}/Reader/intellinux/plug_ins/PPKLite.api
+ fi
+
+ dodir /usr/bin
+ dosym ${INSTALLDIR}/acroread /usr/bin/acroread
+}
+
+pkg_postinst () {
+ # fix wrong directory permissions (bug #25931)
+ find ${INSTALLDIR} -type d | xargs chmod 755 || die
+
+ einfo "The Acrobat(TM) Security Plugin will be enabled with USE=ldap, it"
+ einfo "does not work with amd64 because there is no x86 ldap-emulation"
+ einfo "package available in portage."
+}
diff --git a/app-text/acroread/files/digest-acroread-7.0.0.2 b/app-text/acroread/files/digest-acroread-7.0.0.2
new file mode 100644
index 000000000000..0c755b9cb136
--- /dev/null
+++ b/app-text/acroread/files/digest-acroread-7.0.0.2
@@ -0,0 +1 @@
+MD5 386dd54cb91014f1e631764ba10deef7 AdobeReader_enu-7.0.0-2.i386.rpm 39263484