Commit graph

36 commits

Author SHA1 Message Date
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
8cf984f92e Fix GCC 3.4+: label at end of compound statement.
DragonFly support.
2005-12-20 14:11:03 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
uebayasi
d1ec4f3052 Back out previous, irrelevant quote fix. 2005-03-13 16:29:51 +00:00
uebayasi
71960dee9e Fix quoting. 2005-03-07 09:41:45 +00:00
agc
459a5bb28d Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
grant
627d4d0927 mark this NOT_FOR_COMPILER sunpro because util.c causes acomp to spin
on the CPU.
2004-07-20 10:02:50 +00:00
wiz
2be4a80769 Convert to bl3. 2004-04-19 00:08:50 +00:00
grant
398893a6b4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:36:03 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
wiz
5065f4431f Don't dump core if no ROM specified. From Soren Jacobsen in PR 22326. 2003-09-17 07:15:32 +00:00
wiz
079667a86b Split out some code into Makefile.common to be used by darcnes-svgalib
in pkgsrc-wip. From Ben Collver.
2003-08-02 19:52:12 +00:00
martti
ee90b572a6 COMMENT should start with a capital letter. 2003-07-21 16:45:54 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
wiz
be73b51825 On a.out, don't add --warn-common to LDFLAGS. Might fix arm32 bulk build
problem.
2002-05-12 10:33:03 +00:00
wiz
5f91cc840d Update HOMEPAGE. 2002-02-08 14:42:53 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
wiz
73af0447cf Update to 20010401.
Major changes since last pkgsrc version:
68k core fixes (still unused); sms/gg sprite renderer draws from tile cache;
completely new c blitters; preliminary MSX and SC3000 drivers.
2001-07-08 18:11:59 +00:00
agc
7e2fedb405 Move to sha1 digests, and add distfile sizes. 2001-04-20 10:49:52 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
wiz
311d465268 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 18:38:11 +00:00
wiz
90598e3fd6 Update to darcnes-20001011. Changes are some CPU fixes and some code
shuffling (for details visit the homepage).
2000-10-28 23:04:31 +00:00
wiz
6369a4ed4f Update darcnes to 9a0804.
Changes since last version:
o Changed the cpu6502 core to use lazy flag evaluation.
o Changed the NES PPU to draw sprites from the tilecache.
o Added a bitdepth-independant generic palette system.
o Added CD audio playback to the PCD CD driver.
2000-08-10 11:56:32 +00:00
wiz
de02ce703e Update to 20000710. Extracts from the Changelog:
Fixed the instruction cycle timings in the cpu6502 core.
Cleaned up the per-driver menu interface somewhat.
Started adding support for multilevel per-driver menus.
Started adding menus for the Disk ][ drives (not working yet).
Added preliminary FDS disk write emulation (doesn't save the changed disk,
  but whatever).
Added preliminary FDS timer IRQs (still need write support, but most of my
   test images are playable now).
2000-07-21 19:23:06 +00:00
wiz
3010a779bc Update darcnes to 20000625.
Changes from the web-page:
o Added driver-specific menu support to the X version.
o Broke all non-X versions (what, you didn't see this coming?).
o Added a reset menu item for the Apple ][ driver (it's now somewhat
  usable).
o Fixed unix sound and CD interfaces to automatically detect what type
  of system to compile for.
o Added support for Inserting/Removing FDS disks, and changing which
  side is up.
o Fixed "Error 24" problem reading many FDS disks (still need write
  support and timer IRQs).
o Fixed GTK version (yes, this one is tested).
o Fixed Makefile to allow overriding gtk-config (necessary for my system).
o More tweaks to the 68000 core (no it doesn't work).
o Cleaned up mapper 23 code (untested).
o Removed mapper vsync hooks (they weren't being used).
o Fixed NES palette mirroring (longstanding oops).
o More untested fixes to the Allegro and SVGALib ports (let's hope
  they work this time).
2000-07-02 01:05:11 +00:00
wiz
2e1ba9f8de Update to 2000-05-30.
Changes since the last version, from the authors web page:
Moved some event queue code out from pce.c to event.[ch].
Added automatic dependancy support to the Makefile.
Cleaned several things up to make porting easier.
Cleaned several things up to make cross-compilation easier.
Changed a couple headers to compile cleanly with a C++ compiler.
Added support for expansion cards to the Apple ][ emulation.
Added support for the language card to the Apple ][ emulation.
Added code to load more roms to the Apple ][ emulation.
Added preliminary Apple ][ disk support (can't use it without gdb, though).
Fixed color on Apple ][ text mode.
Added Apple ][ hires graphics mode.
Added a first approximation of Apple ][ lores graphics mode.
Added IRQ support to the emu68k core (no, genesis emulation still doesn't
work).
Added a new 6502 core (only used on NES right now, may be slightly buggy).
Made many improvements/fixes to the emu68k core (no, it _still_ doesn't
work).
Fixed genesis memory access to mask down to 24 bit addresses.
Fixed Apple ][ space bar key.
Removed the (unused) m6280 core.
Changed most NES mappers to not need to know how large the PRG ROM is.
Cleaned up the NES sprite renderer slightly.
Changed the video interface to not use procpointers.
2000-06-03 10:57:11 +00:00
wiz
413387bff1 Update of darcnes to 20000305.
Changes:
o Added keyboard support to Apple ][ driver (only works under X).
o Added a couple more instructions to the emu68k core (and still nothing runs).
o Added range checking to ROM accesses in the genesis driver.
o Disabled I/O logging of FM chip writes in the genesis driver.
o Fixed a bug with MMC3 IRQs (SMB3 fortress now works correctly).
o Cleaned up the NES PPU code somewhat.
o Cleaned up the SMS sprite renderers somewhat.
o Rebuilt command line parsing for X version and added (but failed to
  document) a command to override system detection (needed to access the
  Apple ][ driver).
2000-03-08 01:42:12 +00:00
wiz
b4dc8b8bf2 Another week, another darcnes. Changes:
o Fixed some problems with GG sprite clipping and tile rendering (only
  affects 8-bit mode).
o Fixed X toplevel window to resize properly.
o Cleaned up some of the X video code.
o Added (untested) 24bpp support to X video code.
o Cleaned up the FDS emulation code.
o Added a lot of (inaccessible) extra FDS functionality.
2000-03-02 20:34:58 +00:00
wiz
3de5bbda60 Updated darcnes to 2000-02-19.
Changes:
o Unified cd_freebsd.c and cd_linux.c into cd_unix.c.
o Added support for NetBSD CDROM (untested), and sound interfaces
  (thanks to Thomas Klausner for the NetBSD changes).
o Changed the nes bank 4 and 6 I/O hooks.
o Fixed FDS mapper to compile again.
o Fixed some problems with the PCE timer.
o Changed the PCE VDP interface not to use procpointers.
o Added clipping sprites to the right side of the screen to the PCE VDP.
o Removed the old (disabled) ROM type identification routine.
o Fixed the battery file handling to not use a cheap hack to get the
  filename (this breaks all gg savegames until you rename the battery
  file).
2000-02-20 18:15:13 +00:00
wiz
347657391c added appropriate LICENSE 2000-02-19 01:38:01 +00:00
wiz
281084befd First try at making darcnes work on non-i386-platforms 2000-02-14 02:44:31 +00:00
wiz
e8ae2370c9 fix typo 2000-02-14 01:42:25 +00:00
wiz
c9ace3bb33 Initial import of DarcNES, a multi-system emulator. Currently emulates
NES, SMS, and GG with sound, PCE without, and has basic support for some
other systems (SMD, Coleco, Atari ][).

This will not work on MSB-machines, for lack of access. The code
should support it, so if anyone's willing...
2000-02-13 23:28:06 +00:00