Initial import of pcsx-df-1.10. Does not work at all, but compiles fine.

TODO:
Plugins need to be ported for non-Linux.
Dumps core when looking for plugins in /usr/lib.

DESCR:
PCSX-df is a forked version of the dead PCSX emulator, with a nicer
interface and several improvements to stability and functionality.

PCSX-df uses the PSEMU plugin interface to provide most functionality;
without them, you will not be able to use it to play games.

PCSX-df has a very capable Internal HLE BIOS that can run many
games without problems. It is recommended that you use it. However,
if you own a real Playstation, you may be able to use your own BIOS
image. PCSX-df will find it in ~/.pcsx/bios/ if you place it there.
This commit is contained in:
Thomas Klausner 2009-10-11 10:04:42 +00:00
parent b77de4a291
commit 4154d4377c
10 changed files with 153 additions and 0 deletions

10
pcsx-df/DESCR Normal file
View file

@ -0,0 +1,10 @@
PCSX-df is a forked version of the dead PCSX emulator, with a nicer
interface and several improvements to stability and functionality.
PCSX-df uses the PSEMU plugin interface to provide most functionality;
without them, you will not be able to use it to play games.
PCSX-df has a very capable Internal HLE BIOS that can run many
games without problems. It is recommended that you use it. However,
if you own a real Playstation, you may be able to use your own BIOS
image. PCSX-df will find it in ~/.pcsx/bios/ if you place it there.

33
pcsx-df/Makefile Normal file
View file

@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/10/11 10:04:42 thomasklausner Exp $
#
DISTNAME= pcsx-df-1.10
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcsx-df/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pcsx-df.sourceforge.net/
COMMENT= Playstation 1 emulator optimized for Open Source Unix systems
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= intltool pkg-config
# obsolete
CONFIGURE_ARGS+= --disable-nautilusburn
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../audio/alsa-lib/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

23
pcsx-df/PLIST Normal file
View file

@ -0,0 +1,23 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/11 10:04:42 thomasklausner Exp $
bin/pcsx
lib/games/psemu/cfgDFIso
lib/games/psemu/cfgDFOpenGL
lib/games/psemu/cfgDFSound
lib/games/psemu/cfgDFXVideo
lib/games/psemu/libDFIso.la
lib/games/psemu/libDFSound.la
lib/games/psemu/libDFXVideo.la
lib/games/psemu/libdfOpenGL.la
lib/libpcsxcore.la
man/man1/pcsx.1
share/applications/pcsx.desktop
share/pcsx/pcsx-ui.xml
share/pcsx/pcsx.glade2
share/pcsx/pcsx.jpg
share/pcsx/pcsx_config.glade
share/pixmaps/pcsx-icon.png
share/psemu/dfiso.glade2
share/psemu/dfopengl.glade2
share/psemu/dfsound.glade2
share/psemu/dfxvideo.glade2
share/psemu/gpucfg.gladep

2
pcsx-df/TODO Normal file
View file

@ -0,0 +1,2 @@
Plugins need to be ported for non-Linux.
Dumps core when looking for plugins in /usr/lib.

10
pcsx-df/distinfo Normal file
View file

@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.1.1.1 2009/10/11 10:04:42 thomasklausner Exp $
SHA1 (pcsx-df-1.10.tar.gz) = e4eaf30ef66fdc56778f475b4b1002e2a93bea31
RMD160 (pcsx-df-1.10.tar.gz) = 7a78aa5dedd9a8bfe913cbb0a2851837d1b6e834
Size (pcsx-df-1.10.tar.gz) = 3379907 bytes
SHA1 (patch-aa) = a353199fc663da29e9b9312e18f91c3758fdc46d
SHA1 (patch-ab) = 98e0bf4c6e9556d30c536df628d2cc7d74cf0d1b
SHA1 (patch-ac) = f6e198bee462d33215bd09d0e03d0e308ed1a8e4
SHA1 (patch-ad) = 44c431d3996c92f52e778e8a154fdf3ff9cc1b94
SHA1 (patch-ae) = b06d8f265f331e26e169cd2c07e54c8f5d25584b

17
pcsx-df/patches/patch-aa Normal file
View file

@ -0,0 +1,17 @@
$NetBSD: patch-aa,v 1.1.1.1 2009/10/11 10:04:42 thomasklausner Exp $
--- Makefile.in.orig 2009-03-29 07:47:42.000000000 +0200
+++ Makefile.in
@@ -246,9 +246,9 @@ target_vendor = @target_vendor@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUBDIRS = data doc po intl libpcsxcore gui pixmaps plugins/dfinput \
- plugins/dfsound plugins/dfxvideo plugins/dfcdrom plugins/dfiso \
- plugins/dfOpenGL plugins/dfbinimage2 $(DFBINIMAGE)
+SUBDIRS = data doc po intl libpcsxcore gui pixmaps \
+ plugins/dfsound plugins/dfxvideo plugins/dfiso \
+ plugins/dfOpenGL $(DFBINIMAGE)
EXTRA_DIST = AUTHORS COPYING INSTALL NEWS README ChangeLog \
autogen.sh \
setup-gettext \

15
pcsx-df/patches/patch-ab Normal file
View file

@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.1.1.1 2009/10/11 10:04:42 thomasklausner Exp $
--- libpcsxcore/ix86_64/iR3000A-64.c.orig 2007-11-09 17:47:44.000000000 +0000
+++ libpcsxcore/ix86_64/iR3000A-64.c
@@ -29,6 +29,10 @@
//For mmap
#include <sys/mman.h>
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
uptr** psxRecLUT;
#undef PC_REC

15
pcsx-df/patches/patch-ac Normal file
View file

@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.1.1.1 2009/10/11 10:04:42 thomasklausner Exp $
--- libpcsxcore/psxmem.c.orig 2007-11-09 17:47:45.000000000 +0000
+++ libpcsxcore/psxmem.c
@@ -28,6 +28,10 @@
#include "r3000a.h"
#include <sys/mman.h>
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
/* Playstation Memory Map (from Playstation doc by Joshua Walker)
0x0000_0000-0x0000_ffff Kernel (64K)
0x0001_0000-0x001f_ffff User Memory (1.9 Meg)

13
pcsx-df/patches/patch-ad Normal file
View file

@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1.1.1 2009/10/11 10:04:42 thomasklausner Exp $
--- plugins/dfbinimage2/Preferences.hpp.orig 2008-08-24 16:27:08.000000000 +0200
+++ plugins/dfbinimage2/Preferences.hpp
@@ -29,7 +29,7 @@
#include <map>
#include <list>
#include <string>
-#include <glib-2.0/glib.h>
+#include <glib.h>
static char repeatString[] = "repeat";
static char volumeString[] = "volume";

15
pcsx-df/patches/patch-ae Normal file
View file

@ -0,0 +1,15 @@
$NetBSD: patch-ae,v 1.1.1.1 2009/10/11 10:04:42 thomasklausner Exp $
--- plugins/dfbinimage2/RipCDDAData.hpp.orig 2008-08-24 16:27:08.000000000 +0200
+++ plugins/dfbinimage2/RipCDDAData.hpp
@@ -31,8 +31,8 @@
#include "Preferences.hpp"
#include <gtk/gtk.h>
-#include <glib-2.0/glib.h>
-#include <glib-2.0/glib/gstdio.h>
+#include <glib.h>
+#include <glib/gstdio.h>
using namespace std;
// Some positions to edit