Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 14:58:04 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340314 - in head/emulators/snes9x-gtk: . files
Message-ID:  <201401191458.s0JEw4Rw057818@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Jan 19 14:58:04 2014
New Revision: 340314
URL: http://svnweb.freebsd.org/changeset/ports/340314
QAT: https://qat.redports.org/buildarchive/r340314/

Log:
  - Update to 1.53r81.
  - Remove the ASM and MMX option as the configure script does not recognize
    "--with-assembler" and "--with-mmx" anymore.
  - Support staging.
  
  PR:		ports/

Added:
  head/emulators/snes9x-gtk/files/patch-gtk-configure   (contents, props changed)
  head/emulators/snes9x-gtk/files/patch-gtk-src-gtk__s9x.cpp   (contents, props changed)
Modified:
  head/emulators/snes9x-gtk/Makefile
  head/emulators/snes9x-gtk/distinfo

Modified: head/emulators/snes9x-gtk/Makefile
==============================================================================
--- head/emulators/snes9x-gtk/Makefile	Sun Jan 19 14:48:22 2014	(r340313)
+++ head/emulators/snes9x-gtk/Makefile	Sun Jan 19 14:58:04 2014	(r340314)
@@ -2,12 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	snes9x
-PORTVERSION=	1.52r79
-PORTREVISION=	4
+PORTVERSION=	1.53r81
 CATEGORIES=	emulators
 MASTER_SITES=	http://snes9x-gtk.googlecode.com/files/
 PKGNAMESUFFIX=	-gtk
-DISTNAME=	snes9x-1.52-src
+DISTNAME=	snes9x-1.53-src
 
 MAINTAINER=	root@cooltrainer.org
 COMMENT=	Super Nintendo Entertainment System(SNES) Emulator
@@ -23,19 +22,17 @@ USE_SDL=	sdl
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS+=	--without-alsa
+#USE_AUTOTOOLS=	autoconf aclocal
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/gtk
 
 OPTIONS_DEFINE=	DEBUG OPENGL JMA NETPLAY XV XRANDR
 OPTIONS_DEFAULT=	JMA NETPLAY XV XRANDR
-OPTIONS_DEFINE_i386=	ASM MMX
-OPTIONS_DEFAULT_i386=	ASM
 JMA_DESC=	Enable JMA archive decompression support
 NETPLAY_DESC=	Enable network support
 XV_DESC=	Enable XVideo output on GTK
 XRANDR_DESC=	Enable XRandR support on GTK
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MDEBUG}
@@ -44,19 +41,6 @@ CONFIGURE_ARGS+=	--with-debug
 CONFIGURE_ARGS+=	--without-debug
 .endif
 
-.if ${PORT_OPTIONS:MASM}
-BUILD_DEPENDS+=	nasm:${PORTSDIR}/devel/nasm
-CONFIGURE_ARGS+=	--with-assembler
-.else
-CONFIGURE_ARGS+=	--without-assembler
-.endif
-
-.if ${PORT_OPTIONS:MMMX} && !defined(PACKAGE_BUILDING)
-CONFIGURE_ARGS+=	--with-mmx
-.else
-CONFIGURE_ARGS+=	--without-mmx
-.endif
-
 .if ${PORT_OPTIONS:MOPENGL}
 CONFIGURE_ARGS+=	--with-opengl
 USE_GL=	glu
@@ -97,9 +81,12 @@ CONFIGURE_ARGS+=	--without-joystick
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
-	${INSTALL_DATA} ${WRKSRC}/data/snes9x.svg ${PREFIX}/share/pixmaps
-	${INSTALL_DATA} ${WRKSRC}/data/snes9x.desktop ${PREFIX}/share/applications
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
+	${INSTALL_DATA} ${WRKSRC}/data/snes9x.svg \
+		${STAGEDIR}${PREFIX}/share/pixmaps
+	${INSTALL_DATA} ${WRKSRC}/data/snes9x.desktop \
+		${STAGEDIR}${PREFIX}/share/applications
 
 post-install:
 	-@update-desktop-database

Modified: head/emulators/snes9x-gtk/distinfo
==============================================================================
--- head/emulators/snes9x-gtk/distinfo	Sun Jan 19 14:48:22 2014	(r340313)
+++ head/emulators/snes9x-gtk/distinfo	Sun Jan 19 14:58:04 2014	(r340314)
@@ -1,2 +1,2 @@
-SHA256 (snes9x-1.52-src.tar.bz2) = 36e09b2da62b9210feb224cfd183047a151a71c1d5e5f92749dc28bd4b7ff1cb
-SIZE (snes9x-1.52-src.tar.bz2) = 1720137
+SHA256 (snes9x-1.53-src.tar.bz2) = 9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3
+SIZE (snes9x-1.53-src.tar.bz2) = 1838746

Added: head/emulators/snes9x-gtk/files/patch-gtk-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/snes9x-gtk/files/patch-gtk-configure	Sun Jan 19 14:58:04 2014	(r340314)
@@ -0,0 +1,11 @@
+--- configure.orig	2013-10-25 02:52:16.000000000 -0700
++++ configure	2013-10-25 02:52:43.000000000 -0700
+@@ -6316,7 +6316,7 @@
+   CFLAGS="$CFLAGS -fomit-frame-pointer"
+ fi
+ 
+-LIBS="$LIBS -lX11 -ldl -lXext"
++LIBS="$LIBS -lX11 -lXext"
+ 
+ ZSNESFX='#ZSNESFX=yes'
+ ZSNESC4='#ZSNESC4=yes'

Added: head/emulators/snes9x-gtk/files/patch-gtk-src-gtk__s9x.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/snes9x-gtk/files/patch-gtk-src-gtk__s9x.cpp	Sun Jan 19 14:58:04 2014	(r340314)
@@ -0,0 +1,19 @@
+--- src/gtk_s9x.cpp.orig	2013-10-25 03:47:08.000000000 -0700
++++ src/gtk_s9x.cpp	2013-10-25 03:47:32.000000000 -0700
+@@ -44,6 +44,7 @@
+ 
+     g_thread_init (NULL);
+     gdk_threads_init ();
++    gdk_threads_enter();
+ 
+     gtk_init (&argc, &argv);
+ 
+@@ -127,6 +128,8 @@
+ 
+     gtk_main ();
+ 
++    gdk_threads_leave();
++    
+     return 0;
+ }
+ 



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