Mon May 2 13:39:41 2011 UTC ()
Update to 1.53.81:

    Rebuilt IRQ handling. (zones)
    Improved overall timings, now Snes9x can handle events in a opcode a little. (zones)
    Improved screen interlace and sprite interlace supports. (OV2, zones)
    Fixed Hi-Res pixel plotter. (BearOso, zones, OV2)
    Fixed C4 for Mega Man X2's "weapon get" screen. (Jonas Quinn)
    Fixed Super Buster Bros. graphics after reset. (Jonas Quinn)
    Improved SA-1 support. (zones)
    Added SA-1 CC2 support. (Jonas Quinn, byuu)
    Fixed SA-1 NMI override mode. (zones)
    Fixed Dual Orb 2 sound glitch. (byuu)
    New APU timing hack, fixes various games that exhibit problems with Blargg's SNES_SPC library. (OV2)
    Fixed the problem that echo buffer breaks IPL ROM. (zones, OV2)
    Fixed movie snapshot unfreeze inconsistency. (gocha)
    Faster config file saving. (OV2)
    Fixed BlockInvalidVRAMAccess config file option. (windows port, unix port and gtk legacy config) (Jonas Quinn)
    Remove POSIX dup and access calls, and rename qword to fix compilation with Cell SDK. (BearOso)
    Fixed PS3 version save state crash by using heap allocation for soundsnapshot. (danieldematteis)
    Fixed crash relating to double-closed descriptor. (BearOso)
    Removed CPUShutdown speedhack, DisableHDMA and DisableIRQ options. (zones)
    Removed remaining outdated asm code. (zones)
    JMA 64 bit support. (kode54, Nach, friedrich.goepel)
    GTK+, Win32, Mac: Added optional Hi-Res blending. (BearOso, OV2, zones)
    GTK+, Win32: Support for bsnes-style XML shaders. (BearOso, OV2)
    Unix : Fixed segfault and hang-up with -DNOSOUND. (zones)
    GTK+ : Added ability to set specific folders for SRAM, patches, snapshots, etc. (BearOso)
    GTK+ : Fixed many permissions issues with config folders. (BearOso)
    GTK+ : Updated compatibility with latest GTK+ and GtkBuilder. Added experimental support for GTK+ 3.x. (BearOso)
    GTK+ : Updated software output to use cairo and added the ability to use bilinear-filtering with it. (BearOso)
    GTK+ : Fixed issues where cheats wouldn't stay enabled. (BearOso)
    GTK+ : Fixed focus issue when there is no window manager. (BearOso)
    GTK+ : Fixed X Visual incompatibilities and expose problems in the Xv and OpenGL outputs. (BearOso)
    GTK+ : Fixed vsync with new X Server and NVIDIA drivers. (BearOso)
    GTK+ : Added "Reduce input lag" option to OpenGL output. (BearOso)
    GTK+ : Added a visual indication of the expected video refresh rate for the currently selected sound input rate. (BearOso)


(wiz)
diff -r1.16 -r1.17 pkgsrc/emulators/snes9x-gtk/Makefile
diff -r1.6 -r1.7 pkgsrc/emulators/snes9x-gtk/distinfo
diff -r0 -r1.1 pkgsrc/emulators/snes9x-gtk/patches/patch-configure

