Commit graph

53 commits

Author SHA1 Message Date
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
jlam
2aee708a3f This package uses gzip and gunzip during build & installation. 2005-05-16 18:22:57 +00:00
agc
459a5bb28d Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
reed
c30c63008a Remove information from MESSAGE about the HTML documentation.
And remove references of it from Makefile.
The HTML documentation is not installed in the first place.

TODO: maybe make a bochs-docs package that builds the documentation
from the docbook source.

Bump PKGREVISION (I also updated DESCR in previous commmit too).
2005-02-11 22:28:42 +00:00
reed
5b23924607 Improved description. And removed reference to bochs.com URL which is wrong. 2005-02-11 22:26:21 +00:00
jlam
43ac8c39e1 Replace USE_GCC_SHLIB with "USE_LANGUAGE=c c++" (the latter implies the
former) for applications that are known to require C++.
2004-11-13 22:04:52 +00:00
grant
88b1567d1d this has little hope of building with anything but gcc. make it so. 2004-06-13 08:43:00 +00:00
grant
1d4b15aa11 this uses a c and c++ compiler. 2004-06-13 08:42:24 +00:00
grant
52f1b46a37 remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does this
automatically now.
2004-02-14 00:54:44 +00:00
hubertf
3574066d66 Update bochs to 2.1.1 (doh). Changes:
- fix bug in int15h function 0xe820 (Christian Neubert)
- fix vmware3 disk support on big-endian platforms (Christophe Bothamy)
- fix conditions for NM exception on FWAIT instruction (Christophe)
- fix symbol conflict in rfb and x display libraries (Volker Ruppert)
- allow 16 bit writes to ne2k page 0 (Volker)
- notify display libraries on change of bpp (Volker)
- fix bug in int13h function 0x10 (Volker)
- fix floppy dialog error on win2k (Volker)
- fix adress check in TSS IO permission bitmap (Christophe)
- fix buffer overflow vulnerability pointed out by SeSoX (Christophe)
- updates for MacOS compile (Daniel Gimpelevich)
2004-02-12 01:57:52 +00:00
hubertf
fa70d4e4aa Update bochs to 2.1. Changes:
- New disassembler
- 3DNow!/SSE/SSE2/PNI instruction support
- Vmware3/Sparse/Undoable/Growing harddisk images support
- many VGA emulation improvements (e.g. high/true color VBE modes added)
- No more X11 vga font required
2004-02-12 00:10:30 +00:00
grant
398893a6b4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:36:03 +00:00
gavan
3218f2e1d3 Set USE_GCC_SHLIB. Fixes linking on Solaris. 2003-11-06 18:26:46 +00:00
kristerw
fc2ea4c330 Override config.guess and config.sub to make the pkg recognize shark. 2003-10-26 17:40:31 +00:00
bouyer
206c9772ec Add a patch so that it builds with gcc3.
Confirmed to still build with gcc2 by Julio M. Merino Vidal.
2003-10-24 22:03:53 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
fredb
a4473c58af Upgrade to version 2.0.2. Changes from 2.0.1, from the
CHANGES file:

Changes in 2.0.2 (January 21, 2003):

- fix possible segfault in wxWindows (Volker Ruppert)
- fix instrumentation (Stanislav Shwartsman)
- fix cdrom read_toc() function for *BSD (Keith Matthew Jones)
- fix NetBSD boot from cdrom (Christophe Bothamy)
- fix cmos checksum (Volker)
- fix "refresh bit" behaviour in pit (Volker)
- fix .bochsrc parsing (Volker)
- fix vga resize/redraw problems (Volker)
- fix compilation issues on Irix and Tru64 (Christophe)
- fix MMX/SSE bugs (Stanislav, Peter Tattam)
2003-02-07 04:00:33 +00:00
fredb
0cb3465387 Update bochs to 2.0.1. From the ChangeLog:
Changes in 2.0.1 (January 4, 2003):

    - fix corrupt saved configuration files (Christophe Bothamy)
    - fix missing break statements in apic (Shai Fultheim)
    - fix compiling sb16 under FreeBSD (Volker Ruppert)
    - updates to the documentation (Volker)
    - fix text mode colors 8 to 15 (Volker)
    - fix FPU integer load bug (Volker)
    - stop pasting on hardware reset (Volker)
2003-01-13 20:18:46 +00:00
uebayasi
3b095a9665 Enable NE2000 ethernet module. Bump revision. 2002-12-30 05:52:41 +00:00
uebayasi
07209b6f1e Update to Bochs 2.0.
A very brief summary of changes:

