1 |
lu_zero 07/09/16 18:51:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bochs-2.3.5.ebuild |
5 |
Log: |
6 |
New version, see bug #192702 |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.72 app-emulation/bochs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/ChangeLog?rev=1.72&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/ChangeLog?rev=1.72&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/ChangeLog?r1=1.71&r2=1.72 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v |
19 |
retrieving revision 1.71 |
20 |
retrieving revision 1.72 |
21 |
diff -u -r1.71 -r1.72 |
22 |
--- ChangeLog 16 Sep 2007 15:08:03 -0000 1.71 |
23 |
+++ ChangeLog 16 Sep 2007 18:51:05 -0000 1.72 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-emulation/bochs |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.71 2007/09/16 15:08:03 angelos Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.72 2007/09/16 18:51:05 lu_zero Exp $ |
29 |
+ |
30 |
+*bochs-2.3.5 (16 Sep 2007) |
31 |
+ |
32 |
+ 16 Sep 2007; Luca Barbato <lu_zero@g.o> +bochs-2.3.5.ebuild: |
33 |
+ New version, ebuild provided by Carlo Marcelo Arenas Belon |
34 |
+ <carenas@×××××××××××.pe> |
35 |
|
36 |
16 Sep 2007; Christoph Mende <angelos@g.o> bochs-2.3.ebuild: |
37 |
Stable on amd64 wrt security bug #188148 |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/bochs/bochs-2.3.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/bochs-2.3.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/bochs-2.3.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: bochs-2.3.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.3.5.ebuild,v 1.1 2007/09/16 18:51:05 lu_zero Exp $ |
51 |
|
52 |
inherit eutils wxwidgets |
53 |
|
54 |
DESCRIPTION="a LGPL-ed pc emulator" |
55 |
HOMEPAGE="http://bochs.sourceforge.net/" |
56 |
SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz |
57 |
http://bochs.sourceforge.net/guestos/dlxlinux4.tar.gz" |
58 |
|
59 |
LICENSE="LGPL-2.1" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
62 |
IUSE="debugger readline sdl svga wxwindows X ncurses vnc" |
63 |
|
64 |
RDEPEND="virtual/libc |
65 |
X? ( x11-libs/libICE |
66 |
x11-libs/libSM |
67 |
x11-libs/libX11 |
68 |
x11-libs/libXpm ) |
69 |
sdl? ( media-libs/libsdl ) |
70 |
svga? ( media-libs/svgalib ) |
71 |
wxwindows? ( >=x11-libs/wxGTK-2.6 ) |
72 |
readline? ( sys-libs/readline ) |
73 |
ncurses? ( sys-libs/ncurses )" |
74 |
|
75 |
DEPEND="${RDEPEND} |
76 |
X? ( x11-proto/xproto ) |
77 |
>=sys-apps/sed-4 |
78 |
>=app-text/opensp-1.5" |
79 |
|
80 |
src_unpack() { |
81 |
unpack ${P}.tar.gz |
82 |
cd ${S} |
83 |
sed -i \ |
84 |
-e "s:\$(WGET) \$(DLXLINUX_TAR_URL):cp ${DISTDIR}/dlxlinux4.tar.gz .:" \ |
85 |
-e "s:BOCHSDIR=:BOCHSDIR=/usr/$(get_libdir)/bochs#:" \ |
86 |
-e 's: $(BOCHSDIR): $(DESTDIR)$(BOCHSDIR):g' Makefile.in || \ |
87 |
die "sed Makefile.in failed" |
88 |
|
89 |
# Make it use the correct path to gtk-2 |
90 |
sed -i -e "s:/opt/gnome:/usr:" configure |
91 |
# Fix some bad coding for gcc-4.1 compliance |
92 |
sed -i -e "s:\#ifndef PARANOID:\#if 0:" iodev/hdimage.h |
93 |
# Make sure wxwindows 2.6 is used in case both 2.6 and 2.4 are installed |
94 |
sed -i -e "s:wx-config:wx-config-2.6:" configure |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
export WX_GTK_VER=2.6 |
99 |
|
100 |
use wxwindows && \ |
101 |
need-wxwidgets gtk2 |
102 |
|
103 |
[[ "$ARCH" == "x86" ]] \ |
104 |
&& myconf="--enable-idle-hack --enable-fast-function-calls" |
105 |
[[ "$ARCH" == "amd64" ]] \ |
106 |
&& myconf="--enable-x86-64" |
107 |
myconf="${myconf} `use_with sdl`" |
108 |
myconf="${myconf} `use_with svga`" |
109 |
myconf="${myconf} `use_enable readline`" |
110 |
use wxwindows && \ |
111 |
myconf="${myconf} --with-wx" |
112 |
use wxwindows || \ |
113 |
myconf="${myconf} --without-wx" |
114 |
|
115 |
if use debugger |
116 |
then |
117 |
myconf="$myconf --enable-debugger --enable-disasm \ |
118 |
--enable-x86-debugger --enable-iodebug" |
119 |
else |
120 |
myconf="$myconf --enable-gdb-stub --disable-smp" |
121 |
fi |
122 |
|
123 |
use vnc && \ |
124 |
myconf="$myconf --with-rfb" |
125 |
|
126 |
use X && \ |
127 |
myconf="$myconf --with-x11" |
128 |
|
129 |
use ncurses && \ |
130 |
myconf="$myconf --with-term" |
131 |
|
132 |
if ! use X && ! use ncurses && ! use vnc && ! use sdl |
133 |
then |
134 |
myconf="$myconf --with-nogui" |
135 |
fi |
136 |
|
137 |
# needed to use gtk2 includes and libs |
138 |
autoconf |
139 |
./configure \ |
140 |
--enable-usb --enable-pci --enable-vbe \ |
141 |
--enable-sse=4 --enable-3dnow --enable-plugins \ |
142 |
--enable-cpu-level=6 --enable-all-optimizations \ |
143 |
--enable-ne2000 --enable-sb16=linux --enable-clgd54xx \ |
144 |
--enable-apic --enable-compressed-hd \ |
145 |
--enable-sep --host=${CHOST} \ |
146 |
--libdir=/usr/$(get_libdir) --prefix=/usr \ |
147 |
${myconf} || die "configure failed" |
148 |
|
149 |
emake || die "emake failed" |
150 |
} |
151 |
|
152 |
src_install() { |
153 |
make DESTDIR=${D} install unpack_dlx || die "make install failed" |
154 |
#workaround |
155 |
make prefix=${D}/usr install_dlx |
156 |
|
157 |
dodoc CHANGES README TESTFORM.txt || die "dodoc failed" |
158 |
} |
159 |
|
160 |
|
161 |
|
162 |
-- |
163 |
gentoo-commits@g.o mailing list |