x86 and ppc stable
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 7 Nov 2004 20:46:42 +0000 (20:46 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 7 Nov 2004 20:46:42 +0000 (20:46 +0000)
app-emulation/bochs/ChangeLog
app-emulation/bochs/Manifest
app-emulation/bochs/bochs-2.0.2.ebuild
app-emulation/bochs/bochs-2.1.1.ebuild

index b474a2f65fba255c54e8ba40d3c5327a189a9b19..91ce0d4cc3494e967f6302158d791eb9d77dec39 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for app-emulation/bochs
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.29 2004/10/24 13:26:25 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.30 2004/11/07 20:46:42 lu_zero Exp $
+
+  07 Nov 2004; Luca Barbato <lu_zero@gentoo.org> bochs-2.0.2.ebuild,
+  bochs-2.1.1.ebuild:
+  Marked stable for ppc and x86
 
   24 Oct 2004; Luca Barbato <lu_zero@gentoo.org> bochs-2.1.1.ebuild:
   Added debugger useflag, should address the bug #25227
index 652001221f09453d72467287d9ef53dcda69a35c..149da6c9907b0573384f683a42e41e6dfd21e0aa 100644 (file)
@@ -1,25 +1,15 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 a594d5caae2cdfc4e2dfeeb6739287ab ChangeLog 3094
-MD5 6f81998c1fcbae9c39bca0103fd89864 bochs-1.4.1.ebuild 1352
-MD5 099a43e5f7fbd47b87e5111225933b89 bochs-1.4.ebuild 1273
-MD5 a66e717c2358d46991495fc423d0da9e bochs-2.0.2.ebuild 2089
-MD5 af9239d516e33b8be4107bb890a63f7f bochs-2.0.ebuild 1258
+MD5 6ab31a35de465726414b825afdf0fe89 bochs-2.1.1.ebuild 2295
 MD5 43dd35ccd8425d7946691db41c79d9de bochs-2.1.ebuild 2138
-MD5 361d4e30f483912c7288c204d25a45c5 bochs-2.1.1.ebuild 2296
+MD5 d669a82776af7053b7e876316ade7dda ChangeLog 3218
+MD5 099a43e5f7fbd47b87e5111225933b89 bochs-1.4.ebuild 1273
+MD5 6e3bf01bfb4ea35465d38add722e4164 bochs-2.0.2.ebuild 2287
 MD5 898131aae735c3477ff2f9c6882f1178 metadata.xml 223
-MD5 82bbe1a668c392d41dab00e073bf4e05 files/bochs-2.0.2-gcc3.patch 2206
-MD5 98e5b3f35a6f0ad02450764b07b344f6 files/digest-bochs-1.4 124
+MD5 6f81998c1fcbae9c39bca0103fd89864 bochs-1.4.1.ebuild 1352
+MD5 af9239d516e33b8be4107bb890a63f7f bochs-2.0.ebuild 1258
+MD5 8e9513ab2651bd41c0529405d45d3da1 files/digest-bochs-2.1 124
 MD5 45eecf87d56bd4562cffd0c8cfe666f9 files/digest-bochs-1.4.1 126
+MD5 82bbe1a668c392d41dab00e073bf4e05 files/bochs-2.0.2-gcc3.patch 2206
+MD5 207a406a1a47e2650e396ea0976f5206 files/digest-bochs-2.1.1 126
 MD5 b16ead839f74b3e086e97173022acc75 files/digest-bochs-2.0 124
+MD5 98e5b3f35a6f0ad02450764b07b344f6 files/digest-bochs-1.4 124
 MD5 58d96725e3bd04fed299304c5d6d8d9f files/digest-bochs-2.0.2 126
-MD5 8e9513ab2651bd41c0529405d45d3da1 files/digest-bochs-2.1 124
-MD5 207a406a1a47e2650e396ea0976f5206 files/digest-bochs-2.1.1 126
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBhHKWHTu7gpaalycRAjpnAKCVMEwOmIZqs0HlpRS/oHptPIvWRgCeJEiG
-h4mkCtl9ZD9Q96vMQqMgG6A=
-=4FOq
------END PGP SIGNATURE-----
index fca3b9fa037028d91d75fd778e5d034123a65a6d..4b0675c592ba897990dc5d4b088afe728ba73955 100644 (file)
@@ -1,29 +1,30 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.0.2.ebuild,v 1.16 2004/10/31 05:04:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.0.2.ebuild,v 1.17 2004/11/07 20:46:42 lu_zero Exp $
 
-inherit eutils
+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"
+        http://bochs.sourceforge.net/guestos/dlxlinux4.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="x86 ~ppc alpha sparc"
-IUSE="sdl gtk"
+KEYWORDS="x86 ppc alpha sparc"
+IUSE="sdl wxwindows readline gtk2 debugger"
 
 RDEPEND="virtual/libc
        virtual/x11
        sdl? ( media-libs/libsdl )
-       gtk? ( x11-libs/wxGTK )"
+       wxwindows? ( x11-libs/wxGTK )
+       readline? sys-libs/readline"
 DEPEND="${RDEPEND}
        >=sys-apps/sed-4"
 
 src_unpack() {
-       unpack ${A}
-#      unpack ${P}.tar.gz
+#      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 \
@@ -31,16 +32,34 @@ src_unpack() {
                -e 's:BOCHSDIR=:BOCHSDIR=/usr/lib/bochs#:' \
                -e 's: $(BOCHSDIR): $(DESTDIR)$(BOCHSDIR):g' Makefile.in || \
                        die "sed Makefile.in failed"
-       epatch ${FILESDIR}/${P}-gcc3.patch || die
+#      epatch ${FILESDIR}/${P}-gcc3.patch || die
 }
 
 src_compile() {
-       [ "$ARCH" == "x86" ] && myconf="--enable-idle-hack"
+       if ! use gtk2 ; then
+               need-wxwidgets gtk
+       else
+               need-wxwidgets gtk2
+       fi
+       [ "$ARCH" == "x86" ] \
+               && myconf="--enable-idle-hack --enable-fast-function-calls"
        myconf="${myconf} `use_with sdl`"
-       myconf="${myconf} `use_with gtk wx`"
+       myconf="${myconf} `use_enable readline`"
+       use wxwindows && \
+               myconf="${myconf} --with-gtk --with-wx"
+       use wxwindows || \
+               myconf="${myconf} --without-gtk --without-wx"
+       use bochs-debugger && \
+               myconf="$myconf --enable-debugger --enable-disasm
+       --enable-x86-debugger"
 
        ./configure \
                --enable-fpu --enable-cdrom --enable-control-panel \
+               --enable-usb --enable-pci --enable-mmx --enable-sse\
+               --enable-cpu-level=6 \
+               --enable-repeat-speedups --enable-guest2host-tlb \
+               --enable-plugins --enable-debugger \
+               --enable-ignore-bad-msr \
                --enable-ne2000 --enable-sb16=linux --enable-slowdown --prefix=/usr \
                --infodir=/usr/share/info --mandir=/usr/share/man --host=${CHOST} \
                --with-x11 $myconf || \
@@ -53,18 +72,6 @@ src_install() {
        make DESTDIR=${D} install unpack_dlx || die "make install failed"
        #workaround
        make prefix=${D}/usr install_dlx
-       #cleanup
-       rm -rf ${D}/usr/share/bochs/{vga.pcf,install-x11-fonts,test-x11-fonts}
-       rm -rf ${D}/usr/share/bochs/keymaps/CVS
-       insinto /usr/X11R6/lib/X11/fonts/misc
-       doins ${S}/font/vga.pcf
-       gzip ${D}/usr/X11R6/lib/X11/fonts/misc/vga.pcf
-       dodoc CHANGES CVS README TESTFORM.txt || die "dodoc failed"
-}
 
-pkg_postinst() {
-       einfo "Updating the font index"
-       mkfontdir /usr/X11R6/lib/X11/fonts/misc
-       einfo "If you are running X please update the fontlist with:"
-       einfo "# xset fp rehash"
+       dodoc CHANGES README TESTFORM.txt || die "dodoc failed"
 }
index d20f774c949e1149ae389ef3c691d74ab83fc2b0..a604c7c04abfd446de6ff0bbcf95b5b75ea5b6ee 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.1.1.ebuild,v 1.11 2004/10/31 05:04:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.1.1.ebuild,v 1.12 2004/11/07 20:46:42 lu_zero Exp $
 
 inherit eutils wxwidgets
 
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~x86 ~ppc alpha ~sparc ~amd64"
+KEYWORDS="x86 ppc alpha ~sparc ~amd64"
 IUSE="sdl wxwindows readline gtk2 debugger"
 
 RDEPEND="virtual/libc