- 2x emulation speedup!!!
- added plugin devices and guis. Now you can compile with many more
  options, and choose between them at runtime.
- added emulation of AMD x86-64, MMX, SSE, SSE2 instructions.
- add wxWindows port (a graphical configuration interface and display lib)
  and SVGAlib port (full screen display for Linux without X11).
- improvements in many I/O devices: for example up to 8 hard disks/cdroms,
  TUN/TAP network interface, 360k floppies.
- improved MacOSX/Carbon interface and updated MacOS9port.
- GDB remote stub, allows symbolic debugging with Bochs simulation.
- support for up to 32gig hard disk images.
2002-12-25 01:12:36 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
itojun
f6c4cd6740 upgrade to 1.4.1.
-------------------------------------------------------------------------
Changes in 1.4.1 (June 22, 2002):

- now cdrom is enabled in configure, unless you specifically disable
  it with --disable-cdrom. (Christophe)
- fix compile error in main.cc when SMP or APIC is enabled (Dave)
- the runtime menu now displays 11 (continue) by default (Bryce)
- initialize DMA controller before floppy and SB16
- fix DMA panic when installing win95 (Volker)
- first character of the vga bitmap is blank on win32 (Volker)
  Before, it was incorrectly coded as a '@'.
- AltGr key on European keyboards works now on win32 (Volker)
- fix problem with console/serial port on Bochs exit (Volker)
- enable serial port for GNU and GNU/Linux (Volker)
- small documentation fixes (Volker)
- remove unnecessary include statements for X11 (Volker)
- italian keymap added (Emanuele Goldoni)
- fix win32 ethernet frames error. It will no longer reject packets
  that are less than 60 bytes long. (Peter Tattam)
- BIOS fixes :
  - win2k cd-boot (Christophe)
  - emm386 crash (Dave)
  - cs=0 at boot time (Christophe)
  - keyboard failure in scandisk (Dave)
- fix bug in forming the 64-bit APIC base address from two 32-bit registers.
  A compiler warning in cpu/proc_ctrl.cc pointed this out.
- fix default choice in the runtime options menu
2002-07-12 03:39:15 +00:00
grant
21cfd3f8e4 set CXXFLAGS to use arch specific default optimization
suggested by Martin Husemann on tech-pkg and noted by Chris Pinnock in
private mail.
2002-06-06 23:19:45 +00:00
grant
57c5554baa add CXXFLAGS=-O2
reported by Wojciech Puchar <wojtek@3miasto.net> in pkg/17181.
2002-06-06 08:09:08 +00:00
fredb
8283b7e3ca - - Enable the cdrom driver, and begin to make it work on NetBSD.
It can boot a Norton Utilities CD, but not run any of the
    utilities. That may be the known problem with the Windows 98 CD.
- - Add the ability, on NetBSD, to spin up the CD-ROM. This keeps
    "disklabel cd0" while booted from the NetBSD 1.5.3 rescue floppy
    from panicing the emulation, but it still doesn't return a label.
- - Go ahead and enable the network driver and dummy sound driver.
    The network driver almost works under the NetBSD  rescue floppy
    (ifconfig works, but not ping). I have no way, currently, of
    verifying the (dummy, silent) sound driver.
- - Bump to 1.4nb1.
2002-05-14 13:52:51 +00:00
wiz
8441909a8e Install some more files (bximage, man pages, docs), sort PLIST,
regen a patch, and handle gui.cc slightly differently (sent back).
2002-05-13 14:47:41 +00:00
fredb
0ee7c724e1 Update package to version 1.4. Many changes. Here's an abbreviated list of some
of the more visible ones.

- ROM BIOS
  - Christophe Bothamy added ability to boot from El Torito CDROM.

- VGA
  - vga memory read/write functions in text mode fixed
  - implementation of CGA mode 320*200*4 (patch from Sebastien Bechet)

- GUI changes
  - cdrom button: click this to notify Bochs when you changed the CDROM (Volker)
  - snapshot button: saves the text on the Bochs screen into a file called
    snapshot.txt (Volker)
  - copy button: on Win32 and X windows, copy the text on the Bochs screen
    to the clipboard (Volker)
  - paste button: on Win32 and X windows, paste the characters on the
    clipboard into the Bochs window.  This requires keyboard_mapping to
    be enabled. (Bryce Denney)

- keyboard
  - added an optional keyboard_mapping option that enables to use your
    country specific keyboard with Bochs.  If enabled, the keymap file must be
    specified in bochsrc.  The available keymaps are US, German, Spanish and
    French for PCs running X11.  Contributions are welcomed.  (Christophe
    Bothamy)
  - added Windows(tm) key definitions (Volker Ruppert)
  - added paste button, which causes the emulated keyboard to type characters
    from the system clipboard.  This only works when keyboard_mapping is
    enabled. (Bryce Denney)
