Some reasons for this: 1) I want to use Free Software (i.e., xpdf or gpdf) to view pdf files but sometimes I encounter a pdf file that works better with acroread, so I want acroread (standalone) installed on my system. 2) I want to use xpdf for viewing pdfs when I click on them in mozilla but I can't seem to set the mimetypes to allow me to do this while nppdf.so (from acroread) in installed. 3) +gtk2 mozilla with acroread plugin often slows mozilla to a crawl requiring a restart of mozilla. My ebuild uses a local use flag (noplugin) to stop nppdf.so from being installed (if I even install it in /opt/Acrobat5/... then mozilla will find it (presumably because of the PATH setting in /etc/env.d/10acroread5) even if the various symlinks are not created). There are several places marked with FIXME where I wasn't sure what to do. Maybe someone can comment...? See also bug 59593 which, when fixed, should be incorporated here.
Created attachment 36870 [details] new acroread ebuild with local use flag
Created attachment 37064 [details] updated version Cleaned up the logic a bit. Removed the FIXME comments. Still wondering if its ok to inherit nsplugins when noplugin is set.
please attach a patch instead of the complete ebuild
Created attachment 37771 [details, diff] diff -u of my ebuild against one in portage
thx, added