- check in changes from Rob Lemley, sent to me on November 28, 2001

This commit is contained in:
Bryce Denney 2001-12-05 04:45:51 +00:00
parent 0bbe088d56
commit 9aa771c8bf
6 changed files with 104 additions and 19 deletions

View File

@ -2,7 +2,21 @@ bochs for Debian
----------------
I've tried to keep the install the same as the default, everything goes in
/usr/local/bochs. Binary symlinks in /usr/local/bin.
/usr/local/bochs. Binary symlinks in /usr/local/bin. Yes this is less than
ideal. I intend to fix this as soon as I have time.
Some gotchas....
The dlx-linux files are installed owned by root. If you want to run bochs-dlx
as a normal user (probably not a bad idea), you will need to chown at least
bochsout.txt and hd10meg.img. Bochs-dlx does not run unless you do this, or
run as root.
I still have problems with the vga font on occasion. It is included in the
package and mkfontdir is run, but I still needed to restart X in order to
get bochs to run the first time.
-- Rob Lemley <rjlemley@calypsoblue.org>, Tue, 5 Jun 2001 21:08:30 -0700
-- Rob Lemley <rjlemley@calypsoblue.org>, Mon, 17 Sep 2001 14:40:30 -0700

View File

@ -1,22 +1,43 @@
bochs (1.3pre1-1) unstable; urgency=low
* Update for 1.3pre1
-- Rob Lemley <rjlemley@valinux.com> Wed, 28 Nov 2001 16:47:25 -0800
bochs (1.2.1cvs20011128-1) unstable; urgency=low
* Update from cvs
* Package now installs in /usr like a good package should
-- Rob Lemley <rjlemley@calypsoblue.org> Wed, 28 Nov 2001 16:39:35 -0800
bochs (1.2.1cvs20010917-1) unstable; urgency=low
* Added files to docs
* Run mkfontdir after installation to update the font
* Added some documentation RE common errors to the README.Debian file
-- Rob Lemley <rjlemley@calypsoblue.org> Mon, 17 Sep 2001 16:09:50 -0700
bochs (1.2.1-2) unstable; urgency=low
* Added bochs-dlx stuff. This may be separated out into its own
package at some point
-- Rob Lemley <rjlemley@debian> Tue, 12 Jun 2001 19:47:05 -0700
-- Rob Lemley <rjlemley@calypsoblue.org> Tue, 12 Jun 2001 19:47:05 -0700
bochs (1.2.1-1) unstable; urgency=low
* New upstream release.
-- Rob Lemley <rjlemley@debian> Tue, 12 Jun 2001 17:57:51 -0700
-- Rob Lemley <rjlemley@calypsoblue.org> Tue, 12 Jun 2001 17:57:51 -0700
bochs (1.2-3) unstable; urgency=low
* Moved debian dir to build dir
* Fixed rules file to work with potato
-- Rob Lemley <rjlemley@debian> Mon, 11 Jun 2001 21:33:06 -0700
-- Rob Lemley <rjlemley@calypsoblue.org> Mon, 11 Jun 2001 21:33:06 -0700
bochs (1.2-2) unstable; urgency=low

View File

@ -1,6 +0,0 @@
usr/local/bochs
usr/local/bin
usr/local/man
usr/local/man/man1
usr/lib/X11/fonts/misc

View File

@ -2,3 +2,5 @@ README
TESTFORM.txt
macintosh.txt
win32.txt
COPYING
CHANGES

View File

@ -0,0 +1,48 @@
#! /bin/sh
# postinst script for bochs
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see /usr/share/doc/packaging-manual/
#
# quoting from the policy:
# Any necessary prompting should almost always be confined to the
# post-installation script, and should be protected with a conditional
# so that unnecessary prompting doesn't happen if a package's
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
case "$1" in
configure)
mkfontdir /usr/lib/X11/fonts/misc
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -14,7 +14,7 @@ configure-stamp:
dh_testdir
# Add here commands to configure the package.
pwd
./configure --enable-fpu --enable-cdrom --enable-sb16=linux --enable-split-hd
export CONFIGURE_ARGS="--prefix=/usr"; ./.conf.linux
touch configure-stamp
@ -47,16 +47,22 @@ install: build
dh_installdirs
# Add here commands to install the package into debian/bochs.
$(MAKE) install_bin prefix=$(CURDIR)/debian/bochs/usr/local
$(MAKE) install_man prefix=$(CURDIR)/debian/bochs/usr/local
$(MAKE) install_dlx prefix=$(CURDIR)/debian/bochs/usr/local
#$(MAKE) install_bin prefix=$(CURDIR)/debian/bochs/usr/local
#$(MAKE) install_man prefix=$(CURDIR)/debian/bochs/usr/local
#$(MAKE) install_dlx prefix=$(CURDIR)/debian/bochs/usr/local
$(MAKE) install prefix=$(CURDIR)/debian/bochs/usr
# Put the font in the right place
cp $(CURDIR)/debian/bochs/usr/local/bochs/latest/vga.pcf $(CURDIR)/debian/bochs/usr/lib/X11/fonts/misc/vga.pcf
mkdir -p $(CURDIR)/debian/bochs/usr/lib/X11/fonts/misc
cp $(CURDIR)/debian/bochs/usr/bochs/latest/vga.pcf $(CURDIR)/debian/bochs/usr/lib/X11/fonts/misc/vga.pcf
# Dirty little Hack to put the symlinks in the right place
ln -snf ../bochs/latest/bochs $(CURDIR)/debian/bochs/usr/local/bin/bochs
ln -snf ../bochs/latest/bximage $(CURDIR)/debian/bochs/usr/local/bin/bximage
# Dirty little Hack to put the binaries in the right place
# This is becasue the makefile puts symlinks into /usr/bin which is bad ;)
rm -f $(CURDIR)/debian/bochs/usr/bin/bochs
rm -f $(CURDIR)/debian/bochs/usr/bin/bximage
mv $(CURDIR)/debian/bochs/usr/bochs/latest/bochs $(CURDIR)/debian/bochs/usr/bin/bochs
mv $(CURDIR)/debian/bochs/usr/bochs/latest/bximage $(CURDIR)/debian/bochs/usr/bin/bximage
# Build architecture-independent files here.