Subject: CVS commit: pkgsrc/www/nspluginwrapper
From: Izumi Tsutsui
Date: 2015-10-24 08:30:40
Message id: 20151024063040.C240698@cvs.netbsd.org

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

Note:
- 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
   http://nspluginwrapper.org/why.html
- 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 \ 
socket")
  -  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)

Files:
RevisionActionfile
1.47modifypkgsrc/www/nspluginwrapper/Makefile
1.5modifypkgsrc/www/nspluginwrapper/PLIST
1.12modifypkgsrc/www/nspluginwrapper/distinfo
1.5modifypkgsrc/www/nspluginwrapper/patches/patch-ac
1.1addpkgsrc/www/nspluginwrapper/patches/patch-src_npw-viewer.c
1.1removepkgsrc/www/nspluginwrapper/patches/patch-Makefile
1.1removepkgsrc/www/nspluginwrapper/patches/patch-src_npw-player.c