pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update emulators/pearpc to 0.3.1, patch provided by zu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8c6af154400
branches:  trunk
changeset: 481298:a8c6af154400
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Thu Sep 30 22:59:46 2004 +0000

description:
Update emulators/pearpc to 0.3.1, patch provided by zul in PR pkg/27092,
thanks!

Changes:

version 0.3.1 (released 5. September 2004):
        - JITC_X86: increased translation cache size
        - (Win32) fixed: '`'/'~' key wasn't mapped
        - (SDL) fixed: right-alt was mapped to left-alt
        - fixed: German '<>|' key wasn't mapped
        - JITC_X86: corrected tw/twi instructions
          (should fix java native IO calls fail)
        - fixed: rfi instruction
          (should also fix java native IO calls fail)
        - fixed: some mysterious partition mappings in
          src/io/prom/fs/hfsplus/partition.c
        - (BEOS) updated
        - disabled unused keyboard shortcuts

version 0.3 (released 13. August 2004):
        - clean up everything on exit
        - (experimental) idle sleep for the JITC CPU
        - asynchronous keyboard and mouse events
        - implemented IDE Flush
        - Win32: implemented fullscreen mode proposed by Matt Jobson
        - short cut keys are configurable
        - correct clock/timing (Win32 + Posix) by Keith Rothman,
          Kimball Thurston and Stefan Weyergraf
        - SDL support
        - SDL: implemented fullscreen mode
        - source tree reorganisation
                - display functions moved to src/system/ui directory
                - src/system/arch created
                - system/posix,win32 and beos moved to system/osapi/
                - host keyboard support separated from SystemDisplay
                - host mouse support separated from SystemDisplay
        - architecture-specific video acceleration functions (x86)
        - configure-system: choose "jitc_x86" on x86s when no
          --enable-cpu given
        - JITC: srawix, subfcx, divwx, divuwx,
                mulhwx, mulwx, subfex, extshx implemented
        - JITC: align entrypoints

diffstat:

 doc/CHANGES                       |   3 ++-
 doc/TODO                          |   3 +--
 emulators/pearpc/Makefile         |  19 +++++++++++++++----
 emulators/pearpc/distinfo         |   7 ++++---
 emulators/pearpc/patches/patch-aa |  28 ++++++++++++++++++++++++++++
 5 files changed, 50 insertions(+), 10 deletions(-)

diffs (119 lines):

diff -r 8d228ab92031 -r a8c6af154400 doc/CHANGES
--- a/doc/CHANGES       Thu Sep 30 22:37:31 2004 +0000
+++ b/doc/CHANGES       Thu Sep 30 22:59:46 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.7301 2004/09/30 22:37:31 wulf Exp $
+$NetBSD: CHANGES,v 1.7302 2004/09/30 22:59:46 xtraeme Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -4499,3 +4499,4 @@
        Updated subversion to 1.1.0 [epg 2004-09-30]
        Added sun-jre15-5.0 [rh 2004-09-30]
        Added cppunit-1.10.2 [wulf 2004-10-1]
+       Updated pearpc to 0.3.1 [xtraeme 2004-10-01]
diff -r 8d228ab92031 -r a8c6af154400 doc/TODO
--- a/doc/TODO  Thu Sep 30 22:37:31 2004 +0000
+++ b/doc/TODO  Thu Sep 30 22:59:46 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.2183 2004/09/30 14:42:39 epg Exp $
+$NetBSD: TODO,v 1.2184 2004/09/30 22:59:47 xtraeme Exp $
 
 Suggested new packages
 ======================
@@ -377,7 +377,6 @@
        o p5-Exception-Class-1.17
        o p5-gtk2-1.060
        o pdmenu-1.2.81
-       o pearpc-0.3.1
        o perl-5.8.5
        o pgplot-5.2 [grant]
        o php-5.0.2
diff -r 8d228ab92031 -r a8c6af154400 emulators/pearpc/Makefile
--- a/emulators/pearpc/Makefile Thu Sep 30 22:37:31 2004 +0000
+++ b/emulators/pearpc/Makefile Thu Sep 30 22:59:46 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/06/20 19:33:20 xtraeme Exp $
+# $NetBSD: Makefile,v 1.2 2004/09/30 22:59:47 xtraeme Exp $
 #
 
