1 |
lu_zero 10/09/04 09:22:32 |
2 |
|
3 |
Modified: ChangeLog bochs-2.4.1.ebuild |
4 |
Added: bochs-2.4.5.ebuild |
5 |
Log: |
6 |
New version and wx 2.8 support |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.88 app-emulation/bochs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/bochs/ChangeLog?rev=1.88&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/bochs/ChangeLog?rev=1.88&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/bochs/ChangeLog?r1=1.87&r2=1.88 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v |
19 |
retrieving revision 1.87 |
20 |
retrieving revision 1.88 |
21 |
diff -u -r1.87 -r1.88 |
22 |
--- ChangeLog 10 Feb 2010 06:32:50 -0000 1.87 |
23 |
+++ ChangeLog 4 Sep 2010 09:22:32 -0000 1.88 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-emulation/bochs |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.87 2010/02/10 06:32:50 dirtyepic Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.88 2010/09/04 09:22:32 lu_zero Exp $ |
29 |
+ |
30 |
+*bochs-2.4.5 (04 Sep 2010) |
31 |
+ |
32 |
+ 04 Sep 2010; Luca Barbato <lu_zero@g.o> bochs-2.4.1.ebuild, |
33 |
+ +bochs-2.4.5.ebuild: |
34 |
+ New version and wx 2.8 support |
35 |
|
36 |
10 Feb 2010; Ryan Hill <dirtyepic@g.o> bochs-2.3.ebuild, |
37 |
bochs-2.3.6.ebuild, bochs-2.3.7.ebuild, bochs-2.4.1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.5 app-emulation/bochs/bochs-2.4.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/bochs/bochs-2.4.1.ebuild?rev=1.5&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/bochs/bochs-2.4.1.ebuild?rev=1.5&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/bochs/bochs-2.4.1.ebuild?r1=1.4&r2=1.5 |
46 |
|
47 |
Index: bochs-2.4.1.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.4.1.ebuild,v |
50 |
retrieving revision 1.4 |
51 |
retrieving revision 1.5 |
52 |
diff -u -r1.4 -r1.5 |
53 |
--- bochs-2.4.1.ebuild 10 Feb 2010 06:32:50 -0000 1.4 |
54 |
+++ bochs-2.4.1.ebuild 4 Sep 2010 09:22:32 -0000 1.5 |
55 |
@@ -1,6 +1,6 @@ |
56 |
# Copyright 1999-2010 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.4.1.ebuild,v 1.4 2010/02/10 06:32:50 dirtyepic Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.4.1.ebuild,v 1.5 2010/09/04 09:22:32 lu_zero Exp $ |
60 |
|
61 |
inherit eutils wxwidgets |
62 |
|
63 |
@@ -20,7 +20,7 @@ |
64 |
x11-libs/libXpm ) |
65 |
sdl? ( media-libs/libsdl ) |
66 |
svga? ( media-libs/svgalib ) |
67 |
- wxwidgets? ( =x11-libs/wxGTK-2.6* ) |
68 |
+ wxwidgets? ( =x11-libs/wxGTK-2.8* ) |
69 |
readline? ( sys-libs/readline ) |
70 |
ncurses? ( sys-libs/ncurses )" |
71 |
|
72 |
@@ -42,10 +42,10 @@ |
73 |
} |
74 |
|
75 |
src_compile() { |
76 |
- WX_GTK_VER=2.6 |
77 |
+ WX_GTK_VER=2.8 |
78 |
|
79 |
use wxwidgets && \ |
80 |
- need-wxwidgets ansi |
81 |
+ need-wxwidgets unicode |
82 |
|
83 |
use x86 && \ |
84 |
myconf="--enable-idle-hack --enable-fast-function-calls" |
85 |
|
86 |
|
87 |
|
88 |
1.1 app-emulation/bochs/bochs-2.4.5.ebuild |
89 |
|
90 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/bochs/bochs-2.4.5.ebuild?rev=1.1&view=markup |
91 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/bochs/bochs-2.4.5.ebuild?rev=1.1&content-type=text/plain |
92 |
|
93 |
Index: bochs-2.4.5.ebuild |
94 |
=================================================================== |
95 |
# Copyright 1999-2010 Gentoo Foundation |
96 |
# Distributed under the terms of the GNU General Public License v2 |
97 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.4.5.ebuild,v 1.1 2010/09/04 09:22:32 lu_zero Exp $ |
98 |
|
99 |
inherit eutils wxwidgets |
100 |
|
101 |
DESCRIPTION="a LGPL-ed pc emulator" |
102 |
HOMEPAGE="http://bochs.sourceforge.net/" |
103 |
SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz |
104 |
http://bochs.sourceforge.net/guestos/dlxlinux4.tar.gz" |
105 |
|
106 |
LICENSE="LGPL-2.1" |
107 |
SLOT="0" |
108 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
109 |
IUSE="X debugger readline usb wxwidgets svga sdl ncurses vnc acpi" |
110 |
|
111 |
RDEPEND="X? ( x11-libs/libICE |
112 |
x11-libs/libSM |
113 |
x11-libs/libX11 |
114 |
x11-libs/libXpm ) |
115 |
sdl? ( media-libs/libsdl ) |
116 |
svga? ( media-libs/svgalib ) |
117 |
wxwidgets? ( =x11-libs/wxGTK-2.8* ) |
118 |
readline? ( sys-libs/readline ) |
119 |
ncurses? ( sys-libs/ncurses )" |
120 |
|
121 |
DEPEND="${RDEPEND} |
122 |
X? ( x11-proto/xproto ) |
123 |
>=sys-apps/sed-4 |
124 |
>=app-text/opensp-1.5" |
125 |
|
126 |
src_unpack() { |
127 |
unpack "${P}.tar.gz" |
128 |
cd "${S}" |
129 |
|
130 |
# we already downloaded dlxlinux4.tar.gz so let the Makefile cp it instead |
131 |
# of downloading it again |
132 |
sed -i \ |
133 |
-e "s:\$(WGET) \$(DLXLINUX_TAR_URL):cp ${DISTDIR}/dlxlinux4.tar.gz .:" \ |
134 |
Makefile.in || \ |
135 |
die "sed Makefile.in failed" |
136 |
} |
137 |
|
138 |
src_compile() { |
139 |
WX_GTK_VER=2.8 |
140 |
|
141 |
use wxwidgets && \ |
142 |
need-wxwidgets unicode |
143 |
|
144 |
use x86 && \ |
145 |
myconf="--enable-idle-hack --enable-fast-function-calls" |
146 |
|
147 |
use amd64 && \ |
148 |
myconf="--enable-x86-64" |
149 |
|
150 |
use wxwidgets && \ |
151 |
myconf="${myconf} --with-wx" |
152 |
use wxwidgets || \ |
153 |
myconf="${myconf} --without-wx" |
154 |
|
155 |
use vnc && \ |
156 |
myconf="${myconf} --with-rfb" |
157 |
|
158 |
use X && \ |
159 |
myconf="${myconf} --with-x11" |
160 |
|
161 |
use ncurses && \ |
162 |
myconf="${myconf} --with-term" |
163 |
|
164 |
# --enable-all-optimizations causes bus error on sparc :( |
165 |
use sparc || \ |
166 |
myconf="${myconf} --enable-all-optimizations" |
167 |
|
168 |
econf \ |
169 |
--enable-repeat-speedups \ |
170 |
--enable-trace-cache \ |
171 |
--enable-fast-function-calls \ |
172 |
--enable-disasm \ |
173 |
--enable-logging \ |
174 |
--enable-raw-serial \ |
175 |
--enable-vbe \ |
176 |
--enable-clgd54xx \ |
177 |
--enable-alignment-check \ |
178 |
--enable-monitor-mwait \ |
179 |
--enable-gameport \ |
180 |
--enable-iodebug \ |
181 |
--prefix=/usr \ |
182 |
--enable-ne2000 \ |
183 |
--enable-sb16=linux \ |
184 |
--enable-plugins \ |
185 |
--enable-cdrom \ |
186 |
--enable-pci \ |
187 |
--enable-pcidev \ |
188 |
--enable-pnic \ |
189 |
--enable-cpu-level=6 \ |
190 |
--enable-smp \ |
191 |
--with-nogui \ |
192 |
$(use_enable usb) \ |
193 |
$(use_enable readline) \ |
194 |
$(use_enable debugger) \ |
195 |
$(use_with X) \ |
196 |
$(use_with sdl) \ |
197 |
$(use_with svga) \ |
198 |
$(use_enable acpi) \ |
199 |
${myconf} || \ |
200 |
die "econf failed" |
201 |
|
202 |
emake || die "emake failed" |
203 |
} |
204 |
|
205 |
src_install() { |
206 |
make DESTDIR="${D}" install unpack_dlx || die "make install failed" |
207 |
|
208 |
# workaround |
209 |
make prefix="${D}/usr" install_dlx |
210 |
|
211 |
dodoc \ |
212 |
CHANGES \ |
213 |
PARAM_TREE.txt \ |
214 |
README \ |
215 |
README-plugins \ |
216 |
TESTFORM.txt \ |
217 |
TODO || \ |
218 |
die "doco failed" |
219 |
|
220 |
if [ use vnc ] |
221 |
then |
222 |
dodoc README.rfb || die "dodoc failed" |
223 |
fi |
224 |
|
225 |
if [ use wxwidgets ] |
226 |
then |
227 |
dodoc README-wxWindows || die "dodoc failed" |
228 |
fi |
229 |
} |