file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
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.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
* New features:
+ Scorpion ZS 256 support
+ Spectrum SE support
+ Support for the simple 8-bit IDE interface (as used by the +3e)
and the ZXATASP and ZXCF interfaces
+ Spectrum +3e support: just a +3 with different ROMs
+ Interface II support
+ Emulation of joysticks other than the Kempston
* Z80 core improvements:
+ Get undocumented flags right after SCF and BIT
+ Improved contended memory timings for RLD, RRD and
instructions involving (HL), (SP), (IX+dd), (IY+dd)
* Debugger improvements:
+ Memory map pane showing what is present in each 8K chunk
+ Allow port values to be masked before checking for port read/write
breakpoints
+ Ability to set breakpoints in non-RAM pages
* Miscellaneous improvements:
+ Improved display timings
+ Improved floating bus timings; Arkanoid and Sidewize now work
+ Save/restore the high bit of the R register; Bruce Lee now works
+ Fuse can now save snapshot formats other than .z80 and tape formats other
than .tap; the appropriate format will be selected according to the
extension given
+ Improved sound emulation, now using 16 bit samples
+ Allow real joystick buttons to be equivalent to either 'emulated joystick
fire' or 'press a key'
+ The pokefinder can now search for bytes which have increased or decreased
since the last search
+ HP-UX sound support (Stuart Brady).
+ After 'flashloading' a tape block, set the registers to the values they
would have if the block had been loaded normally; 'The Rats' now loads
successfully
+ GTK+ 2.x user interface preferred to GTK+ 1.2 by default if available
+ Don't display an error message if the same message was displayed within
the last second
+ Writing to the Betadisk ports is a no-op if TR-DOS isn't active
+ Keep Timex Dock cartridge inserted after reset if it had been inserted
via File/Open or from the command line
+ Split the 'ROM selection' dialog into one dialog for each machine
+ Unused bits of AY registers are zeroed
+ Remove segfault if one ROM of a multi-ROM machine didn't load
+ Don't segfault if Space rather than a mouse double click is used to select
things in the GTK+ tape browser, debugger or pokefinder
+ Stop output to the serial printer when printer emulation is disabled;
prevents the random appearance of 'printout.txt'
* Compilation fixes:
+ sdljoystick.h missing from tarball.
+ Link failure if a widget UI in use and lib765 not available.
+ Compilation failure if ROMSDIR defined.
* Bugfixes:
+ Use of the SDL icons could cause screen corruption.
+ The reverse page mapping for 0xc000 - 0xffff would occasionally be
wrong on the +2A/+3.
* Miscellaneous:
+ Allow selectable devices to be used for the real joysticks.
+ Use glib 2.0 if available.
+ Allow ROMSDIR to be set when configuring.
* New features:
+ Real joystick support.
+ The 'pokefinder'.
+ Black and white TV mode for the GTK+ and SDL user interfaces.
+ The Timex 1.5x scaler and the reappearance of 3x3 mode for the GTK+ UI.
+ A simple memory browser.
+ Writes to disk will not affect the underlying file unless
explicitly requested by the user.
+ Status bar for the GTK+ UI, and status icons for the SDL UI.
+ Options to disable the GTK+ confirmation dialogs and the printer emulation.
* Z80 core improvements
* Debugger improvements
* RZX improvements
* Minor bugfixes
* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy speed on any
computer you're likely to try it on.
* Support for loading from .tzx files.
* Sound (on system supporting the Open Sound System or BSD/Solaris).
* Kempston joystick emulation.
* Emulation of the various printer you could attach to the Spectrum.
* Very basic support for RZX files.
Changes 0.6.1:
* A Z80 core rewrite such that it's now generated from the regular
patterns in the instruction set. This shouldn't have any effect
as yet, but will make performance enhancements easier to do in
the future (Philip Kendall).
* On the TC2068, the ROM traps apply only when in the EXROM and
memory contention applies only in the HOME bank (Fredrick
Meunier).
* On the 128K Spectrum, use the correct port mask when checking
for contention on the 'memory control' port (Philip Kendall).
* RZX competition mode (Philip Kendall).
* Add AY logging to .psg files (Matthew Westcott)
* Optionally autoload +3 and TRDOS disks when they're inserted
(Philip Kendall).
* Fall back to read(2) and malloc(3) if mmap(2) fails or is
unavailable (Philip Kendall).
* Add 'out' and 'tbreakpoint' commands, conditional breakpoints
and the ability to use general numeric expression to the GTK+
debugger (Philip Kendall).
* Allow Fuse to work with GTK+ 2.x (Marek Januszewski).
* Add a scrollbar to the GTK+ debugger's disassembly window
(Philip Kendall).
* New AdvMAME3x graphics scaler (Fredrick Meunier/ScummVM team)
* In the GTK+ UI, deactivate menu items when they're not
appropriate (Philip Kendall).
* Make bright black be the same as 'normal' black in the
framebuffer user interface (Witold Filipczyk).
* Add confirmation dialogs before resetting or quitting under the
GTK+ UI (Philip Kendall).