Version: debian 4:3.5.5a.dfsg.1-6etch1 (using KDE KDE 3.5.5) Installed from: Debian stable Packages Compiler: AMD64 OS: Linux On April 9th, someone changed the netscape plugin sdk file npapi.h was changed to the mozilla ones (revision 665076) without reporting the changes necessary to make it work on amd64. In particular the line 190: #if defined(__alpha) || defined(_AIX) || defined(__x86_64__) || defined(__LP64__) became #if defined(__alpha) which leads to defining type uint32 as a 64 bit integer. See http://websvn.kde.org/branches/KDE/3.5/kdebase/nsplugins/sdk/npapi.h?r1=651942&r2=665076 As a result, nspluginviewer calls the plugins with incorrect data structures on all 64 bit platforms other than alpha. Most of them crash in NPP_SetWindow without displaying anything. Solution #1: Make sure all changes to npapi.h prior to revision 665076 are copied into the newer mozilla version. Solution #2: Do not use ancient version of npapi.h. Modern versions of npapi.h contain the right stuff. See http://lxr.mozilla.org/seamonkey/source/modules/plugin/base/public/npapi.h
svn tells that Lubos did that change.
Incidentally the djvulibre project is now using the modern versions of npapi.h and friends. This is not completely obvious because the jri.h file depends on countless mozilla headers. But we can replace this file with a stub containing incomplete type definitions. Hardly a problem since npruntime.h is a superior alternative to jri anyway... See <http://djvu.cvs.sourceforge.net/djvu/djview/nsdejavu/npsdk/> Feel free to copy whatever you wish. - L.
SVN commit 719539 by lunakl: Put back r651938 (proper bit width for 32bit types). BUG: 150241 M +6 -6 npapi.h WebSVN link: http://websvn.kde.org/?view=rev&revision=719539