2002-05-13 14:12:03 +00:00
fredb
4c5c9e6203 Update bochs to 1.3. Version 1.3 clearly performs better, and is more
stable than, version 1.1.2. Extensive changes include a new text-based
configuration menu (which starts at launch and upon pressing the config
button), LBA support for hard disks, better error handling for "hard
disk" configuration errors, and a new VGABIOS (optional). Plus, bochs
can now simulate an SMP machine! [The last is not tested on NetBSD,
and is not enabled by default in the package.]
2001-12-13 18:03:52 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
kei
95a0205abc Updated to version 1.1.2 (bugfix3, 2001-05-16)
- updated Elpin VGA BIOS to version 2.40, and changed pointer in .bochsrc
- fixed .conf.x86 script so that it uses c++ instead of egcs for C++ files
- now Makefile targets that recurse into subdirectories use double colons,
  so that it will always recurse into subdirectories.  Now a single make
  command should notice a modified source file in a subdir.
- fixed bug in bx_panic.  If BX_PANIC_IS_FATAL==0 and a (non-fatal) panic
  occurs, it used to call bx_atexit() and then return.  It should never
  call bx_atexit, which starts to shut down the simulator, unless it's
  really going to quit!
- support 2.88 MB floppy disks
- since dataseghack is checked in as non-executable, invoke it with
  "csh dataseghack"
- double fault patch from Thomas Petazzoni <thomas.petazzoni@ifrance.com>,
  sourceforge patch #423726.
- removed -fno-builtin from fpu makefiles
- redefine u_char, u_short, etc. in order to not conflict with system
  definitions of these same types.
- in cdrom.cc, remove the extern "C" { } structure around some of the
  header files.  This is no longer necessary.
- do not panic on hard disk command 0x1f2 (read sector count)
- in keyboard.cc:
  - apply Todd Fries' reset patch
  - recognize most of the "Grey" insert/delete/home/end/etc. keys the
    same as keypad keys.
  - removed panic on "kbd_ctrl_to_kbd(): got value of 0x??"
  - implement mouse command 0xf6 (set defaults)
- apply Suboner@aol.com's Xwindows timing patch from
  http://sourceforge.net/tracker/index.php?func=detail&aid=418730&group_id=12580
&atid=312580
- remove all patches from patches subdir which have already been applied.
  The remaining ones are under consideration but not applied.
2001-05-25 23:01:30 +00:00
wiz
4dabc5b0fe Update to bochs-bugfix-20010409-beta. Changes are lots of bugfixes. 2001-05-15 22:43:25 +00:00
fredb
54c3906258 New homepage, per bryce.denney@bigfoot.com (PR admin/12948). 2001-05-15 20:20:07 +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
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
simonb
878986a768 Enable on alpha - this works enough to boot rescue-small. 2001-01-04 22:51:53 +00:00
kei
6560c4d700 Updated "bochs" package to 2000.03.25a. it is now distributed under the LGPL. 2000-12-14 14:39:44 +00:00
wiz
dcc3df439b Use gmake instead of make (handles implicit rules differently).
Addresses pkg/9778 and pkg/10887.
2000-09-10 22:14:46 +00:00
fredb
a11708aa74 No need for the binary package to run "mkfontdir". 2000-09-05 16:55:42 +00:00
fvdl
d5519022f5 Regen for new patch-af. 2000-09-01 14:51:21 +00:00
fvdl
f66b3024f9 Patch to make bochs accept 2.88 floppies in the bochsrc file. 2000-09-01 14:50:45 +00:00
drochner
11f7d0d5ad update to 2000_0104c
changes since 991023a:
-various bugfixes
-soundblaster emulation
-cdrom emulation
-new fpu emulator
moved out of ${X11BASE}, there is little reason to have it there
2000-01-31 21:18:43 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
drochner
3b0218ccff Update bochs to 991023a.
relevant changes since 980707:
new BIOS
many many fixes
integrated debugger additions
Pentium emulation

It's now possible to boot NetBSD inside bochs. (Remaining problems:
missing BIOS INT15/86 (delay), IDE disk recognition, timer interrupt too
fast, pccons-isapnp clash)
1999-10-25 16:05:37 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
agc
f6473207ca Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this
package into ${X11BASE}".
Replace all occurrences of BUILD_USES_X11 with USE_X11. This means "use X11
headers and libraries to build this package".
1999-01-30 23:18:44 +00:00