ports/68196: [New Port]: linux-zsnes - Linux binary version ofZSNES to fix performance issues

Travis Poppe tlp at LiquidX.org
Tue Jun 22 12:20:23 UTC 2004


>Number:         68196
>Category:       ports
>Synopsis:       [New Port]: linux-zsnes - Linux binary version of ZSNES to fix performance issues
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 22 12:20:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Travis Poppe <tlp at LiquidX.org>
>Release:        
>Organization:
>Environment:
>Description:
Our native version of ZSNES has poor sound performance. 

This port does not suffer from the poor sound performance as our native one does, even when using my patch.

(My patch corrects one of the distortion issues, not all).

It was very late when I created this port. Please double check! 

Thanks.

BTW: The latest linux-png must be used with this port or it will not work.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	linux-zsnes
#	linux-zsnes/Makefile
#	linux-zsnes/distinfo
#	linux-zsnes/pkg-descr
#
echo c - linux-zsnes
mkdir -p linux-zsnes > /dev/null 2>&1
echo x - linux-zsnes/Makefile
sed 's/^X//' >linux-zsnes/Makefile << 'END-of-linux-zsnes/Makefile'
X# New ports collection makefile for:	linux-zsnes
X# Date created:			22 June 2004
X# Whom:				Travis Poppe <tlp at liquidx.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	zsnes
XPORTVERSION=	1.36
XCATEGORIES=	emulators linux
XMASTER_SITES=	http://newrpms.sunsite.dk/apt/redhat/en/i386/9.0/RPMS.newrpms/
XPKGNAMEPREFIX=	linux-
XDISTNAME=	${PORTNAME}-${PORTVERSION}-3.i386
XEXTRACT_SUFX=	.rpm
XEXTRACT_ONLY=
X
XMAINTAINER=	tlp at liquidx.org
XCOMMENT=	Linux binary version of the x86 only SNES emulator
X
XRUN_DEPENDS=	${LINUXBASE}/lib/libc-2.3.2.so:${PORTSDIR}/emulators/linux_base-8 \
X		${LINUXBASE}/usr/X11R6/lib/libXi.so.6:${PORTSDIR}/x11/linux-XFree86-libs \
X		${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri \
X		${LINUXBASE}/usr/lib/libpng12.so.0:${PORTSDIR}/graphics/linux-png \
X		${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12
X
XEXTRACT_DEPENDS=	rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
X
XONLY_FOR_ARCHS=	i386
XDIST_SUBDIR=	rpm
XNO_BUILD=	yes
X
XMAN1=		linux-zsnes.1
XPLIST_FILES=	bin/linux-zsnes
X
XSTRIP=
X
Xpost-extract:
X	cd ${WRKDIR}; rpm2cpio.pl ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} | cpio -id --quiet
X
Xdo-install:
X	${INSTALL_MAN} ${WRKDIR}/usr/share/man/man1/zsnes.1.gz ${PREFIX}/man/man1/linux-zsnes.1.gz
X	${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/zsnes ${PREFIX}/bin/linux-zsnes
X
X.include <bsd.port.mk>
END-of-linux-zsnes/Makefile
echo x - linux-zsnes/distinfo
sed 's/^X//' >linux-zsnes/distinfo << 'END-of-linux-zsnes/distinfo'
XMD5 (rpm/zsnes-1.36-3.i386.rpm) = 9c83fe09286477839cc428c3857b8086
XSIZE (rpm/zsnes-1.36-3.i386.rpm) = 474922
END-of-linux-zsnes/distinfo
echo x - linux-zsnes/pkg-descr
sed 's/^X//' >linux-zsnes/pkg-descr << 'END-of-linux-zsnes/pkg-descr'
XAn x86 only Super Nintendo Entertainment System (SNES) Emulator,
Xwith higher compatibility rates than snes9x.
X
XThis is the Linux binary version.
X
XNote: This port exists due to performance issues (sound) with our native 
Xversion that remain unfixed. When these issues are fixed, this port should 
Xbe removed. 
X
XWWW: http://www.zsnes.com/
X
X- Travis Poppe
Xtlp at liquidx.org
END-of-linux-zsnes/pkg-descr
exit

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



More information about the freebsd-ports-bugs mailing list