View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/app-text/acroread/acroread-7.0.ebuild (-8 / +5 lines)
 Lines 9-25    Link Here 
SRC_URI="ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/${PV}/enu/AdbeRdr${PV/.}_linux_enu.tar.gz"
SRC_URI="ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/${PV}/enu/AdbeRdr${PV/.}_linux_enu.tar.gz"
LICENSE="Adobe"
LICENSE="Adobe"
SLOT="0"
SLOT="7"
KEYWORDS="-* ~x86 ~amd64"
KEYWORDS="-* ~x86 ~amd64"
IUSE="noplugin ldap"
IUSE="noplugin ldap cjk"
RESTRICT="nostrip"
RESTRICT="nostrip"
RDEPEND="virtual/libc
RDEPEND="virtual/libc
	!amd64? ( ldap? ( net-nds/openldap ))
	!amd64? ( ldap? ( net-nds/openldap ))
	cjk? ( =media-fonts/acroread-asianfonts-${PV} )
	amd64? ( >=app-emulation/emul-linux-x86-gtklibs-1.2-r1 )"
	amd64? ( >=app-emulation/emul-linux-x86-gtklibs-1.2-r1 )"
PROVIDE="virtual/pdfviewer"
PROVIDE="virtual/pdfviewer"
INSTALLDIR=/opt/Acrobat7
INSTALLDIR=/opt/Acrobat${SLOT}
S=${WORKDIR}/AdobeReader
S=${WORKDIR}/AdobeReader
 Lines 42-48    Link Here 
	for i in ${DIRS}
	for i in ${DIRS}
	do
	do
		if [ -d ${i} ] ; then
		if [ -d ${i} ] ; then
			chown -R --dereference root:root ${i}
			chown -R --dereference 0:0 ${i}
			mv ${i} ${D}${INSTALLDIR}
			mv ${i} ${D}${INSTALLDIR}
		fi
		fi
	done
	done
 Lines 74-83    Link Here 
	# fix wrong directory permissions (bug #25931)
	# fix wrong directory permissions (bug #25931)
	find ${INSTALLDIR} -type d | xargs chmod 755 || die
	find ${INSTALLDIR} -type d | xargs chmod 755 || die
	einfo "Asianfonts are not available separately for version 7 (yet)"
	einfo "The workaround for the time being is to copy the 'Resource' directory from"
	einfo "a windows machine with acrobat reader 7 and asian font support installed."
	einfo
	einfo "The Acrobat(TM) Security Plugin will be enabled with USE=ldap, it"
	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 "does not work with amd64 because there is no x86 ldap-emulation"
	einfo "package available in portage."
	einfo "package available in portage."