Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2010 18:20:46 GMT
From:      Emmanuel Vadot <elbarto@ArcadeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144451: Update ports: emulators/bsnes Update to v0.60
Message-ID:  <201003031820.o23IKksS040820@www.freebsd.org>
Resent-Message-ID: <201003031830.o23IU7Ov027970@freefall.freebsd.org>

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

>Number:         144451
>Category:       ports
>Synopsis:       Update ports: emulators/bsnes Update to v0.60
>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:   Wed Mar 03 18:30:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Emmanuel Vadot
>Release:        8.0-STABLE i386
>Organization:
ArcadeBSD
>Environment:
FreeBSD emeraldas 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Feb 12 21:24:53 UTC 2010     root@maetel:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Update port to v0.60.
Include libsupergameboy.
Remove useless patch (patch-Makefile-libnall).
Add pkg-message with instructions for pixel shader.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -uNr bsnes.orig/Makefile bsnes/Makefile
--- bsnes.orig/Makefile	2010-03-03 19:12:31.000000000 +0100
+++ bsnes/Makefile	2010-03-03 19:11:05.000000000 +0100
@@ -5,13 +5,11 @@
 # $FreeBSD: ports/emulators/bsnes/Makefile,v 1.6 2010/01/25 19:15:08 pav Exp $
 
 PORTNAME=	bsnes
-PORTVERSION=	0.58
-PORTREVISION=	1
+PORTVERSION=	0.60
 CATEGORIES=	emulators
-MASTER_SITES=	http://byuu.org/files/ \
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
 		ftp://ftp.arcadebsd.org/pub/ArcadeBSD/ports/distfiles/
