Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2006 02:25:05 +0300 (MSK)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91775: New port: graphics/gnash GNU Flash movie player
Message-ID:  <20060113232505.E85662D6@hades.panopticon>
Resent-Message-ID: <200601132330.k0DNU3Rx040141@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91775
>Category:       ports
>Synopsis:       New port: graphics/gnash GNU Flash movie player
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 13 23:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sun Dec 18 08:07:07 MSK 2005 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Gnash is a GNU Flash movie player. Till now it has been possible
to play flash movies with proprietary software. While there are a
few free flash players, none supports anything higher than SWF v4
at best. Gnash is based on GameSWF, and supports many SWF v7 features.

Features:
- Runs standalone
  Gnash can run standalone to play flash movies.
- Firefox plugin
  Gnash can also run as a plugin from within Firefox.
- SWF v7 compliant
  Gnash can play many current flash movies.
- XML Message server
  Gnash also supports an XML based message system as is documented
  in the Flash Format specification.
- High Quality Output
  Gnash uses OpenGL for rendering the graphics.
- Free Software
  Gnash is 100% free software. For more information on the GPL, go
  to the Free Software Foundation web site.

WWW: http://www.gnu.org/software/gnash/

>How-To-Repeat:
>Fix:

--- gnash-20051226.shar begins here ---
# 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:
#
#	gnash
#	gnash/Makefile
#	gnash/distinfo
#	gnash/pkg-descr
#	gnash/pkg-plist
#
echo c - gnash
mkdir -p gnash > /dev/null 2>&1
echo x - gnash/Makefile
sed 's/^X//' >gnash/Makefile << 'END-of-gnash/Makefile'
X# New ports collection makefile for:	gnash
X# Date created:				12 Jan 2006
X# Whom:					Dmitry Marakasov <amdmi3@mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gnash
XPORTVERSION=	20051226
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.gnu.org/software/gnash/releases/
X
XMAINTAINER=	amdmi3@mail.ru
XCOMMENT=	GNU Flash movie player
X
XLIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
X		jpeg.9:${PORTSDIR}/graphics/jpeg
X
XUSE_X_PREFIX=	yes
XUSE_SDL=	sdl mixer
XUSE_BZIP2=	yes
XUSE_GL=		yes
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
XGNU_CONFIGURE=	yes
XINSTALLS_OMF=	yes
XUSE_GCC=	3.4+
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-0.7
X
XCPPFLAGS=	`${SDL_CONFIG} --cflags` -I${X11BASE}/include
XLDFLAGS=	`${SDL_CONFIG} --libs` -L${X11BASE}/lib
X
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
XCONFIGURE_ARGS=	--program-prefix=''
X
XINSTALLS_SHLIB=	yes
XLDCONFIG_DIRS=	%%PREFIX%%/lib %%PREFIX%%/lib/gnash
X
XMAN1=		gnash.1
X
XOPTIONS=	FIREFOX "Build firefox plugin" off \
X		XML "Enable support for xml and xmlsocket" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_FIREFOX)
XBUILD_DEPENDS+=		${X11BASE}/bin/firefox-config:${PORTSDIR}/www/firefox
XCONFIGURE_ARGS+=	--enable-plugin
XCPPFLAGS+=		`firefox-config --cflags`
XLDFLAGS+=		`firefox-config --libs`
XPLIST_SUB=		PLUGIN:=""
X.else
XPLIST_SUB=		PLUGIN:="@comment "
X.endif
X
X.if defined(WITH_XML)
XBUILD_DEPENDS+=		${LOCALBASE}/bin/xml2-config:${PORTSDIR}/textproc/libxml2
XCPPFLAGS+=		`xml2-config --cflags`
XLDFLAGS+=		`xml2-config --libs`
X.else
XCONFIGURE_ARGS+=	--disable-xml
X.endif
X
Xpost-extract:
X	@${FIND} ${WRKSRC} -name "*.cpp" -o -name "*.h" | \
X		${XARGS} ${REINPLACE_CMD} -e "s|$$(${PRINTF} '\r')||g"
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '/INCLUDES/ s|$$(srcdir)||' ${WRKSRC}/libgeometry/Makefile.in ${WRKSRC}/libbase/Makefile.in
X	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/libbase/dlmalloc.c ${WRKSRC}/libbase/dlmalloc.h
X	@${REINPLACE_CMD} -e '/APPLE_CC/ s|^.*$$|#if 0|' ${WRKSRC}/libbase/utility.cpp
X	@${REINPLACE_CMD} -e '/cd doc/ s|^.*$$|	@true|; /DIRS/ s/ doc//' ${WRKSRC}/Makefile.in
X	@${REINPLACE_CMD} -e '/^include_HEADERS/ s|^|#|' ${WRKSRC}/Makefile.in
X	@${REINPLACE_CMD} -e '/FIREFOX_PLUGINS=.*FIREFOX_LIBS/ s|^.*$$|FIREFOX_PLUGINS=${X11BASE}/lib/browser_plugins|' ${WRKSRC}/configure
X.if !defined(WITH_FIREFOX)
X	@${REINPLACE_CMD} -e 's|firefox-config|firefox-config1|g' ${WRKSRC}/configure
X.endif
X
X.if defined(WITH_FIREFOX)
Xpre-install:
X	${MKDIR} ${PREFIX}/lib/browser_plugins
X.endif
X
Xpost-install:
X	${INSTALL_MAN} ${WRKSRC}/doc/C/gnash.1 ${PREFIX}/man/man1
X	${MKDIR} ${PREFIX}/share/gnome/omf/gnash
X	${INSTALL_DATA} ${WRKSRC}/doc/C/gnash.omf ${PREFIX}/share/gnome/omf/gnash
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}/images
X.for i in gnash.html gnash.pdf gnash.xml legal.xml
X	${INSTALL_DATA} ${WRKSRC}/doc/C/${i} ${DOCSDIR}
X.endfor
X	${INSTALL_DATA} ${WRKSRC}/doc/C/images/* ${DOCSDIR}/images
X.endif
X
X.include <bsd.port.post.mk>
END-of-gnash/Makefile
echo x - gnash/distinfo
sed 's/^X//' >gnash/distinfo << 'END-of-gnash/distinfo'
XMD5 (gnash-20051226.tar.bz2) = 16d3261d0ec22be7cc738e30b42dc9ac
XSHA256 (gnash-20051226.tar.bz2) = 49a1e958d1cf62e8cda1605abeb61b7924f3f0bb5978f78ff08d657243263350
XSIZE (gnash-20051226.tar.bz2) = 742001
END-of-gnash/distinfo
echo x - gnash/pkg-descr
sed 's/^X//' >gnash/pkg-descr << 'END-of-gnash/pkg-descr'
XGnash is a GNU Flash movie player. Till now it has been possible
Xto play flash movies with proprietary software. While there are a
Xfew free flash players, none supports anything higher than SWF v4
Xat best. Gnash is based on GameSWF, and supports many SWF v7 features.
X
XFeatures:
X- Runs standalone
X  Gnash can run standalone to play flash movies.
X- Firefox plugin
X  Gnash can also run as a plugin from within Firefox.
X- SWF v7 compliant
X  Gnash can play many current flash movies.
X- XML Message server
X  Gnash also supports an XML based message system as is documented
X  in the Flash Format specification.
X- High Quality Output
X  Gnash uses OpenGL for rendering the graphics.
X- Free Software
X  Gnash is 100% free software. For more information on the GPL, go
X  to the Free Software Foundation web site.
X
XWWW: http://www.gnu.org/software/gnash/
END-of-gnash/pkg-descr
echo x - gnash/pkg-plist
sed 's/^X//' >gnash/pkg-plist << 'END-of-gnash/pkg-plist'
Xbin/gnash
Xbin/gparser
Xbin/gprocessor
Xlib/gnash/libbase.a
Xlib/gnash/libbase.la
Xlib/gnash/libbase.so
Xlib/gnash/libbase.so.0
Xlib/gnash/libgeometry.a
Xlib/gnash/libgeometry.la
Xlib/gnash/libgeometry.so
Xlib/gnash/libgeometry.so.0
Xlib/gnash/libserver.a
Xlib/gnash/libserver.la
Xlib/gnash/libserver.so
Xlib/gnash/libserver.so.0
X%%PLUGIN:%%lib/browser_plugins/libgnash.so
Xshare/gnome/omf/gnash/gnash.omf
X%%PORTDOCS%%%%DOCSDIR%%/gnash.html
X%%PORTDOCS%%%%DOCSDIR%%/gnash.pdf
X%%PORTDOCS%%%%DOCSDIR%%/gnash.xml
X%%PORTDOCS%%%%DOCSDIR%%/legal.xml
X%%PORTDOCS%%%%DOCSDIR%%/images/car_crash.png
X@dirrm lib/gnash
X@dirrm share/gnome/omf/gnash
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-gnash/pkg-plist
exit
--- gnash-20051226.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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