From owner-freebsd-ports Sun Jun 18 19:10: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 273BC37BB1E for ; Sun, 18 Jun 2000 19:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA18710; Sun, 18 Jun 2000 19:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from maynard.mail.mindspring.net (maynard.mail.mindspring.net [207.69.200.243]) by hub.freebsd.org (Postfix) with ESMTP id DB39737BB1E for ; Sun, 18 Jun 2000 19:09:46 -0700 (PDT) (envelope-from kbyanc@kronos.alcnet.com) Received: from gateway.posi.net (user-33qtgi8.dialup.mindspring.com [199.174.194.72]) by maynard.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id WAA22842 for ; Sun, 18 Jun 2000 22:09:42 -0400 (EDT) Received: from vaio (laptop [10.0.0.20]) by gateway.posi.net (8.9.3/8.9.3) with ESMTP id TAA09656 for ; Sun, 18 Jun 2000 19:09:39 -0700 (PDT) (envelope-from kbyanc@gateway.posi.net) Received: (from kbyanc@localhost) by vaio (8.9.3/8.9.3) id TAA58702; Sun, 18 Jun 2000 19:10:21 -0700 (PDT) (envelope-from kbyanc@gateway.posi.net) Message-Id: <200006190210.TAA58702@vaio> Date: Sun, 18 Jun 2000 19:10:21 -0700 (PDT) From: kbyanc@posi.net Reply-To: kbyanc@posi.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19370: new port: emulators/gsnes9x Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19370 >Category: ports >Synopsis: new port: emulators/gsnes9x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 18 19:10:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Kelly Yancey >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: >Description: # 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: # # emulators/gsnes9x/ # emulators/gsnes9x/Makefile # emulators/gsnes9x/files # emulators/gsnes9x/files/md5 # emulators/gsnes9x/files/PLIST.docs # emulators/gsnes9x/files/PLIST.nodocs # emulators/gsnes9x/pkg # emulators/gsnes9x/pkg/PLIST # emulators/gsnes9x/pkg/COMMENT # emulators/gsnes9x/pkg/DESCR # emulators/gsnes9x/patches # emulators/gsnes9x/patches/patch-aa # emulators/gsnes9x/patches/patch-ab # emulators/gsnes9x/patches/patch-ac # echo c - emulators/gsnes9x/ mkdir -p emulators/gsnes9x/ > /dev/null 2>&1 echo x - emulators/gsnes9x/Makefile sed 's/^X//' >emulators/gsnes9x/Makefile << 'END-of-emulators/gsnes9x/Makefile' X# New ports collection makefile for: KSnes9x X# Date created: 12 Nov 1999 X# Whom: Will Andrews X# X# $FreeBSD: ports/emulators/ksnes9x/Makefile,v 1.7 2000/06/07 17:31:20 will Exp $ X# X XPORTNAME= gsnes9x XPORTVERSION= 3.0 XCATEGORIES= emulators XMASTER_SITES= http://abulafia.fciencias.unam.mx/~canek/gsnes9x/source/ XDISTNAME= GSnes9x-3.0 X XMAINTAINER= kbyanc@posi.net X XLIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \ X gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ X esd.2:${PORTSDIR}/audio/esound XRUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_X_PREFIX= yes X XCONFIGURE_ARGS= --without-included-gettext \ X --with-esd X X.if defined(NOPORTDOCS) Xpre-install: X ${INSTALL_DATA} ${FILESDIR}/PLIST.nodocs ${PKGDIR}/PLIST X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/src/GSnes9x ${PREFIX}/bin X @${MKDIR} ${PREFIX}/share/gnome \ X ${PREFIX}/share/gnome/apps \ X ${PREFIX}/share/gnome/apps/Games \ X ${PREFIX}/share/gnome/pixmaps X ${INSTALL_DATA} ${WRKSRC}/gsnes9x.desktop \ X ${PREFIX}/share/gnome/apps/Games/gsnes9x.desktop X ${INSTALL_DATA} ${WRKSRC}/pixmaps/gsnesdefault.png \ X ${PREFIX}/share/gnome/pixmaps X ${INSTALL_DATA} ${WRKSRC}/pixmaps/gsnes9x-icon.png \ X ${PREFIX}/share/gnome/pixmaps X X.else Xpre-install: X ${INSTALL_DATA} ${FILESDIR}/PLIST.docs ${PKGDIR}/PLIST X X X.endif X X.include END-of-emulators/gsnes9x/Makefile echo c - emulators/gsnes9x/files mkdir -p emulators/gsnes9x/files > /dev/null 2>&1 echo x - emulators/gsnes9x/files/md5 sed 's/^X//' >emulators/gsnes9x/files/md5 << 'END-of-emulators/gsnes9x/files/md5' XMD5 (GSnes9x-3.0.tar.gz) = 79cb2dfcd4aff46ca58f6a4527ff1ebe END-of-emulators/gsnes9x/files/md5 echo x - emulators/gsnes9x/files/PLIST.docs sed 's/^X//' >emulators/gsnes9x/files/PLIST.docs << 'END-of-emulators/gsnes9x/files/PLIST.docs' Xbin/GSnes9x Xshare/gnome/help/GSnes9x/C/index.html Xshare/gnome/help/GSnes9x/C/topic.dat Xshare/gnome/help/GSnes9x/C/addrom.png Xshare/gnome/help/GSnes9x/C/cheat.png Xshare/gnome/help/GSnes9x/C/codes.png Xshare/gnome/help/GSnes9x/C/format.png Xshare/gnome/help/GSnes9x/C/info.png Xshare/gnome/help/GSnes9x/C/joystick.png Xshare/gnome/help/GSnes9x/C/main.png Xshare/gnome/help/GSnes9x/C/pop.png Xshare/gnome/help/GSnes9x/C/system.png Xshare/gnome/help/GSnes9x/C/tooltips.png Xshare/gnome/help/GSnes9x/es/index.html Xshare/gnome/help/GSnes9x/es/topic.dat Xshare/gnome/help/GSnes9x/es/addrom.png Xshare/gnome/help/GSnes9x/es/cheat.png Xshare/gnome/help/GSnes9x/es/codes.png Xshare/gnome/help/GSnes9x/es/format.png Xshare/gnome/help/GSnes9x/es/info.png Xshare/gnome/help/GSnes9x/es/joystick.png Xshare/gnome/help/GSnes9x/es/main.png Xshare/gnome/help/GSnes9x/es/pop.png Xshare/gnome/help/GSnes9x/es/system.png Xshare/gnome/help/GSnes9x/es/tooltips.png Xshare/gnome/apps/Games/gsnes9x.desktop Xshare/gnome/pixmaps/gsnesdefault.png Xshare/gnome/pixmaps/gsnes9x-icon.png X@dirrm share/gnome/help/GSnes9x/C X@dirrm share/gnome/help/GSnes9x/es X@dirrm share/gnome/help/GSnes9x END-of-emulators/gsnes9x/files/PLIST.docs echo x - emulators/gsnes9x/files/PLIST.nodocs sed 's/^X//' >emulators/gsnes9x/files/PLIST.nodocs << 'END-of-emulators/gsnes9x/files/PLIST.nodocs' Xbin/GSnes9x Xshare/gnome/apps/Games/gsnes9x.desktop Xshare/gnome/pixmaps/gsnesdefault.png Xshare/gnome/pixmaps/gsnes9x-icon.png END-of-emulators/gsnes9x/files/PLIST.nodocs echo c - emulators/gsnes9x/pkg mkdir -p emulators/gsnes9x/pkg > /dev/null 2>&1 echo x - emulators/gsnes9x/pkg/PLIST sed 's/^X//' >emulators/gsnes9x/pkg/PLIST << 'END-of-emulators/gsnes9x/pkg/PLIST' Xbin/GSnes9x Xshare/gnome/help/GSnes9x/C/index.html Xshare/gnome/help/GSnes9x/C/topic.dat Xshare/gnome/help/GSnes9x/C/addrom.png Xshare/gnome/help/GSnes9x/C/cheat.png Xshare/gnome/help/GSnes9x/C/codes.png Xshare/gnome/help/GSnes9x/C/format.png Xshare/gnome/help/GSnes9x/C/info.png Xshare/gnome/help/GSnes9x/C/joystick.png Xshare/gnome/help/GSnes9x/C/main.png Xshare/gnome/help/GSnes9x/C/pop.png Xshare/gnome/help/GSnes9x/C/system.png Xshare/gnome/help/GSnes9x/C/tooltips.png Xshare/gnome/help/GSnes9x/es/index.html Xshare/gnome/help/GSnes9x/es/topic.dat Xshare/gnome/help/GSnes9x/es/addrom.png Xshare/gnome/help/GSnes9x/es/cheat.png Xshare/gnome/help/GSnes9x/es/codes.png Xshare/gnome/help/GSnes9x/es/format.png Xshare/gnome/help/GSnes9x/es/info.png Xshare/gnome/help/GSnes9x/es/joystick.png Xshare/gnome/help/GSnes9x/es/main.png Xshare/gnome/help/GSnes9x/es/pop.png Xshare/gnome/help/GSnes9x/es/system.png Xshare/gnome/help/GSnes9x/es/tooltips.png Xshare/gnome/apps/Games/gsnes9x.desktop Xshare/gnome/pixmaps/gsnesdefault.png Xshare/gnome/pixmaps/gsnes9x-icon.png X@dirrm share/gnome/help/GSnes9x/C X@dirrm share/gnome/help/GSnes9x/es X@dirrm share/gnome/help/GSnes9x END-of-emulators/gsnes9x/pkg/PLIST echo x - emulators/gsnes9x/pkg/COMMENT sed 's/^X//' >emulators/gsnes9x/pkg/COMMENT << 'END-of-emulators/gsnes9x/pkg/COMMENT' XA GTK front-end for the Snes9X SNES emulator END-of-emulators/gsnes9x/pkg/COMMENT echo x - emulators/gsnes9x/pkg/DESCR sed 's/^X//' >emulators/gsnes9x/pkg/DESCR << 'END-of-emulators/gsnes9x/pkg/DESCR' XFrom the README: X GSnes9x is a GNOME front-end for the Snes9X SNES emulator. It X allows you to set and preserve the options for a particular ROM X when running it, and to set global options for new ROMs being X included. It also keeps a Cheat Codes database for each ROM, where X you can save as many codes as you want. X XWWW: http://abulafia.fciencias.unam.mx/~canek/gsnes9x/ X X -Kelly X kbyanc@posi.net END-of-emulators/gsnes9x/pkg/DESCR echo c - emulators/gsnes9x/patches mkdir -p emulators/gsnes9x/patches > /dev/null 2>&1 echo x - emulators/gsnes9x/patches/patch-aa sed 's/^X//' >emulators/gsnes9x/patches/patch-aa << 'END-of-emulators/gsnes9x/patches/patch-aa' X--- src/util.c.orig Sun Jun 18 17:34:30 2000 X+++ src/util.c Sun Jun 18 18:06:56 2000 X@@ -79,7 +79,7 @@ X if (!names) X return list; X X- getline (&str, &size, names); X+ fgets (str, size, names); X str[strlen (str)-1] = '\0'; /* Rip out the '\n'. */ X X while (!feof (names)) { X@@ -102,7 +102,7 @@ X if (rom_info) X list = g_list_prepend (list, (gpointer)rom_info); X X- getline (&str, &size, names); X+ fgets (str, size, names); X str[strlen(str)-1] = '\0'; X } X X@@ -314,7 +314,7 @@ X if (!file) X return list; X X- getline (&str, &size, file); X+ fgets (str, size, file); X str[strlen (str)-1] = '\0'; /* Rip out '\n' */ X if (!strcmp (str, "")) X return list; X@@ -322,13 +322,13 @@ X do { X cheat_code = g_new (CheatCode, 1); X cheat_code->code = g_strdup (str); X- getline (&str, &size, file); X+ fgets (str, size, file); X str[strlen (str)-1] = '\0'; /* Rip out '\n' */ X cheat_code->name = g_strdup (str); X- getline (&str, &size, file); X+ fgets (str, size, file); X str[strlen (str)-1] = '\0'; /* Rip out '\n' */ X cheat_code->descr = g_strdup (str); X- getline (&str, &size, file); X+ fgets (str, size, file); X X if (strcmp (str, cheat_code->descr)) X str[strlen (str)-1] = '\0'; /* Rip out '\n' */ END-of-emulators/gsnes9x/patches/patch-aa echo x - emulators/gsnes9x/patches/patch-ab sed 's/^X//' >emulators/gsnes9x/patches/patch-ab << 'END-of-emulators/gsnes9x/patches/patch-ab' X--- src/confiles.c.orig Sun Jun 18 17:34:23 2000 X+++ src/confiles.c Sun Jun 18 18:06:27 2000 X@@ -81,7 +81,7 @@ X file = fopen (conf, "r"); X } X X- getline (&str, &size, file); X+ fgets (str, size, file); X str[strlen (str)-1] = '\0'; X X while (!feof (file)) { X@@ -142,7 +142,7 @@ X } X } X X- getline (&str, &size, file); X+ fgets (str, size, file); X str[strlen (str)-1] = '\0'; X X if (lval) X@@ -179,7 +179,7 @@ X return NULL; X } X X- getline (&str, &size, file); X+ fgets (str, size, file); X str[strlen (str)-1] = '\0'; X X while (!feof (file)) { X@@ -237,7 +237,7 @@ X } X } X X- getline (&str, &size, file); X+ fgets (str, size, file); X str[strlen (str)-1] = '\0'; X X if (lval) END-of-emulators/gsnes9x/patches/patch-ab echo x - emulators/gsnes9x/patches/patch-ac sed 's/^X//' >emulators/gsnes9x/patches/patch-ac << 'END-of-emulators/gsnes9x/patches/patch-ac' X--- pixmaps/Makefile.in.orig Sun Jun 18 18:54:02 2000 X+++ pixmaps/Makefile.in Sun Jun 18 18:54:55 2000 X@@ -99,7 +99,7 @@ X ZVT_LIBS = @ZVT_LIBS@ X l = @l@ X X-pixmapdir = $(datadir)/pixmaps X+pixmapdir = $(datadir)/gnome/pixmaps X X pixmap_DATA = gsnesdefault.png gsnes9x-icon.png X END-of-emulators/gsnes9x/patches/patch-ac exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message