-DISTNAME=	${PORTNAME}_v${PORTVERSION:S/.//}${EXTRACT_SUFX} snesreader_v010${EXTRACT_SUFX} \
-		snesfilter_v007${EXTRACT_SUFX} supergameboy_v014
+DISTNAME=	${PORTNAME}_v${PORTVERSION:S/.//}
 
 MAINTAINER=	elbarto@ArcadeBSD.org
 COMMENT=	Super Nintendo/Super Famicom emulator
@@ -107,6 +105,7 @@
 	(cd ${WRKSRC}/src && ${GMAKE} ${MAKE_ENV})
 	(cd ${WRKSRC}/snesreader && ${GMAKE} ${MAKE_ENV})
 	(cd ${WRKSRC}/snesfilter && ${GMAKE} ${MAKE_ENV})
+	(cd ${WRKSRC}/supergameboy && ${GMAKE} ${MAKE_ENV})
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@@ -116,5 +115,9 @@
 	${INSTALL_DATA} ${WRKSRC}/src/data/bsnes.desktop ${PREFIX}/share/applications/bsnes.desktop
 	${INSTALL_DATA} ${WRKSRC}/snesreader/libsnesreader.so ${PREFIX}/lib/
 	${INSTALL_DATA} ${WRKSRC}/snesfilter/libsnesfilter.so ${PREFIX}/lib/
+	${INSTALL_DATA} ${WRKSRC}/supergameboy/libsupergameboy.so ${PREFIX}/lib/
+
+post-install:
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
diff -uNr bsnes.orig/distinfo bsnes/distinfo
--- bsnes.orig/distinfo	2010-03-03 19:12:31.000000000 +0100
+++ bsnes/distinfo	2010-03-03 18:22:17.000000000 +0100
@@ -1,12 +1,3 @@
-MD5 (bsnes_v058.tar.bz2) = 8235f42b79f8c6c3f85470b9c8904779
-SHA256 (bsnes_v058.tar.bz2) = 448ec9170628deca66bf3b9260441489418f695f13f2e78b184bed100c11c93e
-SIZE (bsnes_v058.tar.bz2) = 450201
-MD5 (snesreader_v010.tar.bz2) = 757e8c9cfc38290447e9b8ee74b31006
-SHA256 (snesreader_v010.tar.bz2) = 7aa31584487e00e376b49df069694f4f542260c94bf0f4179806c50ab1a8bb11
-SIZE (snesreader_v010.tar.bz2) = 208397
-MD5 (snesfilter_v007.tar.bz2) = 189e9799debebf4ad639878a270d2a39
-SHA256 (snesfilter_v007.tar.bz2) = a7f7896749bc8457d76da8560a8f3b4263d9b2a3bacf6f747df1840d46ebcd3c
-SIZE (snesfilter_v007.tar.bz2) = 49103
-MD5 (supergameboy_v014.tar.bz2) = 5773da8eb0b9e8f82a081fde3d941b36
-SHA256 (supergameboy_v014.tar.bz2) = b31d5d345ce86cfa5ef47df1e0886a0aa637565de1dc50293aa2fbecf162135a
-SIZE (supergameboy_v014.tar.bz2) = 122939
+MD5 (bsnes_v060.tar.bz2) = db779d53d6ac21a5b414fbf3b93dde47
+SHA256 (bsnes_v060.tar.bz2) = c919c101d760d62751a2fe8af112d88fc7203fc98f6a9eccf539e46fd7d6291b
+SIZE (bsnes_v060.tar.bz2) = 735038
diff -uNr bsnes.orig/files/patch-Makefile bsnes/files/patch-Makefile
--- bsnes.orig/files/patch-Makefile	2010-03-03 19:12:31.000000000 +0100
+++ bsnes/files/patch-Makefile	2010-03-03 18:24:39.000000000 +0100
@@ -1,24 +1,24 @@
---- src/Makefile.orig	2009-11-01 00:45:19.000000000 +0100
-+++ src/Makefile	2009-11-01 00:45:50.000000000 +0100
-@@ -6,9 +6,9 @@
+--- src/Makefile.orig	2010-03-03 18:23:25.000000000 +0100
++++ src/Makefile	2010-03-03 18:24:25.000000000 +0100
+@@ -8,9 +8,9 @@
  ### compiler ###
  ################
  
 -c     := $(compiler)
 -cpp   := $(subst cc,++,$(compiler))
 -flags := -O3 -fomit-frame-pointer -Ilib
-+c     := ${CC}
-+cpp   := ${CXX}
++c     := $(CC)
++cpp   := $(CXX)
 +flags := -O3 -fomit-frame-pointer -Ilib -I${LOCALBASE}/include
  link  :=
  
  # profile-guided instrumentation:
-@@ -25,9 +25,9 @@
+@@ -27,9 +27,9 @@
  ifeq ($(platform),x)
    link += -s
  
 -  ruby := video.glx video.xv video.qtraster video.sdl
--  ruby += audio.alsa audio.openal audio.oss audio.pulseaudio audio.ao
+-  ruby += audio.alsa audio.openal audio.oss audio.pulseaudio audio.pulseaudiosimple audio.ao
 -  ruby += input.sdl input.x
 +  ruby := VIDEO
 +  ruby += AUDIO
diff -uNr bsnes.orig/files/patch-Makefile-libnall bsnes/files/patch-Makefile-libnall
--- bsnes.orig/files/patch-Makefile-libnall	2010-03-03 19:12:31.000000000 +0100
+++ bsnes/files/patch-Makefile-libnall	1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
---- src/lib/nall/Makefile.orig	2009-11-01 00:30:05.000000000 +0100
-+++ src/lib/nall/Makefile	2009-11-01 00:30:26.000000000 +0100
-@@ -29,11 +29,11 @@
- endif
- 
- ifeq ($(compiler),)
--  compiler := gcc
-+  compiler := ${CC}
- endif
- 
- ifeq ($(prefix),)
--  prefix := /usr/local
-+  prefix := ${PREFIX}
- endif
- 
- #####
diff -uNr bsnes.orig/pkg-message bsnes/pkg-message
--- bsnes.orig/pkg-message	1970-01-01 01:00:00.000000000 +0100
+++ bsnes/pkg-message	2010-03-03 19:08:24.000000000 +0100
@@ -0,0 +1,9 @@
+=============================================================================
+
+bsnes was installed.
+
+If you want to use the pixel shaders, just copy the directory named:
+"pixelshaders"
+somewhere on you disk and set the correct path in the bsnes config dialog.
+
+=============================================================================
diff -uNr bsnes.orig/pkg-plist bsnes/pkg-plist
--- bsnes.orig/pkg-plist	2010-03-03 19:12:31.000000000 +0100
+++ bsnes/pkg-plist	2010-03-03 18:42:25.000000000 +0100
@@ -1,6 +1,7 @@
 bin/bsnes
 lib/libsnesfilter.so
 lib/libsnesreader.so
+lib/libsupergameboy.so
 share/applications/bsnes.desktop
 share/pixmaps/bsnes.png
 @dirrmtry share/applications


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



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