pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/nspluginwrapper Make npplayer search default pkgsr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be2874bac6df
branches:  trunk
changeset: 353864:be2874bac6df
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Sat Oct 15 15:18:01 2016 +0000

description:
Make npplayer search default pkgsrc dirs.

Now npplayer works without MOZ_PLUGIN_PATH env as
/usr/pkg/lib/nspluginwrapper/i386/netbsd/npplayer \
 src=https://helpx.adobe.com/content/dam/help/en/flash-player/assets/flash_tree.swf
etc.

Bump PKGREVISION.

XXX: probably we should move the default dir for adobe-flash-plugins11
     from historical ${PREFIX}/lib/netscape to ${PREFIX}/lib/mozilla

diffstat:

 www/nspluginwrapper/Makefile                       |   4 +-
 www/nspluginwrapper/distinfo                       |   3 +-
 www/nspluginwrapper/patches/patch-src_npw-player.c |  26 ++++++++++++++++++++++
 3 files changed, 30 insertions(+), 3 deletions(-)

diffs (59 lines):

diff -r a1fafdb67c6a -r be2874bac6df www/nspluginwrapper/Makefile
--- a/www/nspluginwrapper/Makefile      Sat Oct 15 15:17:32 2016 +0000
+++ b/www/nspluginwrapper/Makefile      Sat Oct 15 15:18:01 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.51 2016/10/07 18:26:12 adam Exp $
+# $NetBSD: Makefile,v 1.52 2016/10/15 15:18:01 tsutsui Exp $
 #
 
 DISTNAME=      nspluginwrapper-1.4.4
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    www
 MASTER_SITES=  http://nspluginwrapper.org/download/ \
                http://teokurebsd.org/netbsd/packages/distfiles/nspluginwrapper/
diff -r a1fafdb67c6a -r be2874bac6df www/nspluginwrapper/distinfo
--- a/www/nspluginwrapper/distinfo      Sat Oct 15 15:17:32 2016 +0000
+++ b/www/nspluginwrapper/distinfo      Sat Oct 15 15:18:01 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2016/09/17 19:02:52 tsutsui Exp $
+$NetBSD: distinfo,v 1.15 2016/10/15 15:18:01 tsutsui Exp $
 
 SHA1 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = cc093d1c6d6729434ec90e216afeae1601e0b3b4
 RMD160 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = a9d79dcd31efc4b1a9b71e29694eff9c8555b10d
@@ -16,4 +16,5 @@
 SHA1 (patch-ab) = 20dc1b6ff4036a0946dd469860eb9b6c129fdb7a
 SHA1 (patch-ac) = 87cb838f6b203947d9efc4350313e410d06d486e
 SHA1 (patch-src_npw-config-template.h) = 01af56f639ce88f7896fb733107bb4436cd299a5
+SHA1 (patch-src_npw-player.c) = c054f19e7067aafee347e0398673345fe56ae12e
 SHA1 (patch-src_npw-viewer.c) = eb8855ae6d1015eb7627ada5c39af5e0d80f0e75
diff -r a1fafdb67c6a -r be2874bac6df www/nspluginwrapper/patches/patch-src_npw-player.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nspluginwrapper/patches/patch-src_npw-player.c        Sat Oct 15 15:18:01 2016 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_npw-player.c,v 1.3 2016/10/15 15:18:01 tsutsui Exp $
+
+- add and use proper pkgsrc libdir.
+
+--- src/npw-player.c.orig      2011-07-01 03:18:57.000000000 +0000
++++ src/npw-player.c
+@@ -2012,12 +2012,17 @@ get_plugin_dirs (void)
+     }
+ 
+   path = g_build_filename
+-    (G_DIR_SEPARATOR_S "usr", "lib", "mozilla", "plugins", NULL);
++    (G_DIR_SEPARATOR_S LIBDIR, "mozilla", "plugins", NULL);
+   dirs = g_list_prepend_if_path_exists (dirs, path);
+   g_free (path);
+ 
+   path = g_build_filename
+-    (G_DIR_SEPARATOR_S "usr", "lib", "browser", "plugins", NULL);
++    (G_DIR_SEPARATOR_S LIBDIR, "browser", "plugins", NULL);
++  dirs = g_list_prepend_if_path_exists (dirs, path);
++  g_free (path);
++
++  path = g_build_filename
++    (G_DIR_SEPARATOR_S LIBDIR, "netscape", "plugins", NULL);
+   dirs = g_list_prepend_if_path_exists (dirs, path);
+   g_free (path);
+ 



Home | Main Index | Thread Index | Old Index