diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2004-09-22 12:29:55 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2004-09-22 12:29:55 +0000 |
commit | fbc5223cdfc67b097ddcd926b26da0b5f4971cc0 (patch) | |
tree | c2d82ba6a49a998f78dbd4e1cc5826e9387ff0fd /app-text | |
parent | Removing all things midgard per Mr_Bones_ (diff) | |
download | gentoo-2-fbc5223cdfc67b097ddcd926b26da0b5f4971cc0.tar.gz gentoo-2-fbc5223cdfc67b097ddcd926b26da0b5f4971cc0.tar.bz2 gentoo-2-fbc5223cdfc67b097ddcd926b26da0b5f4971cc0.zip |
add browser plugin
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/acroread/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/acroread/Manifest | 10 | ||||
-rw-r--r-- | app-text/acroread/acroread-5.09-r1.ebuild | 89 | ||||
-rw-r--r-- | app-text/acroread/files/digest-acroread-5.09-r1 | 1 |
4 files changed, 102 insertions, 5 deletions
diff --git a/app-text/acroread/ChangeLog b/app-text/acroread/ChangeLog index 71044ee7c2de..d4416a7bd1c4 100644 --- a/app-text/acroread/ChangeLog +++ b/app-text/acroread/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/acroread # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.35 2004/08/29 23:43:24 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.36 2004/09/22 12:29:55 lanius Exp $ + +*acroread-5.09-r1 (22 Sep 2004) + + 22 Sep 2004; Heinrich Wendel <lanius@gentoo.org> +acroread-5.09-r1.ebuild: + add browser plugin 30 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> acroread-5.09.ebuild: Fixed BUG #62110. Many thx to Evgeny Strambulchik. diff --git a/app-text/acroread/Manifest b/app-text/acroread/Manifest index 2039f1c3d716..15ac47041f83 100644 --- a/app-text/acroread/Manifest +++ b/app-text/acroread/Manifest @@ -1,9 +1,11 @@ -MD5 a4290109433dca0a9c45d67f2b07f26b ChangeLog 6432 +MD5 53e47820eed1a31783d28e464dd246ad acroread-5.09-r1.ebuild 2279 +MD5 9e36ef1a47e8b93851a7f7f8f31f2190 acroread-5.09.ebuild 2142 MD5 29ac81e75bd6c9aca2f2eba0cb283862 acroread-5.08.ebuild 1855 +MD5 a4290109433dca0a9c45d67f2b07f26b ChangeLog 6432 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 -MD5 9e36ef1a47e8b93851a7f7f8f31f2190 acroread-5.09.ebuild 2142 +MD5 d07d371ff58563e7bf7b27b71625694d files/digest-acroread-5.08 62 +MD5 b27aee5f7e9cf1c2026531792e263b1c files/digest-acroread-5.09 62 +MD5 b27aee5f7e9cf1c2026531792e263b1c files/digest-acroread-5.09-r1 62 MD5 79e83cb62b3ccd74eda3b43c98586688 files/10acroread5 42 MD5 d1913102144d46de313e7c837173b702 files/acroread 1094 MD5 214e109f3ab4079ca6caac38b9e17534 files/acroread-utf8-gentoo.diff 488 -MD5 d07d371ff58563e7bf7b27b71625694d files/digest-acroread-5.08 62 -MD5 b27aee5f7e9cf1c2026531792e263b1c files/digest-acroread-5.09 62 diff --git a/app-text/acroread/acroread-5.09-r1.ebuild b/app-text/acroread/acroread-5.09-r1.ebuild new file mode 100644 index 000000000000..6d29e4c82a1e --- /dev/null +++ b/app-text/acroread/acroread-5.09-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-5.09-r1.ebuild,v 1.1 2004/09/22 12:29:55 lanius Exp $ + +inherit nsplugins eutils + +MY_P=linux-${PV/./} +S=${WORKDIR} +DESCRIPTION="Adobe's PDF reader" +SRC_URI="ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/${MY_P}.tar.gz" +HOMEPAGE="http://www.adobe.com/products/acrobat/" +IUSE="cjk noplugin" + +SLOT="0" +LICENSE="Adobe" +KEYWORDS="-* ~x86 ~amd64" + +RESTRICT="nostrip" +DEPEND="virtual/libc + >=sys-apps/sed-4" +RDEPEND="cjk? ( media-fonts/acroread-asianfonts ) + amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.2-r1 )" + +INSTALLDIR=/opt/Acrobat5 + +pkg_setup() { + if [ ! `use noplugin` ]; then + einfo + einfo "gtk2 USE flag can cause a slowdown in Mozilla's performance" + einfo "especially when using the acroread plugin to view a PDF file." + einfo + fi +} + +src_compile() { + + tar -xvf LINUXRDR.TAR --no-same-owner + tar -xvf COMMON.TAR --no-same-owner + + sed -e "s:REPLACE_ME:${INSTALLDIR}/Reader:" \ + bin/acroread.sh > acroread + + #epatch ${FILESDIR}/acroread-utf8-gentoo.diff + + # Workaround till lib symlinks change from lib64 to lib32 + # Danny van Dyk <kugelfang@gentoo.org> 2004/08/30 + if use amd64 ; then + sed -i -e "s:^install_dir:export XLOCALEDIR=/usr/X11R6/lib32/X11/locale/\n&:1" acroread + fi +} + +src_install() { + + dodir ${INSTALLDIR} + DIRS="Reader Resource" + !(use noplugin) && DIRS="${DIRS} Browsers" + for i in ${DIRS} + do + if [ -d ${i} ] ; then + chown -R --dereference root:root ${i} + cp -Rd ${i} ${D}${INSTALLDIR} + fi + done + + sed -i \ + -e "s:\$PROG =.*:\$PROG = '${INSTALLDIR}/acroread.real':" \ + acroread || die "sed acroread failed" + + exeinto ${INSTALLDIR} + doexe acroread + dodoc README LICREAD.TXT + + if [ ! `use noplugin` ]; then + dodir /opt/netscape/plugins + dosym ${INSTALLDIR}/Browsers/intellinux/nppdf.so /opt/netscape/plugins + inst_plugin ${INSTALLDIR}/Browsers/intellinux/nppdf.so + fi + + #dynamic environment by T.Henderson@cs.ucl.ac.uk (Tristan Henderson) + dodir /etc/env.d + echo -e "PATH=${INSTALLDIR}\nROOTPATH=${INSTALLDIR}" > \ + ${D}/etc/env.d/10acroread5 + +} + +pkg_postinst () { + # fix wrong directory permissions (bug #25931) + find ${INSTALLDIR} -type d | xargs chmod 755 || die +} diff --git a/app-text/acroread/files/digest-acroread-5.09-r1 b/app-text/acroread/files/digest-acroread-5.09-r1 new file mode 100644 index 000000000000..e7c50e00678e --- /dev/null +++ b/app-text/acroread/files/digest-acroread-5.09-r1 @@ -0,0 +1 @@ +MD5 53b7ca0fc83ab81214ba82050ce89c64 linux-509.tar.gz 9284358 |