Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/wine: ChangeLog wine-1.4_rc2.ebuild wine-9999.ebuild
Date: Sun, 05 Feb 2012 21:15:16
Message-Id: 20120205211505.EEE502004B@flycatcher.gentoo.org
1 tetromino 12/02/05 21:15:05
2
3 Modified: ChangeLog wine-9999.ebuild
4 Added: wine-1.4_rc2.ebuild
5 Log:
6 Bump, see http://www.winehq.org/announce/1.4-rc2 for the announcement. Add patch by Thomas Sachau to (hopefully) finally fix bug #395615.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.399 app-emulation/wine/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.399&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.399&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?r1=1.398&r2=1.399
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v
20 retrieving revision 1.398
21 retrieving revision 1.399
22 diff -u -r1.398 -r1.399
23 --- ChangeLog 28 Jan 2012 22:53:52 -0000 1.398
24 +++ ChangeLog 5 Feb 2012 21:15:05 -0000 1.399
25 @@ -1,6 +1,14 @@
26 # ChangeLog for app-emulation/wine
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.398 2012/01/28 22:53:52 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.399 2012/02/05 21:15:05 tetromino Exp $
30 +
31 +*wine-1.4_rc2 (05 Feb 2012)
32 +
33 + 05 Feb 2012; Alexandre Rostovtsev <tetromino@g.o>
34 + +wine-1.4_rc2.ebuild, +files/wine-1.4_rc2-multilib-portage.patch,
35 + wine-9999.ebuild:
36 + Bump, see http://www.winehq.org/announce/1.4-rc2 for the announcement. Add
37 + patch by Thomas Sachau to (hopefully) finally fix bug #395615.
38
39 28 Jan 2012; Mike Frysinger <vapier@g.o> wine-1.4_rc1.ebuild:
40 Drop manual flag filtering #395615.
41
42
43
44 1.101 app-emulation/wine/wine-9999.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-9999.ebuild?rev=1.101&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-9999.ebuild?rev=1.101&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-9999.ebuild?r1=1.100&r2=1.101
49
50 Index: wine-9999.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v
53 retrieving revision 1.100
54 retrieving revision 1.101
55 diff -u -r1.100 -r1.101
56 --- wine-9999.ebuild 14 Jan 2012 03:20:51 -0000 1.100
57 +++ wine-9999.ebuild 5 Feb 2012 21:15:05 -0000 1.101
58 @@ -1,10 +1,10 @@
59 # Copyright 1999-2012 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.100 2012/01/14 03:20:51 tetromino Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.101 2012/02/05 21:15:05 tetromino Exp $
63
64 EAPI="4"
65
66 -inherit eutils flag-o-matic multilib
67 +inherit autotools eutils flag-o-matic multilib
68
69 if [[ ${PV} == "9999" ]] ; then
70 EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
71 @@ -114,7 +114,9 @@
72
73 src_prepare() {
74 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
75 + epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
76 epatch_user #282735
77 + eautoreconf
78 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
79 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
80 }
81
82
83
84 1.1 app-emulation/wine/wine-1.4_rc2.ebuild
85
86 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.4_rc2.ebuild?rev=1.1&view=markup
87 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.4_rc2.ebuild?rev=1.1&content-type=text/plain
88
89 Index: wine-1.4_rc2.ebuild
90 ===================================================================
91 # Copyright 1999-2012 Gentoo Foundation
92 # Distributed under the terms of the GNU General Public License v2
93 # $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.4_rc2.ebuild,v 1.1 2012/02/05 21:15:05 tetromino Exp $
94
95 EAPI="4"
96
97 inherit autotools eutils flag-o-matic multilib
98
99 if [[ ${PV} == "9999" ]] ; then
100 EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
101 inherit git-2
102 SRC_URI=""
103 #KEYWORDS=""
104 else
105 MY_P="${PN}-${PV/_/-}"
106 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
107 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
108 S=${WORKDIR}/${MY_P}
109 fi
110
111 GV="1.4"
112 DESCRIPTION="free implementation of Windows(tm) on Unix"
113 HOMEPAGE="http://www.winehq.org/"
114 SRC_URI="${SRC_URI}
115 gecko? (
116 mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi
117 win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi )
118 )"
119
120 LICENSE="LGPL-2.1"
121 SLOT="0"
122 IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap mp3 ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
123 REQUIRED_USE="elibc_glibc? ( threads )" #286560
124 RESTRICT="test" #72375
125
126 MLIB_DEPS="amd64? (
127 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
128 X? (
129 >=app-emulation/emul-linux-x86-xlibs-2.1
130 >=app-emulation/emul-linux-x86-soundlibs-2.1
131 )
132 mp3? ( app-emulation/emul-linux-x86-soundlibs )
133 openal? ( app-emulation/emul-linux-x86-sdl )
134 opengl? ( app-emulation/emul-linux-x86-opengl )
135 scanner? ( app-emulation/emul-linux-x86-medialibs )
136 v4l? ( app-emulation/emul-linux-x86-medialibs )
137 app-emulation/emul-linux-x86-baselibs
138 >=sys-kernel/linux-headers-2.6
139 )"
140 RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
141 perl? ( dev-lang/perl dev-perl/XML-Simple )
142 capi? ( net-dialup/capi4k-utils )
143 ncurses? ( >=sys-libs/ncurses-5.2 )
144 fontconfig? ( media-libs/fontconfig )
145 gphoto2? ( media-libs/libgphoto2 )
146 openal? ( media-libs/openal )
147 udisks? (
148 sys-apps/dbus
149 sys-fs/udisks
150 )
151 gnutls? ( net-libs/gnutls )
152 gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
153 X? (
154 x11-libs/libXcursor
155 x11-libs/libXrandr
156 x11-libs/libXi
157 x11-libs/libXmu
158 x11-libs/libXxf86vm
159 x11-apps/xmessage
160 )
161 xinerama? ( x11-libs/libXinerama )
162 alsa? ( media-libs/alsa-lib )
163 cups? ( net-print/cups )
164 opencl? ( virtual/opencl )
165 opengl? ( virtual/opengl )
166 gsm? ( media-sound/gsm )
167 jpeg? ( virtual/jpeg )
168 ldap? ( net-nds/openldap )
169 lcms? ( =media-libs/lcms-1* )
170 mp3? ( >=media-sound/mpg123-1.5.0 )
171 nls? ( sys-devel/gettext )
172 samba? ( >=net-fs/samba-3.0.25 )
173 xml? ( dev-libs/libxml2 dev-libs/libxslt )
174 scanner? ( media-gfx/sane-backends )
175 ssl? ( dev-libs/openssl )
176 png? ( media-libs/libpng )
177 v4l? ( media-libs/libv4l )
178 !win64? ( ${MLIB_DEPS} )
179 win32? ( ${MLIB_DEPS} )
180 xcomposite? ( x11-libs/libXcomposite )"
181 DEPEND="${RDEPEND}
182 X? (
183 x11-proto/inputproto
184 x11-proto/xextproto
185 x11-proto/xf86vidmodeproto
186 )
187 xinerama? ( x11-proto/xineramaproto )
188 !hardened? ( sys-devel/prelink )
189 virtual/yacc
190 sys-devel/flex"
191
192 src_unpack() {
193 if use win64 ; then
194 [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
195 && die "you need gcc-4.4+ to build 64bit wine"
196 fi
197
198 if [[ ${PV} == "9999" ]] ; then
199 git-2_src_unpack
200 else
201 unpack ${MY_P}.tar.bz2
202 fi
203 }
204
205 src_prepare() {
206 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
207 epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
208 epatch_user #282735
209 eautoreconf
210 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
211 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
212 }
213
214 do_configure() {
215 local builddir="${WORKDIR}/wine$1"
216 mkdir -p "${builddir}"
217 pushd "${builddir}" >/dev/null
218
219 ECONF_SOURCE=${S} \
220 econf \
221 --sysconfdir=/etc/wine \
222 $(use_with alsa) \
223 $(use_with capi) \
224 $(use_with lcms cms) \
225 $(use_with cups) \
226 $(use_with ncurses curses) \
227 $(use_with udisks dbus) \
228 $(use_with fontconfig) \
229 $(use_with gnutls) \
230 $(use_with gphoto2 gphoto) \
231 $(use_with gsm) \
232 $(use_with gstreamer) \
233 --without-hal \
234 $(use_with jpeg) \
235 $(use_with ldap) \
236 $(use_with mp3 mpg123) \
237 $(use_with nls gettext) \
238 $(use_with openal) \
239 $(use_with opencl) \
240 $(use_with opengl) \
241 $(use_with ssl openssl) \
242 $(use_with oss) \
243 $(use_with png) \
244 $(use_with threads pthread) \
245 $(use_with scanner sane) \
246 $(use_enable test tests) \
247 $(use_with truetype freetype) \
248 $(use_with v4l) \
249 $(use_with X x) \
250 $(use_with xcomposite) \
251 $(use_with xinerama) \
252 $(use_with xml) \
253 $(use_with xml xslt) \
254 $2
255
256 emake -j1 depend
257
258 popd >/dev/null
259 }
260
261 src_configure() {
262 export LDCONFIG=/bin/true
263 use custom-cflags || strip-flags
264
265 if use win64 ; then
266 do_configure 64 --enable-win64
267 use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
268 else
269 ABI=x86 do_configure 32 --disable-win64
270 fi
271 }
272
273 src_compile() {
274 local b
275 for b in 64 32 ; do
276 local builddir="${WORKDIR}/wine${b}"
277 [[ -d ${builddir} ]] || continue
278 emake -C "${builddir}" all
279 done
280 }
281
282 src_install() {
283 local b
284 for b in 64 32 ; do
285 local builddir="${WORKDIR}/wine${b}"
286 [[ -d ${builddir} ]] || continue
287 emake -C "${builddir}" install DESTDIR="${D}"
288 done
289 dodoc ANNOUNCE AUTHORS README
290 if use gecko ; then
291 insinto /usr/share/wine/gecko
292 doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
293 use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
294 fi
295 if ! use perl ; then
296 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
297 fi
298 }
299
300 pkg_postinst() {
301 paxctl -psmr "${ROOT}"/usr/bin/wine{,-preloader} 2>/dev/null #255055
302 }