pkgsrc-Users archive

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

updating multimedia/ns-flash and sound problems



Hello,

after I've seen Juan RP's recent [1]commit to multimedia/ns-flash I
tried to build the package on a NetBSD/i386 4.99.34 system. This
initially failed because the distfile's checksum was out of date, and
building with NO_CHECKSUM=yes failed because the package doesn't contain
`flashplayer.xpt' (anymore?).

Not being sure how to proceed, I changed some files (see attached diff)
until building succeeded. However, I'm not sure whether ${FLASH_VERS}
should be 9.0r60 or 9.60r0, and I don't know what the package should
do with ${LOCALBASE}/lib/firefox/components/xpti.dat - the
`flashplayer-installer' script shipping with the distfile just removes
it.

Once the package was built and installed I started (native) firefox
(2.0.0.7), and indeed, I was able to watch flash movies on youtube!
But unfortunately there was no sound. Is this expected behaviour?


Regards, Jukka

[1] http://mail-index.netbsd.org/pkgsrc-changes/2007/12/16/0045.html

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
Index: multimedia/ns-flash/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/ns-flash/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- multimedia/ns-flash/Makefile        3 Dec 2007 13:55:33 -0000       1.26
+++ multimedia/ns-flash/Makefile        16 Dec 2007 18:49:47 -0000
@@ -39,7 +39,7 @@ DISTNAME=             install_flash_player_7_${DIST
 WRKNAME=               install_flash_player_7_${DISTUNAME}
 .else  # if ${EMUL_PLATFORM} == "linux-i386"
 # Defaults so lintpkgsrc is happy
-FLASH_VERS=            9.0r48
+FLASH_VERS=            9.0r60
 DISTUNAME=             linux
 DISTNAME=              install_flash_player_9_${DISTUNAME}
 WRKNAME=               install_flash_player_9_${DISTUNAME}
@@ -53,7 +53,6 @@ NS_PLUGINS_DIR=               ${PREFIX}/lib/netscape/
 
 do-install:
        ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
-       ${INSTALL_DATA} ${WRKSRC}/flashplayer.xpt ${NS_PLUGINS_DIR}
        ${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${NS_PLUGINS_DIR}
 
 .include "../../mk/bsd.pkg.mk"
Index: multimedia/ns-flash/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/ns-flash/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- multimedia/ns-flash/PLIST   5 Oct 2004 18:54:53 -0000       1.2
+++ multimedia/ns-flash/PLIST   16 Dec 2007 18:49:47 -0000
@@ -1,4 +1,3 @@
 @comment $NetBSD: PLIST,v 1.2 2004/10/05 18:54:53 jdolecek Exp $
-lib/netscape/plugins/flashplayer.xpt
 lib/netscape/plugins/libflashplayer.so
 @unexec ${RMDIR} %D/lib/netscape/plugins 2>/dev/null || ${TRUE}
Index: multimedia/ns-flash/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/ns-flash/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- multimedia/ns-flash/distinfo        29 Jul 2007 05:19:45 -0000      1.13
+++ multimedia/ns-flash/distinfo        16 Dec 2007 18:49:47 -0000
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.13 2007/07/29 05:19:45 jlam Exp $
 
-SHA1 (flash/9.0r48/install_flash_player_9_linux.tar.gz) = 
4bba0b81462394388b4509ecdc845f469c95d6ae
-RMD160 (flash/9.0r48/install_flash_player_9_linux.tar.gz) = 
4eea521f45fcd42e6916ba61ba299df8694fbc14
-Size (flash/9.0r48/install_flash_player_9_linux.tar.gz) = 2608602 bytes
+SHA1 (flash/9.0r60/install_flash_player_9_linux.tar.gz) = 
269ebe804f77890687f280ce7bfb79a62d2c5bd3
+RMD160 (flash/9.0r60/install_flash_player_9_linux.tar.gz) = 
e588c81ee6b3f5965561911efa846329b4961912
+Size (flash/9.0r60/install_flash_player_9_linux.tar.gz) = 3036127 bytes
 SHA1 (flash/7.0r67/install_flash_player_7_solaris_sparc.tar.gz) = 
f8dc29f2eee2e91c8856ee4d1bc402021ec7c694
 RMD160 (flash/7.0r67/install_flash_player_7_solaris_sparc.tar.gz) = 
ad5cf828d4d13bd512c106dfef73e515f4b655b0
 Size (flash/7.0r67/install_flash_player_7_solaris_sparc.tar.gz) = 1074253 bytes


Home | Main Index | Thread Index | Old Index