[DONE] Add WineHQ repository? Winetricks on Mga 5?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[DONE] Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 27th, '15, 21:55

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
Last edited by isaiah36 on Dec 29th, '15, 12:39, edited 1 time in total.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby ozky » Dec 27th, '15, 23:08

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.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby doktor5000 » Dec 28th, '15, 01:40

If you want some newer wine versions you can also use the packages of the pipelight developers:
http://pipelight.net/cms/install/instal ... ageia.html
Benefit 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=3006
If 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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby ozky » Dec 28th, '15, 02:12

Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 07:17

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.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 07:38

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
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 07:55

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!
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 09:03

Pipelight plugin install failed with the same error as above.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby ozky » Dec 28th, '15, 12:42

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/
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 12:49

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.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby ozky » Dec 28th, '15, 12:53

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.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 13:34

Yes, I did.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby ozky » Dec 28th, '15, 13:50

Do one more thing paste this command and add it inside code tags.
Code: Select all
urpmq --list-media
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 14:01

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
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby ozky » Dec 28th, '15, 15:24

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/
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby doktor5000 » Dec 28th, '15, 15:37

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 16:00

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.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby ozky » Dec 28th, '15, 16:39

I filed bug to wine-staging bugs to change those repos to right ones.
https://bugs.wine-staging.com/show_bug.cgi?id=634
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby doktor5000 » Dec 28th, '15, 16:46

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby ozky » Dec 28th, '15, 16:54

I posted it to that to staging bug report thanks.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 18:44

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
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 18:51

Same error. It looks like cabextract is not one of the apps offered by winetricks default list of apps
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 19:05

OK, found a Cauldrom RPM of cabextract, all installs complete. Fonts still look the same.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 20:17

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.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: Add WineHQ repository? Winetricks on Mga 5?

Postby isaiah36 » Dec 28th, '15, 20:20

OK, audio output fixed. Removed Direct X sound components from winecfg.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Next

Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest