Fail* directories reorganized, Code-cleanup (-> coding-style), Typos+comments fixed.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1321 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
320
simulators/bochs/build/batch-build.perl
Executable file
320
simulators/bochs/build/batch-build.perl
Executable file
@ -0,0 +1,320 @@
|
||||
#!/usr/bin/perl
|
||||
#####################################################################
|
||||
# $Id$
|
||||
#####################################################################
|
||||
#
|
||||
# Batch build tool for multiple configurations
|
||||
#
|
||||
# switches:
|
||||
# - show output vs. send it all to nohup. --nohup
|
||||
# - serial or parallel. --parallel
|
||||
#
|
||||
# no args: serial, display output
|
||||
# --nohup: serial, output to nohup.out. (Need summary.)
|
||||
# --nohup --parallel: parallel, output to nohup.out
|
||||
# --parallel: parallel, spawn xterm for each
|
||||
#
|
||||
|
||||
sub usage {
|
||||
print <<EOF;
|
||||
Usage: $0 [--nohup] [--parallel]
|
||||
--nohup causes the output of all compiles to go into nohup.out
|
||||
--parallel causes all compiles to be run in parallel
|
||||
|
||||
Usage: $0 --clean
|
||||
--clean erases the build directories and recreates them from scratch
|
||||
|
||||
Combinations of nohup and parallel:
|
||||
no args: serial compile, output goes to stdout
|
||||
--nohup: serial compile, output goes into individual nohup.out files
|
||||
--nohup --parallel: parallel compile, output goes to individual nohup.out files
|
||||
--parallel: parallel compile, spawn an xterm for each configuration
|
||||
EOF
|
||||
}
|
||||
|
||||
$DEBUG=0;
|
||||
|
||||
$TEST_STANDARD = 1;
|
||||
$TEST_GUIS = 1;
|
||||
$TEST_CPU = 1;
|
||||
$TEST_SMP = 1;
|
||||
$TEST_IODEV = 1;
|
||||
$TEST_PCI = 1;
|
||||
$TEST_X86_64 = 1;
|
||||
$TEST_SSE = 1;
|
||||
$TEST_PLUGINS = 1;
|
||||
$TEST_DEVICES = 1;
|
||||
|
||||
$pwd = `pwd`;
|
||||
chop $pwd;
|
||||
|
||||
# create all the configurations that we should test. The first argument
|
||||
# is the configuration name, which must be a valid directory name. To be
|
||||
# safe, don't put spaces, slashes, ".", or ".." in here.
|
||||
if ($TEST_STANDARD) {
|
||||
add_configuration ('normal',
|
||||
'');
|
||||
add_configuration ('dbg',
|
||||
'--enable-debugger');
|
||||
}
|
||||
|
||||
if ($TEST_PLUGINS) {
|
||||
add_configuration ('plug',
|
||||
'--enable-plugins');
|
||||
add_configuration ('plug-d',
|
||||
'--enable-plugins --enable-debugger');
|
||||
add_configuration ('plug-allgui',
|
||||
'--enable-plugins --with-all-libs');
|
||||
add_configuration ('plug-allgui-d',
|
||||
'--enable-plugins --with-all-libs --enable-debugger');
|
||||
add_configuration ('plug-smp',
|
||||
'--enable-plugins --enable-smp');
|
||||
add_configuration ('plug-smp-d',
|
||||
'--enable-plugins --enable-smp --enable-debugger');
|
||||
add_configuration ('plug-x86-64',
|
||||
'--enable-plugins --enable-x86-64');
|
||||
add_configuration ('plug-wx',
|
||||
'--enable-plugins --with-wx');
|
||||
}
|
||||
|
||||
if ($TEST_DEVICES) {
|
||||
add_configuration ('alldev',
|
||||
'--enable-ne2000 --enable-pci --enable-port-e9-hack --enable-cdrom --enable-iodebug');
|
||||
add_configuration ('ne2000',
|
||||
'--enable-ne2000');
|
||||
add_configuration ('pci',
|
||||
'--enable-pci');
|
||||
add_configuration ('port-e9-hack',
|
||||
'--enable-port-e9-hack');
|
||||
add_configuration ('cdrom',
|
||||
'--enable-cdrom');
|
||||
add_configuration ('gdbstub',
|
||||
'--enable-gdbstub');
|
||||
add_configuration ('iodebug',
|
||||
'--enable-iodebug');
|
||||
}
|
||||
|
||||
if ($TEST_GUIS) {
|
||||
# test with various gui options
|
||||
add_configuration ('wx',
|
||||
'--with-wx');
|
||||
add_configuration ('wx-d',
|
||||
'--with-wx --enable-debugger');
|
||||
add_configuration ('sdl',
|
||||
'--with-sdl');
|
||||
add_configuration ('sdl-d',
|
||||
'--with-sdl --enable-debugger');
|
||||
add_configuration ('term',
|
||||
'--with-term');
|
||||
add_configuration ('term-d',
|
||||
'--with-term --enable-debugger');
|
||||
add_configuration ('rfb',
|
||||
'--with-rfb');
|
||||
add_configuration ('rfb-d',
|
||||
'--with-rfb --enable-debugger');
|
||||
add_configuration ('nogui',
|
||||
'--with-nogui');
|
||||
add_configuration ('nogui-d',
|
||||
'--with-nogui --enable-debugger');
|
||||
}
|
||||
|
||||
if ($TEST_CPU) {
|
||||
# test with various cpu options
|
||||
add_configuration ('i386',
|
||||
'--enable-cpu-level=3 --disable-mmx');
|
||||
add_configuration ('i486',
|
||||
'--enable-cpu-level=4 --disable-mmx');
|
||||
add_configuration ('i586',
|
||||
'--enable-cpu-level=5');
|
||||
add_configuration ('i686',
|
||||
'--enable-cpu-level=6');
|
||||
add_configuration ('large-pages',
|
||||
'--enable-large-pages');
|
||||
add_configuration ('pae',
|
||||
'--enable-pae');
|
||||
add_configuration ('repeat',
|
||||
'--enable-repeat-speedups');
|
||||
add_configuration ('globalpg',
|
||||
'--enable-global-pages');
|
||||
add_configuration ('icache',
|
||||
'--enable-icache');
|
||||
add_configuration ('cpuall',
|
||||
'--enable-large-pages --enable-pae --enable-global-pages --enable-all-optimizations');
|
||||
}
|
||||
|
||||
if ($TEST_SMP) {
|
||||
# smp
|
||||
add_configuration ('smp',
|
||||
'--enable-smp');
|
||||
add_configuration ('smp-d',
|
||||
'--enable-smp --enable-debugger');
|
||||
add_configuration ('smp-wx',
|
||||
'--enable-smp --with-wx');
|
||||
add_configuration ('smp-wx-d',
|
||||
'--enable-smp --with-wx --enable-debugger');
|
||||
}
|
||||
|
||||
if ($TEST_X86_64) {
|
||||
# test x86-64
|
||||
add_configuration ('64bit',
|
||||
'--enable-x86-64');
|
||||
add_configuration ('64bit-d',
|
||||
'--enable-x86-64 --enable-debugger');
|
||||
add_configuration ('64bit-wx',
|
||||
'--enable-x86-64 --with-wx');
|
||||
add_configuration ('64bit-wx-d',
|
||||
'--enable-x86-64 --with-wx --enable-debugger');
|
||||
}
|
||||
|
||||
if ($TEST_SSE) {
|
||||
# test SSE configurations
|
||||
add_configuration ('sse1',
|
||||
'--enable-sse=1');
|
||||
add_configuration ('sse2',
|
||||
'--enable-sse=2');
|
||||
add_configuration ('sse3',
|
||||
'--enable-sse=3');
|
||||
add_configuration ('sse4',
|
||||
'--enable-sse=4');
|
||||
add_configuration ('sse2-dbg',
|
||||
'--enable-sse=2 --enable-debugger');
|
||||
add_configuration ('sse2-x86-64-wx-d',
|
||||
'--enable-sse=2 --enable-x86-64 --with-wx --enable-debugger');
|
||||
}
|
||||
|
||||
my $nohup = 0;
|
||||
my $parallel = 0;
|
||||
my $clean = 0;
|
||||
foreach my $arg (@ARGV) {
|
||||
if ($arg eq '--clean') {
|
||||
$clean = 1;
|
||||
} elsif ($arg eq '--nohup') {
|
||||
$nohup = 1;
|
||||
} elsif ($arg eq '--parallel') {
|
||||
$parallel = 1;
|
||||
} else {
|
||||
usage(); exit 1;
|
||||
}
|
||||
}
|
||||
|
||||
# this script may be run from various directories, and this affects
|
||||
# the path to the configure command. Try to figure out where the configure
|
||||
# command is found, and set up the build.sh scripts accordingly. If it
|
||||
# can't be found, spit out an error now instead of later.
|
||||
my @configurepath_tries = ("configure", "../configure", "../../configure");
|
||||
my $configurepath;
|
||||
foreach my $trypath (@configurepath_tries) {
|
||||
if (-x $trypath) {
|
||||
print "Found configure at $configurepath.\n" if $DEBUG;
|
||||
$configurepath = $trypath;
|
||||
}
|
||||
}
|
||||
if (!defined $configurepath) {
|
||||
print <<EOF;
|
||||
ERROR I could not locate the configure script. This script is intended
|
||||
to be run from the bochs main directory or a subdirectory of it. Examples:
|
||||
1) cd $BOCHS; ./build/batch-build.perl
|
||||
2) cd $BOCHS/build; ./batch-build.perl
|
||||
|
||||
Here are the places that I tried to find the configure script:
|
||||
EOF
|
||||
foreach (@configurepath_tries) {
|
||||
print " $_\n";
|
||||
}
|
||||
exit 1;
|
||||
}
|
||||
|
||||
$x = 50; $y = 50;
|
||||
$xinc = 30;
|
||||
$yinc = 30;
|
||||
|
||||
for (my $i=0; $i <= $#config_names; $i++) {
|
||||
my $name = "build-$config_names[$i]";
|
||||
my $options = $config_opts[$i];
|
||||
die if (!defined $name || !defined $options);
|
||||
print "Compiling '$name' with opts '$options'\n" if $DEBUG;
|
||||
if ($clean) {
|
||||
my $rmcmd = "rm -rf $name";
|
||||
print "Removing directory $name\n";
|
||||
system $rmcmd;
|
||||
next;
|
||||
}
|
||||
if (! -d $name) { mkdir $name, 0755; }
|
||||
$maybe_nohup = $nohup? "nohup" : "";
|
||||
open (BUILD, ">$name/build.sh");
|
||||
print BUILD <<BUILD_EOF;
|
||||
#!/bin/bash
|
||||
echo Running the configure script
|
||||
export CFLAGS='-g -O2 -Wall'
|
||||
export CXXFLAGS='-g -O2 -Wall'
|
||||
$maybe_nohup ../$configurepath $options
|
||||
if test $? != 0; then
|
||||
echo Configure failed.
|
||||
exit 1
|
||||
fi
|
||||
echo Running make
|
||||
$maybe_nohup make
|
||||
if test $? != 0; then
|
||||
echo Make failed.
|
||||
exit 1
|
||||
fi
|
||||
BUILD_EOF
|
||||
close BUILD;
|
||||
chmod 0755, "$name/build.sh";
|
||||
$gotodir = "cd $name";
|
||||
$startcmd = "nice $maybe_nohup ./build.sh";
|
||||
$header = <<HEADER_EOF;
|
||||
====================================================================
|
||||
Configuration name: $name
|
||||
Directory: $pwd/$name
|
||||
Config Options: $options
|
||||
====================================================================
|
||||
HEADER_EOF
|
||||
print $header;
|
||||
|
||||
if ($parallel && !$nohup) {
|
||||
# special case for parallel without nohup. If you're not careful,
|
||||
# all output from all compiles will go into the window at once, which
|
||||
# is impossible to read. Also very hard to kill them until they have
|
||||
# run their course. Instead, start each compile in a different xterm!
|
||||
# What's even more useful is that after the compile stops it goes into
|
||||
# a bash shell so that you can fix things, run the make again, etc.
|
||||
#
|
||||
# To do this, put the start command in a little shell script called
|
||||
# xterm-init.sh. Start the xterm with "-e xterm-init.sh" so that it
|
||||
# runs the script as it starts.
|
||||
|
||||
open (XTI, ">$name/xterm-init.sh");
|
||||
print XTI <<XTI_EOF;
|
||||
#!/bin/bash
|
||||
cat <<EOF
|
||||
$header
|
||||
EOF
|
||||
$startcmd
|
||||
bash
|
||||
exit 0
|
||||
XTI_EOF
|
||||
close XTI;
|
||||
chmod 0755, "$name/xterm-init.sh";
|
||||
$geometry = "-geom +$x+$y";
|
||||
$x+=$xinc;
|
||||
$y+=$yinc;
|
||||
$startcmd = "xterm -title $name -name $name $geometry -e ./xterm-init.sh";
|
||||
}
|
||||
|
||||
$cmd = "$gotodir && $startcmd";
|
||||
$cmd .= "&" if $parallel;
|
||||
print "Executing '$cmd'\n" if $DEBUG;
|
||||
system $cmd;
|
||||
}
|
||||
|
||||
print "\n"x2;
|
||||
print "batch-build script is done.\n";
|
||||
exit 0;
|
||||
|
||||
sub add_configuration {
|
||||
my ($name, $opts) = @_;
|
||||
push @config_names, $name;
|
||||
push @config_opts, $opts;
|
||||
}
|
||||
|
||||
BIN
simulators/bochs/build/beos/resource.zip
Normal file
BIN
simulators/bochs/build/beos/resource.zip
Normal file
Binary file not shown.
17
simulators/bochs/build/debian/README.Debian
Normal file
17
simulators/bochs/build/debian/README.Debian
Normal file
@ -0,0 +1,17 @@
|
||||
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. Yes this is less than
|
||||
ideal. I intend to fix this as soon as I have time.
|
||||
|
||||
Some gotchas....
|
||||
|
||||
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>, Mon, 17 Sep 2001 14:40:30 -0700
|
||||
65
simulators/bochs/build/debian/changelog
Normal file
65
simulators/bochs/build/debian/changelog
Normal file
@ -0,0 +1,65 @@
|
||||
bochs (1.3-1) unstable; urgency=low
|
||||
|
||||
* Update for 1.3
|
||||
|
||||
-- Rob Lemley <rjlemley@valinux.com> Mon, 10 Dec 2001 15:16:18 -0800
|
||||
|
||||
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@calypsoblue.org> Tue, 12 Jun 2001 19:47:05 -0700
|
||||
|
||||
bochs (1.2.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
||||
-- 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@calypsoblue.org> Mon, 11 Jun 2001 21:33:06 -0700
|
||||
|
||||
bochs (1.2-2) unstable; urgency=low
|
||||
|
||||
* Backed out changes to Makefile.in to keep in sync with upstream
|
||||
* Modified rules to install temp files in proper place for package build
|
||||
* Added hack to rules file to put symlinks in right places
|
||||
|
||||
-- Rob Lemley <rjlemley@calypsoblue.org> Mon, 11 Jun 2001 09:48:21 -0700
|
||||
|
||||
bochs (1.2-1) unstable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
* Adjusted Makefike.in to fix $DESTDIR problems
|
||||
|
||||
-- Rob Lemley <rjlemley@calypsoblue.org> Tue, 5 Jun 2001 21:08:30 -0700
|
||||
|
||||
Local variables:
|
||||
mode: debian-changelog
|
||||
End:
|
||||
7
simulators/bochs/build/debian/conffiles.ex
Normal file
7
simulators/bochs/build/debian/conffiles.ex
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# If you want to use this conffile, remove all comments and put files that
|
||||
# you want dpkg to process here using their absolute pathnames.
|
||||
# See section 9.1 of the packaging manual.
|
||||
#
|
||||
# for example:
|
||||
# /etc/bochs/bochs.conf
|
||||
17
simulators/bochs/build/debian/control
Normal file
17
simulators/bochs/build/debian/control
Normal file
@ -0,0 +1,17 @@
|
||||
Source: bochs
|
||||
Section: unknown
|
||||
Priority: optional
|
||||
Maintainer: Rob Lemley <rjlemley@calypsoblue.org>
|
||||
Build-Depends: debhelper (>> 3.0.0)
|
||||
Standards-Version: 3.5.2
|
||||
|
||||
Package: bochs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: IA-32 Emulator Project
|
||||
Bochs is a highly portable open source IA-32 (x86) PC emulator written in C++,
|
||||
that runs on most popular platforms. It includes emulation of the Intel x86
|
||||
CPU, common I/O devices, and a custom BIOS. Currently, bochs can be compiled
|
||||
to emulate a 386, 486 or Pentium CPU. Bochs is capable of running most
|
||||
Operating Systems inside the emulation including Linux, Windows 95, DOS,
|
||||
and recently Windows NT 4.
|
||||
10
simulators/bochs/build/debian/copyright
Normal file
10
simulators/bochs/build/debian/copyright
Normal file
@ -0,0 +1,10 @@
|
||||
This package was debianized by Rob Lemley <rjlemley@calypsoblue.org> on
|
||||
Tue, 5 Jun 2001 21:08:30 -0700.
|
||||
|
||||
It was downloaded from http://bochs.sourceforge.net
|
||||
|
||||
Upstream Author(s): <put author(s) name and email here>
|
||||
|
||||
Copyright:
|
||||
|
||||
<Must follow here>
|
||||
4
simulators/bochs/build/debian/cron.d.ex
Normal file
4
simulators/bochs/build/debian/cron.d.ex
Normal file
@ -0,0 +1,4 @@
|
||||
#
|
||||
# Regular cron jobs for the bochs package
|
||||
#
|
||||
0 4 * * * root bochs_maintenance
|
||||
0
simulators/bochs/build/debian/dirs
Normal file
0
simulators/bochs/build/debian/dirs
Normal file
6
simulators/bochs/build/debian/docs
Normal file
6
simulators/bochs/build/debian/docs
Normal file
@ -0,0 +1,6 @@
|
||||
README
|
||||
TESTFORM.txt
|
||||
macintosh.txt
|
||||
win32.txt
|
||||
COPYING
|
||||
CHANGES
|
||||
45
simulators/bochs/build/debian/emacsen-install.ex
Normal file
45
simulators/bochs/build/debian/emacsen-install.ex
Normal file
@ -0,0 +1,45 @@
|
||||
#! /bin/sh -e
|
||||
# /usr/lib/emacsen-common/packages/install/bochs
|
||||
|
||||
# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily
|
||||
# from the install scripts for gettext by Santiago Vila
|
||||
# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
|
||||
|
||||
FLAVOR=$1
|
||||
PACKAGE=bochs
|
||||
|
||||
if [ ${FLAVOR} = emacs ]; then exit 0; fi
|
||||
|
||||
echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
|
||||
|
||||
#FLAVORTEST=`echo $FLAVOR | cut -c-6`
|
||||
#if [ ${FLAVORTEST} = xemacs ] ; then
|
||||
# SITEFLAG="-no-site-file"
|
||||
#else
|
||||
# SITEFLAG="--no-site-file"
|
||||
#fi
|
||||
FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
|
||||
|
||||
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
|
||||
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
|
||||
|
||||
# Install-info-altdir does not actually exist.
|
||||
# Maybe somebody will write it.
|
||||
if test -x /usr/sbin/install-info-altdir; then
|
||||
echo install/${PACKAGE}: install Info links for ${FLAVOR}
|
||||
install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
|
||||
fi
|
||||
|
||||
install -m 755 -d ${ELCDIR}
|
||||
cd ${ELDIR}
|
||||
FILES=`echo *.el`
|
||||
cp ${FILES} ${ELCDIR}
|
||||
cd ${ELCDIR}
|
||||
|
||||
cat << EOF > path.el
|
||||
(setq load-path (cons "." load-path) byte-compile-warnings nil)
|
||||
EOF
|
||||
${FLAVOR} ${FLAGS} ${FILES}
|
||||
rm -f *.el path.el
|
||||
|
||||
exit 0
|
||||
15
simulators/bochs/build/debian/emacsen-remove.ex
Normal file
15
simulators/bochs/build/debian/emacsen-remove.ex
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh -e
|
||||
# /usr/lib/emacsen-common/packages/remove/bochs
|
||||
|
||||
FLAVOR=$1
|
||||
PACKAGE=bochs
|
||||
|
||||
if [ ${FLAVOR} != emacs ]; then
|
||||
if test -x /usr/sbin/install-info-altdir; then
|
||||
echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
|
||||
install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/bochs.info.gz
|
||||
fi
|
||||
|
||||
echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
|
||||
rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
|
||||
fi
|
||||
18
simulators/bochs/build/debian/emacsen-startup.ex
Normal file
18
simulators/bochs/build/debian/emacsen-startup.ex
Normal file
@ -0,0 +1,18 @@
|
||||
;; -*-emacs-lisp-*-
|
||||
;;
|
||||
;; Emacs startup file for the Debian GNU/Linux bochs package
|
||||
;;
|
||||
;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
|
||||
;; Modified by Dirk Eddelbuettel <edd@debian.org>
|
||||
;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com>
|
||||
|
||||
;; The bochs package follows the Debian/GNU Linux 'emacsen' policy and
|
||||
;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
|
||||
;; xemacs19, emacs20, xemacs20...). The compiled code is then
|
||||
;; installed in a subdirectory of the respective site-lisp directory.
|
||||
;; We have to add this to the load-path:
|
||||
(setq load-path (cons (concat "/usr/share/"
|
||||
(symbol-name flavor)
|
||||
"/site-lisp/bochs") load-path))
|
||||
|
||||
|
||||
22
simulators/bochs/build/debian/ex.doc-base.package
Normal file
22
simulators/bochs/build/debian/ex.doc-base.package
Normal file
@ -0,0 +1,22 @@
|
||||
Document: bochs
|
||||
Title: Debian bochs Manual
|
||||
Author: <insert document author here>
|
||||
Abstract: This manual describes what bochs is
|
||||
and how it can be used to
|
||||
manage online manuals on Debian systems.
|
||||
Section: unknown
|
||||
|
||||
Format: debiandoc-sgml
|
||||
Files: /usr/share/doc/bochs/bochs.sgml.gz
|
||||
|
||||
Format: postscript
|
||||
Files: /usr/share/doc/bochs/bochs.ps.gz
|
||||
|
||||
Format: text
|
||||
Files: /usr/share/doc/bochs/bochs.text.gz
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/bochs/html/index.html
|
||||
Files: /usr/share/doc/bochs/html/*.html
|
||||
|
||||
|
||||
70
simulators/bochs/build/debian/init.d.ex
Normal file
70
simulators/bochs/build/debian/init.d.ex
Normal file
@ -0,0 +1,70 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# skeleton example file to build /etc/init.d/ scripts.
|
||||
# This file should be used to construct scripts for /etc/init.d.
|
||||
#
|
||||
# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
|
||||
# Modified for Debian GNU/Linux
|
||||
# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
|
||||
#
|
||||
# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl
|
||||
#
|
||||
# This file was automatically customized by dh-make on Tue, 5 Jun 2001 21:08:30 -0700
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DAEMON=/usr/sbin/bochs
|
||||
NAME=bochs
|
||||
DESC=bochs
|
||||
|
||||
test -f $DAEMON || exit 0
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting $DESC: "
|
||||
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
|
||||
--exec $DAEMON
|
||||
echo "$NAME."
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping $DESC: "
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
|
||||
--exec $DAEMON
|
||||
echo "$NAME."
|
||||
;;
|
||||
#reload)
|
||||
#
|
||||
# If the daemon can reload its config files on the fly
|
||||
# for example by sending it SIGHUP, do it here.
|
||||
#
|
||||
# If the daemon responds to changes in its config file
|
||||
# directly anyway, make this a do-nothing entry.
|
||||
#
|
||||
# echo "Reloading $DESC configuration files."
|
||||
# start-stop-daemon --stop --signal 1 --quiet --pidfile \
|
||||
# /var/run/$NAME.pid --exec $DAEMON
|
||||
#;;
|
||||
restart|force-reload)
|
||||
#
|
||||
# If the "reload" option is implemented, move the "force-reload"
|
||||
# option to the "reload" entry above. If not, "force-reload" is
|
||||
# just the same as "restart".
|
||||
#
|
||||
echo -n "Restarting $DESC: "
|
||||
start-stop-daemon --stop --quiet --pidfile \
|
||||
/var/run/$NAME.pid --exec $DAEMON
|
||||
sleep 1
|
||||
start-stop-daemon --start --quiet --pidfile \
|
||||
/var/run/$NAME.pid --exec $DAEMON
|
||||
echo "$NAME."
|
||||
;;
|
||||
*)
|
||||
N=/etc/init.d/$NAME
|
||||
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
|
||||
echo "Usage: $N {start|stop|restart|force-reload}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
60
simulators/bochs/build/debian/manpage.1.ex
Normal file
60
simulators/bochs/build/debian/manpage.1.ex
Normal file
@ -0,0 +1,60 @@
|
||||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH BOCHS SECTION "June 5, 2001"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.SH NAME
|
||||
bochs \- program to do something
|
||||
.SH SYNOPSIS
|
||||
.B bochs
|
||||
.RI [ options ] " files" ...
|
||||
.br
|
||||
.B bar
|
||||
.RI [ options ] " files" ...
|
||||
.SH DESCRIPTION
|
||||
This manual page documents briefly the
|
||||
.B bochs
|
||||
and
|
||||
.B bar
|
||||
commands.
|
||||
This manual page was written for the Debian GNU/Linux distribution
|
||||
because the original program does not have a manual page.
|
||||
Instead, it has documentation in the GNU Info format; see below.
|
||||
.PP
|
||||
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
.\" respectively.
|
||||
\fBbochs\fP is a program that...
|
||||
.SH OPTIONS
|
||||
These programs follow the usual GNU command line syntax, with long
|
||||
options starting with two dashes (`-').
|
||||
A summary of options is included below.
|
||||
For a complete description, see the Info files.
|
||||
.TP
|
||||
.B \-h, \-\-help
|
||||
Show summary of options.
|
||||
.TP
|
||||
.B \-v, \-\-version
|
||||
Show version of program.
|
||||
.SH SEE ALSO
|
||||
.BR bar (1),
|
||||
.BR baz (1).
|
||||
.br
|
||||
The programs are documented fully by
|
||||
.IR "The Rise and Fall of a Fooish Bar" ,
|
||||
available via the Info system.
|
||||
.SH AUTHOR
|
||||
This manual page was written by Rob Lemley <rjlemley@calypsoblue.org>,
|
||||
for the Debian GNU/Linux system (but may be used by others).
|
||||
143
simulators/bochs/build/debian/manpage.sgml.ex
Normal file
143
simulators/bochs/build/debian/manpage.sgml.ex
Normal file
@ -0,0 +1,143 @@
|
||||
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
|
||||
<!-- Process this file with docbook-to-man to generate an nroff manual
|
||||
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
|
||||
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
|
||||
less'. A typical entry in a Makefile or Makefile.am is:
|
||||
|
||||
manpage.1: manpage.sgml
|
||||
docbook-to-man $< > $@
|
||||
-->
|
||||
|
||||
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
|
||||
<!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
|
||||
<!ENTITY dhsurname "<surname>SURNAME</surname>">
|
||||
<!-- Please adjust the date whenever revising the manpage. -->
|
||||
<!ENTITY dhdate "<date>June 5, 2001</date>">
|
||||
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
|
||||
allowed: see man(7), man(1). -->
|
||||
<!ENTITY dhsection "<manvolnum>SECTION</manvolnum>">
|
||||
<!ENTITY dhemail "<email>rjlemley@calypsoblue.org</email>">
|
||||
<!ENTITY dhusername "Rob Lemley">
|
||||
<!ENTITY dhucpackage "<refentrytitle>BOCHS</refentrytitle>">
|
||||
<!ENTITY dhpackage "bochs">
|
||||
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY gnu "<acronym>GNU</acronym>">
|
||||
]>
|
||||
|
||||
<refentry>
|
||||
<refentryinfo>
|
||||
<address>
|
||||
&dhemail;
|
||||
</address>
|
||||
<author>
|
||||
&dhfirstname;
|
||||
&dhsurname;
|
||||
</author>
|
||||
<copyright>
|
||||
<year>2001</year>
|
||||
<holder>&dhusername;</holder>
|
||||
</copyright>
|
||||
&dhdate;
|
||||
</refentryinfo>
|
||||
<refmeta>
|
||||
&dhucpackage;
|
||||
|
||||
&dhsection;
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>&dhpackage;</refname>
|
||||
|
||||
<refpurpose>program to do something</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<cmdsynopsis>
|
||||
<command>&dhpackage;</command>
|
||||
|
||||
<arg><option>-e <replaceable>this</replaceable></option></arg>
|
||||
|
||||
<arg><option>--example <replaceable>that</replaceable></option></arg>
|
||||
</cmdsynopsis>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>DESCRIPTION</title>
|
||||
|
||||
<para>This manual page documents briefly the
|
||||
<command>&dhpackage;</command> and <command>bar</command>
|
||||
commands.</para>
|
||||
|
||||
<para>This manual page was written for the &debian; distribution
|
||||
because the original program does not have a manual page.
|
||||
Instead, it has documentation in the &gnu;
|
||||
<application>Info</application> format; see below.</para>
|
||||
|
||||
<para><command>&dhpackage;</command> is a program that...</para>
|
||||
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>OPTIONS</title>
|
||||
|
||||
<para>These programs follow the usual GNU command line syntax,
|
||||
with long options starting with two dashes (`-'). A summary of
|
||||
options is included below. For a complete description, see the
|
||||
<application>Info</application> files.</para>
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><option>-h</option>
|
||||
<option>--help</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Show summary of options.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>-v</option>
|
||||
<option>--version</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Show version of program.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>SEE ALSO</title>
|
||||
|
||||
<para>bar (1), baz (1).</para>
|
||||
|
||||
<para>The programs are documented fully by <citetitle>The Rise and
|
||||
Fall of a Fooish Bar</citetitle> available via the
|
||||
<application>Info</application> system.</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>AUTHOR</title>
|
||||
|
||||
<para>This manual page was written by &dhusername; &dhemail; for
|
||||
the &debian; system (but may be used by others). Permission is
|
||||
granted to copy, distribute and/or modify this document under
|
||||
the terms of the <acronym>GNU</acronym> Free Documentation
|
||||
License, Version 1.1 or any later version published by the Free
|
||||
Software Foundation; with no Invariant Sections, no Front-Cover
|
||||
Texts and no Back-Cover Texts.</para>
|
||||
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:2
|
||||
sgml-indent-data:t
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:nil
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
-->
|
||||
2
simulators/bochs/build/debian/menu.ex
Normal file
2
simulators/bochs/build/debian/menu.ex
Normal file
@ -0,0 +1,2 @@
|
||||
?package(bochs):needs=X11|text|vc|wm section=Apps/see-menu-manual\
|
||||
title="bochs" command="/usr/bin/bochs"
|
||||
48
simulators/bochs/build/debian/postinst
Normal file
48
simulators/bochs/build/debian/postinst
Normal 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
|
||||
|
||||
|
||||
47
simulators/bochs/build/debian/postinst.ex
Normal file
47
simulators/bochs/build/debian/postinst.ex
Normal file
@ -0,0 +1,47 @@
|
||||
#! /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)
|
||||
|
||||
;;
|
||||
|
||||
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
|
||||
|
||||
|
||||
36
simulators/bochs/build/debian/postrm.ex
Normal file
36
simulators/bochs/build/debian/postrm.ex
Normal file
@ -0,0 +1,36 @@
|
||||
#! /bin/sh
|
||||
# postrm script for bochs
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
|
||||
# for details, see /usr/share/doc/packaging-manual/
|
||||
|
||||
case "$1" in
|
||||
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
|
||||
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 0
|
||||
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
|
||||
42
simulators/bochs/build/debian/preinst.ex
Normal file
42
simulators/bochs/build/debian/preinst.ex
Normal file
@ -0,0 +1,42 @@
|
||||
#! /bin/sh
|
||||
# preinst script for bochs
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <new-preinst> `install'
|
||||
# * <new-preinst> `install' <old-version>
|
||||
# * <new-preinst> `upgrade' <old-version>
|
||||
# * <old-preinst> `abort-upgrade' <new-version>
|
||||
#
|
||||
# For details see /usr/share/doc/packaging-manual/
|
||||
|
||||
case "$1" in
|
||||
install|upgrade)
|
||||
# if [ "$1" = "upgrade" ]
|
||||
# then
|
||||
# start-stop-daemon --stop --quiet --oknodo \
|
||||
# --pidfile /var/run/bochs.pid \
|
||||
# --exec /usr/sbin/bochs 2>/dev/null || true
|
||||
# fi
|
||||
;;
|
||||
|
||||
abort-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "preinst 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
|
||||
|
||||
|
||||
37
simulators/bochs/build/debian/prerm.ex
Normal file
37
simulators/bochs/build/debian/prerm.ex
Normal file
@ -0,0 +1,37 @@
|
||||
#! /bin/sh
|
||||
# prerm script for bochs
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <prerm> `remove'
|
||||
# * <old-prerm> `upgrade' <new-version>
|
||||
# * <new-prerm> `failed-upgrade' <old-version>
|
||||
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
|
||||
# * <deconfigured's-prerm> `deconfigure' `in-favour'
|
||||
# <package-being-installed> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see /usr/share/doc/packaging-manual/
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|deconfigure)
|
||||
# install-info --quiet --remove /usr/info/bochs.info.gz
|
||||
;;
|
||||
failed-upgrade)
|
||||
;;
|
||||
*)
|
||||
echo "prerm 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
|
||||
|
||||
|
||||
90
simulators/bochs/build/debian/rules
Executable file
90
simulators/bochs/build/debian/rules
Executable file
@ -0,0 +1,90 @@
|
||||
#!/usr/bin/make -f
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# This is the debhelper compatability version to use.
|
||||
export DH_COMPAT=2
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
ln -snf build/debian debian
|
||||
dh_testdir
|
||||
# Add here commands to configure the package.
|
||||
pwd
|
||||
export CONFIGURE_ARGS="--prefix=/usr"; ./.conf.linux
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
build: configure-stamp build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
$(MAKE)
|
||||
#/usr/bin/docbook-to-man debian/bochs.sgml > bochs.1
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
-$(MAKE) dist-clean
|
||||
|
||||
dh_clean
|
||||
|
||||
rm -f debian
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
# Add here commands to install the package into debian/bochs.
|
||||
$(MAKE) unpack_dlx # with normal prefix so that dlxlinux
|
||||
# bochsrc.txt file gets right pathnames
|
||||
$(MAKE) install install_dlx prefix=$(CURDIR)/debian/bochs/usr
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
# dh_installdebconf
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
dh_installmenu
|
||||
# dh_installlogrotate
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
# dh_installmime
|
||||
# dh_installinit
|
||||
dh_installcron
|
||||
dh_installmanpages
|
||||
dh_installinfo
|
||||
# dh_undocumented
|
||||
dh_installchangelogs CHANGES
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
# dh_makeshlibs
|
||||
dh_installdeb
|
||||
# dh_perl
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||
5
simulators/bochs/build/debian/watch.ex
Normal file
5
simulators/bochs/build/debian/watch.ex
Normal file
@ -0,0 +1,5 @@
|
||||
# Example watch control file for uscan
|
||||
# Rename this file to "watch" and then you can run the "uscan" command
|
||||
# to check for upstream updates and more.
|
||||
# Site Directory Pattern Version Script
|
||||
sunsite.unc.edu /pub/Linux/Incoming bochs-(.*)\.tar\.gz debian uupdate
|
||||
0
simulators/bochs/build/linux/README.linux-binary
Normal file
0
simulators/bochs/build/linux/README.linux-binary
Normal file
118
simulators/bochs/build/linux/bochs-dlx.in
Executable file
118
simulators/bochs/build/linux/bochs-dlx.in
Executable file
@ -0,0 +1,118 @@
|
||||
#!/bin/sh
|
||||
BOCHS=@prefix@/bin/bochs
|
||||
DLXINST=@prefix@/share/bochs/dlxlinux
|
||||
GZIP=@GZIP@
|
||||
if [ ! -z $1 ]; then
|
||||
DLXPATH=$1
|
||||
else
|
||||
DLXPATH=$HOME/.bochsdlx
|
||||
fi
|
||||
CONFFILE=$HOME/.bochsdlx/bochsconf
|
||||
|
||||
makedlxdir() {
|
||||
echo
|
||||
echo ---------------------------------------------------------------
|
||||
echo To run the DLX Linux demo, I need to create a directory called
|
||||
echo $DLXPATH, and copy some configuration files
|
||||
echo and a 10 megabyte disk image into the directory.
|
||||
echo ---------------------------------------------------------------
|
||||
ok='unknown'
|
||||
while test $ok = 'unknown'; do
|
||||
echo Is that okay? [y/n]
|
||||
read j
|
||||
case $j in
|
||||
y*) ok=1 ;;
|
||||
n*) ok=0 ;;
|
||||
esac
|
||||
done
|
||||
if test $ok != 1; then
|
||||
echo Aborting
|
||||
exit 1
|
||||
fi
|
||||
#echo DEBUG: Creating $HOME/.bochsdlx/bochsrc
|
||||
echo DLXPATH=$DLXPATH > $CONFFILE
|
||||
. $CONFFILE
|
||||
for file in bochsrc.txt readme.txt testform.txt; do
|
||||
if [ ! -f $DLXPATH/$file ]; then
|
||||
echo Copying $DLXINST/$file '->' $DLXPATH/.
|
||||
cp $DLXINST/$file $DLXPATH/.
|
||||
else
|
||||
echo "ERROR: $file already exists in $DLXPATH. Remove it to replace."
|
||||
fi;
|
||||
done
|
||||
if [ ! -f $DLXPATH/hd10meg.img ]; then
|
||||
echo Uncompressing $DLXINST/hd10meg.img.gz '->' $DLXPATH/hd10meg.img
|
||||
$GZIP -dc $DLXINST/hd10meg.img.gz > $DLXPATH/hd10meg.img
|
||||
else
|
||||
echo "ERROR: hd10meg.img already exists in $DLXPATH. Remove it to replace."
|
||||
fi
|
||||
}
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo " DLX Linux Demo, for Bochs x86 Emulator"
|
||||
echo ---------------------------------------------------------------
|
||||
|
||||
echo -n "Checking for bochs binary..."
|
||||
if test ! -x $BOCHS; then
|
||||
echo FAILED
|
||||
echo ERROR: I could not find bochs in $BOCHS
|
||||
exit 1
|
||||
fi
|
||||
echo ok
|
||||
echo -n "Checking for DLX linux directory..."
|
||||
if test ! -d $DLXINST; then
|
||||
echo FAILED
|
||||
echo ERROR: I could not find the DLX linux directory.
|
||||
exit 1
|
||||
fi
|
||||
echo ok
|
||||
echo -n "Checking for $GZIP..."
|
||||
$GZIP < /dev/null > /dev/null
|
||||
if test $? = 0; then
|
||||
echo ok
|
||||
else
|
||||
echo not found
|
||||
echo ERROR: without $GZIP in your PATH, I cannot continue.
|
||||
exit 1
|
||||
fi
|
||||
echo -n "Checking for $HOME/.bochsdlx directory..."
|
||||
if test -d "$HOME/.bochsdlx"; then
|
||||
echo "ok"
|
||||
if test -f "$CONFFILE"; then
|
||||
. $CONFFILE
|
||||
else
|
||||
makedlxdir
|
||||
fi
|
||||
else
|
||||
#echo DEBUG: Creating $HOME/.bochsdlx
|
||||
mkdir -p $HOME/.bochsdlx
|
||||
mkdir -p $DLXPATH
|
||||
makedlxdir
|
||||
fi
|
||||
echo Entering $DLXPATH
|
||||
cd $DLXPATH
|
||||
|
||||
# Now that we're in the DLXPATH, make sure that bochsrc.txt & hd10meg.img exist
|
||||
if test ! -f bochsrc.txt; then
|
||||
echo ERROR: bochsrc.txt not found
|
||||
exit 1
|
||||
fi
|
||||
if test ! -f hd10meg.img; then
|
||||
echo ERROR: hd10meg.img not found
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo Running bochs
|
||||
|
||||
# ok now try it
|
||||
$BOCHS -q
|
||||
|
||||
echo
|
||||
echo ---------------------------------------------------------------
|
||||
echo The DLX Linux demo is over. If you want to free up the disk
|
||||
echo space in your account, remove the .bochsdlx directory from
|
||||
echo your home directory. Example:
|
||||
echo " rm -rf ~/.bochsdlx"
|
||||
echo Please be careful with rm -rf because it can make a mess.
|
||||
echo ---------------------------------------------------------------
|
||||
exit 0
|
||||
BIN
simulators/bochs/build/macos/CWPro3_project.sit
Normal file
BIN
simulators/bochs/build/macos/CWPro3_project.sit
Normal file
Binary file not shown.
300
simulators/bochs/build/macos/bochs.rsrc
Normal file
300
simulators/bochs/build/macos/bochs.rsrc
Normal file
@ -0,0 +1,300 @@
|
||||
(This file must be converted with BinHex 4.0)
|
||||
|
||||
:#Q*[BfKc,R*cFQ-!FR0bBe*6483!!!!!!!!!!$GVKP!!!!!!!3!!!$ES!!!ek!!
|
||||
!!)-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!TLEf0SFbjbFh*M45j
|
||||
SER4cUQ&dEh+UFAKcG#"&H'0P!J"bFh*M8P0&4!%!rrrrr`!!!!!!!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#r!K0!!J#!!!!
|
||||
"!!!!0ZJ!!$AS!!!!Je028P3(fJ#!!"`!EJ!$4%P86!!!!#*%6%p(!!!!,P"*3e3
|
||||
!!!!kBfYTC!!!!%B!J2rr!!!bZ!3[T"3!J!!!!!!!!!3[SH3!J2rr!!!!'33[Sp`
|
||||
!J!!'!!!b@33[T%J&3@*[GA318(*[DQ9MG'pb)%4KG'%aNJ:
|
||||
BIN
simulators/bochs/build/macos/bochsico.bmp
Normal file
BIN
simulators/bochs/build/macos/bochsico.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
12
simulators/bochs/build/macos/macos_defines.h
Normal file
12
simulators/bochs/build/macos/macos_defines.h
Normal file
@ -0,0 +1,12 @@
|
||||
#define NO_ASSEMBLER
|
||||
#define USE_WITH_CPU_SIM
|
||||
#define PARANOID
|
||||
|
||||
#define fileno(A) 0
|
||||
#ifdef __cplusplus
|
||||
#include <cstddef>
|
||||
inline long read(int fd, void *buf, std::size_t nbytes);
|
||||
long read(int fd, void *buf, std::size_t nbytes) {return read(fd, (char*)buf, nbytes);}
|
||||
inline long write(int fd, const void *buf, std::size_t nbytes);
|
||||
long write(int fd, const void *buf, std::size_t nbytes) {return write(fd, (const char*)buf, nbytes);}
|
||||
#endif
|
||||
30
simulators/bochs/build/macosx/Info.plist.in
Normal file
30
simulators/bochs/build/macosx/Info.plist.in
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
||||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>bochs</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>@VERSION@ Carbon</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>bochs-icn</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>net.sourceforge.bochs.bochs</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Bochs Carbon @VERSION@</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>Bochs Carbon (@VERSION@)</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>BOCHS</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>@VERSION@</string>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
0
simulators/bochs/build/macosx/README.macosx-binary
Normal file
0
simulators/bochs/build/macosx/README.macosx-binary
Normal file
BIN
simulators/bochs/build/macosx/bochs-icn.icns
Normal file
BIN
simulators/bochs/build/macosx/bochs-icn.icns
Normal file
Binary file not shown.
70
simulators/bochs/build/macosx/bochs.applescript
Normal file
70
simulators/bochs/build/macosx/bochs.applescript
Normal file
@ -0,0 +1,70 @@
|
||||
property bochs_path : "Contents/MacOS/bochs"
|
||||
property bochs_app : ""
|
||||
|
||||
on run
|
||||
tell application "Finder" to get container of (path to me) as string
|
||||
set script_path to POSIX path of result
|
||||
|
||||
-- Locate bochs
|
||||
set bochs_alias to findBochs()
|
||||
|
||||
-- Tell Terminal to run bochs from the command line
|
||||
--Use the script's directory as the current directory
|
||||
tell application "Terminal"
|
||||
activate
|
||||
do script "cd '" & script_path & "';exec '" & (POSIX path of bochs_app) & bochs_path&"'"
|
||||
-- Wait for Terminal to change the name first, then change it to ours
|
||||
delay 1
|
||||
set AppleScript's text item delimiters to "/"
|
||||
set the text_item_list to every text item of the script_path
|
||||
set AppleScript's text item delimiters to ""
|
||||
|
||||
|
||||
set next_to_last to ((count of text_item_list) - 1)
|
||||
set the folder_name to item next_to_last of text_item_list
|
||||
set name of front window to "Running bochs in ../" & folder_name & "/"
|
||||
end tell
|
||||
end run
|
||||
|
||||
-- Taken from examples at http://www.applescriptsourcebook.com/tips/findlibrary.html
|
||||
to Hunt for itemName at folderList
|
||||
--Returns path to itemName as string, or empty string if not found
|
||||
repeat with aFolder in folderList
|
||||
try
|
||||
if class of aFolder is constant then
|
||||
return alias ((path to aFolder as string) & itemName) as string
|
||||
else if folder of (info for alias aFolder) then
|
||||
return alias (aFolder & itemName) as string
|
||||
end if
|
||||
on error number -43 --item not there, go to next folder
|
||||
end try
|
||||
end repeat
|
||||
return "" --return empty string if item not found
|
||||
end Hunt
|
||||
|
||||
on findBochs()
|
||||
try
|
||||
if bochs_app is "" then error number -43
|
||||
return alias bochs_app
|
||||
on error number -43
|
||||
-- bochs_app no good, go hunting
|
||||
try
|
||||
tell application "Finder" to get container of (path to me) as string
|
||||
set this_dir_alias to alias result
|
||||
tell application "Finder" to get container of (this_dir_alias) as string
|
||||
set one_up_dir_alias to alias result
|
||||
set TheUsualPlaces to {this_dir_alias as string, one_up_dir_alias as string}
|
||||
Hunt for "bochs.app" at TheUsualPlaces
|
||||
set result_alias to result
|
||||
if result_alias is "" then error number -43
|
||||
set bochs_app to result_alias as string
|
||||
return result_alias
|
||||
on error number -43
|
||||
--Give up seeking, Ask the user
|
||||
choose application with prompt "Please locate Bochs:" as alias
|
||||
set result_alias to result
|
||||
set bochs_app to result_alias as string
|
||||
return result_alias
|
||||
end try
|
||||
end try
|
||||
end findBochs
|
||||
1365
simulators/bochs/build/macosx/bochs.r
Executable file
1365
simulators/bochs/build/macosx/bochs.r
Executable file
File diff suppressed because it is too large
Load Diff
117
simulators/bochs/build/macosx/diskimage.pl
Executable file
117
simulators/bochs/build/macosx/diskimage.pl
Executable file
@ -0,0 +1,117 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
#
|
||||
#
|
||||
# Copyright (C) 1991-2002 and beyond by Bungie Studios, Inc.
|
||||
# and the "Aleph One" developers.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# This license is contained in the file "COPYING",
|
||||
# which is included with this source code; it is available online at
|
||||
# http://www.gnu.org/licenses/gpl.html
|
||||
#
|
||||
#
|
||||
|
||||
my $fullfolderPath = shift(@ARGV);
|
||||
die "err: No folder specified" unless defined($fullfolderPath) && length($fullfolderPath);
|
||||
|
||||
$fullfolderPath =~ s{/$}{};
|
||||
$fullfolderPath =~ m{([^/]+)$};
|
||||
|
||||
local $folderName = $1;
|
||||
local $folderSize = undef;
|
||||
local $imageName = "'$fullfolderPath.dmg'";
|
||||
local $imageSectors = undef;
|
||||
local $imageTemp = "'$fullfolderPath-tmp.dmg'";
|
||||
|
||||
local $mount_point = "bochs-image-mount";
|
||||
|
||||
die "err: $folderName is not a directory\n" if(!-d $fullfolderPath);
|
||||
|
||||
# Know a better way to get the first value from du?
|
||||
($folderSize) = split(m/ /, `du -s "$fullfolderPath"`);
|
||||
die "err: du failed with $?\n" if($?);
|
||||
|
||||
# Inflate $folderSize for disk image overhead. Minimum 5 MB disk
|
||||
local $fiveMBImage=20*(2048);
|
||||
# BBD: I had to raise this to 20meg or the ditto command would run
|
||||
# out of disk space. Apparently the technique of measuring the
|
||||
# amount of space required is not working right.
|
||||
|
||||
$imageSectors = $folderSize + int($folderSize * 0.15);
|
||||
if($imageSectors < $fiveMBImage)
|
||||
{
|
||||
$imageSectors = $fiveMBImage;
|
||||
}
|
||||
print "Minimum sectors = $fiveMBImage\n";
|
||||
print "Folder sectors = $folderSize\n";
|
||||
print "Image sectors = $imageSectors\n";
|
||||
|
||||
# Create image, overwriting prior version
|
||||
`hdiutil create -ov -sectors $imageSectors $imageTemp`;
|
||||
die "err: hdiutil create failed with $?\n" if($?);
|
||||
|
||||
# Initialize the image
|
||||
local $hdid_info=`hdid -nomount $imageTemp`;
|
||||
die "err: hdid -nomount failed with $?\n" if($?);
|
||||
|
||||
$hdid_info =~ s/( |\t|\n)+/~!/g;
|
||||
local (@hdid_info) = split(m/~!/, $hdid_info);
|
||||
|
||||
local ($disk_dev, $hfs_dev);
|
||||
|
||||
$disk_dev = $hdid_info[0];
|
||||
$hfs_dev = $hdid_info[4];
|
||||
$mount_dev = $hdid_info[4];
|
||||
|
||||
$disk_dev =~ s{/dev/}{};
|
||||
$hfs_dev =~ s/disk/rdisk/;
|
||||
|
||||
`newfs_hfs -v "$folderName" $hfs_dev`;
|
||||
if($?)
|
||||
{
|
||||
local $err = $?;
|
||||
`hdiutil eject $disk_dev`;
|
||||
die "err: newfs_hfs failed with $err\n";
|
||||
}
|
||||
|
||||
# Fill the image
|
||||
|
||||
`mkdir $mount_point`;
|
||||
`/sbin/mount -t hfs $mount_dev $mount_point`;
|
||||
if($?)
|
||||
{
|
||||
local $err = $?;
|
||||
`hdiutil eject $disk_dev`;
|
||||
die "err: mount failed with $err\n";
|
||||
}
|
||||
|
||||
`ditto -rsrcFork "$fullfolderPath" $mount_point`;
|
||||
if($?)
|
||||
{
|
||||
local $err = $?;
|
||||
`umount $mount_dev`;
|
||||
`hdiutil eject $disk_dev`;
|
||||
`rmdir $mount_point`;
|
||||
die "err: ditto failed with $err\n";
|
||||
}
|
||||
`umount $mount_dev`;
|
||||
`hdiutil eject $disk_dev`;
|
||||
`rmdir $mount_point`;
|
||||
|
||||
# Create the compressed image
|
||||
`hdiutil convert $imageTemp -format UDCO -o $imageName`;
|
||||
die "err: hdiutil convert failed with $?\n" if($?);
|
||||
|
||||
`rm $imageTemp`;
|
||||
|
||||
print "$imageName is your new diskimage\n";
|
||||
99
simulators/bochs/build/macosx/make-dmg.sh
Executable file
99
simulators/bochs/build/macosx/make-dmg.sh
Executable file
@ -0,0 +1,99 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Make a DMG of Bochs. This script must be run from the main source
|
||||
# directory, e.g. "./build/macosx/make-dmg.sh". If you haven't run
|
||||
# configure yet, it runs .conf.macosx for you. Then it creates a
|
||||
# temporary directory _dmg_top and does a make install into that
|
||||
# directory, and builds a disk image. At the end it cleans up the
|
||||
# temporary directory.
|
||||
#
|
||||
|
||||
VERSION=@VERSION@ # substituted in with configure script
|
||||
VERSION=2.0.pre4
|
||||
BUILDROOT=./_dmg_top
|
||||
INSTALL_PREFIX=$BUILDROOT/Bochs-${VERSION}
|
||||
DMG=./Bochs-${VERSION}.dmg
|
||||
|
||||
# test if we're in the right directory. if not, bomb.
|
||||
echo '-- Is the script run from the right directory?'
|
||||
if test -f main.cc -a -f bochs.h; then
|
||||
echo yes
|
||||
else
|
||||
echo no
|
||||
echo ERROR: Run it from the top of the Bochs source tree, where bochs.h is found.
|
||||
exit 10
|
||||
fi
|
||||
|
||||
# test if configure has been run already. if not, run .conf.macosx.
|
||||
configured=0
|
||||
echo '-- Has configure been run already?'
|
||||
if test -f config.h -a -f Makefile; then
|
||||
echo yes
|
||||
else
|
||||
echo no. I will run .conf.macosx now.
|
||||
/bin/sh -x .conf.macosx
|
||||
conf_retcode=$?
|
||||
configured=1
|
||||
if test "$conf_retcode" != 0; then
|
||||
echo ERROR: configure failed. Correct errors in .conf.macosx and try again.
|
||||
exit 20
|
||||
fi
|
||||
fi
|
||||
|
||||
# remove any leftovers from previous image creation.
|
||||
echo "-- Removing leftovers from previous runs"
|
||||
rm -rf ${BUILDROOT} ${BUILDROOT}.dmg ${DMG}
|
||||
|
||||
# make new buildroot directory
|
||||
echo "-- Making ${BUILDROOT} directory"
|
||||
mkdir ${BUILDROOT} && mkdir ${INSTALL_PREFIX}
|
||||
if test $? != 0; then
|
||||
echo ERROR: mkdir ${BUILDROOT} or mkdir ${INSTALL_PREFIX} failed
|
||||
exit 30
|
||||
fi
|
||||
|
||||
# run make and then make install into it
|
||||
echo "-- Running make"
|
||||
make
|
||||
if test $? != 0; then
|
||||
echo ERROR: make failed
|
||||
exit 40
|
||||
fi
|
||||
|
||||
echo "-- Running make install with prefix=${INSTALL_PREFIX}"
|
||||
make install prefix=${INSTALL_PREFIX}
|
||||
if test $? != 0; then
|
||||
echo ERROR: make install with prefix=${INSTALL_PREFIX} failed
|
||||
exit 50
|
||||
fi
|
||||
|
||||
# create new disk image
|
||||
echo "-- Making a disk image with root at ${BUILDROOT}, using diskimage.pl"
|
||||
./build/macosx/diskimage.pl ${BUILDROOT}
|
||||
if test $? != 0; then
|
||||
echo ERROR: diskimage.pl script failed
|
||||
exit 60
|
||||
fi
|
||||
|
||||
if test ! -f ${BUILDROOT}.dmg; then
|
||||
echo ERROR: diskimage.pl succeeded but I cannot find the image ${BUILDROOT}.dmg.
|
||||
exit 70
|
||||
fi
|
||||
|
||||
# rename to the right thing
|
||||
echo "-- Renaming the output disk image to ${DMG}"
|
||||
mv ${BUILDROOT}.dmg ${DMG}
|
||||
if test $? != 0; then
|
||||
echo ERROR: rename failed
|
||||
exit 80
|
||||
fi
|
||||
|
||||
echo "-- Done! The final disk image is "
|
||||
ls -l ${DMG}
|
||||
|
||||
echo "-- Cleaning up the temporary files in ${BUILDROOT}"
|
||||
rm -rf ${BUILDROOT}
|
||||
|
||||
exit 0
|
||||
8
simulators/bochs/build/macosx/pbdevelopment.plist
Normal file
8
simulators/bochs/build/macosx/pbdevelopment.plist
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
||||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>PBXProjectSourcePath</key>
|
||||
<string>/Users/bryce/bochs/bochs/bochs.pbproj</string>
|
||||
</dict>
|
||||
</plist>
|
||||
BIN
simulators/bochs/build/macosx/script.data
Executable file
BIN
simulators/bochs/build/macosx/script.data
Executable file
Binary file not shown.
2712
simulators/bochs/build/macosx/script.r
Normal file
2712
simulators/bochs/build/macosx/script.r
Normal file
File diff suppressed because it is too large
Load Diff
10
simulators/bochs/build/makeall.sh
Executable file
10
simulators/bochs/build/makeall.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in build-*; do
|
||||
echo "*** Starting make in $i ***"
|
||||
make -C $i
|
||||
echo "*** make done in $i ***"
|
||||
echo ""
|
||||
echo ""
|
||||
echo ""
|
||||
done
|
||||
48
simulators/bochs/build/redhat/NOTES
Normal file
48
simulators/bochs/build/redhat/NOTES
Normal file
@ -0,0 +1,48 @@
|
||||
Here's a useful usenet article that shows how to build a filelist
|
||||
instead of having to specify each one.
|
||||
-----------------------------------------------------------------
|
||||
|
||||
From: John Ross Hunt (bigboote@mediaone.net)
|
||||
Subject: RE: Newbie to build spec files
|
||||
Newsgroups: linux.redhat.rpm
|
||||
Date: 2000/07/27
|
||||
|
||||
|
||||
> So, is there a better way, in RPM 3, to populate %files?
|
||||
> Because I know
|
||||
> 'buildroot' and it has nothing to do with %files.
|
||||
|
||||
I found this bit of code in a .spec file to build a %files list on the fly
|
||||
and have been using it ever since. I've always thought RPM should be able
|
||||
to provide a default %files list in the event one isn't present in the .spec
|
||||
file.
|
||||
|
||||
--
|
||||
John Ross Hunt
|
||||
bigboote@mediaone.net <mailto:bigboote@mediaone.net>
|
||||
|
||||
|
||||
|
||||
%define pkg_name foo
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
cd $RPM_BUILD_ROOT
|
||||
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > \
|
||||
$RPM_BUILD_DIR/file.list.%{pkg_name}
|
||||
|
||||
find . -type f | sed -e 's,^\.,\%attr(-\,root\,root) ,' \
|
||||
-e '/\/etc\//s|^|%config|' >> \
|
||||
$RPM_BUILD_DIR/file.list.%{pkg_name}
|
||||
|
||||
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> \
|
||||
$RPM_BUILD_DIR/file.list.%{pkg_name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{pkg_name}
|
||||
|
||||
%files -f ../file.list.%{pkg_name}
|
||||
%doc README TODO example
|
||||
-----------------------------------------------------------------
|
||||
81
simulators/bochs/build/redhat/bochs.rpmspec.template
Normal file
81
simulators/bochs/build/redhat/bochs.rpmspec.template
Normal file
@ -0,0 +1,81 @@
|
||||
Summary: Bochs Project x86 PC Emulator
|
||||
Name: bochs
|
||||
Version: @SEDVERSION@
|
||||
Release: 1
|
||||
License: LGPL
|
||||
Group: Applications/Emulators
|
||||
URL:http://bochs.sourceforge.net
|
||||
Packager:Volker Ruppert <info@vruppert.de>
|
||||
Source:bochs-@SEDVERSION@.tar.gz
|
||||
BuildRoot: /var/tmp/%{name}-buildroot
|
||||
|
||||
%description
|
||||
Bochs is a highly portable open source IA-32 (x86) PC emulator written
|
||||
in C++, that runs on most popular platforms. It includes emulation of
|
||||
the Intel x86 CPU, common I/O devices, and a custom BIOS. Currently,
|
||||
Bochs can be compiled to emulate a 386, 486, Pentium, Pentium Pro or
|
||||
AMD64 CPU, including optional MMX, SSEx and 3DNow! instructions.
|
||||
Bochs is capable of running most Operating Systems inside the emulation
|
||||
including Linux, DOS, Windows 9X/NT/2000/XP or Windows 7.
|
||||
|
||||
%define pkg_name bochs
|
||||
|
||||
%prep
|
||||
rm -rf $RPM_BUILD_DIR/bochs-@SEDVERSION@
|
||||
tar xzvf $RPM_SOURCE_DIR/bochs-@SEDVERSION@.tar.gz
|
||||
if test "/" != $RPM_BUILD_ROOT; then
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
fi
|
||||
%build
|
||||
cd $RPM_BUILD_DIR/bochs-@SEDVERSION@
|
||||
CONFIGURE_ARGS="--prefix=/usr --mandir=$RPM_BUILD_ROOT/%{_mandir}"
|
||||
export CONFIGURE_ARGS
|
||||
sh .conf.linux
|
||||
make
|
||||
make unpack_dlx # must use prefix=/usr since this step sets up
|
||||
# the paths in dlx bochsrc file.
|
||||
%install
|
||||
pwd
|
||||
cd $RPM_BUILD_DIR/bochs-@SEDVERSION@
|
||||
for i in "" usr usr/bin usr/lib usr/share usr/share/doc %{_mandir}; do
|
||||
if ! test -d $RPM_BUILD_ROOT/$i; then mkdir $RPM_BUILD_ROOT/$i; fi
|
||||
done
|
||||
make install install_dlx prefix=$RPM_BUILD_ROOT/usr
|
||||
# Build list of plugins on the fly (if any). This allows the
|
||||
# spec file to support RPM building with or without plugins.
|
||||
cd $RPM_BUILD_ROOT
|
||||
find ./usr/lib -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > \
|
||||
$RPM_BUILD_DIR/file.list.%{pkg_name}
|
||||
find ./usr/lib -type f | sed -e 's,^\.,\%attr(-\,root\,root) ,' \
|
||||
-e '/\/etc\//s|^|%config|' >> \
|
||||
$RPM_BUILD_DIR/file.list.%{pkg_name}
|
||||
find ./usr/lib -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> \
|
||||
$RPM_BUILD_DIR/file.list.%{pkg_name}
|
||||
# We could use the same technique to produce the complete file list,
|
||||
# with only one very minor problem: it lists directories that are
|
||||
# used by other programs, so when you remove the package you get
|
||||
# errors like
|
||||
# error: cannot remove /usr/share/doc - directory not empty
|
||||
|
||||
%files -f file.list.%{pkg_name}
|
||||
%defattr(-, root, root)
|
||||
/usr/bin/bochs
|
||||
/usr/bin/bochs-dlx
|
||||
/usr/bin/bxcommit
|
||||
/usr/bin/bximage
|
||||
/usr/share/bochs/*
|
||||
/usr/share/doc/*
|
||||
%{_mandir}/*
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_DIR/bochs-@SEDVERSION@
|
||||
rm -rf $RPM_BUILD_DIR/file.list.%{pkg_name}
|
||||
if test "/" != $RPM_BUILD_ROOT; then
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
fi
|
||||
%preun
|
||||
# clean up the bochsout.txt that is always produced if you
|
||||
# run bochs-dlx.
|
||||
rm -rf /usr/share/bochs/dlxlinux/bochsout.txt
|
||||
%postun
|
||||
rmdir /usr/share/bochs > /dev/null 2>&1
|
||||
100
simulators/bochs/build/redhat/make-rpm
Executable file
100
simulators/bochs/build/redhat/make-rpm
Executable file
@ -0,0 +1,100 @@
|
||||
#!/bin/bash -x
|
||||
#########################################################################
|
||||
# $Id$
|
||||
#########################################################################
|
||||
# build/redhat/make-rpm
|
||||
#
|
||||
# This script creates an RPM from the bochs directory. You must run
|
||||
# it as root from the top of the source directory (where the configure
|
||||
# scripts are). Then just run:
|
||||
# ./build/redhat/make-rpm
|
||||
#
|
||||
#########################################################################
|
||||
|
||||
CAT=cat
|
||||
RM=rm
|
||||
CP=cp
|
||||
MV=mv
|
||||
MKDIR=mkdir
|
||||
GREP=grep
|
||||
ECHO=echo
|
||||
RPM=rpm
|
||||
RPMBUILD=/usr/bin/rpmbuild
|
||||
SED=sed
|
||||
TAR=tar
|
||||
RPMSRCPATH=_rpm_top
|
||||
SOURCES=${RPMSRCPATH}/SOURCES
|
||||
SPECS=${RPMSRCPATH}/SPECS
|
||||
RPMSPEC="build/redhat/bochs.rpmspec.template"
|
||||
TMPDIR=/tmp
|
||||
|
||||
echo Reading version from configure.in script.
|
||||
VERSION='unknown'
|
||||
eval `${GREP} '^VERSION="' configure.in`
|
||||
if test $? != 0 -o "$VERSION" = unknown; then
|
||||
echo Could not get version number from configure.in script.
|
||||
echo Exiting.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# clean up previous rpm builds
|
||||
${RM} -rf *.rpm ${RPMSRCPATH}
|
||||
if test -f Makefile; then
|
||||
make dist-clean
|
||||
fi
|
||||
|
||||
# make a TAR.GZ of the entire source directory, exactly as it is. The
|
||||
# tar is placed in $SOURCES/bochs-$VERSION.tar.gz. Because the current
|
||||
# directory could be named nearly anything, I copy all the contents into
|
||||
# $SOURCES/bochs-$VERSION and then build a tar in $SOURCES.
|
||||
|
||||
${RM} -rf ${TMPDIR}/bochs-${VERSION}
|
||||
test $? = 0 || exit 1
|
||||
${MKDIR} ${TMPDIR}/bochs-${VERSION}
|
||||
test $? = 0 || exit 1
|
||||
${TAR} cf - * .??* | (cd ${TMPDIR}/bochs-${VERSION} && tar xf -)
|
||||
test $? = 0 || exit 1
|
||||
(cd ${TMPDIR}; tar czf bochs-${VERSION}.tar.gz --exclude=CVS bochs-${VERSION})
|
||||
test $? = 0 || exit 1
|
||||
${RM} -rf ${TMPDIR}/bochs-${VERSION}
|
||||
test $? = 0 || exit 1
|
||||
|
||||
# create RPM build area
|
||||
rm -rf ${RPMSRCPATH}
|
||||
mkdir ${RPMSRCPATH} ${RPMSRCPATH}/SOURCES ${RPMSRCPATH}/SPECS ${RPMSRCPATH}/BUILD ${RPMSRCPATH}/RPMS ${RPMSRCPATH}/SRPMS
|
||||
test $? = 0 || exit 1 # test that mkdir succeeded
|
||||
|
||||
# copy source into sources
|
||||
${MV} ${TMPDIR}/bochs-${VERSION}.tar.gz ${SOURCES}
|
||||
test $? = 0 || exit 1
|
||||
|
||||
# copy the spec into SPECS. The template is in $RPMSPEC, and we use
|
||||
# SED to substitute in the version number.
|
||||
${RM} -f ${SPECS}/bochs.spec
|
||||
test $? = 0 || exit 1
|
||||
${CAT} ${RPMSPEC} | ${SED} "s/@SEDVERSION@/${VERSION}/g" > ${SPECS}/bochs.spec
|
||||
test $? = 0 || exit 1
|
||||
|
||||
# finally, start the rpm build.
|
||||
if [ -x ${RPMBUILD} ]
|
||||
then
|
||||
${RPMBUILD} -ba --define "_topdir `pwd`/${RPMSRCPATH}" ${SPECS}/bochs.spec
|
||||
else
|
||||
${RPM} -ba --define "_topdir `pwd`/${RPMSRCPATH}" ${SPECS}/bochs.spec
|
||||
fi
|
||||
|
||||
# test status
|
||||
if test $? = 0; then
|
||||
echo RPM build succeeded
|
||||
else
|
||||
echo RPM build failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# copy all rpms out into main directory
|
||||
ALLRPMS=`find ${RPMSRCPATH} -name '*.rpm'`
|
||||
if test "$ALLRPMS" != ""; then
|
||||
echo Moving .rpm files into the main directory.
|
||||
mv ${ALLRPMS} .
|
||||
ls -l *.rpm
|
||||
fi
|
||||
0
simulators/bochs/build/win32/README.win32-binary
Normal file
0
simulators/bochs/build/win32/README.win32-binary
Normal file
22
simulators/bochs/build/win32/bochs.win32.manifest
Executable file
22
simulators/bochs/build/win32/bochs.win32.manifest
Executable file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity
|
||||
version="2.4.5.0"
|
||||
processorArchitecture="X86"
|
||||
name="Bochs.Bochs.Bochs"
|
||||
type="win32"
|
||||
/>
|
||||
<description>Quartus</description>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="X86"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
||||
22
simulators/bochs/build/win32/bochs.win64.manifest
Executable file
22
simulators/bochs/build/win32/bochs.win64.manifest
Executable file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity
|
||||
version="2.4.5.0"
|
||||
processorArchitecture="X86"
|
||||
name="Bochs.Bochs.Bochs"
|
||||
type="win32"
|
||||
/>
|
||||
<description>Quartus</description>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="amd64"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
||||
6
simulators/bochs/build/win32/cc2cpp
Executable file
6
simulators/bochs/build/win32/cc2cpp
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
list=`find . -name '*.cc' | sed 's/\.cc$//'`
|
||||
for i in $list; do
|
||||
mv ${i}.cc ${i}.cpp
|
||||
done
|
||||
6
simulators/bochs/build/win32/cpp2cc
Executable file
6
simulators/bochs/build/win32/cpp2cc
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
list=`find . -name '*.cpp' | sed 's/\.cpp$//'`
|
||||
for i in $list; do
|
||||
mv ${i}.cpp ${i}.cc
|
||||
done
|
||||
6
simulators/bochs/build/win32/diffcc2cpp
Executable file
6
simulators/bochs/build/win32/diffcc2cpp
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
list=`find . -name '*.cpp' | sed 's/\.cpp$//'`
|
||||
for i in $list; do
|
||||
diff -u ${i}.cc ${i}.cpp
|
||||
done
|
||||
30
simulators/bochs/build/win32/nsis/Makefile.in
Normal file
30
simulators/bochs/build/win32/nsis/Makefile.in
Normal file
@ -0,0 +1,30 @@
|
||||
# To build an NSIS installer, get NSIS version 2.0a7 from
|
||||
# http://sourceforge.net/projects/nsis
|
||||
# Fix the MAKENSIS variable so that you have the correct path.
|
||||
# Unzip the windows binary release into a subdirectory of this
|
||||
# directory, for example "2.0.pre2". Make sure the VERSION
|
||||
# variable has the same name as the directory, and in bochs.nsi
|
||||
# the VER_MAJOR, VER_MINOR, and VER_REV values should also match.
|
||||
#
|
||||
# Type make, and it should build an installer called Bochs-${VERSION}.exe
|
||||
|
||||
MAKENSIS='c:/Program Files/NSIS/makensis'
|
||||
|
||||
VERSION=@VERSION@
|
||||
TARGET=Bochs-${VERSION}.exe
|
||||
DLXDIR=bochs-${VERSION}/dlxlinux
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
fixups::
|
||||
if test -f ${DLXDIR}/bochsrc.txt; then mv ${DLXDIR}/bochsrc.txt ${DLXDIR}/bochsrc.bxrc; fi
|
||||
rm -f ${DLXDIR}/*.bat
|
||||
|
||||
${TARGET}: fixups bochs.nsi
|
||||
rm -rf ${TARGET}
|
||||
${MAKENSIS} bochs.nsi
|
||||
test -f ${TARGET}
|
||||
ls -l ${TARGET}
|
||||
|
||||
clean::
|
||||
rm -rf ${TARGET}
|
||||
BIN
simulators/bochs/build/win32/nsis/bochs.ico
Normal file
BIN
simulators/bochs/build/win32/nsis/bochs.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 766 B |
290
simulators/bochs/build/win32/nsis/bochs.nsi.in
Normal file
290
simulators/bochs/build/win32/nsis/bochs.nsi.in
Normal file
@ -0,0 +1,290 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; $Id$
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;
|
||||
; Setup Script for NSIS Installer
|
||||
;
|
||||
; Created: Michael Rich (istan)
|
||||
;
|
||||
; Based on Example Script by Joost Verburg
|
||||
; also original BOCHS script by Robert (segra)
|
||||
; updated for NSIS 2.44 by Volker Ruppert
|
||||
;
|
||||
;---------------------
|
||||
;Include Modern UI
|
||||
|
||||
!include "MUI.nsh"
|
||||
|
||||
;--------------------------------
|
||||
|
||||
!define VERSION @VERSION@
|
||||
!define NAME "Bochs ${VERSION}"
|
||||
|
||||
|
||||
!define CURRENTPAGE $9
|
||||
|
||||
!define TEMP1 $R0
|
||||
!define TEMP2 $R1
|
||||
|
||||
!define SRCDIR bochs-${VERSION}
|
||||
!define PGDIR "$SMPROGRAMS\Bochs ${VERSION}"
|
||||
!define DESKTOP_DLXLINK "$DESKTOP\Linux Demo in ${NAME}.lnk"
|
||||
!define DESKTOP_DLX_PIF "$DESKTOP\Linux Demo in ${NAME}.pif"
|
||||
|
||||
;--------------------------------
|
||||
|
||||
;General
|
||||
Name "${NAME}"
|
||||
OutFile Bochs-${VERSION}.exe
|
||||
SetOverwrite on
|
||||
|
||||
; Installation Types
|
||||
InstType "Normal"
|
||||
InstType "Full (with DLX Linux demo)"
|
||||
|
||||
;Folder-select dialog
|
||||
InstallDir $PROGRAMFILES\Bochs-${VERSION}
|
||||
InstallDirRegKey HKLM "Software\${NAME}" ""
|
||||
|
||||
;Request application privileges for Windows Vista
|
||||
RequestExecutionLevel admin
|
||||
|
||||
;--------------------------------
|
||||
;Interface Settings
|
||||
|
||||
!define MUI_ABORTWARNING
|
||||
!define MUI_COMPONENTSPAGE_NODESC
|
||||
!define MUI_ICON "bochs.ico"
|
||||
!define MUI_UNICON "unbochs.ico"
|
||||
|
||||
;--------------------------------
|
||||
;Pages
|
||||
|
||||
!insertmacro MUI_PAGE_LICENSE ${SRCDIR}\COPYING.txt
|
||||
!insertmacro MUI_PAGE_COMPONENTS
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
|
||||
!insertmacro MUI_UNPAGE_CONFIRM
|
||||
!insertmacro MUI_UNPAGE_INSTFILES
|
||||
|
||||
;--------------------------------
|
||||
;Languages
|
||||
|
||||
!insertmacro MUI_LANGUAGE "English"
|
||||
|
||||
;--------------------------------
|
||||
;Installer Sections
|
||||
|
||||
Section "Bochs Program (required)" SecCore
|
||||
SectionIn 1 2 RO
|
||||
|
||||
SetOutPath "$INSTDIR"
|
||||
|
||||
File "${SRCDIR}\*.exe"
|
||||
File "${SRCDIR}\*.txt"
|
||||
File "*.ico"
|
||||
|
||||
; Install keymaps
|
||||
SetOutPath "$INSTDIR\keymaps"
|
||||
File "${SRCDIR}\keymaps\*"
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "ROM Images (required)" SecROMs
|
||||
SectionIn 1 2 RO
|
||||
|
||||
SetOutPath "$INSTDIR"
|
||||
|
||||
File "${SRCDIR}\BIOS-bochs-*"
|
||||
File "${SRCDIR}\VGABIOS-*"
|
||||
SectionEnd
|
||||
|
||||
Section "Documentation in HTML" SecDocs
|
||||
SectionIn 1 2
|
||||
SetOutPath "$INSTDIR\docs"
|
||||
File "${SRCDIR}\share\doc\bochs\index.html"
|
||||
SetOutPath "$INSTDIR\docs\user"
|
||||
File "${SRCDIR}\share\doc\bochs\user\*"
|
||||
SetOutPath "$INSTDIR\docs\development"
|
||||
File "${SRCDIR}\share\doc\bochs\development\*"
|
||||
SetOutPath "$INSTDIR\docs\documentation"
|
||||
File "${SRCDIR}\share\doc\bochs\documentation\*"
|
||||
SetOutPath "$INSTDIR\docs\images"
|
||||
File "${SRCDIR}\share\doc\bochs\images\*"
|
||||
SectionEnd
|
||||
|
||||
Section "DLX Linux Demo" SecDLX
|
||||
SectionIn 2
|
||||
|
||||
SetOutPath "$INSTDIR\dlxlinux"
|
||||
File "${SRCDIR}\dlxlinux\*"
|
||||
|
||||
; Fix up the path to the Bochs executable
|
||||
FileOpen $1 "$INSTDIR\dlxlinux\run.bat" w
|
||||
FileWrite $1 'cd "$INSTDIR\dlxlinux"$\r$\n'
|
||||
FileWrite $1 "..\bochs -q -f bochsrc.bxrc$\r$\n"
|
||||
FileClose $1
|
||||
SectionEnd
|
||||
|
||||
Section "Add Bochs to the Start Menu and Desktop" SecIcons
|
||||
SectionIn 1 2
|
||||
|
||||
; Set the Program Group as output to ensure it exists
|
||||
SetOutPath "${PGDIR}"
|
||||
|
||||
; Change the output back to the install folder so the "Start In" paths get set properly
|
||||
SetOutPath "$INSTDIR"
|
||||
|
||||
CreateShortCut "${PGDIR}\${NAME}.lnk" "$INSTDIR\Bochs.exe" "" "$INSTDIR\bochs.ico" "0"
|
||||
|
||||
CreateShortCut "${PGDIR}\Readme.lnk" \
|
||||
"$INSTDIR\Readme.txt"
|
||||
|
||||
CreateShortCut "${PGDIR}\Bochs Sample Setup.lnk" \
|
||||
"$INSTDIR\bochsrc-sample.txt"
|
||||
|
||||
CreateShortCut "${PGDIR}\Disk Image Creation Tool.lnk" \
|
||||
"$INSTDIR\bximage.exe"
|
||||
|
||||
CreateShortCut "${PGDIR}\NIC Lister.lnk" \
|
||||
"$INSTDIR\niclist.exe"
|
||||
|
||||
WriteINIStr "${PGDIR}\Help.url" \
|
||||
"InternetShortcut" "URL" "file://$INSTDIR/docs/index.html"
|
||||
|
||||
WriteINIStr "${PGDIR}\Home Page.url" \
|
||||
"InternetShortcut" "URL" "http://bochs.sourceforge.net/"
|
||||
|
||||
CreateShortCut "${PGDIR}\${NAME} Folder.lnk" \
|
||||
"$INSTDIR"
|
||||
|
||||
CreateShortCut "${PGDIR}\Uninstall Bochs.lnk" \
|
||||
"$INSTDIR\Uninstall.exe" "" "$INSTDIR\unbochs.ico" "0"
|
||||
|
||||
; Create shortcut to DLX Linux if it was installed
|
||||
IfFileExists "$INSTDIR\dlxlinux\*" 0 no
|
||||
CreateShortCut "${PGDIR}\DLX Linux.lnk" "$INSTDIR\dlxlinux\run.bat" "" "$INSTDIR\penguin.ico" "0"
|
||||
|
||||
; Add a link to the DLX demo to the desktop
|
||||
CreateShortCut "${DESKTOP_DLXLINK}" "$INSTDIR\dlxlinux\run.bat" "" "$INSTDIR\bochs.ico" "0"
|
||||
no:
|
||||
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "Register .bxrc Extension" SecExtension
|
||||
SectionIn 1 2 RO
|
||||
|
||||
; back up old value of .bxrc
|
||||
ReadRegStr $1 HKCR ".bxrc" ""
|
||||
|
||||
StrCmp $1 "" Label1
|
||||
StrCmp $1 "BochsConfigFile" Label1
|
||||
WriteRegStr HKCR ".bxrc" "backup_val" $1
|
||||
|
||||
Label1:
|
||||
WriteRegStr HKCR ".bxrc" "" "BochsConfigFile"
|
||||
WriteRegStr HKCR "BochsConfigFile" "" "${NAME} Config File"
|
||||
WriteRegStr HKCR "BochsConfigFile\DefaultIcon" "" "$INSTDIR\bochs.ico,0"
|
||||
WriteRegStr HKCR "BochsConfigFile\shell" "" "Configure"
|
||||
WriteRegStr HKCR "BochsConfigFile\shell\Configure\command" "" '"$INSTDIR\Bochs.exe" -f "%1"'
|
||||
WriteRegStr HKCR "BochsConfigFile\shell" "" "Edit"
|
||||
WriteRegStr HKCR "BochsConfigFile\shell\Edit\command" "" '$WINDIR\NOTEPAD.EXE "%1"'
|
||||
WriteRegStr HKCR "BochsConfigFile\shell" "" "Debugger"
|
||||
WriteRegStr HKCR "BochsConfigFile\shell\Debugger\command" "" '"$INSTDIR\Bochsdbg.exe" -f "%1"'
|
||||
WriteRegStr HKCR "BochsConfigFile\shell" "" "Run"
|
||||
WriteRegStr HKCR "BochsConfigFile\shell\Run\command" "" '"$INSTDIR\Bochs.exe" -q -f "%1"'
|
||||
SectionEnd
|
||||
|
||||
|
||||
Section -post
|
||||
; Register Uninstaller
|
||||
WriteRegStr HKLM "SOFTWARE\${NAME}" "" $INSTDIR
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "DisplayName" "${NAME} (remove only)"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "DisplayIcon" "$INSTDIR\bochs.ico,0"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "DisplayVersion" "${VERSION}"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "Publisher" "The Bochs Project"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "URLInfoAbout" "http://bochs.sourceforge.net"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "Readme" '$INSTDIR\Readme.txt'
|
||||
WriteRegDWord HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "NoModify" "1"
|
||||
WriteRegDWord HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "NoRepair" "1"
|
||||
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "InstallLocation" '$INSTDIR\'
|
||||
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "UninstallString" '"$INSTDIR\Uninstall.exe"'
|
||||
|
||||
; Write the uninstaller
|
||||
WriteUninstaller "$INSTDIR\Uninstall.exe"
|
||||
SectionEnd
|
||||
|
||||
;--------------------------------
|
||||
;Installer Functions
|
||||
|
||||
Function .onInstSuccess
|
||||
MessageBox MB_YESNO|MB_ICONQUESTION \
|
||||
"Would you like to see a list of changes?" \
|
||||
IDNO NoChanges
|
||||
ExecWait 'notepad.exe $INSTDIR\CHANGES.TXT'
|
||||
NoChanges:
|
||||
MessageBox MB_YESNO|MB_ICONQUESTION \
|
||||
"Setup has completed. Show README now?" \
|
||||
IDNO NoReadme
|
||||
ExecWait 'notepad.exe $INSTDIR\README.txt'
|
||||
|
||||
NoReadme:
|
||||
MessageBox MB_OK "Thank you for installing Bochs, think inside the bochs."
|
||||
FunctionEnd
|
||||
|
||||
;--------------------------------
|
||||
;Uninstaller Section
|
||||
|
||||
Section "Uninstall"
|
||||
|
||||
ReadRegStr $1 HKCR ".bxrc" ""
|
||||
|
||||
StrCmp $1 "BochsConfigFile" 0 NoOwn ; only do this if we own it
|
||||
ReadRegStr $1 HKCR ".bxrc" "backup_val"
|
||||
StrCmp $1 "" 0 RestoreBackup ; if backup == "" then delete the whole key
|
||||
DeleteRegKey HKCR ".bxrc"
|
||||
Goto NoOwn
|
||||
RestoreBackup:
|
||||
WriteRegStr HKCR ".bxrc" "" $1
|
||||
DeleteRegValue HKCR ".bxrc" "backup_val"
|
||||
NoOwn:
|
||||
|
||||
DeleteRegKey HKCR "BochsConfigFile"
|
||||
DeleteRegKey HKLM "SOFTWARE\${NAME}"
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}"
|
||||
|
||||
Delete "${PGDIR}\*.lnk"
|
||||
Delete "${PGDIR}\*.pif"
|
||||
Delete "${PGDIR}\*.url"
|
||||
RMDir "${PGDIR}"
|
||||
|
||||
Delete "${DESKTOP_DLXLINK}"
|
||||
Delete "${DESKTOP_DLX_PIF}"
|
||||
|
||||
Delete "$INSTDIR\*.exe"
|
||||
Delete "$INSTDIR\*.txt"
|
||||
Delete "$INSTDIR\*.ico"
|
||||
Delete "$INSTDIR\keymaps\*"
|
||||
Delete "$INSTDIR\BIOS-bochs-*"
|
||||
Delete "$INSTDIR\VGABIOS-*"
|
||||
Delete "$INSTDIR\dlxlinux\*"
|
||||
Delete "$INSTDIR\docs\index.html"
|
||||
Delete "$INSTDIR\docs\user\*"
|
||||
Delete "$INSTDIR\docs\development\*"
|
||||
Delete "$INSTDIR\docs\documentation\*"
|
||||
Delete "$INSTDIR\docs\images\*"
|
||||
|
||||
RMDIR "$INSTDIR\keymaps"
|
||||
RMDIR "$INSTDIR\dlxlinux"
|
||||
RMDIR "$INSTDIR\docs\user"
|
||||
RMDIR "$INSTDIR\docs\development"
|
||||
RMDIR "$INSTDIR\docs\documentation"
|
||||
RMDIR "$INSTDIR\docs\images"
|
||||
RMDIR "$INSTDIR\docs"
|
||||
RMDIR "$INSTDIR"
|
||||
|
||||
SectionEnd
|
||||
|
||||
;eof
|
||||
BIN
simulators/bochs/build/win32/nsis/lgban.ico
Executable file
BIN
simulators/bochs/build/win32/nsis/lgban.ico
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
BIN
simulators/bochs/build/win32/nsis/logo.ico
Executable file
BIN
simulators/bochs/build/win32/nsis/logo.ico
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
BIN
simulators/bochs/build/win32/nsis/penguin.ico
Normal file
BIN
simulators/bochs/build/win32/nsis/penguin.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
BIN
simulators/bochs/build/win32/nsis/unbochs.ico
Normal file
BIN
simulators/bochs/build/win32/nsis/unbochs.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 766 B |
BIN
simulators/bochs/build/win32/vs2008ex-workspace.zip
Normal file
BIN
simulators/bochs/build/win32/vs2008ex-workspace.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user