diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-01-25 21:32:38 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-01-25 21:32:38 +0000 |
commit | 0e2c7417e1f9c80b8fd19c4a7563cad61026b14e (patch) | |
tree | ef5b405df0122671414d1e554b775c0c2040905e /app-emulation | |
parent | fix makefile patch (diff) | |
download | historical-0e2c7417e1f9c80b8fd19c4a7563cad61026b14e.tar.gz historical-0e2c7417e1f9c80b8fd19c4a7563cad61026b14e.tar.bz2 historical-0e2c7417e1f9c80b8fd19c4a7563cad61026b14e.zip |
more ui support
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/bochs/ChangeLog | 6 | ||||
-rw-r--r-- | app-emulation/bochs/Manifest | 4 | ||||
-rw-r--r-- | app-emulation/bochs/bochs-2.2.5-r1.ebuild | 104 | ||||
-rw-r--r-- | app-emulation/bochs/files/digest-bochs-2.2.5-r1 | 2 |
4 files changed, 114 insertions, 2 deletions
diff --git a/app-emulation/bochs/ChangeLog b/app-emulation/bochs/ChangeLog index e544e3540deb..f7bcafa2934e 100644 --- a/app-emulation/bochs/ChangeLog +++ b/app-emulation/bochs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/bochs # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.51 2006/01/25 20:26:36 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.52 2006/01/25 21:32:38 lu_zero Exp $ + + 25 Jan 2006; Luca Barbato <lu_zero@gentoo.org> +bochs-2.2.5-r1.ebuild: + Support different ui - solves bug #87921 and bug #63771 - thanks to Alex + Stagg <alex@bitrouter.com> and Iskren S. <iskren.s@gmail.com> *bochs-2.2.5 (25 Jan 2006) diff --git a/app-emulation/bochs/Manifest b/app-emulation/bochs/Manifest index b9ecfadebfcc..f3525bbc0d96 100644 --- a/app-emulation/bochs/Manifest +++ b/app-emulation/bochs/Manifest @@ -1,11 +1,13 @@ -MD5 8158457e17f2bf248b6fd4af12016a11 ChangeLog 5770 +MD5 564828fa7ec86362f91e74561b348451 ChangeLog 5983 MD5 7d2edfb6d5abaa87bdc35368a68a2c51 bochs-2.1.1.ebuild 2349 MD5 90508fdbeb40e42cb720d7e8a0b956e6 bochs-2.2.1-r1.ebuild 2368 MD5 151fc7b33a1a8c17f862c4b458b7cd2b bochs-2.2.1.ebuild 2424 +MD5 7b9939971ac54d385a9f96cb766dae24 bochs-2.2.5-r1.ebuild 2851 MD5 34a5cc6e1e26143af7c0c27c8ceb7486 bochs-2.2.5.ebuild 2570 MD5 cde4fb61affbffb1c90e04d0a94dacd9 files/bochs-2.1.1-regparm-typo.patch 337 MD5 207a406a1a47e2650e396ea0976f5206 files/digest-bochs-2.1.1 126 MD5 f95b73bcfb4c045d563032c0b0b824c7 files/digest-bochs-2.2.1 126 MD5 f95b73bcfb4c045d563032c0b0b824c7 files/digest-bochs-2.2.1-r1 126 MD5 05dbb9583e3c1a0b8b2c7dbdcfbc8f63 files/digest-bochs-2.2.5 126 +MD5 05dbb9583e3c1a0b8b2c7dbdcfbc8f63 files/digest-bochs-2.2.5-r1 126 MD5 898131aae735c3477ff2f9c6882f1178 metadata.xml 223 diff --git a/app-emulation/bochs/bochs-2.2.5-r1.ebuild b/app-emulation/bochs/bochs-2.2.5-r1.ebuild new file mode 100644 index 000000000000..4d66936d021d --- /dev/null +++ b/app-emulation/bochs/bochs-2.2.5-r1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.2.5-r1.ebuild,v 1.1 2006/01/25 21:32:38 lu_zero Exp $ + +inherit eutils wxwidgets + +DESCRIPTION="a LGPL-ed pc emulator" +HOMEPAGE="http://bochs.sourceforge.net/" +SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz + http://bochs.sourceforge.net/guestos/dlxlinux4.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ppc ~sparc ~x86" +IUSE="debugger readline sdl wxwindows X ncurses vnc" + +RDEPEND="virtual/libc + X? || ( virtual/x11 + ( x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXpm ) ) + sdl? ( media-libs/libsdl ) + wxwindows? ( >=x11-libs/wxGTK-2.6 ) + readline? ( sys-libs/readline ) + ncurses? ( sys-libs/ncurses )" + +DEPEND="${RDEPEND} + X? || ( virtual/x11 + x11-proto/xproto ) + >=sys-apps/sed-4 + >=app-text/opensp-1.5" + +src_unpack() { +# unpack ${A} + unpack ${P}.tar.gz + cd ${S} +# -e 's:MAN_PAGE_1_LIST=bochs bximage bochs-dlx:MAN_PAGE_1_LIST=bochs bximage:' + sed -i \ + -e "s:\$(WGET) \$(DLXLINUX_TAR_URL):cp ${DISTDIR}/dlxlinux4.tar.gz .:" \ + -e 's:BOCHSDIR=:BOCHSDIR=/usr/lib/bochs#:' \ + -e 's: $(BOCHSDIR): $(DESTDIR)$(BOCHSDIR):g' Makefile.in || \ + die "sed Makefile.in failed" + +# Make it use the correct path to gtk-2 + sed -i -e "s:/opt/gnome:/usr:" configure +# Fix some bad coding for gcc-4.1 compliance + sed -i -e "s:\#ifndef PARANOID:\#if 0:" iodev/hdimage.h +} + +src_compile() { + export WX_GTK_VER=2.6 + + use wxwindows && \ + need-wxwidgets gtk2 + + [[ "$ARCH" == "x86" ]] \ + && myconf="--enable-idle-hack --enable-fast-function-calls" + myconf="${myconf} `use_with sdl`" + myconf="${myconf} `use_enable readline`" + use wxwindows && \ + myconf="${myconf} --with-wx" + use wxwindows || \ + myconf="${myconf} --without-wx" + use debugger && \ + myconf="$myconf --enable-debugger --enable-disasm \ + --enable-x86-debugger --enable-iodebug" + use vnc && \ + myconf="$myconf --with-rfb" + + use X && \ + myconf="$myconf --with-x11" + + use ncurses && \ + myconf="$myconf --with-term" + + if ! use X && ! use ncurses && ! use vnc && ! use sdl + then + myconf="$myconf --with-nogui" + fi + + ./configure \ + --enable-fpu --enable-cdrom \ + --enable-usb --enable-pci \ + --enable-mmx --enable-sse=2 --enable-3dnow \ + --enable-cpu-level=6 --enable-vbe \ + --enable-repeat-speedups --enable-guest2host-tlb \ + --enable-plugins \ + --enable-ignore-bad-msr \ + --enable-ne2000 --enable-sb16=linux --enable-slowdown --prefix=/usr \ + --infodir=/usr/share/info --mandir=/usr/share/man --host=${CHOST} \ + ${myconf} || die "configure failed" + + + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install unpack_dlx || die "make install failed" + #workaround + make prefix=${D}/usr install_dlx + + dodoc CHANGES README TESTFORM.txt || die "dodoc failed" +} diff --git a/app-emulation/bochs/files/digest-bochs-2.2.5-r1 b/app-emulation/bochs/files/digest-bochs-2.2.5-r1 new file mode 100644 index 000000000000..85bd054d4056 --- /dev/null +++ b/app-emulation/bochs/files/digest-bochs-2.2.5-r1 @@ -0,0 +1,2 @@ +MD5 09441905f65947ac956f819d9fcc66dc bochs-2.2.5.tar.gz 3820966 +MD5 21c153f5aa391395c35f0c2f660da972 dlxlinux4.tar.gz 1504868 |