Date: Tue, 13 Mar 2007 20:45:22 +0300 (MSK) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110276: [MAINTAINER] graphics/gnash: update to 0.7.2 Message-ID: <20070313174523.0C0DE40EB@hades.panopticon> Resent-Message-ID: <200703131750.l2DHo5Xk007117@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110276 >Category: ports >Synopsis: [MAINTAINER] graphics/gnash: update to 0.7.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Mar 13 17:50:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.1-RELEASE-p12 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: * Update to 0.7.2 * Add more options * Update pkg-descr ! Supercedes ports/108176 >How-To-Repeat: >Fix: --- gnash.patch begins here --- Binary files gnash.orig/.Makefile.swp and gnash/.Makefile.swp differ diff -ruN gnash.orig/Makefile gnash/Makefile --- gnash.orig/Makefile Tue Mar 13 20:40:24 2007 +++ gnash/Makefile Tue Mar 13 17:56:22 2007 @@ -2,12 +2,11 @@ # Date created: 12 Jan 2006 # Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> # -# $FreeBSD: ports/graphics/gnash/Makefile,v 1.13 2007/02/10 06:05:01 kris Exp $ +# $FreeBSD: ports/graphics/gnash/Makefile,v 1.12 2006/12/21 20:41:31 edwin Exp $ # PORTNAME= gnash -PORTVERSION= 0.7.1 -PORTREVISION= 1 +PORTVERSION= 0.7.2 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION} @@ -15,47 +14,73 @@ MAINTAINER= amdmi3@amdmi3.ru COMMENT= GNU Flash movie player -LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= boost_thread.3:${PORTSDIR}/devel/boost \ jpeg.9:${PORTSDIR}/graphics/jpeg \ - ogg.5:${PORTSDIR}/audio/libogg + curl.4:${PORTSDIR}/ftp/curl -USE_AUTOTOOLS= libtool:15 USE_BZIP2= yes USE_GL= yes USE_GMAKE= yes GNU_CONFIGURE= yes -USE_GNOME= gnomehier glib20 pkgconfig libxml2 -USE_SDL= sdl mixer -USE_X_PREFIX= yes -USE_GCC= 3.4+ +USE_GNOME= pkgconfig libxml2 +USE_XLIB= yes PLUGIN_DIR= ${PREFIX}/lib/browser_plugins +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -Wl,--rpath,${PREFIX}/lib/gnash" \ CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" CONFIGURE_ARGS= --libdir="${PREFIX}/lib/gnash" \ - --with-plugindir=${PLUGIN_DIR} + --with-plugindir=${PLUGIN_DIR} \ + --enable-jpeg -OPTIONS= PLUGIN "Enable firefox plugin" on +MAN1= gnash.1 + +OPTIONS= PLUGIN "Enable browser plugin" on \ + GTK "Enable GTK GUI" on \ + SOUND "Enable sound" on \ + GSTREAMER "Use GStreamer sound output instead of SDL" off \ + MAD "Support mp3 decoding through libmad" on .include <bsd.port.pre.mk> -.if !defined(WITH_PLUGIN) -CONFIGURE_ARGS+= --disable-plugin +.if defined(WITHOUT_GTK) +USE_SDL+= sdl +CONFIGURE_ARGS+= --enable-gui=SDL +.else +CONFIGURE_ARGS+= --enable-gui=GTK +USE_GNOME+= atk pango gtk20 +LIB_DEPENDS+= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext +.endif + +.if defined(WITHOUT_SOUND) +CONFIGURE_ARGS+= --enable-sound=NO +.else +. if defined(WITH_GSTREAMER) +USE_GSTREAMER= yes +CONFIGURE_ARGS+= --enable-sound=GST +. else +USE_SDL+= sdl +CONFIGURE_ARGS+= --enable-sound=SDL +. if defined(WITHOUT_MAD) +CONFIGURE_ARGS+= --without-mp3-decoder +. else +CONFIGURE_ARGS+= --with-mp3-decoder=mad +LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad +. endif +. endif +.endif + +.if defined(WITHOUT_PLUGIN) PLIST_SUB+= PLUGIN="@comment " +CONFIGURE_ARGS+= --disable-plugin .else -USE_GNOME+= atk pango gtk20 -LIB_DEPENDS+= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext PLIST_SUB+= PLUGIN="" .endif post-patch: - @${REINPLACE_CMD} -e 's|gnash-dbg.log|.gnash-dbg.log|' ${WRKSRC}/libbase/log.h @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g;s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure -.if !defined(WITH_PLUGIN) - @${REINPLACE_CMD} -e '/STD_DIRS/ s|plugin||' ${WRKSRC}/Makefile.in -.endif .include <bsd.port.post.mk> diff -ruN gnash.orig/distinfo gnash/distinfo --- gnash.orig/distinfo Tue Mar 13 20:40:24 2007 +++ gnash/distinfo Wed Jan 31 19:56:46 2007 @@ -1,3 +1,3 @@ -MD5 (gnash-0.7.1.tar.bz2) = d860981aeaac0fc941a28abc3c24223c -SHA256 (gnash-0.7.1.tar.bz2) = 48fcb533e3989757c23af2b9130c8b490a4d40375be4813ce425efea82ae0f62 -SIZE (gnash-0.7.1.tar.bz2) = 1089794 +MD5 (gnash-0.7.2.tar.bz2) = ccef0f45be01a4c2992b46c2363a514f +SHA256 (gnash-0.7.2.tar.bz2) = 12dccb4bc69488f516e0283e988412ba7db5dfad32744425f97d641392a2e98b +SIZE (gnash-0.7.2.tar.bz2) = 1599810 diff -ruN gnash.orig/files/patch-configure gnash/files/patch-configure --- gnash.orig/files/patch-configure Thu Jan 1 03:00:00 1970 +++ gnash/files/patch-configure Tue Mar 13 02:11:42 2007 @@ -0,0 +1,11 @@ +--- configure.orig Fri Nov 17 22:09:10 2006 ++++ configure Wed Jan 31 21:07:06 2007 +@@ -26598,7 +26598,7 @@ + if test x"${with_atk_lib}" != x ; then + libname=atkatk-x11-${gnash_atk_version} + if test -f ${with_atk_lib}/lib${libname}.a -o -f ${with_atk_lib}/lib${libname}.so; then +- ac_cv_path_atk_lib="`-L(cd ${with_atk_lib}; pwd)` -l${libname}" ++ ac_cv_path_atk_lib="-L`(cd ${with_atk_lib}; pwd)` -l${libname}" + else + { { echo "$as_me:$LINENO: error: ${with_atk_lib} directory doesn't contain libatkatk." >&5 + echo "$as_me: error: ${with_atk_lib} directory doesn't contain libatkatk." >&2;} diff -ruN gnash.orig/pkg-descr gnash/pkg-descr --- gnash.orig/pkg-descr Tue Mar 13 20:40:24 2007 +++ gnash/pkg-descr Mon Mar 12 23:51:11 2007 @@ -1,22 +1,27 @@ -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. +Gnash is a GNU Flash movie player. Previously, it was only possible +to play flash movies with proprietary software. While there are +some other free flash players, none support anything beyond SWF v4. +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. +- Browser plugin + Gnash can also run as a plugin from within most Mozilla derived + browsers, such as Firefox. Gnash also has support for Konqueror. - 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. + Gnash also supports an XML based message system as documented in + the Flash Format specification. - High Quality Output - Gnash uses OpenGL for rendering the graphics. + Gnash uses OpenGL for rendering the graphics on the desktop, and + AntiGrain (AGG) for embedded framebuffer only devices. - Free Software Gnash is 100% free software. For more information on the GPL, go to the Free Software Foundation web site. +- Better Security + Gnash pays extra attention to all network connections, and allows + the user to control access. WWW: http://www.gnu.org/software/gnash/ diff -ruN gnash.orig/pkg-plist gnash/pkg-plist --- gnash.orig/pkg-plist Tue Mar 13 20:40:24 2007 +++ gnash/pkg-plist Tue Mar 13 07:32:54 2007 @@ -2,25 +2,27 @@ bin/gparser bin/gprocessor %%PLUGIN%%lib/browser_plugins/libgnashplugin.so -lib/gnash/libgnashasobjs.a -lib/gnash/libgnashasobjs.la -lib/gnash/libgnashasobjs.so -lib/gnash/libgnashasobjs.so.0 -lib/gnash/libgnashbackend.a +lib/gnash/libgnashamf-0.7.2.so +lib/gnash/libgnashamf.la +lib/gnash/libgnashamf.so +lib/gnash/libgnashbackend-0.7.2.so lib/gnash/libgnashbackend.la lib/gnash/libgnashbackend.so -lib/gnash/libgnashbackend.so.0 -lib/gnash/libgnashbase.a +lib/gnash/libgnashbase-0.7.2.so lib/gnash/libgnashbase.la lib/gnash/libgnashbase.so -lib/gnash/libgnashbase.so.0 -lib/gnash/libgnashgeo.a +lib/gnash/libgnashgeo-0.7.2.so lib/gnash/libgnashgeo.la lib/gnash/libgnashgeo.so -lib/gnash/libgnashgeo.so.0 -lib/gnash/libgnashserver.a +lib/gnash/libgnashgui-0.7.2.so +lib/gnash/libgnashgui.la +lib/gnash/libgnashgui.so +lib/gnash/libgnashserver-0.7.2.so lib/gnash/libgnashserver.la lib/gnash/libgnashserver.so -lib/gnash/libgnashserver.so.0 +%%DATADIR%%/gnash_128_96.ico +share/nls/POSIX +share/nls/en_US.US-ASCII +@dirrm %%DATADIR%% @dirrm lib/gnash -%%PLUGIN%%@dirrmtry lib/browser_plugins +%%PLUGIN%%@dirrm lib/browser_plugins --- gnash.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070313174523.0C0DE40EB>