Page 1 of 2
[DONE] Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 27th, '15, 21:55
by isaiah36
I am curious if there are any compatibility issues with Wine 1.8? The Mageia repository supplies 1.7.3 which is working fine. Also, is there a reason why Winetricks is not distributed by Mageia repository?
WineHQ website lists Mageia as a supported distro. Is it safe to add their repository via urpmi or rpmdrake? I am hoping a new release will soon improve the font rendering. MetaTrader4 is one of the 2 Windows apps I use regularly in Wine and it makes the letters and numbers look kinda crappy, and tiny. The size is small on Windows also, to be fair, but it is somewhat easier to read, maybe because of anti aliasing.
TIA
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 27th, '15, 23:08
by ozky
Yes you can install it also if you play lot of games you could install wine-staging instead of normal wine they have own repo to Mageia.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 01:40
by doktor5000
If you want some newer wine versions you can also use the packages of the pipelight developers:
http://pipelight.net/cms/install/instal ... ageia.htmlBenefit is that you can install those in parallel to normal wine packages, as they install under /opt.
So far nobody mentioned the winehq Mageia repos (
http://wiki.winehq.org/Mageia ) yet, so it's a good question if their packages are safe to use.
Should be no big deal for you to add the repos and test if it works :p
For winetricks, see
https://bugs.mageia.org/show_bug.cgi?id=5666 and the reasoning in
https://bugs.mageia.org/show_bug.cgi?id=3006If you need it, it's a pretty simple one-liner to "install" it. Shout at me if you need some help with it, I can share what I use often and also the sets of dlls that are most useful.
E.g. for the font issues you usually need some workarounds and dll overrides via winetricks, not a newer wine version.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 02:12
by ozky
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 07:17
by isaiah36
Thanks for the replies!
I don't want to risk breaking Wine, a very important program runs on it. So that's the reason for extreme caution. I will try pipelight, because if the silverlight plugin works it will eliminate pretty much the only reason I run a Windows VM.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 07:38
by isaiah36
During installation of wine-staging, error message
A requested package cannot be installed:
wine-staging-common-1.8-1.mga4.i586 (due to unsatisfied libgphoto2_port.so.10)
On searching packages found
libgphoto-common
libgphoto2_6
libgphoto2_port112
I said Yes to "continue installation?" and got this
While some packages may have been installed, there were failures.
A requested package cannot be installed:
wine-staging-common-1.8-1.mga4.i586 (due to unsatisfied libgphoto2_port.so.10)
Finally, on attempting to boot it up
[isaiah@localhost ~]$ /opt/wine-staging/bin/wine
bash: /opt/wine-staging/bin/wine: No such file or directory
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 07:55
by isaiah36
Hey doktor5000, can you give me the one liner install for winetricks? If I can get the fonts cleaned up I will be fine. So, please share the workaround. Thanks!
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 09:03
by isaiah36
Pipelight plugin install failed with the same error as above.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 12:42
by ozky
Winetricks you can use this command copy it where you wan't.
- Code: Select all
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
Did you check repos that repos are Mageia 5 ?, they have added wrong repos to Mageia 5 section you need to change 4 to 5 and it will work.
- Code: Select all
# If you are using 64-bit Mageia 5
urpmi.addmedia "Wine Staging 32-bit" https://repos.wine-staging.com/mageia/4/i586/
urpmi.addmedia "Wine Staging 64-bit" https://repos.wine-staging.com/mageia/4/x86_64/
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 12:49
by isaiah36
I have tried urpmi install from those repos, Ozky, but it fails because of missing version of libgphoto. Thanks for the winetricks! I saved it to my home dir, presumably it will run from there.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 12:53
by ozky
Or did you enabled 32bit repos ?. That libary exist only in Mageia 4 so you try still to install wine-staging from their Mageia 4 repo.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 13:34
by isaiah36
Yes, I did.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 13:50
by ozky
Do one more thing paste this command and add it inside code tags.
- Code: Select all
urpmq --list-media
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 14:01
by isaiah36
I have deleted them from Drake, Ozky, I don't want to get confused and install the wrong thing. Wine is very sensitive for my purposes. I am running a program in it right now.
You have to trust me, I installed from command line and got the error I reported earlier. Now I get 'No such file or directory' when I try /opt/wine-staging/bin/wine
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 15:24
by ozky
This because i run it myself wine-staging all time and i didn't get that missing libary error in my system.
- Code: Select all
A requested package cannot be installed:
wine-staging-common-1.8-1.mga4.i586 (due to unsatisfied libgphoto2_port.so.10)
I added Mageia 4 repos and get that problem so you need to add Mageia 5 wine-staging repos.
urpmq --list-url|grep Wine
Wine Staging 64-bit https://repos.wine-staging.com/mageia/4/x86_64
Wine Staging 32-bit https://repos.wine-staging.com/mageia/4/i586
So right repos and commands is.
urpmi.addmedia "Wine Staging 64-bit" https://repos.wine-staging.com/mageia/5/x86_64/
urpmi.addmedia "Wine Staging 32-bit" https://repos.wine-staging.com/mageia/5/i586/
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 15:37
by doktor5000
This is what I use for winetricks (if you don't have sudo configured, just omit it from the commands and run then as root, it will install winetricks systemwide into /usr/bin)
- Code: Select all
url='https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks'
sudo wget "${url}" -O /usr/bin/winetricks && sudo chmod +x /usr/bin/winetricks
A usual fix for many wine issues is
- Code: Select all
winetricks -q msxml6 gdiplus gecko vcrun2005 ie6 allfonts mspatcha comctl32 vcrun6
For MetaTrader you seem to need .NET 3.5, an override for commdlg32.dll v. 6.0.0 and maybe more. See the WineHQ test results and hints at e.g.
https://appdb.winehq.org/objectManager.php?sClass=version&iId=2893&iTestingId=85514
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 16:00
by isaiah36
Thank you, both! I will work on these fixes in a few hours.
I will try the repos again, Ozky, although I am pretty sure I had version 5 repos but maybe not.
Just from a quick glance at the MT4 page I can say that template saving is working for me, i.e. without .NET but what is not saving between sessions is the order in which I put the charts, which is a minor annoyance I can live with.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 16:39
by ozky
I filed bug to wine-staging bugs to change those repos to right ones.
https://bugs.wine-staging.com/show_bug.cgi?id=634
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 16:46
by doktor5000
It would be much more useful if they would use distro-specific variables, same applies e.g. for Fedora, so they don't need to redo the commands for each distro release.
E.g.
- Code: Select all
urpmi.addmedia "Wine Staging 32-bit" 'https://repos.wine staging.com/mageia/$RELEASE/i586/'
urpmi.addmedia "Wine Staging 64-bit" 'https://repos.wine-staging.com/mageia/$RELEASE/x86_64/'
Already mentioned this to the pipelight developers earlier via
https://bugs.mageia.org/show_bug.cgi?id=11078#c27
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 16:54
by ozky
I posted it to that to staging bug report thanks.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 18:44
by isaiah36
On attempt to run this as root
- Code: Select all
winetricks -q msxml6 gdiplus gecko vcrun2005 ie6 allfonts mspatcha comctl32 vcrun6
it stalls at
- Code: Select all
Executing mkdir -p /root/.cache/winetricks/win7sp1
Downloading http://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe to /root/.cache/winetricks/win7sp1
*** Download Progress Summary as of Mon Dec 28 11:37:18 2015 ***
=========================================================================================================
[#34daf2 265MiB/537MiB(49%) CN:1 DL:3.3MiB ETA:1m21s]
FILE: /root/.cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe
---------------------------------------------------------------------------------------------------------
*** Download Progress Summary as of Mon Dec 28 11:38:19 2015 ***
=========================================================================================================
[#34daf2 466MiB/537MiB(86%) CN:1 DL:4.1MiB ETA:16s]
FILE: /root/.cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe
---------------------------------------------------------------------------------------------------------
[#34daf2 535MiB/537MiB(99%) CN:1 DL:4.3MiB]
12/28 11:38:34 [NOTICE] Download complete: /root/.cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
34daf2|OK | 3.9MiB/s|/root/.cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe
Status Legend:
(OK):download completed.
------------------------------------------------------
Cannot find cabextract. Please install it (e.g. 'sudo apt-get install cabextract' or 'sudo yum install cabextract').
I am going to run it as user, perhaps cabextract is already in my .wine dir
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 18:51
by isaiah36
Same error. It looks like cabextract is not one of the apps offered by winetricks default list of apps
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 19:05
by isaiah36
OK, found a Cauldrom RPM of cabextract, all installs complete. Fonts still look the same.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 20:17
by isaiah36
Tinkering with Wine broke Foobar
Unrecoverable playback error: Audio data format not supported by this device (0x88780064)
The dumb thing I did is not keep a backup of the .wine dir before tinkering.
Re: Add WineHQ repository? Winetricks on Mga 5?

Posted:
Dec 28th, '15, 20:20
by isaiah36
OK, audio output fixed. Removed Direct X sound components from winecfg.