-DISTNAME=              pearpc-0.2.0
+DISTNAME=              pearpc-0.3.1
 CATEGORIES=            emulators
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=pearpc/}
 EXTRACT_SUFX=          .tar.bz2
@@ -12,11 +12,10 @@
 
 GNU_CONFIGURE=         yes
 USE_BUILDLINK3=                yes
+USE_LANGUAGES+=                c++
 USE_PKGINSTALL=                yes
 USE_X11=               yes
 
-LIBS+=                 ${PTHREAD_LDFLAGS}
-
 EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
 CONF_FILES=            ${EGDIR}/ppccfg.example ${PKG_SYSCONFDIR}/ppccfg.conf
 
@@ -47,5 +46,17 @@
 SUBST_SED.conf=                -e "s|\"nvram\"|\"/tmp/nvram\"|"
 SUBST_MESSAGE.conf=    "Fixing configuration file."
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.pearpc
+PKG_SUPPORTED_OPTIONS= sdl
+
+.include "../../mk/bsd.options.mk"
+
+.if empty(PKG_OPTIONS:Msdl)
+CONFIGURE_ARGS+=       --enable-ui=x11
+.else
+CONFIGURE_ARGS+=       --enable-ui=sdl
+.  include "../../devel/SDL/buildlink3.mk"
+.endif
+
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8d228ab92031 -r a8c6af154400 emulators/pearpc/distinfo
--- a/emulators/pearpc/distinfo Thu Sep 30 22:37:31 2004 +0000
+++ b/emulators/pearpc/distinfo Thu Sep 30 22:59:46 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2004/06/24 03:42:41 xtraeme Exp $
+$NetBSD: distinfo,v 1.3 2004/09/30 22:59:47 xtraeme Exp $
 
-SHA1 (pearpc-0.2.0.tar.bz2) = b83a3cea723c077d8037e7a78015c4c325748dfc
-Size (pearpc-0.2.0.tar.bz2) = 547558 bytes
+SHA1 (pearpc-0.3.1.tar.bz2) = dd72099397045dfb5b2b74bc8119ca54b7bcfeba
+Size (pearpc-0.3.1.tar.bz2) = 641965 bytes
+SHA1 (patch-aa) = 4f5355b989f963ef030b1ae28d4f5fce6b0f462d
diff -r 8d228ab92031 -r a8c6af154400 emulators/pearpc/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/pearpc/patches/patch-aa Thu Sep 30 22:59:46 2004 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1 2004/09/30 22:59:47 xtraeme Exp $
+
+--- src/system/osapi/posix/systimer.cc.orig    2004-10-01 00:35:34.000000000 +0200
++++ src/system/osapi/posix/systimer.cc 2004-10-01 00:37:26.000000000 +0200
+@@ -31,7 +31,11 @@
+ static const int kTimerSignal = SYSTIMER_SIGNAL;
+ #ifdef USE_POSIX_REALTIME_CLOCK
+ static void signal_handler(int signo, siginfo_t *extra, void *junk);
++#  ifdef __NetBSD__
++static const int kClockRT = CLOCK_PROF;
++#  else
+ static const int kClockRT = CLOCK_PROCESS_CPUTIME_ID;
++#  endif
+ static const int kClock = CLOCK_REALTIME;
+ #else
+ # ifdef USE_POSIX_SETITIMER
+@@ -70,7 +74,11 @@
+ #ifdef USE_POSIX_REALTIME_CLOCK
+ static void signal_handler(int signo, siginfo_t *extra, void *junk)
+ {
++#  ifndef __NetBSD__
+       sys_timer_struct *timer = reinterpret_cast<sys_timer_struct *>(extra->si_value.sival_ptr);
++#  else
++      sys_timer_struct *timer = reinterpret_cast<sys_timer_struct *>(extra->si_sigval.sival_ptr);
++#  endif
+       timer->callback(reinterpret_cast<sys_timer>(timer));
+ }
+ #else



Home | Main Index | Thread Index | Old Index