Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2009 10:47:49 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Juergen Lock <nox@jelal.kn-bremen.de>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: flash10
Message-ID:  <35871418@bb.ipt.ru>
In-Reply-To: <20090407203048.GA68683@triton.kn-bremen.de> (Juergen Lock's message of "Tue\, 7 Apr 2009 22\:30\:48 %2B0200")
References:  <23488525@bb.ipt.ru> <25204710@h30.sp.ipt.ru> <20090405212925.GA24637@triton.kn-bremen.de> <200904062118.20464.tijl@ulyssis.org> <20090407203048.GA68683@triton.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Apr 2009 22:30:48 +0200 Juergen Lock wrote:
> On Mon, Apr 06, 2009 at 09:18:19PM +0200, Tijl Coosemans wrote:
> > On Sunday 05 April 2009 23:29:25 Juergen Lock wrote:
> > > X# we need a proper MASTER_SITE for the new libflashsupport.so from
> > > X# Tijl Coosemans's post...
> > > X#  http://docs.freebsd.org/cgi/mid.cgi?200904021821.53043.tijl
> > > X#  http://freebsd.markmail.org/download.xqy?id=okk5qrttquofm62l&number=1
> > 
> > You can use these:
> > 
> > http://tijl.ulyssis.be/mirror/linux-fc4-flashsupport-9.0.1.i386.tar.gz
> > http://tijl.ulyssis.be/mirror/linux-f8-flashsupport-9.0.1.i386.tar.gz

> Thank you! (and also bsam!)

>  Everyone: please test the port below which only needed a small fix to
> Mk/bsd.linux-apps.mk with the portstree from today here:

>  (As already mentioned you need linux base f8 with compat.linux.osrelease
> set to 2.6.16 and OVERRIDE_LINUX_BASE_PORT=f8 as well as
> OVERRIDE_LINUX_NONBASE_PORTS=f8 in make.conf, and as always with flash,
> linprocfs needs to be mounted on /compat/linux/proc .)

> Index: Mk/bsd.linux-apps.mk
> ===================================================================
> RCS file: /home/pcvs/ports/Mk/bsd.linux-apps.mk,v
> retrieving revision 1.12
> diff -u -p -r1.12 bsd.linux-apps.mk
> --- Mk/bsd.linux-apps.mk	7 Apr 2009 19:15:10 -0000	1.12
> +++ Mk/bsd.linux-apps.mk	7 Apr 2009 19:57:27 -0000
> @@ -66,7 +66,7 @@ _LINUX_APPS_ALL+=
>  # 2.6.16 components
>  _LINUX_26_APPS=		libidn nspr nss openssl sqlite3 tcl84 tk84
>  
> -_LINUX_APPS_ALL+=	_LINUX_26_APPS
> +_LINUX_APPS_ALL+=	${_LINUX_26_APPS}
>  
>  # Let's check if components from USE_LINUX_APPS exist at _LINUX_26_APPS for LINUX_DIST_SUFFIX:=""
>  .  if ${LINUX_DIST_SUFFIX}==""

Committed to CVS. Thanks!

>  And here comes the shar:

> # This is a shell archive.  Save it in a file, remove anything before
> # this line, and then unpack it by entering "sh file".  Note, it may
> # create directories; files and directories will be owned by you and
> # have default permissions.
> #
> # This archive contains:
> #
> #	www/linux-f8-flashplugin10/Makefile
> #	www/linux-f8-flashplugin10/distinfo
> #	www/linux-f8-flashplugin10/pkg-descr
> #	www/linux-f8-flashplugin10/pkg-plist
> #
> echo x - www/linux-f8-flashplugin10/Makefile
> sed 's/^X//' >www/linux-f8-flashplugin10/Makefile << '43df7419b06fb389fcdf88ec0b70c14a'
> X# New ports collection makefile for:	linux-flashplugin9
> X# Date created:				28 May 2004
> X# Whom:					Jamie Jones <jamie@bishopston.net>
> X#
> X# $FreeBSD: $
> X#
> X
> XPORTNAME=	flashplugin
> XPORTVERSION=	10.0r22
> XCATEGORIES=	www multimedia linux
> XMASTER_SITES=	http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \
> X		http://tijl.ulyssis.be/mirror/:suplib
> XPKGNAMEPREFIX=	linux-
> XDISTFILES=	install_flash_player_10_linux.tar.gz:plugin \
> X		linux-f8-flashsupport-9.0.1.i386.tar.gz:suplib
> XDIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
> X
> XMAINTAINER=	emulation@FreeBSD.org
> XCOMMENT=	Adobe Flash Player NPAPI Plugin
> X
> XONLY_FOR_ARCHS=	amd64 i386
> XUSE_LINUX=	f8

I'm not sure about this. There is emulation_linux_base-f9 now.
First I thought that USE_LINUX?=f8 may fit. But it didn't.
However USE_LINUX=yes seems to work. The port won't work
for other linux base ports than -f8, -f9 because of dependencies.

> XUSE_LINUX_APPS=	openssl curl libssh2 libidn nspr nss
> X
> XRESTRICTED=	Redistribution not allowed
> XRESTRICTED_FILES=	${DISTFILES:Nlinux-f8-flashsupport*:C/:[^:]+$//}
> X
> XNO_BUILD=	yes
> XWRKSRC=		${WRKDIR}/install_flash_player_10_linux
> XLATEST_LINK=	flash10
> X
> XUSE_NPAPI=	linux-*
> XNPAPI_FILES=	libflashplayer.so
> X
> XCONFLICTS=	linux-flashplugin-7* linux-flashplugin-9*
> X
> Xpost-install:
> X	@${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib
> X
> X.include <bsd.port.pre.mk>
> X.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi"
> X.include <bsd.port.post.mk>
> 43df7419b06fb389fcdf88ec0b70c14a
> echo x - www/linux-f8-flashplugin10/distinfo
> sed 's/^X//' >www/linux-f8-flashplugin10/distinfo << '254656f71fbc5d4ebbb0c1a06a6277b7'
> XMD5 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 23e4c2b844db0f87ff62084178aa2b1f
> XSHA256 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = cd29f166c87fecc943e88fe951bb61c56728fab12b4bf343badafa73ea95394e
> XSIZE (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 3994294
> XMD5 (flashplugin/10.0r22/linux-f8-flashsupport-9.0.1.i386.tar.gz) = e41a9fc56644f2410eb0803044395289
> XSHA256 (flashplugin/10.0r22/linux-f8-flashsupport-9.0.1.i386.tar.gz) = d516d3bff6e853bde71369e424861d865e4d25f0a10c2388c1c466fca055d759
> XSIZE (flashplugin/10.0r22/linux-f8-flashsupport-9.0.1.i386.tar.gz) = 2989
> 254656f71fbc5d4ebbb0c1a06a6277b7
> echo x - www/linux-f8-flashplugin10/pkg-descr
> sed 's/^X//' >www/linux-f8-flashplugin10/pkg-descr << '234cca3cd023a751c4f2155ceebfee65'
> XThis is the official Flash Player from Adobe. This plugin enables
> Xyou to see .swf and .spl files on the 'net from your Opera, Mozilla or
> XFirefox sessions.
> X
> XPlease see the Adobe home page for more information.
> X
> XFreeBSD Flash License Agreement:
> X	http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374
> X
> XWWW: http://www.adobe.com/
> 234cca3cd023a751c4f2155ceebfee65
> echo x - www/linux-f8-flashplugin10/pkg-plist
> sed 's/^X//' >www/linux-f8-flashplugin10/pkg-plist << '9aeb08122bb1100b4ccb1e12ba6b75dd'
> X@cwd /compat/linux
> Xusr/lib/libflashsupport.so
> X@cwd
> 9aeb08122bb1100b4ccb1e12ba6b75dd
> exit


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35871418>