Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441584 - app-emulation/wine - Wine always offers to install Mono after upgrade with USE flag -mono
Summary: app-emulation/wine - Wine always offers to install Mono after upgrade with US...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-03 14:55 UTC by Ivan Baidakou (dmol)
Modified: 2015-04-19 15:27 UTC (History)
2 users (show)

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


Attachments
gecko/mono configure patch (diff,1.22 KB, patch)
2015-03-23 01:20 UTC, Adam Feldman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Baidakou (dmol) 2012-11-03 14:55:56 UTC
It is a bit inconvenient that wine asks to install MONO version after each upgrade. Is it possible to not ask that question, because I have "-mono" in use flags (probably some patch should be applied)

Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-05 05:32:16 UTC
vapier: Just learned I shouldn't CC herd maintainers if I assign to a herd, to avoid that you receive any further comments double I have removed you from CC.
Comment 2 Alex Xu (Hello71) 2014-11-27 14:40:23 UTC
I wonder if this use flag is actually... useful.
Comment 3 jospezial 2015-01-26 22:47:50 UTC
even worse:

With gecko and mono use flag enabled it installs from emerge the *.msi-files :

app-emulation/wine-9999 was built with the following:
USE="X alsa cups dos fontconfig gecko gphoto2 gsm jpeg lcms mono mp3 ncurses nls openal opengl perl png prelink realtime run-exes samba scanner ssl threads truetype udisks v4l xcomposite xinerama xml -capi -custom-cflags -gstreamer -ldap -netapi -odbc -opencl -osmesa -oss -pipelight (-pulseaudio) (-selinux) -test" ABI_X86="32 64 -x32" LINGUAS="de -ar -bg -ca -cs -da -el -en -en_US -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW"

equery f wine|grep "\.msi"
/usr/share/wine/gecko/wine_gecko-2.24-x86.msi
/usr/share/wine/gecko/wine_gecko-2.24-x86_64.msi
/usr/share/wine/mono/wine-mono-4.5.2.msi

So far, so good.
If I start something from wine it wants to download/install gecko and mono.
If I let it do it downloads these packages from internet instead using the installers from /usr/share/wine/.

I think these USE flags define whether the installers have to be built or not.
But when enabled then wine should use these from system.

This behaviour could be related to old versions of gecko and mono in the wine-9999.ebuild in the tree:
GV="2.24"
MV="4.5.2"

in http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-9999.ebuild :

GV="2.34"
MV="4.5.4"
Comment 4 Adam Feldman gentoo-dev 2015-03-23 01:20:13 UTC
Created attachment 399514 [details, diff]
gecko/mono configure patch

This prevents wine from building the mono and gecko wrappers that use the installed mono/gecko or download mono/gecko is missing.  Thus, if a user opts to not have gecko or mono, they will not be repeatedly warned.  ewarn in pkg_postinst warns the user of the dangers of said action.
Comment 5 Adam Feldman gentoo-dev 2015-03-23 01:21:09 UTC
Currently doing a major revision on all of the wine ebuilds as emul-linux comes to an end.  This will be included in that revision.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-04-19 15:27:16 UTC
Should be fixed in >=wine-1.7.41