Gentoo Archives: gentoo-commits

From: "Luca Barbato (lu_zero)" <lu_zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/bochs: ChangeLog bochs-2.3.6.ebuild
Date: Wed, 06 Feb 2008 23:12:32
Message-Id: E1JMtRN-0006vK-R8@stork.gentoo.org
1 lu_zero 08/02/06 23:12:29
2
3 Modified: ChangeLog
4 Added: bochs-2.3.6.ebuild
5 Log:
6 New version, see bug #209183
7 (Portage version: 2.1.4.1)
8
9 Revision Changes Path
10 1.74 app-emulation/bochs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/ChangeLog?rev=1.74&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/ChangeLog?rev=1.74&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/ChangeLog?r1=1.73&r2=1.74
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v
19 retrieving revision 1.73
20 retrieving revision 1.74
21 diff -u -r1.73 -r1.74
22 --- ChangeLog 28 Sep 2007 23:38:51 -0000 1.73
23 +++ ChangeLog 6 Feb 2008 23:12:29 -0000 1.74
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.73 2007/09/28 23:38:51 dirtyepic Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.74 2008/02/06 23:12:29 lu_zero Exp $
30 +
31 +*bochs-2.3.6 (06 Feb 2008)
32 +
33 + 06 Feb 2008; Luca Barbato <lu_zero@g.o> +bochs-2.3.6.ebuild:
34 + New version, ebuild kindly provided by Friedrich Oslage
35 + <bluebird@××××××××××××.de> in bug #209183
36
37 28 Sep 2007; Ryan Hill <dirtyepic@g.o> bochs-2.2.6.ebuild,
38 bochs-2.3.ebuild, bochs-2.3.5.ebuild:
39
40
41
42 1.1 app-emulation/bochs/bochs-2.3.6.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/bochs-2.3.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/bochs/bochs-2.3.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: bochs-2.3.6.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.3.6.ebuild,v 1.1 2008/02/06 23:12:29 lu_zero Exp $
52
53 inherit eutils wxwidgets autotools
54
55 DESCRIPTION="a LGPL-ed pc emulator"
56 HOMEPAGE="http://bochs.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz
58 http://bochs.sourceforge.net/guestos/dlxlinux4.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
63 IUSE="X debugger readline mmx sse usb 3dnow wxwindows svga sdl ncurses vnc acpi"
64
65 RDEPEND="virtual/libc
66 X? ( x11-libs/libICE
67 x11-libs/libSM
68 x11-libs/libX11
69 x11-libs/libXpm )
70 sdl? ( media-libs/libsdl )
71 svga? ( media-libs/svgalib )
72 wxwindows? ( =x11-libs/wxGTK-2.6* )
73 readline? ( sys-libs/readline )
74 ncurses? ( sys-libs/ncurses )"
75
76 DEPEND="${RDEPEND}
77 X? ( x11-proto/xproto )
78 >=sys-apps/sed-4
79 >=app-text/opensp-1.5"
80
81 src_unpack() {
82 unpack "${P}.tar.gz"
83 cd "${S}"
84
85 # we already downloaded dlxlinux4.tar.gz so let the Makefile cp it instead
86 # of downloading it again
87 sed -i \
88 -e "s:\$(WGET) \$(DLXLINUX_TAR_URL):cp ${DISTDIR}/dlxlinux4.tar.gz .:" \
89 Makefile.in || \
90 die "sed Makefile.in failed"
91
92 # Make sure wxwindows 2.6 is used in case both 2.6 and 2.4 are installed
93 sed -i -e "s:wx-config:wx-config-2.6:" configure.in
94 eautoconf
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
106 [[ "$ARCH" == "amd64" ]] \
107 && myconf="--enable-x86-64"
108
109 use wxwindows && \
110 myconf="${myconf} --with-wx"
111 use wxwindows || \
112 myconf="${myconf} --without-wx"
113
114 use vnc && \
115 myconf="${myconf} --with-rfb"
116
117 use X && \
118 myconf="${myconf} --with-x11"
119
120 use ncurses && \
121 myconf="${myconf} --with-term"
122
123 if ! use X && ! use ncurses && ! use vnc && ! use sdl
124 then
125 myconf="${myconf} --with-nogui"
126 fi
127
128 # --enable-all-optimizations causes bus error on sparc :(
129 [[ "$ARCH" != "sparc" ]] \
130 && myconf="${myconf} --enable-all-optimizations"
131
132 econf \
133 --prefix=/usr \
134 --enable-ne2000 \
135 --enable-sb16=linux \
136 --enable-plugins \
137 --enable-cdrom \
138 --enable-pci \
139 $(use_enable usb) \
140 $(use_enable sse) \
141 $(use_enable 3dnow) \
142 $(use_enable readline) \
143 $(use_enable debugger) \
144 $(use_with X) \
145 $(use_with sdl) \
146 $(use_with svga) \
147 $(use_with acpi) \
148 ${myconf} || \
149 die "econf failed"
150
151 emake || die "emake failed"
152 }
153
154 src_install() {
155 make DESTDIR="${D}" install unpack_dlx || die "make install failed"
156
157 # workaround
158 make prefix="${D}/usr" install_dlx
159
160 dodoc \
161 CHANGES \
162 PARAM_TREE.txt \
163 README \
164 README-plugins \
165 TESTFORM.txt \
166 TODO || \
167 die "doco failed"
168
169 if [ use vnc ]
170 then
171 dodoc README.rfb || die "dodoc failed"
172 fi
173
174 if [ use wxwindows ]
175 then
176 dodoc README-wxWindows || die "dodoc failed"
177 fi
178 }
179
180
181
182 --
183 gentoo-commits@l.g.o mailing list