cvs diff -r1.16 -r1.17 pkgsrc/emulators/snes9x-gtk/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/snes9x-gtk/Makefile 2011/04/22 13:43:30 1.16
+++ pkgsrc/emulators/snes9x-gtk/Makefile 2011/05/02 13:39:40 1.17
@@ -1,39 +1,39 @@ @@ -1,39 +1,39 @@
1# $NetBSD: Makefile,v 1.16 2011/04/22 13:43:30 obache Exp $ 1# $NetBSD: Makefile,v 1.17 2011/05/02 13:39:40 wiz Exp $
2# 2#
3 3
4DISTNAME= snes9x-1.52-src 4DISTNAME= snes9x-1.53-src
5PKGNAME= snes9x-gtk-1.52.79 5PKGNAME= snes9x-gtk-1.53.81
6PKGREVISION= 5 
7CATEGORIES= emulators 6CATEGORIES= emulators
8MASTER_SITES= http://snes9x-gtk.googlecode.com/files/ 7MASTER_SITES= http://snes9x-gtk.googlecode.com/files/
9EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
10 9
11MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= http://www.snes9x.com/phpbb2/viewtopic.php?p=22874 11HOMEPAGE= http://www.snes9x.com/phpbb2/viewtopic.php?p=22874
13COMMENT= SNES emulator with GTK frontend 12COMMENT= SNES emulator with GTK frontend
14 13
15PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
16 15
17WRKSRC= ${WRKDIR}/snes9x-1.52-src/gtk 16WRKSRC= ${WRKDIR}/${DISTNAME}/gtk
18GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
19USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
20USE_TOOLS+= intltool pkg-config msgfmt 19USE_TOOLS+= intltool pkg-config msgfmt
21 20
22CONFIGURE_ARGS+= --without-opengl 21CONFIGURE_ARGS+= --without-opengl
23 22
24.include "../../mk/bsd.prefs.mk" 23.include "../../mk/bsd.prefs.mk"
25 24
26.if ${MACHINE_ARCH} == "i386" 25.if ${MACHINE_ARCH} == "i386"
27BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm 26BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
28.endif 27.endif
29 28
30.include "../../audio/portaudio-devel/buildlink3.mk" 29.include "../../audio/portaudio-devel/buildlink3.mk"
31.include "../../devel/SDL/buildlink3.mk" 30.include "../../devel/SDL/buildlink3.mk"
32.include "../../devel/libglade/buildlink3.mk" 31.include "../../devel/libglade/buildlink3.mk"
33.include "../../graphics/gtkglext/buildlink3.mk" 32.include "../../graphics/gtkglext/buildlink3.mk"
34.include "../../sysutils/desktop-file-utils/desktopdb.mk" 33.include "../../sysutils/desktop-file-utils/desktopdb.mk"
35BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 34BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0
36.include "../../x11/gtk2/buildlink3.mk" 35.include "../../x11/gtk2/buildlink3.mk"
37.include "../../x11/libXv/buildlink3.mk" 36.include "../../x11/libXv/buildlink3.mk"
38.include "../../x11/libXtst/buildlink3.mk" 37.include "../../x11/libXtst/buildlink3.mk"
 38.include "../../mk/dlopen.buildlink3.mk"
39.include "../../mk/bsd.pkg.mk" 39.include "../../mk/bsd.pkg.mk"

cvs diff -r1.6 -r1.7 pkgsrc/emulators/snes9x-gtk/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/snes9x-gtk/distinfo 2010/02/05 12:57:27 1.6
+++ pkgsrc/emulators/snes9x-gtk/distinfo 2011/05/02 13:39:40 1.7
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.6 2010/02/05 12:57:27 wiz Exp $ 1$NetBSD: distinfo,v 1.7 2011/05/02 13:39:40 wiz Exp $
2 2
3SHA1 (snes9x-1.52-src.tar.bz2) = fb3957b68fcede882518516094a73ec5bbed76cf 3SHA1 (snes9x-1.53-src.tar.bz2) = 57be6480369f66b9aaaeb722789ce114f58ed1e2
4RMD160 (snes9x-1.52-src.tar.bz2) = ec7f85058e4571d89a65a89d3f09e2e40db0cbcc 4RMD160 (snes9x-1.53-src.tar.bz2) = b3f7ba73caee5373951ec1e1decef1ab6c7207f2
5Size (snes9x-1.52-src.tar.bz2) = 1720137 bytes 5Size (snes9x-1.53-src.tar.bz2) = 1838746 bytes
6SHA1 (patch-aa) = bb32e36bd1d0c82dc4c68c3fb280f7474d1cf493 6SHA1 (patch-aa) = bb32e36bd1d0c82dc4c68c3fb280f7474d1cf493
 7SHA1 (patch-configure) = 3c6491a83a124be05bb0ded5af70e4d92053316d

File Added: pkgsrc/emulators/snes9x-gtk/patches/Attic/patch-configure
$NetBSD: patch-configure,v 1.1 2011/05/02 13:39:40 wiz Exp $

Do not hardcode libdl, it doesn't exist on e.g. NetBSD. Use DL_LIBS
variable set by dlopen.builtlink.mk.

--- configure.orig	2011-05-02 13:26:47.000000000 +0000
+++ configure
@@ -6316,7 +6316,7 @@ else
   CFLAGS="$CFLAGS -fomit-frame-pointer"
 fi
 
-LIBS="$LIBS -lX11 -ldl -lXext"
+LIBS="$LIBS -lX11 ${DL_LIBS} -lXext"
 
 ZSNESFX='#ZSNESFX=yes'
 ZSNESC4='#ZSNESC4=yes'