Bug 756950 - Missing djview4 NPAPI plug-in
Summary: Missing djview4 NPAPI plug-in
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: djview4
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Terje Røsten
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-25 09:30 UTC by Petr Pisar
Modified: 2011-12-10 20:00 UTC (History)
1 user (show)

Fixed In Version: djview4-4.8-5.fc16
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-10 19:31:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2011-11-25 09:30:25 UTC
djview4 sources contain plug-in for NPAPI compatible browsers (e.g. Firefox). Current build in F16 does not contains it.

Please build NPAPI plug-in when building djview4. I think a sub-package would be most appropriate for it.

Comment 1 Terje Røsten 2011-11-28 12:39:51 UTC
Thanks for your report.

Comment 2 Terje Røsten 2011-11-28 12:41:48 UTC
Do know the status of this plugin? 

I did a build, however did not seem to work at all with firefox.

koji scratch build available for testing here:
  http://koji.fedoraproject.org/koji/taskinfo?taskID=3546094

Comment 3 Petr Pisar 2011-11-28 13:06:32 UTC
I use it in i686 Gentoo. I remember seeing some crashes on x86_64, but upstream could not reproduce it. I will try it in Fedora.

If I recall correctly, sources contains two implementations. One is old Netscape API, other is new NPAPI. As xulrunner has changed, the old one stopped to work, whereas the new one started.

If you provided spec file, I could try to tune it.

Comment 4 Terje Røsten 2011-11-28 13:12:28 UTC
Ok, great,  srpm (with spec) is available in koji:

 http://koji.fedoraproject.org/koji/getfile?taskID=3546095&name=djview4-4.8-3.fc17.src.rpm

Comment 5 Petr Pisar 2011-11-28 13:38:28 UTC
I recompiled it for F16, installed it, the plug-in appeared in Firefox about:plugins page, after accessing any DjVu file on the web I get this message on stderr:

djview: QDjViewPlugin::exec() begin
nsdejavu: using the XEmbed protocol.

and then the page displayed and It worked very well (printing `djview: paintEvent' messages to stderr on redraw).

I'm testing it on x86_64 F16 with enabled updates-testing repository. So everything is O.k. from my point of view.

Comment 6 Terje Røsten 2011-11-28 13:41:47 UTC
Ok, I will push a update then, thanks for help so far!

Comment 7 Fedora Update System 2011-11-28 13:57:35 UTC
djview4-4.8-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/djview4-4.8-3.fc16

Comment 8 Fedora Update System 2011-11-28 13:57:43 UTC
djview4-4.8-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/djview4-4.8-3.fc14

Comment 9 Fedora Update System 2011-11-28 13:57:52 UTC
djview4-4.8-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/djview4-4.8-3.fc15

Comment 10 Fedora Update System 2011-11-29 00:08:01 UTC
Package djview4-4.8-3.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing djview4-4.8-3.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16501/djview4-4.8-3.fc14
then log in and leave karma (feedback).

Comment 11 Petr Pisar 2011-11-29 08:19:17 UTC
Something is wrong with the official build from Koji (djview4-plugin-4.8-3.fc16.x86_64). The plug-in or the viewer terminates with following error message:

djview: QDjViewPlugin::exec() begin
nsdejavu: using the Xt protocol.
Error: Couldn't find per display information
djview: QDjViewPlugin::exec() end code=0
WARNING: waitpid failed pid:3021 errno:10: file /builddir/build/BUILD/xulrunner-8.0/mozilla-release/ipc/chromium/src/base/process_util_posix.cc, line 237
WARNING: waitpid failed pid:3021 errno:10: file /builddir/build/BUILD/xulrunner-8.0/mozilla-release/ipc/chromium/src/base/process_util_posix.cc, line 237
WARNING: Failed to deliver SIGKILL to 3021!(3).: file /builddir/build/BUILD/xulrunner-8.0/mozilla-release/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc, line 162

The big difference against my local build I tested yesterday is the protocol. It should use XEmbed, but it crashes within Xt which does not work properly with recent Firefox.

Comment 12 Terje Røsten 2011-11-29 09:15:44 UTC
Better luck with the -4 build?

  https://admin.fedoraproject.org/updates/FEDORA-2011-16556/djview4-4.8-4.fc16

Comment 13 Petr Pisar 2011-11-29 09:31:31 UTC
No, this has the same Xt problem. I think the --enable-npdjvu is the correct option, but for not yet known reason the build in Koji produces the NS plugins (using Xt) instead of NP (which uses XEmbed and is the reason why NP works) as  local build.

Comment 14 Petr Pisar 2011-11-29 09:33:16 UTC
http://kojipkgs.fedoraproject.org/packages/djview4/4.8/3.fc16/data/logs/x86_64/build.log:

configure: WARNING: GLib not found. Compiling plugin without XEmbed.

I think this is the problem.

Comment 15 Fedora Update System 2011-11-29 18:10:22 UTC
djview4-4.8-5.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/djview4-4.8-5.fc16

Comment 16 Fedora Update System 2011-11-29 18:10:31 UTC
djview4-4.8-5.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/djview4-4.8-5.fc15

Comment 17 Fedora Update System 2011-11-29 18:10:40 UTC
djview4-4.8-5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/djview4-4.8-5.fc14

Comment 18 Terje Røsten 2011-11-29 18:13:29 UTC
Thanks, hopefully the -5 build will be okay.

Comment 19 Fedora Update System 2011-12-10 19:31:54 UTC
djview4-4.8-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2011-12-10 19:41:30 UTC
djview4-4.8-5.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2011-12-10 20:00:39 UTC
djview4-4.8-5.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.