./www/nspluginwrapper, Use Netscape compatible plugins from other platforms

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.4.4, Package name: nspluginwrapper-1.4.4, Maintainer: tsutsui

nspluginwrapper is an Open Source compatibility plugin for Netscape
4 (NPAPI) plugins. It separates the execution environment of the
plugin from the browser, allowing a plugin compiled for one ABI to
be used in a browser compiled for another.

For example the linux 32bit Adobe Flash plugin can be used in a
native Firefox under Linux/x86_64, NetBSD, DragonFlyBSD and FreeBSD

To install the Linux flash player into a native Firefox browser:
- Also install multimedia/ns-flash and multimedia/libflashsupport
- Run "nspluginwrapper -i /usr/pkg/lib/netscape/plugins/libflashplayer.so"
- Run Firefox

You do not need nspluginwrapper if the ABI of the plugin and browser are the
same, such as running a 32 bit Linux firefox and flash plugin under NetBSD.

Required to run:
[www/curl] [devel/glib2] [x11/gtk2] [emulators/suse121_base] [emulators/suse121_x11] [emulators/suse121_gtk2]

Required to build:
[pkgtools/x11-links] [x11/compositeproto] [x11/glproto] [x11/renderproto] [x11/xproto] [x11/xf86vidmodeproto] [x11/xf86driproto] [x11/damageproto] [x11/inputproto] [x11/xextproto] [x11/randrproto] [x11/dri2proto] [x11/xcb-proto] [x11/fixesproto4]

Master sites: (Expand)

SHA1: ffb271a741215874808d4a77d0a0dd65588a8440
RMD160: 6acd93653aa8466e1e3703c2b794f32691c10d12
Filesize: 402.845 KB

Version history: (Expand)

CVS history: (Expand)

   2015-10-24 08:30:40 by Izumi Tsutsui | Files touched by this commit (7) | Package updated
Log message:
Update nspluginwrapper-1.4.4.

pkgsrc changes:
- use private Linux npviewer.bin binaries built by me (tsutsui@) on
  openSUSE 12.1 on 32 bit (i386) and 64 bit (x86_64) on VirtualBox
- enable EMUL_PLATFORMS=linux-x86_64 using the native 64 bit Linux
  npviewer.bin binary, which allows using 64 bit native adobe-flash-plugin
  on NetBSD/amd64 hosts
- also explicitly set EMUL_REQD= suse>=12.1 (NetBSD 6.x can use it anyway)
- tweak some pkgsrc ${PREFIX}
- update HOMEPAGE
- take maintainership

- major Linux distributions provided nspluginwrapper binaries to use
  the 32 bit plugin binaries without sources on their 64 bit systems,
  so there is no 64 bit wrapper binary (npviewer.bin) to use native 64 bit
  plugin binaries on other systems (like NetBSD) via binary emulation
- nowadays adobe provides 64 bit native adobe-flash-plugin11 binaries
  and NPAPI plugins are being deprecated by vendors, so I guess there is
  very few motivation to update nspluginwrapper project for Linux people
- Linux binaries in distfiles are built with following changes to
  make npviewer.bin works on non-Linux hosts:
 - configure with the following options, to enable "generic" RPC calls
   (The default Linux native binaries use their specific "anonymous \ 
  -  for i386:
     % ./configure --enable-generic
  - for x86_64:
     % ./configure --target-cpu=x86_64 --disable-biarch --enable-generic \ 
--enable-viewer --enable-player
 - disable USE_NPIDENTIFIER_CACHE in npviewer (as patch-src_npw-viewer.c),
   which doesn't seems tested with the "generic" RPC interfaces

OK from abs@, and no particular objection to PR pkg/49705 and pkgsrc-users@.
Also thanks to Onno van der Linden for his first analysis about
newer nspluginwrapper APIs in PR pkg/47208.

Upstream changes (in NEWS file):

Version 1.4.4 - 30.Jun.2011
* Fix crash in some cases when the number of watched file descriptors decreases

Version 1.4.2 - 04.Jun.2011
* Fix crash in WebKit/GTK when npwrapper.so is incorrectly treated as a plugin
* Fix symbol versioning issues with _Unwind_GetIPInfo on some systems
* Fix install process with parallel make

Version 1.4.0 - 15.May.2011
* Report capabilities over RPC to fix logic based on NULL plugin/browser hooks
* Fix initialization bug that causes Flash 10.3 to report a version of 0
* Implement ClearSiteData NPAPI extension for managing Flash LSOs
* Work around bug in Konqueror that prevents plug-ins from functioning properly

Version 1.3.2 (BETA) - 23.Apr.2011
* Work around lack of client-side windows in Flash
* Fix race condition when NPP_Destroy was called while viewer is busy
* Fix build on modern Linux platforms
* Support NPAPI 0.24, in particular, Flash can now query for private browsing
* Don't export any symbols but those necessary
* Support XEmbeding npplayer into another application
* Remove NPClass::HasMethod cache; it was incorrect
* Fix initializing two wrapped plugins with the same name in the same process
* Work around Qt bug that breaks npplayer when Kopete is installed
* Release implicit grabs before forwarding events to fix Flash context menu hang
* Work around Firefox quirk that broke windowless Flash in Firefox 4
* Bind wrapper and viewer event loops together to avoid many many race conditions
* Redesign NPRuntime bridge to avoid leaking proxy objects
* Incorportate release number into ident string so update works on distro patches

Version 1.3.0 (BETA) - 02.Jan.2009
* Don't poll for Xt events in Gtk (XEMBED) plug-ins
* Use 40 Hz timer for Xt events only when necessary (Xt input sources)
* Add NPIdentifier and NPClass::HasMethod caches, i.e. lower RPC traffic
* Add support for multiple viewer paths, see --viewer-paths=PATH-EXPR
* Add basic checks for malloc()'ed buffer underflow/overflow
* Add checks for single-threaded calls into the browser (NPN_*() functions)
   2015-04-25 16:25:26 by Tobias Nygren | Files touched by this commit (687) | Package updated
Log message:
Recursive revbump following MesaLib update, categories p through x.
   2014-05-05 02:48:38 by Ryo ONODERA | Files touched by this commit (1155)
Log message:
Recursive revbump from x11/pixman
Fix PR pkg/48777
   2014-02-13 00:18:57 by Matthias Scheler | Files touched by this commit (1568)
Log message:
Recursive PKGREVISION bump for OpenSSL API version bump.
   2013-10-12 14:39:15 by Thomas Klausner | Files touched by this commit (2)
Log message:
Link against libraries whose functions are used, don't depend on
them being pulled in by the linker.
   2013-10-10 16:42:40 by Ryo ONODERA | Files touched by this commit (1058)
Log message:
Recursive revbump from pango-1.36.0
   2013-09-02 21:51:33 by Adam Ciarcinski | Files touched by this commit (1071) | Package updated
Log message:
Revbump after cairo update
   2013-06-06 14:55:24 by Thomas Klausner | Files touched by this commit (1687) | Package updated
Log message:
Bump PKGREVISION for libXft changes for NetBSD native X support on
NetBSD 6, requested by tron.