Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36870 Details for
Bug 59594
acroread ebuild without browser plugin
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new acroread ebuild with local use flag
acroread-5.09-r1.ebuild (text/plain), 2.25 KB, created by
Colin Macdonald
on 2004-08-06 02:11:31 UTC
(
hide
)
Description:
new acroread ebuild with local use flag
Filename:
MIME Type:
Creator:
Colin Macdonald
Created:
2004-08-06 02:11:31 UTC
Size:
2.25 KB
patch
obsolete
># 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.ebuild,v 1.3 2004/07/01 11:55:47 eradicator Exp $ > ># FIXME: I don't know what to do with this (i.e., can you wrap ># inherit inside conditionals?) >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" > >RESTRICT="nostrip" >DEPEND="virtual/libc > >=sys-apps/sed-4" >RDEPEND="cjk? ( media-fonts/acroread-asianfonts )" > >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 >} > >src_install() { > > dodir ${INSTALLDIR} > for i in Reader Resource > do > if [ -d ${i} ] ; then > chown -R --dereference root:root ${i} > cp -Rd ${i} ${D}${INSTALLDIR} > fi > done > if [ ! `use noplugin` ]; then > for i in Browsers > do > if [ -d ${i} ] ; then > chown -R --dereference root:root ${i} > cp -Rd ${i} ${D}${INSTALLDIR} > fi > done > fi > > 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 > # FIXME: this inst_plugin command below the env.d stuff below > # is it ok to move it up here? > 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 > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 59594
:
36870
|
37064
|
37771