Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644512 - app-emulation/wine-staging-2.21 version bump add d3d9 support to staging ebuild
Summary: app-emulation/wine-staging-2.21 version bump add d3d9 support to staging ebuild
Status: RESOLVED DUPLICATE of bug 643580
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2018-01-14 09:21 UTC by Luke McKee
Modified: 2018-01-20 06:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-emualtion/wine-staging-2.21.ebuild (wine-staging-2.21.ebuild,20.02 KB, text/plain)
2018-01-14 09:21 UTC, Luke McKee
Details
app-emulation/wine-staging-2.21.ebuild patched (-r1) (wine-staging-2.21.ebuild,20.03 KB, text/plain)
2018-01-14 10:18 UTC, Luke McKee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke McKee 2018-01-14 09:21:35 UTC
Created attachment 514744 [details]
app-emualtion/wine-staging-2.21.ebuild

After making the attached ebuild, I just realized app-emulation/wine-any that many people are still using has the ability to combine wine staging and d3d9 patchsets.....

It's also the default installed on dreaded sabayon which I'm migrating away from.

Anyway I have made an ebuild that lets wine staging also support d3d9 for when in the future wine-any goes away.

If updated ebuild is accepted you'll also have to tweak the virtual/wine ebuild accordingly to show that the d3d9 use flag in this ebuild will satisfy the requirement for d3d9 use in the virtual ebuild.

The ebuild is done properly, just rename it when a new release comes out for wine/wine-staging and wine-d3d9 patches (assuming upstream has put the goodies in the usual places).
Comment 1 Luke McKee 2018-01-14 10:17:01 UTC
oops small mistake with the attachment. 

I took the ebuild from the official wine gentoo overlay which has got some issues with it FYI.

here's the patch to copy in the goodness from wine-staging-2.19 in portage

-p0 < ebuild.patch



--- wine-staging-2.21.ebuild	2018-01-14 15:47:47.660435707 +0700
+++ wine-staging-2.19.ebuild	2018-01-09 00:55:30.652619283 +0700
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -569,7 +553,7 @@
 	# respect LINGUAS when installing man pages, #469418
 	local l
 	for l in de fr pl; do
-		use linguas_${l} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
+		has ${l} ${LINGUAS-${l}} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
 	done
 
 	eval "${glob_state}"


Should fix this error.
 * ERROR: app-emulation/wine-staging-2.21::user_defined failed (install phase):
 *   USE Flag 'linguas_de' not in IUSE for app-emulation/wine-staging-2.21
 * 
 * Call stack:
 *          ebuild.sh, line  115:  Called src_install
 *        environment, line 4201:  Called multilib-minimal_src_install
 *        environment, line 3209:  Called multilib_src_install_all
 *        environment, line 3666:  Called use 'linguas_de'
 *   phase-helpers.sh, line  200:  Called die
 * The specific snippet of code:
 *   				die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
Comment 2 Luke McKee 2018-01-14 10:18:44 UTC
Created attachment 514750 [details]
app-emulation/wine-staging-2.21.ebuild patched (-r1)
Comment 3 Adam Feldman gentoo-dev 2018-01-20 06:52:19 UTC

*** This bug has been marked as a duplicate of bug 643580 ***