pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/stella Update to 2.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40dc1637ffec
branches:  trunk
changeset: 510964:40dc1637ffec
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Fri Apr 07 06:28:44 2006 +0000

description:
Update to 2.1.

A huge number of improvements since last pkgsrc version.

diffstat:

 emulators/stella/Makefile         |  39 +++++++--------------------------
 emulators/stella/PLIST            |  44 +++++++++++++++++++++++++++++---------
 emulators/stella/distinfo         |  11 ++++-----
 emulators/stella/patches/patch-aa |  40 +++++++++-------------------------
 emulators/stella/patches/patch-ab |  27 -----------------------
 5 files changed, 58 insertions(+), 103 deletions(-)

diffs (207 lines):

diff -r 97984e50cadd -r 40dc1637ffec emulators/stella/Makefile
--- a/emulators/stella/Makefile Fri Apr 07 05:21:01 2006 +0000
+++ b/emulators/stella/Makefile Fri Apr 07 06:28:44 2006 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2006/02/05 23:09:03 joerg Exp $
+# $NetBSD: Makefile,v 1.29 2006/04/07 06:28:44 dillo Exp $
 
-STELLA_VERSION=        1.4.1
+STELLA_VERSION=        2.1
 DISTNAME=      stella-${STELLA_VERSION}-src
 PKGNAME=       stella-${STELLA_VERSION}
-PKGREVISION=   4
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=stella/}
 
@@ -11,39 +10,19 @@
 HOMEPAGE=      http://stella.sourceforge.net/
 COMMENT=       Multi-platform Atari 2600 VCS emulator
 
-PATCHDIR=               ${.CURDIR}/../stella/patches
-DISTINFO_FILE=          ${.CURDIR}/../stella/distinfo
+WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            gmake
+USE_DIRS+=             xdg-1.1
+UNLIMIT_RESOURCES=     datasize
 
-WRKSRC=                ${WRKDIR}/stella-${STELLA_VERSION}/src/build
-USE_LANGUAGES= c c++
-USE_TOOLS+=    gmake
-USE_INSTALL=   YES
-UNLIMIT_RESOURCES=datasize
-
-MAKEFILE=      makefile
-BUILD_TARGET=  linux
+HAS_CONFIGURE=         YES
+CONFIGURE_ARGS+=       --prefix=${PREFIX:Q}
 
 .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
 GCC_REQD+=     3.0
 .endif
 
