Bochs is a pc emulator. This ebuild is set up to emulate a Pentium, with a NE2000 network card, and a CDROM drive. It also comes with a disk image using dlxlinux. app-emulation/bochs
Forgot to attache the ebuild, and now bugzilla won't let me attach it. Maybe I need to file a bug against gentoo bugzilla. :)
hmm .. we have noticed this problems, we are currently running on a cvs bugzilla, might have to do with it. for now please copy the ebuild as a comment.
# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Chris Arndt <arndtc@mailandnews.com> PN=${P/_/.} S=${WORKDIR}/${PN} DESCRIPTION="Bochs is a pc emulator. This ebuild is set up to emulate a Pentium, with a NE2000 network card, and a CDROM drive. It also comes with a disk image using dlxlinux." SRC_URI="http://prdownloads.sourceforge.net/bochs/${PN}.tar.gz" HOMEPAGE="http://bochs.sourceforge.net" #build-time dependencies DEPEND=">=sys-libs/glibc-2.1.3 >=x11-base/xfree-4.0.1" #run-time dependencies, same as DEPEND if RDEPEND isn't defined: #RDEPEND="$DEPEND" src_compile() { ./configure --enable-cpu-level=5 --enable-fpu --enable-cdrom --enable-split-hd --enable-ne2000 --infodir=/usr/share/info --mandir=/usr/share/man --host=${CHOST} || die cp Makefile Makefile.orig sed -e 's:$(BOCHSDIR)/dlxlinux:$(DESTDIR)$(BOCHSDIR)/dlxlinux:; s:$(GUNZIP) -c $(DLXLINUX_TAR) | (cd $(BOCHSDIR); tar -xvf -):$(GUNZIP) -c $(DLXLINUX_TAR) | (cd $(DESTDIR)$(BOCHSDIR); tar -xvf -):' Makefile.orig > Makefile emake || die } src_install () { make DESTDIR=${D} install || die dodoc CHANGES COPYING CVS README TESTFORM.txt }
Hm, bochs looks like a nice app. I'll enjoy working on the ebuild :-) About the builtin support though: shouldn't we enable support for everything, not just pentium/cdrom/etc.? e.g. support for smp, and a few other things I remember seeing in the features list when I looked at it a few week ago. If a virtual machine doesn't use some specific support, can enabling that support cause any kind of problems?
boch is pretty cool, it runs kinda slow, but i have had gentoo up and running on it. as for the support, the only one you might want to add is sound. the config enables are a little different in that they compile those features in to the virtual machine. smp support isn't recommended as it adds smp emulation to boch, which actually slows it down. it's really only for testing purposes. just my 2 cents
Committed as app-emulation/bochs. Please take a look, I've done some changes.
looks pretty good to me, and i was able to compile without any problems.