head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.84 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.82 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.80 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.78 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.76 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.74 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.72 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.70 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.68 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.66 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.64 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.62 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.60 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.58 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.56 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.54 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.52 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.50 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.48 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.46 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.44 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.42 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.40 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.36 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.16 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.38 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.34 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.32 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.30 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.28 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.26 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.24 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.22 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.20 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.18 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.14 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.12 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.10 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.8 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.6 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.4 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.2 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.4.0.28 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.26 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.24 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.22 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.20 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.18 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.16 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.14 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.12 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.10 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.8 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.6 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.4 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.2 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.3.0.10 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.8 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.6 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.4 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.2 pkgsrc-2011Q1-base:1.3 pkgsrc-2009Q4:1.2.0.16 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.14 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.12 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.10 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.8 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.6 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.4 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.2 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.1.0.4 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.2 pkgsrc-2007Q1-base:1.1; locks; strict; comment @# @; 1.5 date 2015.10.24.06.30.40; author tsutsui; state Exp; branches; next 1.4; commitid YYk0Ymprb0iPkkGy; 1.4 date 2012.05.03.06.09.55; author wiz; state Exp; branches; next 1.3; 1.3 date 2011.01.20.13.06.15; author pooka; state Exp; branches; next 1.2; 1.2 date 2007.09.09.17.06.04; author xtraeme; state dead; branches; next 1.1; 1.1 date 2007.04.02.22.38.44; author abs; state Exp; branches; next ; desc @@ 1.5 log @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) @ text @$NetBSD: patch-ac,v 1.3 2011/01/20 13:06:15 pooka Exp $ --- src/npw-viewer.sh.orig 2008-12-14 12:24:19.000000000 +0100 +++ src/npw-viewer.sh @@@@ -83,6 +83,13 @@@@ NPW_USE_VALGRIND=${NPW_USE_VALGRIND:-no} can_use_valgrind="no" +case $OS in +freebsd|netbsd) + # preset LD_PRELOAD is most likely for the native emul + unset LD_PRELOAD + ;; +esac + if test "$ARCH" != "$TARGET_ARCH"; then case $TARGET_ARCH in i386) @ 1.4 log @Fix build with glib-2.32. @ text @d4 4 a7 4 +++ src/npw-viewer.sh 2011-01-19 12:20:26.000000000 +0100 @@@@ -40,6 +40,13 @@@@ ;; esac d10 1 a10 1 +FreeBSD|NetBSD) @ 1.3 log @Unset any predefined LD_PRELOAD before executing npviewer.bin (emul conflict). This makes flash work in firefox run with a rumphijack tcp/ip stack. ok abs (maintainer) @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 0.9.91.5: [2007/08/26] nspluginwrapper 0.9.91.5 Fix a memory leak in NPP_Destroy() Fix DiamondX XEmbed example plugin Fix focus problems (Debian bug #435912) Add support for 64-bit plugins (Martin Stransky) Add support for newer NPAPI 0.17 functions and variables Add support for broken 64-bit Konqueror versions (run-time detect) [2007/04/03] nspluginwrapper 0.9.91.4 Dont try to wrap native plugins Fix build on NetBSD (David Brownlee) Fix build on DragonFlyBSD (Steve OHara-Smith) Fix build on Linux systems with SSP enabled by default (Kristian Hermansen) @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2007/04/02 22:38:44 abs Exp $ d3 16 a18 31 --- ./src/npw-config.c.orig 2007-04-01 16:28:47.000000000 +0100 +++ ./src/npw-config.c @@@@ -124,6 +124,14 @@@@ static const char *get_system_mozilla_pl }; dirs = freebsd_dirs; } +#elif defined(__DragonFly__) + { + static const char *dragonfly_dirs[] = { + "/usr/pkg/" LIB "/mozilla/plugins", + "/usr/pkg/" LIB "/firefox/plugins", + }; + dirs = dragonfly_dirs; + } #elif defined(__NetBSD__) { static const char *netbsd_dirs[] = { @@@@ -206,6 +214,13 @@@@ static const char **get_mozilla_plugin_d "/usr/local/lib/npapi/linux-flashplugin", "/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux", #endif +#if defined(__DragonFly__) + "/usr/pkg/lib/netscape/plugins", + "/usr/pkg/lib/firefox/plugins", + "/usr/pkg/lib/RealPlayer/mozilla", + "/usr/pkg/Acrobat5/Browsers/intellinux", + "/usr/pkg/Acrobat7/Browser/intellinux", +#endif #if defined(__NetBSD__) "/usr/pkg/lib/netscape/plugins", "/usr/pkg/lib/firefox/plugins", @ 1.1 log @Add patches from Steve O'Hara-Smith to enable build on DragonFlyBSD No change on other platforms, so skipped PKGREVISION bump. Steve has already fed the patches back to the author. Currently the package hardcodes some search paths from /usr/pkg - I have an sent a question to the author as to how he would best like to handle those in his framework. @ text @d1 1 a1 1 $NetBSD$ @