From b2fdc54a5386d86df926e8b206892bb8d9e48d38 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 6 Apr 2009 10:11:47 +0000 Subject: Update to 1.51.70, convert to user-destdir: Changes for version 70 * Changed screensaver disable code again. * Fixed compilation with --with-debugger. * Fixed pane colors in preferences. * Updated French locale. (tukuyomi) Changes for version 69 * Allow compilation of OSS sound driver on *BSD. * Avoid extra round-trips to X server to disable the screensaver. Changes for version 68 * Fixed shared memory leak when using XVideo driver. (kernigh) * Fixed compilation with the --with-debugger flag. * Added a 4:3 aspect ratio option for Maintain Aspect Ratio. * Added several new automatic sizing options to the View menu. * Added an OSS sound driver, and configuration to select which sound drivers to compile in, and which to use from those built in. Changes for version 67 * Modified the screensaver disable to only operate when the game is running. Prevents bizarre keycodes from showing up in preferences. * Added SPC7110 pack directory support. Changes for version 66 * Added a hack to prevent SuperFX snapshot loads from crashing when pointer size isn't 4 bytes. * Changed to string literals in some vararg functions to fix strict compiler errors. (Mandriva PLF) * Changed the --with-debug flag to not strip necessary debugging information. * Readded the patch to the delta file so it can still be used with other Snes9x-based projects. Changes for version 65 * Fixed more paths in configure. * Changed the screensaver disabling code to work with more screensavers/power managers (courtesy of byuu). * Added a hack to check for SiliconMotion drivers reporting invalid masks in Xv. Changes for version 64 * Added a few build fixes for OpenBSD courtesy of Kernigh. Changes for version 63 * Added Tukuyomi's French localization. * Relicensed to LGPL, and added Snes9x license exceptions. See gtk/doc/LICENSE. Changes for version 62 * Added axis emulation for joystick hats. --- emulators/snes9x-gtk/Makefile | 12 ++++++++---- emulators/snes9x-gtk/distinfo | 9 +++++---- emulators/snes9x-gtk/patches/patch-aa | 13 +++++++++++++ 3 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 emulators/snes9x-gtk/patches/patch-aa (limited to 'emulators') diff --git a/emulators/snes9x-gtk/Makefile b/emulators/snes9x-gtk/Makefile index 42adbfda1a4..426f1d583a5 100644 --- a/emulators/snes9x-gtk/Makefile +++ b/emulators/snes9x-gtk/Makefile @@ -1,16 +1,18 @@ -# $NetBSD: Makefile,v 1.1.1.1 2009/01/03 18:46:27 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2009/04/06 10:11:47 wiz Exp $ # -DISTNAME= snes9x-1.51-src-gtk-61 -PKGNAME= snes9x-gtk-1.51.61 +DISTNAME= snes9x-1.51-src-gtk-70 +PKGNAME= snes9x-gtk-1.51.70 CATEGORIES= emulators -MASTER_SITES= http://bearoso.googlepages.com/ +MASTER_SITES= http://snes9x-gtk.googlecode.com/files/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.snes9x.com/phpbb2/viewtopic.php?p=22874 COMMENT= SNES emulator with GTK frontend +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/snes9x-1.51-src/gtk GNU_CONFIGURE= yes USE_DIRS= xdg-1.4 @@ -23,6 +25,8 @@ CONFIGURE_ARGS+= --without-opengl .include "../../devel/SDL/buildlink3.mk" .include "../../devel/libglade/buildlink3.mk" .include "../../graphics/gtkglext/buildlink3.mk" +BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 .include "../../x11/gtk2/buildlink3.mk" .include "../../x11/libXv/buildlink3.mk" +.include "../../x11/libXtst/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/snes9x-gtk/distinfo b/emulators/snes9x-gtk/distinfo index 5075ed1a099..c395e611d76 100644 --- a/emulators/snes9x-gtk/distinfo +++ b/emulators/snes9x-gtk/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/01/03 18:46:27 wiz Exp $ +$NetBSD: distinfo,v 1.2 2009/04/06 10:11:47 wiz Exp $ -SHA1 (snes9x-1.51-src-gtk-61.tar.bz2) = 16d749f6f9be9f9a63df5e11d6f699a7614c9f7a -RMD160 (snes9x-1.51-src-gtk-61.tar.bz2) = 4aeb17ccd25016cbe784b7cf7d79c9c6349b3a79 -Size (snes9x-1.51-src-gtk-61.tar.bz2) = 931864 bytes +SHA1 (snes9x-1.51-src-gtk-70.tar.bz2) = 04b4f68dffafbde23b0decee1d39660a1fe2ac89 +RMD160 (snes9x-1.51-src-gtk-70.tar.bz2) = f1cb798ad0287a8fc43fb3a11b39e66de97303ad +Size (snes9x-1.51-src-gtk-70.tar.bz2) = 913000 bytes +SHA1 (patch-aa) = 90b1624c04d7640fe87078e9309ade35693fd8e9 diff --git a/emulators/snes9x-gtk/patches/patch-aa b/emulators/snes9x-gtk/patches/patch-aa new file mode 100644 index 00000000000..e925c5f1826 --- /dev/null +++ b/emulators/snes9x-gtk/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2009/04/06 10:11:47 wiz Exp $ + +--- src/gtk_sound_driver_oss.cpp.orig 2009-03-13 12:34:50.000000000 +0000 ++++ src/gtk_sound_driver_oss.cpp +@@ -145,7 +145,7 @@ S9xOSSSoundDriver::open_device (int mode + printf ("OK\n"); + + printf (" --> (Frequency: %d)...", so.playback_rate); +- if (ioctl (filedes, SNDCTL_DSP_SPEED, &so.playback_rate) < 0) ++ if (ioctl (filedes, SNDCTL_DSP_SPEED, (void*)&so.playback_rate) < 0) + goto close_fail; + + printf ("OK\n"); -- cgit v1.2.3