Re: [gentoo-user] Managing FF/TB plugins in Gentoo
On 9/18/05, Christoph Gysin <[EMAIL PROTECTED]> wrote: Kevin O'Gorman wrote:> I've just had a look at FireFox about:plugins and I'm both worried and> confused.> No surprise there; it happens a lot when I peek under the covers. :o)>> There are two versions of the Java plugin listed, with the same > libjavaplugin_oji.so> filename. The latest is Java 1.5.0_04b05.>> There are two versions of Flash listed, also with one and the same filename:> libflashplayer.so.Don't know how this happend. You can check where they come from with: $ locate libflashplayer.so or without slocate installed That produces treat ~ # slocate libflashplayer.so /home/kevin/.mozilla/plugins/libflashplayer.so /home/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so /home/kevin/.netscape/plugins/libflashplayer.so /home/kevin/Plugins/install_flash_player_6_linux/libflashplayer.so /home/kevin/Gentoo/install_flash_player_7_linux/libflashplayer.so /u01/RH_HOMES/kevin/.netscape/plugins/libflashplayer.so /u01/RH_HOMES/kevin/.mozilla/plugins/libflashplayer.so /u01/RH_HOMES/kevin/plugins/install_flash_player_6_linux/libflashplayer.so /u01/RH_HOMES/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so /usr/lib/nsbrowser/plugins/libflashplayer.so /oldroot/usr/lib/nsbrowser/plugins/libflashplayer.so treat ~ # Some of these clearly have to do with old releases and distros. I should clean up my act. $ find / -name libflashplayer.so This does somewhat the same: treat ~ # find / -name libflashplayer.so /home/kevin/.mozilla/plugins/libflashplayer.so /home/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so /home/kevin/.netscape/plugins/libflashplayer.so /home/kevin/Plugins/install_flash_player_6_linux/libflashplayer.so /home/kevin/Gentoo/install_flash_player_7_linux/libflashplayer.so /u01/RH_HOMES/kevin/.netscape/plugins/libflashplayer.so /u01/RH_HOMES/kevin/.mozilla/plugins/libflashplayer.so /u01/RH_HOMES/kevin/plugins/install_flash_player_6_linux/libflashplayer.so /u01/RH_HOMES/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so /usr/lib/nsbrowser/plugins/libflashplayer.so /oldroot/usr/lib/nsbrowser/plugins/libflashplayer.so Perhaps you loaded an old version from /home/user/.mozilla/plugins ? I have no idea what the history is. I've been doing this for a long time, and don't keep records of everything that gets installed. > Also: I would like the Adobe Acrobat plugin, but> 1) I don't see it in 'eix' or 'emerge -s'. > 2) The instructions for installing from an existing Acrobat install are> not effective> with the portage-installed acrobat.I don't know what you're referring to here, but this should do the trick: # mkdir -p /etc/portage/# echo app-text/acroread nsplugin >> /etc/portage/package.use# emerge -avt acroread Thanks. I'll try that. Christoph--echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]--gentoo-user@gentoo.org mailing list-- Kevin O'Gorman, PhD
Re: [gentoo-user] Managing FF/TB plugins in Gentoo
On Sat, Sep 17, 2005 at 10:16:11AM -0700, Kevin O'Gorman wrote > There are two versions of the Java plugin listed, with the same > libjavaplugin_oji.so filename. The latest is Java 1.5.0_04b05. > > There are two versions of Flash listed, also with one and the same > filename: libflashplayer.so. > > The crux: are there really two versions installed? Should I clean > this up? If so, how? Is this a Gentoo portage artifact, or does > this happen in other distros as well? I noticed recently that there are now two plugin directories, namely /usr/lib/nsbrowser/plugins and /usr/lib/mozilla-firefox/plugins I assume that the "nsbrowser" directory is a holdover from the old days of Netscape 4.x. I would suggest... 1) Close Firefox 2) su - (or login as root on another tty) 2) *MAKE SURE TO COPY OVER ANY PLUGINS FROM THE nsbrowser DIRECTORY THAT AREN'T DUPLICATED IN THE mozilla-firefox DIRECTORY* 3) Rename /usr/lib/nsbrowser/plugins to /usr/lib/nsbrowser/oldplugins and log out of root 4) Restart Firefox. You should have one copy of each plugin. If things go OK, you can remove the "oldplugins" directory later. > Also: I would like the Adobe Acrobat plugin, but > 1) I don't see it in 'eix' or 'emerge -s'. > 2) The instructions for installing from an existing Acrobat install > are not effective with the portage-installed acrobat. According to http://plugindoc.mozdev.org/linux.html#Acrobat 1. Install Adobe Reader. 2. Create a symbolic link to nppdf.so to your Mozilla plugins directory. 3. Ensure a copy of acroread is in your PATH. You've already done step 1. Next... - close Firefox - su - or log in as root - execute "find / -name nppdf.so" (without the quotes) - ln -s full_path_to_nppdf.so /usr/lib/nsbrowser/oldplugins/ *NOTE* replace "full_path_to_nppdf.so" with the actual full path and file name - log out of root and start Firefox > Alternatively, Adobe Reader 7.0 includes a script for installing the > browser plugin. This script is installed at the following location > by default: > > /usr/local/Adobe/Acrobat7.0/Browser/install_browser_plugin Of course, it'll likely be in a different location in Gentoo. As root execute the command... find / -name install_browser_plugin and that should tell you where it is. I'm not giving you the location, because I don't have Adobe installed, so I don't know where files are kept. Adobe's a bleeping pain in the rear with a significant chunk of screen space taken up by useless toolbars and outright advertising. I use xpdf as a "helper-application". I like its minimalist look. It's a pdf-viewer that concentrates on... *VIEWING A PDF*. What a novel idea! -- Walter Dnes <[EMAIL PROTECTED]> My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Managing FF/TB plugins in Gentoo
Kevin O'Gorman wrote: I've just had a look at FireFox about:plugins and I'm both worried and confused. No surprise there; it happens a lot when I peek under the covers. :o) There are two versions of the Java plugin listed, with the same libjavaplugin_oji.so filename. The latest is Java 1.5.0_04b05. There are two versions of Flash listed, also with one and the same filename: libflashplayer.so. Don't know how this happend. You can check where they come from with: $ locate libflashplayer.so or without slocate installed $ find / -name libflashplayer.so Perhaps you loaded an old version from /home/user/.mozilla/plugins ? Also: I would like the Adobe Acrobat plugin, but 1) I don't see it in 'eix' or 'emerge -s'. 2) The instructions for installing from an existing Acrobat install are not effective with the portage-installed acrobat. I don't know what you're referring to here, but this should do the trick: # mkdir -p /etc/portage/ # echo app-text/acroread nsplugin >> /etc/portage/package.use # emerge -avt acroread Christoph -- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list