Bug 382527

Summary: firefox doesn't show/use acroread plugin nppdf.so
Product: [openSUSE] openSUSE 11.0 Reporter: Harald Koenig <koenig>
Component: X11 ApplicationsAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED DUPLICATE QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None CC: chrubis
Version: Beta 1   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Harald Koenig 2008-04-22 20:29:36 UTC
about:plugins in firefox doesn't show nppdf.so

opening a pdf file only offers "open wich Acroread" (which doesn't work either because of bug #382523)


firefox is 64 bit for x64_64, but /usr/lib/browser-plugins/nppdf.so is 32 bit only.  

is there any support for 32 bit plugins on 64 bit firefox ?

if not, will there be a firefox-32bit ?  

or how else can I view PDFs _in_ firefox ?  I really want to use acroread (after all it's _the_ standard...:-(  and xpdf/... are not an option IMHO.
Comment 1 JP Rosevear 2008-04-24 19:49:40 UTC
nspluginwrapper is what is used for 32bit plugins on 64bit platforms.
Comment 2 Harald Koenig 2008-04-24 21:09:30 UTC
(In reply to comment #1 from JP Rosevear)
> nspluginwrapper is what is used for 32bit plugins on 64bit platforms.

I tried

   nspluginwrapper -i /usr/lib/browser-plugins/nppdf.so

but I don't see how to set the correct mime type in for this wrapped plugin.
right now it looks like this and I still can't view PDFs:

NPAPI Plugins Wrapper 0.9.91.6-Pre (20071225)

    File name: npwrapper.so

MIME Type 	Description 	Suffixes 	Enabled
unknown/mime-type 	Do not open 	none 	Yes



in Edit -> Preferences -> Applications I can select the content type "application/pdf" but I don't know how to specify a plugin as action :-(


can you please give more hints?  thanks!!


IMHO this really should be pre-configured or the startup-script for firefox
might check/help if possible...
Comment 3 Stanislav Brabec 2008-04-25 10:13:59 UTC
I would expect, that this problem is only a side effect of bug 382523. If fixing of this will not help, it may be also bug 304963. And even then, it will not work completely, as we have bug 353503.
Comment 4 Harald Koenig 2008-04-28 12:24:16 UTC
(In reply to comment #3 from Stanislav Brabec)
> I would expect, that this problem is only a side effect of bug 382523. If
> fixing of this will not help, it may be also bug 304963. And even then, it will
> not work completely, as we have bug 353503.

indeed!!

I did a full

  strace -ffo  OF -s199 firefox http://www.tat.physik.uni-tuebingen.de/~koenig/diplom/seminar.pdf

and checked RPMs for all opened files for leftover RPMs from 10.x:

  grep -h ^open  OF*  |grep  -v " E" | cut -d\" -f2 | sort -u |  xargs rpm -qf 2> /dev/null | grep -v "is not owned by any package" | sort -u | tee OF.open-1|  xargs rpm -qi  |  tee  OF.open-1-rpms1 | egrep "^Name|^Dist" 2>&1 | tee  OF.open-1-rpms2 | grep -B1 " 10"
   

result:

-------------------------------------------------------------------------------
Name        : atk-32bit                    Relocations: (not relocatable)
Distribution: openSUSE 10.3 (i586)
--
Name        : java-1_4_2-sun               Relocations: (not relocatable)
Distribution: openSUSE 10.2 (i586)
--
Name        : libcom_err-32bit             Relocations: (not relocatable)
Distribution: openSUSE 10.2 (i586)
--
Name        : liboil0                      Relocations: (not relocatable)
Distribution: openSUSE 10.3 (x86_64)
--
Name        : libpng-32bit                 Relocations: (not relocatable)
Distribution: openSUSE 10.3 (i586)
-------------------------------------------------------------------------------


libpng-32bit is now called libpng12-32bit -- yast update should handle this
and update!

atk-32bit is now called libatk-1_0-0-32bit -- dito !

libcom_err-32bit is now called libcom_err2-32bit ...

liboil0 was from 11.0, but there was an old packman package too (but overwritten).


after updating those RPMs to 11.0-factory, I now see the acroread plugin
and viewing PDFs inline works -- great!

Comment 5 Stanislav Brabec 2008-04-28 13:08:20 UTC
Thanks. Closing as duplicate.

*** This bug has been marked as a duplicate of bug 382523 ***