head 1.26; access; symbols pkgsrc-2013Q2:1.26.0.8 pkgsrc-2013Q2-base:1.26 pkgsrc-2012Q4:1.26.0.6 pkgsrc-2012Q4-base:1.26 pkgsrc-2011Q4:1.26.0.4 pkgsrc-2011Q4-base:1.26 pkgsrc-2011Q2:1.26.0.2 pkgsrc-2011Q2-base:1.26 pkgsrc-2010Q4:1.25.0.42 pkgsrc-2010Q4-base:1.25 pkgsrc-2010Q3:1.25.0.40 pkgsrc-2010Q3-base:1.25 pkgsrc-2010Q2:1.25.0.38 pkgsrc-2010Q2-base:1.25 pkgsrc-2010Q1:1.25.0.36 pkgsrc-2010Q1-base:1.25 pkgsrc-2009Q4:1.25.0.34 pkgsrc-2009Q4-base:1.25 pkgsrc-2009Q3:1.25.0.32 pkgsrc-2009Q3-base:1.25 pkgsrc-2009Q2:1.25.0.30 pkgsrc-2009Q2-base:1.25 pkgsrc-2009Q1:1.25.0.28 pkgsrc-2009Q1-base:1.25 pkgsrc-2008Q4:1.25.0.26 pkgsrc-2008Q4-base:1.25 pkgsrc-2008Q3:1.25.0.24 pkgsrc-2008Q3-base:1.25 cube-native-xorg:1.25.0.22 cube-native-xorg-base:1.25 pkgsrc-2008Q2:1.25.0.20 pkgsrc-2008Q2-base:1.25 cwrapper:1.25.0.18 pkgsrc-2008Q1:1.25.0.16 pkgsrc-2008Q1-base:1.25 pkgsrc-2007Q4:1.25.0.14 pkgsrc-2007Q4-base:1.25 pkgsrc-2007Q3:1.25.0.12 pkgsrc-2007Q3-base:1.25 pkgsrc-2007Q2:1.25.0.10 pkgsrc-2007Q2-base:1.25 pkgsrc-2007Q1:1.25.0.8 pkgsrc-2007Q1-base:1.25 pkgsrc-2006Q4:1.25.0.6 pkgsrc-2006Q4-base:1.25 pkgsrc-2006Q3:1.25.0.4 pkgsrc-2006Q3-base:1.25 pkgsrc-2006Q2:1.25.0.2 pkgsrc-2006Q2-base:1.25 pkgsrc-2006Q1:1.24.0.2 pkgsrc-2006Q1-base:1.24 pkgsrc-2005Q4:1.22.0.2 pkgsrc-2005Q4-base:1.22 pkgsrc-2005Q3:1.21.0.4 pkgsrc-2005Q3-base:1.21 pkgsrc-2005Q2:1.21.0.2 pkgsrc-2005Q2-base:1.21 pkgsrc-2005Q1:1.20.0.4 pkgsrc-2005Q1-base:1.20 pkgsrc-2004Q4:1.20.0.2 pkgsrc-2004Q4-base:1.20 pkgsrc-2004Q3:1.19.0.6 pkgsrc-2004Q3-base:1.19 pkgsrc-2004Q2:1.19.0.4 pkgsrc-2004Q2-base:1.19 pkgsrc-2004Q1:1.19.0.2 pkgsrc-2004Q1-base:1.19 pkgsrc-2003Q4:1.18.0.2 pkgsrc-2003Q4-base:1.18 netbsd-1-6-1:1.15.0.2 netbsd-1-6-1-base:1.15 netbsd-1-6:1.14.0.8 netbsd-1-6-RELEASE-base:1.14 pkgviews:1.14.0.4 pkgviews-base:1.14 buildlink2:1.14.0.2 buildlink2-base:1.14 netbsd-1-5-PATCH003:1.14 comdex-fall-1999:1.11 netbsd-1-4-PATCH001:1.10 netbsd-1-4-RELEASE:1.10 netbsd-1-3-PATCH003:1.9; locks; strict; comment @# @; 1.26 date 2011.02.06.05.00.58; author wiz; state dead; branches; next 1.25; 1.25 date 2006.06.15.11.40.00; author dillo; state Exp; branches; next 1.24; 1.24 date 2006.03.09.20.51.13; author kristerw; state Exp; branches; next 1.23; 1.23 date 2006.01.22.18.37.52; author kristerw; state Exp; branches; next 1.22; 1.22 date 2005.12.03.10.58.22; author kristerw; state Exp; branches; next 1.21; 1.21 date 2005.05.12.22.34.53; author kristerw; state Exp; branches; next 1.20; 1.20 date 2004.11.07.16.11.48; author kristerw; state Exp; branches; next 1.19; 1.19 date 2004.02.21.00.06.36; author kristerw; state Exp; branches; next 1.18; 1.18 date 2003.05.27.12.43.16; author kristerw; state Exp; branches; next 1.17; 1.17 date 2003.04.13.17.37.48; author kristerw; state Exp; branches; next 1.16; 1.16 date 2003.02.14.21.58.36; author kristerw; state Exp; branches; next 1.15; 1.15 date 2002.12.14.15.14.26; author kristerw; state Exp; branches; next 1.14; 1.14 date 2002.01.03.00.19.01; author kristerw; state Exp; branches; next 1.13; 1.13 date 2001.09.02.23.04.23; author kristerw; state Exp; branches; next 1.12; 1.12 date 99.11.10.07.58.37; author soren; state dead; branches; next 1.11; 1.11 date 99.07.27.03.20.38; author mycroft; state Exp; branches; next 1.10; 1.10 date 98.11.12.23.20.10; author frueauf; state Exp; branches; next 1.9; 1.9 date 98.09.01.06.58.14; author mycroft; state Exp; branches; next 1.8; 1.8 date 98.08.31.08.12.20; author mycroft; state Exp; branches; next 1.7; 1.7 date 98.08.29.21.32.05; author mycroft; state Exp; branches; next 1.6; 1.6 date 98.08.29.19.42.00; author frueauf; state Exp; branches; next 1.5; 1.5 date 98.08.29.04.24.29; author mycroft; state Exp; branches; next 1.4; 1.4 date 98.08.07.10.40.37; author agc; state Exp; branches; next 1.3; 1.3 date 98.07.23.09.38.09; author mycroft; state Exp; branches; next 1.2; 1.2 date 98.07.22.09.41.15; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.07.09.12.34.56; author mycroft; state Exp; branches; next ; desc @@ 1.26 log @Remove xmame und xmess -- use mame/mess instead. Ok kristerw @ text @$NetBSD: patch-aa,v 1.25 2006/06/15 11:40:00 dillo Exp $ --- makefile.unix.orig 2006-05-15 18:53:34.000000000 +0200 +++ makefile.unix @@@@ -33,7 +33,7 @@@@ ########################################################################### # Uncomment one of these. -TARGET = mame +# TARGET = mame # TARGET = mess # TARGET = mage # TARGET = mmsnd @@@@ -97,7 +97,7 @@@@ # just as well. However, stay away from the `cc' Ultrix compiler if # possible. -CC = @@gcc +# CC = @@gcc # CC = @@cc # CC = @@icc # CC = @@c89 @@@@ -118,7 +118,7 @@@@ # If you want to use whatever CFLAGS are currently set in your # environment, then comment this out. -CFLAGS = +# CFLAGS = ########################################################################### @@@@ -127,7 +127,7 @@@@ ########################################################################### # GCC on x86 -CFLAGS = -O2 +# CFLAGS = -O2 # GCC on x86 with some optimizations # CFLAGS = -O2 -mtune=i686 -fomit-frame-pointer -fstrength-reduce -ffast-math @@@@ -181,13 +181,13 @@@@ ######################################################################### # Check for C89 + GNU extensions compliance. - CFLAGS += -std=gnu89 + # CFLAGS += -std=gnu89 # Show all warnings. - CFLAGS += -Wall + # CFLAGS += -Wall # Don't warn about unused variables. - CFLAGS += -Wno-unused + # CFLAGS += -Wno-unused # Warn about declarations after statements. # CFLAGS += -Wdeclaration-after-statement @@@@ -328,16 +328,16 @@@@ ifeq ($(CC),icc) # Optimizations for the Intel compiler. - CFLAGS = -O3 -rcd -Xa -ipo -ipo_obj + # CFLAGS = -O3 -rcd -Xa -ipo -ipo_obj else ifeq ($(CC),sun-forte) # # sun-forte given above is just an artifice to get us into this section - CC = cc + # CC = cc # uncomment to set compiler defaults oriented for maximum performance - XOPT += -fast + # XOPT += -fast # Choose one optimization level; #XOPT += -xO0 @@@@ -346,7 +346,7 @@@@ #XOPT += -xO3 # -xO4 and above automatically inline #XOPT += -xO4 - XOPT += -xO5 + # XOPT += -xO5 # uncomment for code generation targeted to the local machine; this # supplies -xarch, -xcpu, -xtarget. It also seems to cause an annoying @@@@ -354,11 +354,11 @@@@ # older hardware, which apparently can't be disabled. As an alternative, # the particular -xtarget for your system could be specified; # -xtarget=ultra2/2300 - XTARGET += -native + # XTARGET += -native #XTARGET += -xtarget=ultra2/2300 # uncomment to inline library math functions - EXTRA_OPTS += -xlibmil + # EXTRA_OPTS += -xlibmil ###################################################### # Additional options for parallelization optimizations @@@@ -374,7 +374,7 @@@@ # Sparc only, uncomment to do loop restructuring optimizations # and speculative prefetch for v8plusa and above - EXTRA_OPTS += -xdepend -xsafe=mem + # EXTRA_OPTS += -xdepend -xsafe=mem ################################################# # Additional options for glx builds @@@@ -384,14 +384,14 @@@@ # (libGLU dlopen() complains of missing name mangled symbols) # GLCFLAGS += -DSUN_FORTE_DLOPEN_LIBCRUN='\"libCrun.so.1\"' - CFLAGS= $(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS) - LDFLAGS=$(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS) + # CFLAGS= $(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS) + # LDFLAGS=$(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS) # uncomment for silence... - CFLAGS += -erroff + # CFLAGS += -erroff # Tell xmame that we really are in fact elf. If not supplied, # SHARED_PREFIX is set causing dlopen()'s to fail. - CFLAGS += -D__ELF__ + # CFLAGS += -D__ELF__ endif endif endif @@@@ -614,7 +614,7 @@@@ ########################################################################### # Linux -ARCH = linux +# ARCH = linux # FreeBSD # ARCH = freebsd @@@@ -727,7 +727,7 @@@@ # use SDL. # X11 (including Glide & OpenGL if enabled below) -DISPLAY_METHOD = x11 +# DISPLAY_METHOD = x11 # SDL library # DISPLAY_METHOD = SDL @@@@ -758,7 +758,7 @@@@ X11_MITSHM = 1 # Use Xv extension for hardware scaling. -X11_XV = 1 +# X11_XV = 1 # Enable XFree86 DGA. This also causes "make install" to set the suid bit # on the executable. @@@@ -782,8 +782,8 @@@@ # X11LIB = -L/usr/lib/X11 # Standard location for XFree86 -X11INC = -I/usr/X11R6/include -X11LIB = -L/usr/X11R6/lib +# X11INC = -I/usr/X11R6/include +# X11LIB = -L/usr/X11R6/lib # Standard location for Sun systems # X11INC = -I/usr/openwin/include @ 1.25 log @Update xmame and xmess to 0.106: 0.106: - Everything from MAME 0.106 and MESS 0.106 - Fixed a link error for messtest. (Arnaud G. Gibert) - Fixed an alignment bug in the OpenGL driver which caused Defender, and possibly other 16bpp games, to be skewed. - The mouse is no longer automatically grabbed in fullscreen mode. Bugzilla bug 877. - Replaced fuzzy game name comparison with the method used by MAME for Windows, which lists approximate matches when an exact match isn't found. - A BadMatch error should no longer occur for the OpenGL target in some cases, such as when 16bpp mode is used with recent releases of the binary NVIDIA driver. 0.105: - Everything from MAME 0.105 and MESS 0.105. - Fixed "-frames_to_run/-ftr" so that it works the same as on Windows. - Fixed a memory leak in the plugin manager shutdown found by Valgrind. Bugzilla bug 850. - The output of "-listroms (-lr)" now shows the correct driver name when it's run for all ROMs. - Fixed a potential buffer overflow in the standard joystick driver. Bugzill bug 821. (Pierre Riteau) @ text @d1 1 a1 1 $NetBSD$ @ 1.24 log @Update xmess to 0.104. Changes from 0.103: - Everything from MAME 0.104 (http://x.mame.net/changes-mame.html) and MESS 0.104 (http://x.mame.net/changes-mess.html). @ text @d3 2 a4 2 --- makefile.unix.orig 2006-03-09 19:41:47.000000000 +0100 +++ makefile.unix 2006-03-09 19:46:38.000000000 +0100 d18 5 a22 5 -CC = gcc +# CC = gcc # CC = cc # CC = icc # CC = c89 d41 1 a41 1 @@@@ -183,13 +183,13 @@@@ d106 1 a106 1 + #EXTRA_OPTS += -xdepend -xsafe=mem d116 2 a117 2 + #CFLAGS= $(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS) + #LDFLAGS=$(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS) d121 3 a123 3 + #CFLAGS += -erroff # Tell xmame that we really are in fact elf. If not supplied, SHARED_PREFIX # is set causing dlopen()'s to fail. d125 1 a125 1 + #CFLAGS += -D__ELF__ d129 1 a129 1 @@@@ -589,7 +589,7 @@@@ d138 1 a138 1 @@@@ -701,7 +701,7 @@@@ d147 1 a147 1 @@@@ -732,7 +732,7 @@@@ d156 1 a156 1 @@@@ -756,8 +756,8 @@@@ @ 1.23 log @Update xmess to version 0.103. Release 0.103, 16 January 2006: - Everything from MAME 0.103 (http://x.mame.net/changes-mame.html) and MESS 0.103 (http://x.mame.net/changes-mess.html). - Modified osd_alloc_executable() to use mmap() by default. This prevents segfaults in the DRC core on systems that support the NX bit, such as AMD64 and Intel Prescott. Thanks to Julian Sikorski, Adam Moss, and Carl Fongheiser. - Fixed a segfault that occurred when LIRC was enabled but lirc_init returned an error value. (Joe Quanaim) - Added "-[no]lirc" to enable or disable LIRC support. (Joe Quanaim) - Fixed several buffer overruns that happened when overly-long data was passed for "-ctrlr", "-lang", "-rec", and "-pb". Fixed other potential buffer overruns. Bugzilla bug 821. - Files larger than 2GB can now be accessed on platforms with large file support. - The "-createhd" and "-merge" operations in chdman are now a lot faster on Linux. @ text @d3 2 a4 2 --- makefile.unix.orig 2006-01-22 11:08:05.000000000 +0100 +++ makefile.unix 2006-01-22 11:11:39.000000000 +0100 d41 1 a41 1 @@@@ -183,16 +183,16 @@@@ d57 2 a58 6 - CFLAGS += -Wdeclaration-after-statement + # CFLAGS += -Wdeclaration-after-statement # Don't warn about code that might break strict aliasing rules. # CFLAGS += -Wno-strict-aliasing @@@@ -328,7 +328,7 @@@@ d67 62 a128 9 @@@@ -551,7 +551,7 @@@@ ########################################################################### # i386, GNU asm -MY_CPU = i386 +# MY_CPU = i386 # i386, no asm -- needed for the Intel C++ compiler, which does not fully # understand GCC's inline assembly syntax, though you may still enable d138 9 @ 1.22 log @Updated xmess to 1.102. Changes from 1.101: - Everything from MAME 0.102 (http://x.mame.net/changes-mame.html) and MESS 0.102 (http://x.mame.net/changes-mess.html). - Fixed a bug that could afflict MESS console emulations by preventing the keyboard from working. - The default ALSA buffer size is now 50000ms instead of 250000ms, which reduces lag. - Advancing frame-by-frame using shift-P works again. Bugzilla bug 787. - When the setup menu is closed, the keyboard state is cleared. This prevents the key press that closes the menu from affecting the emulation. This replaces the fix from 0.97, which wasn't working anymore and caused the frame-by-frame advancing to break besides. @ text @d3 2 a4 2 --- makefile.unix.orig 2005-12-01 01:03:10.000000000 +0100 +++ makefile.unix 2005-12-01 01:05:33.000000000 +0100 d36 2 a37 2 -CFLAGS = -O2 -Wall -Wno-unused +# CFLAGS = -O2 -Wall -Wno-unused d40 32 a71 2 # CFLAGS = -O2 -Wall -Wno-unused -mtune=i686 -fomit-frame-pointer \ @@@@ -552,7 +552,7 @@@@ d80 1 a80 1 @@@@ -590,7 +590,7 @@@@ d89 1 a89 1 @@@@ -733,7 +733,7 @@@@ d98 1 a98 1 @@@@ -757,8 +757,8 @@@@ @ 1.21 log @Update xmame/xmess to 0.96. Release 0.96, 10 May 2005: - Everything from MAME 0.96 (http://x.mame.net/changes-mame.html) and MESS 0.96 (http://x.mame.net/changes-mess.html). - Fixed the RGB to YUV conversion used by the Xv driver so that it conforms to the CCIR digital component video specifications. Fixes Bugzilla bug 691. (Alex W. Jackson) - The rows of the OpenGL bitmap used for 16bpp games are no longer misaligned in some cases; nagano98 now displays without doubled lines. - The behavior of "-listgamelist" should once again match the Windows side with regard to case-insensitive sorting and the treatment of leading "The" and "Le". - When a specific joystick device is designated with "-joydevname (-jdev)", it is now always treated as the player 1 joystick. - The built-in profiler works again. (Colin Howell) - The X11 build now properly sets the standard window properties. (Christian Birchinger's friend) @ text @d3 2 a4 2 --- makefile.unix.orig 2005-05-12 23:02:10.000000000 +0200 +++ makefile.unix 2005-05-12 23:07:19.000000000 +0200 d14 1 a14 1 @@@@ -88,7 +88,7 @@@@ d23 1 a23 1 @@@@ -109,7 +109,7 @@@@ d32 1 a32 1 @@@@ -118,7 +118,7 @@@@ d40 2 a41 2 # CFLAGS = -O2 -Wall -Wno-unused -mcpu=i686 -fomit-frame-pointer \ @@@@ -523,7 +523,7 @@@@ d50 1 a50 1 @@@@ -558,7 +558,7 @@@@ d59 1 a59 1 @@@@ -701,7 +701,7 @@@@ d68 1 a68 1 @@@@ -725,8 +725,8 @@@@ @ 1.20 log @Update xmess to 0.87. Changes since 0.86: - Everything from MAME 0.87 (http://x.mame.net/changes-mame.html) and MESS 0.87 (http://x.mame.net/changes-mess.html). - Reworked the video mode functions (Hans de Goede): * Unified and moved the aspect ratio calculations from xgl, fx, and x11_window to mode.c since all display targets that support arbitrary scaling through hardware make use of this. * Modified the code to use the aspect ratio supplied by the game driver instead of doing all kinds of magic. This corrects, for example, the aspect ratio of 1942. * Added a new option, "-perfectaspect (-pa)", which automatically sets yarbsize to honor the aspect ratio provided by the game driver. This is disabled by default because it can cause scaling artifacts. * When video modes are matched, the aspect ratio is now taken into account. - Made changes to the X11 targets (Hans de Goede): * Restored widthscale == 2 yuy2 code for perfect yuy2 blitting. * Fixed a bug introduced by the aspect ratio patches which caused the Xv fallback code to not detect an error case and crash later on instead of falling back to MITSHM. * The Xv window is now resized with the correct aspect ratio after a user resize; this prevents black borders from appearing. * Renamed "-perfect-yv12" to "-perfect-yuv". * Enabled perfect blitting by default for yuy2, since it fixes the ugly color bleeding in, for example, pacman. * Fixed colors being way off in Xv for 15bpp direct games, e.g., vector games with artwork disabled. * Current mouse values are now initialized in xinput_open, which should fix the problem of the visor going to the lower right corner in starwars when the video mode is switched from windowed X11 to DGA fullscreen while the mouse is grabbed. * Fixed the display of a 32bpp source on a 24bpp packed pixel window. * Fixed a bug in the DGA2 target which caused it to throw an XError when it failed to find a suitable mode, causing xmame to abort. * XInput now maps controls to mice 2 - 5 and leaves mouse 1 free for the default mouse. (Hans de Goede) * Fixed a bug which caused the window to disappear with Xv windowed mode under KDE. - Added a missing "Rapid Fire" string to the configuration menu. This fixes problems with the configuration of player controls. (Sylvain Trosset) - Cleaned up the sound code (Hans de Goede): * Cleaned up the ALSA driver. * The ALSA driver now reports the actual sample rate to the caller rather than the requested one. * Removed the "-alsa-pcm" command line option; the ALSA driver now supports "-auviodevice (-ad)". (Hans de Goede) * Removed "-fakesound (-fsnd)". Now sound is always faked since certain games won't run without it. * Changed the default sample rate to 44100, moving us into the Third Millennium. * Removed the "-[no]sound" option; if you really want to disable sound, specify a bogus device with "-audiodevice". - Removed the "-[no]mouse" option. (Hans de Goede) - Split aspect and mode settings so that all targets can use the aspect settings. (Hans de Goede) - Fixed the mapping of analog sticks' min..max ranges to the core's range. This fixes games that use analog controls, such as Out Run, as well as the jittery movement of the mouse cursor in games such as Missile Command. - Audio should work much better on Mac OS X. (anonymous) - The MMX assembly language version of the 6-tap filter now works for 16 and 32bpp source and destination bitmaps; previously, only the 32bpp screen depth was accelerated. (Richard Goedeken) - Corrected some of the out-of-date information in the documentation. Fixes Bugzilla bug 604. - Light guns should work again. Also added support for the triggers on an ACT LABS USB PC Monitor model that didn't work previously. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.35 2004/11/06 21:41:52 kristerw Exp $ d3 2 a4 2 --- makefile.unix.orig Sat Nov 6 21:34:15 2004 +++ makefile.unix Sat Nov 6 21:37:27 2004 d14 1 a14 1 @@@@ -89,7 +89,7 @@@@ d23 1 a23 1 @@@@ -110,7 +110,7 @@@@ d32 1 a32 1 @@@@ -119,7 +119,7 @@@@ d36 2 a37 2 -CFLAGS = -O -Wall -Wno-unused +# CFLAGS = -O -Wall -Wno-unused d41 1 a41 1 @@@@ -508,7 +508,7 @@@@ d50 1 a50 1 @@@@ -543,7 +543,7 @@@@ d59 1 a59 1 @@@@ -694,7 +694,7 @@@@ d68 1 a68 1 @@@@ -716,8 +716,8 @@@@ @ 1.19 log @Update xmess to 0.79.1 Changes since 0.78.1 includes: - Everything from MAME 0.79 (http://x.mame.net/changes-mame.html) and MESS 0.79 (http://x.mame.net/changes-mess.html). - Updated the ALSA DSP module to use the ALSA 1.0 API. (Shyouzou Sugitani) - Paths now allow a literal "$" if it's preceded by "\". (Andre Majorel) - Fixed a segfault that occurred when "-debug" was used with a rotated game. - The debugger window should no longer be blank for 32bpp games. - Fixed a bug in fix-comments.c that was causing it to mangle src/drivers/vendetta.c. - When XINPUT is defined in the makefile but no XInput devices are configured, the mouse is treated as a trackball. (Gerd Sussner) - The Xv YUV code should now work on big-endian platforms. (Maciej J. Woloszyk) - The trigger for the ACT LABS TV light gun now works; reloading now requires only one offscreen shot instead of two. (Joe) @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- makefile.unix.orig Sat Feb 21 00:03:46 2004 +++ makefile.unix Sat Feb 21 00:08:29 2004 d12 1 d14 1 a14 2 # example for a tiny compile @@@@ -88,7 +88,7 @@@@ d23 1 a23 1 @@@@ -103,7 +103,7 @@@@ d32 1 a32 1 @@@@ -112,7 +112,7 @@@@ d41 1 a41 1 @@@@ -471,7 +471,7 @@@@ d50 1 a50 1 @@@@ -506,7 +506,7 @@@@ d59 1 a59 1 @@@@ -652,7 +652,7 @@@@ d68 1 a68 1 @@@@ -674,8 +674,8 @@@@ @ 1.18 log @Update xmess to 0.69.1. Changes since 0.68.1 includes: - Re-added Ben Collins' core change that adds support for extra mice. - Reverted to using the original fronthlp.c (from 0.67.2) modified to work with the 0.69 core. - Fixed a logic bug in the XInput devices button-handling. (Ben Collins) - Made a tiny fix in fileio.c that allows specifying direct paths to roms to work again; e.g., ./xmame.x11 ./moo.zip @ text @d2 3 a4 2 --- makefile.unix.orig Mon May 26 22:09:26 2003 +++ makefile.unix Tue May 27 14:07:48 2003 d12 3 a14 3 # TARGET = neomame # TARGET = cpmame @@@@ -85,7 +85,7 @@@@ d23 1 a23 1 @@@@ -97,7 +97,7 @@@@ d32 1 a32 1 @@@@ -106,7 +106,7 @@@@ d35 1 a35 1 # gcc on x86 d39 1 a39 1 # gcc on x86 with some optimizations d41 1 a41 1 @@@@ -397,7 +397,7 @@@@ d49 2 a50 2 # understand gcc's inline assembly syntax, though you may still enable @@@@ -429,7 +429,7 @@@@ d59 1 a59 1 @@@@ -560,7 +560,7 @@@@ d68 1 a68 1 @@@@ -580,8 +580,8 @@@@ @ 1.17 log @Update xmess to 0.67.2. Changes since 0.66.2 include: - Almost everything from MESS CVS. - Added support for konamigx to info.c. (David Haywood) - Building the neomame target now works. (Steve Behling) - Using XFree86 3.3.6 fbdev in 32bpp now works. (Steve Behling) - USB patches to take recent FreeBSD changes into account. (Matthew N. Dodd) @ text @d2 2 a3 2 --- makefile.unix.orig Sun Apr 13 18:22:02 2003 +++ makefile.unix Sun Apr 13 18:31:53 2003 d31 9 d58 1 a58 1 @@@@ -555,7 +555,7 @@@@ d67 1 a67 1 @@@@ -575,8 +575,8 @@@@ @ 1.16 log @Update xmess to 0.65.1. Changelog since 0.62.2: The core is based on MAME 0.65. This incorporates all features of the update to this core. @ text @d2 3 a4 3 --- makefile.unix.orig Fri Feb 14 22:29:58 2003 +++ makefile.unix Fri Feb 14 22:30:10 2003 @@@@ -33,7 +33,6 @@@@ d9 1 d13 56 @ 1.15 log @Update xmess to 0.62.1 (rc3) Changes since last packaged version are mainly that the emulation core is based on MAME 0.62, together with random bugfixes. @ text @d1 5 a5 4 $NetBSD: patch-aa,v 1.30 2002/01/03 00:08:35 kristerw Exp $ --- makefile.unix.orig Wed Jan 2 01:32:01 2002 +++ makefile.unix Wed Jan 2 18:44:08 2002 @@@@ -32,7 +32,6 @@@@ d7 1 a7 2 #set TARGET to "mame" (without the ") to compile xmame and to "mess" to #compile xmess. d9 3 a11 12 ############################################################################## @@@@ -211,7 +210,7 @@@@ # *** xmameroot, this is the default rompath, place where the highscores are # stored, global rc location etc. Since most of these are configurable through # the rc-file anyway, there are no longer seperate defines for each. -XMAMEROOT = $(PREFIX)/lib/x$(TARGET) +XMAMEROOT = $(PREFIX)/share/x$(TARGET) ############################################################################## @ 1.14 log @Update xmess to version 0.56.2. Changes since xmess-0.37b15 include: New System Drivers Supported ---------------------------- * Unipolbrit Komputer 2086 [Krzysztof Strzecha] * ZX Spectrum 48k Psycho (ROM modification) [Krzysztof Strzecha] System Driver Changes: ---------------------- * [TI81] ON/OFF fixed. ROM bank switching added (port 5). NVRAM support added. [Krzysztof Strzecha] * [TI85/TI86] Snapshot loading corrected. [Krzysztof Strzecha] * [TC2048/TS2068] Aspect ratio corrected. [Krzysztof Strzecha] * [TS2068] Support for DOCK cartridges added. Support for Z80 snapshots added. AY sound added. [Krzysztof Strzecha] * [DRAGON/COCO] Improved one bit sound out. Improved support for DMK file format; now supports multiple sector sizes. Fixed double sided disk access in OS-9. Added support for the memory sense switch used to select between 64/32, 16 and 4K. [tim lindner] * [APF Imagination] Cassette loading and saving is working. Disc emulation is wo rking. Added some more key definitions. [Kev Thacker] * [ORIC] Fixed cassette loading and saving. [Kev Thacker, Mathis Rosenhauer] @ text @d1 1 a1 1 $NetBSD$ @ 1.13 log @Resurrect the xmess package (it was removed 2 years ago since xmess is included in the xmame tar ball. xmess doesn't however get updated for every new mame release, so it makes sense of having a separate package for it.) The current xmess version is xmess-0.37b15.2. @ text @d2 3 a4 3 --- makefile.unix.orig Thu Aug 23 02:48:30 2001 +++ makefile.unix Sat Sep 1 12:19:39 2001 @@@@ -32,7 +32,7 @@@@ a8 1 +TARGET = mess d12 1 a12 1 @@@@ -189,7 +189,7 @@@@ d17 1 a17 1 +XMAMEROOT = $(PREFIX)/share/xmess a20 61 @@@@ -197,7 +197,7 @@@@ ############################################################################## ### i386 + gnu-asm -MY_CPU = i386 +MY_CPU = ${MAME_CPU} ### i386 no asm # MY_CPU = i386_noasm ### ia64 @@@@ -218,11 +218,11 @@@@ ############################################################################## ### Linux -ARCH = linux +# ARCH = linux ### FreeBSD # ARCH = freebsd ### NetBSD -# ARCH = netbsd +ARCH = netbsd ### OpenBSD # ARCH = openbsd ### Solaris / SunOS @@@@ -255,11 +255,13 @@@@ # X Input Extensions based joystick, this is known to not work right now ;| # JOY_X11 = 1 # On iX86 based OS's, if supported, you can use standard joystick driver. -# JOY_I386 = 1 +ifeq (${NETBSD_JOYSTICK},yes) +JOY_I386 = 1 +endif # Linux FM-TOWNS game PAD joystick emulation support, thanks to Osamu Kurati. # JOY_PAD = 1 # NetBSD/FreeBSD USB joystick support. -# JOY_USB = 1 +JOY_USB = 1 ############################################################################## @@@@ -307,7 +309,9 @@@@ # MIT-Shared Memory X Extensions, comment the X11_MITSHM = 1 # XFree86 DGA -# X11_DGA = 1 +ifeq (${NETBSD_DGA},yes) +X11_DGA = 1 +endif # The XIL library (Solaris 2.5.1 and higher), uncomment # X11_XIL = 1 @@@@ -316,8 +320,8 @@@@ # X11INC = -I/usr/include/X11 # X11LIB = -L/usr/lib/X11 # standard location for XFree86 -X11INC = -I/usr/X11R6/include -X11LIB = -L/usr/X11R6/lib +X11INC = -I${PREFIX}/include -I${X11BASE}/include +X11LIB = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib # for Sun systems # X11INC = -I/usr/openwin/include # X11LIB = -L/usr/openwin/lib @ 1.12 log @Xmess is now part of xmame. @ text @d1 9 a9 34 $NetBSD: patch-aa,v 1.11 1999/07/27 03:20:38 mycroft Exp $ --- makefile.unix.orig Wed Aug 26 18:40:21 1998 +++ makefile.unix Mon Aug 31 04:06:42 1998 @@@@ -39,7 +39,7 @@@@ # GNU MAKE is MANDATORY !!! # so please give me the path... # if GNU make is "native" use this -MAKE = make +MAKE = gmake # else ... # MAKE=/usr/people/jantonio/bin/gmake @@@@ -99,18 +99,18 @@@@ # *** Select destination directory for your compiled program , manual page # and binary distribution ( if you want to... ) # ( only needed to install, not to compile... ) -DESTDIR = /usr/games -MANDIR = /usr/local/man/man6 +DESTDIR = ${PREFIX}/bin +MANDIR = ${PREFIX}/man/man6 DISTDIR = /home/ftp/pub/emulators/$(NAME) # *** Where the ROM source tree ? -ROMPATH = \"/usr/games/lib/$(NAME)\" +ROMPATH = \"${PREFIX}/share/$(NAME)\" # *** Where to store high scores ? -SDIR = \"/usr/games/lib/$(NAME)\" +SDIR = \"${PREFIX}/share/$(NAME)\" # *** Where resides global configuration file ? -MRC = \"/usr/games/lib/$(NAME)/$(NAME)rc\" +MRC = \"${PREFIX}/share/$(NAME)/$(NAME)rc\" d13 19 a31 1 @@@@ -118,7 +118,9 @@@@ d34 16 a49 2 # *** To disable joystick support comment next line -# JOY = -DUSE_JOYSTICK d51 1 a51 1 +JOY = -DUSE_JOYSTICK d53 5 a58 4 # *** To disable mouse support comment next line MOUSE = -DUSE_MOUSE @@@@ -137,7 +139,9 @@@@ # JSLIB = -lXi d60 8 a67 4 # On iX86 based OS's, if supported, you can use standard joystick driver -# JS = -DI386_JOYSTICK +ifeq (${NETBSD_JOYSTICK},yes) +JS = -DI386_JOYSTICK d69 2 d72 1 a72 32 # Linux FM-TOWNS game PAD joystick emulation support # Thanks to Osamu Kurati for provided patch @@@@ -158,8 +162,8 @@@@ # you might decide to use these feature. Otherwise, you should use a # timer based audio code and ajust in src/unix/sound.h AUDIO_TIMER_FREQ item # -S_TIM = -DDONTUSE_TIMER -# S_TIM = -DUSE_TIMER +# S_TIM = -DDONTUSE_TIMER +S_TIM = -DUSE_TIMER # *** When using timer, you should provide the frequency to generate audio sample # frames in your system. See readme.unix notes about these item @@@@ -192,7 +196,7 @@@@ # note: x11 is the only one supported on all platforms ### normal X11 -DISPLAY_METHOD = x11 +#DISPLAY_METHOD = x11 ### XFree86's DGA extension, only tested under linux #DISPLAY_METHOD = xf86_dga ### svgalib, only supported under linux @@@@ -215,14 +219,16 @@@@ # *** If you haven't the MIT-Shared Memory X Extensions, comment the following: # ( Test if available by mean of xdpyinfo command ) # Comment it if not compiling for normal x11 -# MSHM = -DUSE_MITSHM +ifeq (${DISPLAY_METHOD},x11) +MSHM = -DUSE_MITSHM +endif # standard location for X11 d78 3 a80 3 +X11INC = -I${PREFIX}/include +X11LIB = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib # for Sun systems a82 43 @@@@ -243,11 +249,12 @@@@ ######## Alpha/Linux # ARCH = linux_alpha ######## ix86/Linux -ARCH = linux_i386 +# ARCH = linux_i386 ######## ix86/FreeBSD and ix86/BSDi # ARCH = FREEBSD ######## ix86/NetBSD -# ARCH = netbsd_i386 +ARCH = netbsd +MACHINE = $(shell uname -m) ######## Sparc/SunOS ( no sound ) # ARCH = sunos ######## ix86/Solaris @@@@ -282,7 +289,11 @@@@ DEFS.linux_alpha = -Dlinux -DLSB_FIRST -DAXP_ASM -DACORN DEFS.linux_i386 = -Dlinux -DLSB_FIRST -DX86_ASM DEFS.FREEBSD = -DLSB_FIRST -DX86_ASM -Dlinux -DFREEBSD_SOUND_WORKAROUND -DEFS.netbsd_i386 = -DLSB_FIRST -DX86_ASM -DNETBSD -DUSE_AUDIO +ifeq (${MACHINE},i386) +DEFS.netbsd = -DLSB_FIRST -DX86_ASM -DNETBSD -DUSE_AUDIO +else +DEFS.netbsd = -DLSB_FIRST -DACORN -DNETBSD -DUSE_AUDIO +endif DEFS.sunos = -Dsun -DCLOCKS_PER_SEC=1000000 -DACORN DEFS.solaris = -Dsun -DACORN DEFS.solaris_i386 = -DLSB_FIRST -Dsun -Dsolaris @@@@ -300,12 +311,14 @@@@ LIBS.solaris_i386 = -lm -lnsl -lsocket LIBS.irix = -lm -laudio LIBS.aix = -lm -lUMSobj +LIBS.netbsd = -lm ############################################################################## # **** Architecture dependent cflags. Only change if you know what're you doing... ############################################################################## CFLAGS.linux_powerpc = -fsigned-char CFLAGS.aix = -I/usr/include/UMS -I/usr/lpp/som/include +CFLAGS.netbsd = -fstrength-reduce -funroll-loops -fomit-frame-pointer ############################################################################# # **** Display dependent libs. Only change if you know what're you doing... @ 1.11 log @ELF rpath issues. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 1998/11/12 23:20:10 frueauf Exp $ @ 1.10 log @Some more pkglint stuff. @ text @d1 1 a1 1 $NetBSD$ d96 1 a96 1 +X11LIB = -L${PREFIX}/lib @ 1.9 log @Use -DACORN to fix up unaligned accesses on non-i386en. @ text @d1 2 @ 1.8 log @Allow the display type to be overridden from the pkg Makefile. @ text @d121 1 a121 1 +DEFS.netbsd = -DLSB_FIRST -DNETBSD -DUSE_AUDIO @ 1.7 log @Use a gmake construct rather than a pmake construct. @ text @a0 2 $NetBSD: patch-aa,v 1.6 1998/08/29 19:42:00 frueauf Exp $ d2 1 a2 1 +++ makefile.unix Fri Aug 28 23:23:33 1998 d69 10 a78 1 @@@@ -215,14 +219,14 @@@@ d83 1 d85 1 d98 1 a98 1 @@@@ -243,11 +247,12 @@@@ d113 1 a113 1 @@@@ -282,7 +287,11 @@@@ d126 1 a126 1 @@@@ -300,12 +309,14 @@@@ @ 1.6 log @Readd rcs ids again. @ text @d1 1 a1 1 $NetBSD$ d100 1 a100 1 +MACHINE != uname -m @ 1.5 log @Update to 0.2b4.1. @ text @d1 2 @ 1.4 log @Add NetBSD RCS Ids. @ text @d1 3 a3 5 $NetBSD$ --- makefile.unix.orig Fri Jun 5 09:49:04 1998 +++ makefile.unix Thu Jul 23 05:35:49 1998 @@@@ -13,7 +13,7 @@@@ d12 25 a36 1 @@@@ -72,7 +72,9 @@@@ d41 1 a41 1 +ifeq (${MACHINE},i386) d47 1 a47 1 @@@@ -91,7 +93,9 @@@@ d52 1 a52 1 +ifeq (${MACHINE},i386) d58 12 a69 1 @@@@ -106,7 +110,7 @@@@ d72 1 a72 1 # Comment it if compiling for svgalib d76 1 a76 3 # *** Does your system support gettimeofday() function? If do, we encourage you # to enable this feature . Else .... comment it :-( @@@@ -125,8 +129,8 @@@@ d87 2 a88 31 @@@@ -141,14 +145,14 @@@@ # *** Select destination directory for your compiled program # and binary distribution ( if you want to... ) # ( only needed to install, not to compile... ) -DESTDIR = /usr/games +DESTDIR = ${PREFIX}/bin DISTDIR = /home/ftp/pub/emulators/mess # *** Where to store high scores ? -SDIR = \"/usr/games/lib/mess\" +SDIR = \"${PREFIX}/share/mess\" # *** Where resides global configuration file ? -MRC = \"/usr/games/lib/mess/xmessrc\" +MRC = \"${PREFIX}/share/mess/xmessrc\" # *** Use this definition as default X Display DP = \":0.0\" @@@@ -170,8 +174,8 @@@@ # you might decide to use these feature. Otherwise, you should use a # timer based audio code and ajust in src/unix/sound.h AUDIO_TIMER_FREQ item # -S_TIM = -DDONTUSE_TIMER -# S_TIM = -DUSE_TIMER +# S_TIM = -DDONTUSE_TIMER +S_TIM = -DUSE_TIMER # *** When using timer, you should provide the frequency to generate audio sample # frames in your system. See readme.unix notes about these item @@@@ -193,7 +197,7 @@@@ ######## Alpha/Linux/X11 d90 4 a93 8 ######## ix86/Linux/X11 -ARCH = linux +# ARCH = linux ######## ix86/Linux/SVGALIB # ARCH = svgalib ######## ix86/Linux/GGI *New* *New* *New* Please test - no mouse or joy yet @@@@ -201,7 +205,8 @@@@ ######## ix86/FreeBSD/X11 and ix86/BSDi/X11 d95 1 a95 1 ######## ix86/NetBSD/X11 d99 1 a99 1 ######## Sparc/SunOS/X11 ( no sound ) d101 6 a106 13 ######## ix86/Solaris/X11 @@@@ -277,17 +282,22 @@@@ -fomit-frame-pointer -Wall INST.FREEBSD = doinstall -# netbsd_i386 +# netbsd ##################### -#If you want sound add to DEFS.netbsd_i386 "-DUSE_AUDIO" and +#If you want sound add to DEFS.netbsd "-DUSE_AUDIO" and #set STIM=-DUSE_TIMER above # -DEFS.netbsd_i386 = -DX86_ASM -DLSB_FIRST -DUNIX -Dnetbsd_i386 -DNETBSD \ d108 1 a108 4 +DEFS.netbsd = -DX86_ASM -DLSB_FIRST -DUNIX -DNETBSD \ -DHAVE_GETTIMEOFDAY -DUSE_AUDIO -DSIGNED_SAMPLES -LIBS.netbsd_i386 = $(X11LIB) -lX11 -lXext -lm -CFLAGS.netbsd_i386 = $(X11INC) -m486 -fstrength-reduce -funroll-loops \ d110 1 a110 2 +DEFS.netbsd = -DLSB_FIRST -DUNIX -DNETBSD \ + -DHAVE_GETTIMEOFDAY -DUSE_AUDIO -DSIGNED_SAMPLES d112 15 a126 5 +LIBS.netbsd = $(X11LIB) -lX11 -lXext -lm +CFLAGS.netbsd = $(X11INC) -O3 -fstrength-reduce -funroll-loops \ -fomit-frame-pointer -Wall -INST.netbsd_i386 = doinstall +INST.netbsd = doinstall d128 2 a129 2 # SunOS ##################### @ 1.3 log @Enable MIT-SHM, as pointed out by Mario Kemper. @ text @d1 2 @ 1.2 log @Give xmess the chance to compile on non-i386 machines too. @ text @d1 2 a2 2 --- makefile.unix.orig Fri Jun 5 15:49:04 1998 +++ makefile.unix Tue Jul 21 14:23:01 1998 d34 9 @ 1.1 log @Initial port of the XMESS game console emulator. @ text @d1 2 a2 2 --- makefile.unix.orig Fri Jun 5 09:49:04 1998 +++ makefile.unix Thu Jul 9 08:14:27 1998 d93 1 a93 1 @@@@ -277,17 +282,17 @@@@ d105 1 d110 4 @