-MAKE_ENV+=     CXXFLAGS=${CXXFLAGS:Q}\ -fno-rtti
-
-DOCDIR=${PREFIX}/share/doc/html/stella
-DATADIR=${PREFIX}/share/stella
-
-INSTALLATION_DIRS=     bin
-
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
-
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/stella ${PREFIX}/bin
-       ${INSTALL_DATA_DIR} ${DOCDIR}
-       ${INSTALL_DATA_DIR} ${DOCDIR}/graphics
-       ${INSTALL_DATA} ${WRKSRC}/../../docs/stella.html ${DOCDIR}
-       ${INSTALL_DATA} ${WRKSRC}/../../docs/graphics/* ${DOCDIR}/graphics
-       ${INSTALL_DATA_DIR} ${DATADIR}
-       ${INSTALL_DATA} ${WRKSRC}/../emucore/stella.pro ${DATADIR}
-
 .include "../../mk/bsd.pkg.mk"
diff -r 97984e50cadd -r 40dc1637ffec emulators/stella/PLIST
--- a/emulators/stella/PLIST    Fri Apr 07 05:21:01 2006 +0000
+++ b/emulators/stella/PLIST    Fri Apr 07 06:28:44 2006 +0000
@@ -1,14 +1,36 @@
-@comment $NetBSD: PLIST,v 1.3 2004/08/13 16:12:25 dillo Exp $
+@comment $NetBSD: PLIST,v 1.4 2006/04/07 06:28:44 dillo Exp $
 bin/stella
-share/doc/html/stella/graphics/chucky_cheese.png
-share/doc/html/stella/graphics/circuit.png
-share/doc/html/stella/graphics/console.png
-share/doc/html/stella/graphics/jr_pacman.png
-share/doc/html/stella/graphics/pacman.png
-share/doc/html/stella/graphics/secret_quest.png
-share/doc/html/stella/graphics/space_invaders.png
-share/doc/html/stella/stella.html
+share/doc/stella/Announce.txt
+share/doc/stella/Changes.txt
+share/doc/stella/Copyright.txt
+share/doc/stella/License.txt
+share/doc/stella/README-PSP.txt
+share/doc/stella/README-SDL.txt
+share/doc/stella/Readme.txt
+share/doc/stella/Todo.txt
+share/doc/stella/debugger.html
+share/doc/stella/graphics/chucky_cheese.png
+share/doc/stella/graphics/circuit.png
+share/doc/stella/graphics/console.png
+share/doc/stella/graphics/eventmapping.png
+share/doc/stella/graphics/eventmapping_remap.png
+share/doc/stella/graphics/jr_pacman.png
+share/doc/stella/graphics/launcher.png
+share/doc/stella/graphics/launcher_options_rom.png
+share/doc/stella/graphics/launcher_options_snap.png
+share/doc/stella/graphics/options_about.png
+share/doc/stella/graphics/options_audio.png
+share/doc/stella/graphics/options_gameinfo.png
+share/doc/stella/graphics/options_help.png
+share/doc/stella/graphics/options_video.png
+share/doc/stella/graphics/pacman.png
+share/doc/stella/graphics/rom_browser.png
+share/doc/stella/graphics/secret_quest.png
+share/doc/stella/graphics/space_invaders.png
+share/doc/stella/stella.html
+share/icons/stella.xpm
 share/stella/stella.pro
-@dirrm share/doc/html/stella/graphics
-@dirrm share/doc/html/stella
 @dirrm share/stella
+@comment in xdg-dirs: @dirrm share/icons
+@dirrm share/doc/stella/graphics
+@dirrm share/doc/stella
diff -r 97984e50cadd -r 40dc1637ffec emulators/stella/distinfo
--- a/emulators/stella/distinfo Fri Apr 07 05:21:01 2006 +0000
+++ b/emulators/stella/distinfo Fri Apr 07 06:28:44 2006 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 18:49:20 agc Exp $
+$NetBSD: distinfo,v 1.7 2006/04/07 06:28:44 dillo Exp $
 
-SHA1 (stella-1.4.1-src.tar.gz) = 085650e00b7d077f9da0069b327f9c9bbec893e4
-RMD160 (stella-1.4.1-src.tar.gz) = b000bd9e7b5c7cb9c29ebec519adff6479250663
-Size (stella-1.4.1-src.tar.gz) = 707079 bytes
-SHA1 (patch-aa) = 893d5ad5165f02c2dfde5d07c348362aba36d340
-SHA1 (patch-ab) = a7d13dd26b7656385c09fda306b8272dd3feae4c
+SHA1 (stella-2.1-src.tar.gz) = 2ab0163a24ad877d81dc8f9ee77cfd1482194e14
+RMD160 (stella-2.1-src.tar.gz) = 7ddecbcc78bf0ddd3a0aedf924f00b69e2ec6013
+Size (stella-2.1-src.tar.gz) = 1062215 bytes
+SHA1 (patch-aa) = 76545aaaf3fa320b8b83396c0a90588cd7b404af
diff -r 97984e50cadd -r 40dc1637ffec emulators/stella/patches/patch-aa
--- a/emulators/stella/patches/patch-aa Fri Apr 07 05:21:01 2006 +0000
+++ b/emulators/stella/patches/patch-aa Fri Apr 07 06:28:44 2006 +0000
@@ -1,32 +1,14 @@
-$NetBSD: patch-aa,v 1.4 2004/08/13 16:12:25 dillo Exp $
+$NetBSD: patch-aa,v 1.5 2006/04/07 06:28:44 dillo Exp $
 
---- makefile.orig      2004-07-14 18:49:45.000000000 +0200
-+++ makefile
-@@ -48,13 +48,13 @@ OPTIMIZATIONS  = 
- ## No configurable options below this line ...
- ##============================================================================
- 
--CXX   = g++
--LD    = g++
-+#CXX  = g++
-+#LD   = g++
+--- src/emucore/unzip.h.orig   2005-05-18 18:02:53.000000000 +0200
++++ src/emucore/unzip.h
+@@ -58,6 +58,9 @@ typedef unzFile__ *unzFile;
+ typedef voidp unzFile;
+ #endif
  
--LDFLAGS  = `sdl-config --cflags`
-+LDFLAGS  += `sdl-config --cflags`
- LDLIBS   = `sdl-config --libs`
- OBJECTS  =  mainSDL.o SoundSDL.o FrameBufferSDL.o FrameBufferSoft.o
--OPTIONS  =
-+OPTIONS  = -DPKG_SYSCONFDIR=\\\"${PKG_SYSCONFDIR}\\\" -DDATADIR=\\\"${PREFIX}/share/stella\\\"
- EXE_NAME =
- SMP      =
++#ifndef OF
++#define OF(X) X
++#endif
  
-@@ -155,8 +155,7 @@ CORE_OBJS = Booster.o Cart.o Cart2K.o Ca
-             $(M6502_OBJS)
- 
- stella: $(CORE_OBJS) $(OBJS)
--      $(LD) -o $(EXE_NAME) $(CORE_OBJS) $(OBJS) $(LDFLAGS) $(LDLIBS)
--      strip $(EXE_NAME)
-+      $(CXX) -o $(EXE_NAME) $(CORE_OBJS) $(OBJS) $(LDLIBS)
- 
- M6502Low.ins: $(CORE)/m6502/src/M6502Low.m4 $(CORE)/m6502/src/M6502.m4
-       m4 $(CORE)/m6502/src/M6502Low.m4 $(CORE)/m6502/src/M6502.m4 > $(CORE)/m6502/src/M6502Low.ins
+ #define UNZ_OK                                  (0)
+ #define UNZ_END_OF_LIST_OF_FILE (-100)
diff -r 97984e50cadd -r 40dc1637ffec emulators/stella/patches/patch-ab
--- a/emulators/stella/patches/patch-ab Fri Apr 07 05:21:01 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2004/08/16 22:23:58 dillo Exp $
-
---- ../unix/SettingsUNIX.cxx.orig      2004-07-05 02:53:48.000000000 +0200
-+++ ../unix/SettingsUNIX.cxx
-@@ -43,9 +43,9 @@ SettingsUNIX::SettingsUNIX()
-     mkdir(myStateDir.c_str(), 0777);
- 
-   myUserPropertiesFile   = stelladir + "/stella.pro";
--  mySystemPropertiesFile = "/etc/stella.pro";
-+  mySystemPropertiesFile = DATADIR "/stella.pro";
-   myUserConfigFile       = stelladir + "/stellarc";
--  mySystemConfigFile     = "/etc/stellarc";
-+  mySystemConfigFile     = PKG_SYSCONFDIR "/stellarc";
- 
-   // Set up the names of the input and output config files
-   mySettingsOutputFilename = myUserConfigFile;
-@@ -54,6 +54,10 @@ SettingsUNIX::SettingsUNIX()
-   else
-     mySettingsInputFilename = mySystemConfigFile;
- 
-+  // otherwise the system properties file is never used
-+  if(!fileExists(myUserPropertiesFile))
-+    myUserPropertiesFile = "";
-+
-   mySnapshotFile = "";
-   myStateFile    = "";
- }



Home | Main Index | Thread Index | Old Index