Lofi, can you check the attached patch, if it works for ya?

It does no swoosh-swoosh here (linux-opera on amd64). Oh well.

Michael Nottebrock píše v po 26. 02. 2007 v 23:23 +0100:

> I installed Fedora Core 4 in Qemu today and compiled Macromedia's
> libflashsupport there to see if its OSS support would work on FreeBSD.
> It does. You can download the binary from
> 
> http://people.freebsd.org/~lofi/libflashsupport.so (for now)
> 
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lofi/
> libflashsupport.so (later - for prospective porters: that's
> MASTER_SITE_LOCAL && MASTER_SITE_SUBDIR=lofi)
> 
> How to install in three steps:
> 
> 1.) Install www/linux-firefox, www/linux-flashplugin9 and
> security/linux-openssl
> 
> 2.) fetch http://people.freebsd.org/~lofi/libflashsupport.so
> 
> 3.) cp libflashsupport.so /compat/linux/usr/lib
> 
> To test, run 
> 
> linux-firefox http://www.adobe.com/shockwave/welcome/
> 
> Ignore the missing plugin warning for the shockwave demo and watch
> the demo flash applet beneath it. It should make some swishing sounds
> when you hover the mouse pointer over the 'Create', 'See' and 'About'
> areas.
> 
> What doesn't work:
> 
> Youtube. I tried youtube and google video et al and it seems that
> video-streaming flash applets are *very* crash-happy, so they must be
> considered broken for now. *However*: They also crash the browser
> without libflashsupport present, but they do work quite nicely on FC4
> (which by the way does need the libflashsupport as well to make noise
> in the shipped Firefox). My conclusion is that the flash video
> crashes are in fact caused by a bug/shortcoming of our linuxulator. I
> understand there's work going on to bring it up to date with the
> Linux 2.6 world, so that problem might go away in the future.
> 
> And of course, nothing of all this will work in a native firefox with
> the linuxpluginwrapper. You need *linux*-firefox.
> 
> Finally: The binary was built from this source: 
> http://www.kaourantin.net/flashplayer/flashsupport.c
> 
> The license terms for it are at the top of the source code and, at least as 
> far as I interpret them, allow for distribution of the binary even without 
> accompanying source code.
> 
> Cheers,
-- 
Pav Lucistnik <[EMAIL PROTECTED]>
              <[EMAIL PROTECTED]>

I will give you a name, and I shall call you Sting.
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/linux-flashplugin9/Makefile,v
retrieving revision 1.22
diff -a -u -r1.22 Makefile
--- Makefile	17 Jan 2007 22:50:00 -0000	1.22
+++ Makefile	27 Feb 2007 23:33:01 -0000
@@ -7,16 +7,21 @@
 
 PORTNAME=	flashplugin
 PORTVERSION=	9.0r31
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	www multimedia linux
-MASTER_SITES=	http://fpdownload.macromedia.com/get/flashplayer/current/
+MASTER_SITES=	http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \
+		LOCAL/lofi:suplib
 PKGNAMEPREFIX=	linux-
-DISTNAME=	install_flash_player_9_linux
+DISTFILES=	install_flash_player_9_linux.tar.gz:plugin \
+		libflashsupport.so:suplib
 DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
+EXTRACT_ONLY=	install_flash_player_9_linux.tar.gz
 
 MAINTAINER=	[EMAIL PROTECTED]
 COMMENT=	Adobe Flash Player NPAPI Plugin
 
+RUN_DEPENDS=	${LINUXBASE}/lib/libssl.so.5:${PORTSDIR}/security/linux-openssl
+
 ONLY_FOR_ARCHS=	amd64 i386
 USE_LINUX=	yes
 
@@ -33,6 +38,7 @@
 CONFLICTS=	linux-flashplugin-7*
 
 post-install:
+	@${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/libflashsupport.so ${LINUXBASE}/usr/lib
 .ifndef NOPORTDOCS
 	@${INSTALL} -d ${DOCSDIR}
 	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/linux-flashplugin9/distinfo,v
retrieving revision 1.13
diff -a -u -r1.13 distinfo
--- distinfo	17 Jan 2007 17:01:45 -0000	1.13
+++ distinfo	27 Feb 2007 23:33:01 -0000
@@ -1,3 +1,6 @@
 MD5 (flashplugin/9.0r31/install_flash_player_9_linux.tar.gz) = 76b38231a68995935185aa42dfda9db7
 SHA256 (flashplugin/9.0r31/install_flash_player_9_linux.tar.gz) = e31b971be7f98ea7eff67b2783ae20170c4d9f595b43ae5b59f98385a2b0c978
 SIZE (flashplugin/9.0r31/install_flash_player_9_linux.tar.gz) = 2609703
+MD5 (flashplugin/9.0r31/libflashsupport.so) = 20a61e9de44e7f58e9566b16ee6651d9
+SHA256 (flashplugin/9.0r31/libflashsupport.so) = 0ddd948214657e17866663cad5fb02ff2bfe8360969359db4aca6d65456d4cad
+SIZE (flashplugin/9.0r31/libflashsupport.so) = 7493
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-plist	27 Feb 2007 23:33:01 -0000
@@ -0,0 +1,3 @@
[EMAIL PROTECTED] /compat/linux
+usr/lib/libflashsupport.so
[EMAIL PROTECTED]

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

Reply via email to