What directory is the wine source tree in?

Questions about Wine on Linux
Locked
zapper

What directory is the wine source tree in?

Post by zapper »

I need to know so I can install wine-staging 4.0, for my laptop, need wine-staging for gaming.

And no, my laptop uses a stable fork of archlinux, so I cannot use the normal repos, I have to compile from source.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: What directory is the wine source tree in?

Post by jkfloris »

You could find the Wine-staging source code on GitHub:
https://github.com/wine-staging/wine-st ... s/tag/v4.0
zapper

Re: What directory is the wine source tree in?

Post by zapper »

jkfloris wrote:You could find the Wine-staging source code on GitHub:
https://github.com/wine-staging/wine-st ... s/tag/v4.0
Okay, but that doesn't really answer my question.

I need to know how to install wine-staging. and when I went to try it, it gave me an odd error, about DESTDIR.

"DESTDIR does not point to the Wine source tree."

That error is getting kind of frustrating...
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: What directory is the wine source tree in?

Post by jkfloris »

What command did you use to compile Wine?
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: What directory is the wine source tree in?

Post by dimesio »

zapper wrote: I need to know how to install wine-staging. and when I went to try it, it gave me an odd error, about DESTDIR.

"DESTDIR does not point to the Wine source tree."
What you downloaded was merely the wine-staging patches. You need to also download Wine's source code, and when you run patchinstall.sh, point DESTDIR to the source code directory. As to where that is, it's wherever you unpacked the source tarball to or cloned the Wine git repository to.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: What directory is the wine source tree in?

Post by Bob Wya »

zapper wrote:I need to know so I can install wine-staging 4.0, for my laptop, need wine-staging for gaming.

And no, my laptop uses a stable fork of archlinux, so I cannot use the normal repos, I have to compile from source.
Can you not use makepkg and either the main Arch Linux wine-staging package build script (or one from the Arch AUR)?
Surely that's a lot easier! 8)

Bob
zapper

Re: What directory is the wine source tree in?

Post by zapper »

Bob Wya wrote:
zapper wrote:I need to know so I can install wine-staging 4.0, for my laptop, need wine-staging for gaming.

And no, my laptop uses a stable fork of archlinux, so I cannot use the normal repos, I have to compile from source.
Can you not use makepkg and either the main Arch Linux wine-staging package build script (or one from the Arch AUR)?
Surely that's a lot easier! 8)

Bob
Good point, but I need the wine-staging options for starcraft/starcraft 2. Couldn't enable them for some reason once I installed from git.

PS, my bad about the last time we interacted...
Last edited by zapper on Fri Jan 25, 2019 4:14 pm, edited 1 time in total.
zapper

Re: What directory is the wine source tree in?

Post by zapper »

dimesio wrote:
zapper wrote: I need to know how to install wine-staging. and when I went to try it, it gave me an odd error, about DESTDIR.

"DESTDIR does not point to the Wine source tree."
What you downloaded was merely the wine-staging patches. You need to also download Wine's source code, and when you run patchinstall.sh, point DESTDIR to the source code directory. As to where that is, it's wherever you unpacked the source tarball to or cloned the Wine git repository to.
Okay, that does help to know. thank you. Alright I will try this again.
zapper

Re: What directory is the wine source tree in?

Post by zapper »

Hmm...

Although, I am missing these two, wine-staging dependencies:

libnetapi.so: missing
libodbc.so: missing

I got a new error btw...

error: patch failed: dlls/windowscodecs/info.c:222
error: dlls/windowscodecs/info.c: patch does not apply
ERROR: Failed to apply patch, aborting!


Weird right?

/home/user/Downloads/winestaging4.0/patches/patchinstall.sh DESTDIR=/home/user/Downloads/wine-staging-git/src/wine-git --all


Was the command I used just now. Interesting... indeed.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: What directory is the wine source tree in?

Post by Bob Wya »

zapper wrote: I got a new error btw...

error: patch failed: dlls/windowscodecs/info.c:222
error: dlls/windowscodecs/info.c: patch does not apply
ERROR: Failed to apply patch, aborting!


Weird right?

/home/user/Downloads/winestaging4.0/patches/patchinstall.sh DESTDIR=/home/user/Downloads/wine-staging-git/src/wine-git --all


Was the command I used just now. Interesting... indeed.
@zapper

Is wine-git reset to 4.0 ?

Code: Select all

cd /home/user/Downloads/wine-staging-git/src/wine-git
git clean -fd
git reset --hard wine-4.0
Otherwise patching, with the Wine Staging patchset, won't work.
The flood of new (post-freeze) Wine patches will break at least one of the Wine Staging 4.0 patchsets.

Bob
zapper

Re: What directory is the wine source tree in?

Post by zapper »

Bob Wya wrote:
zapper wrote: I got a new error btw...

error: patch failed: dlls/windowscodecs/info.c:222
error: dlls/windowscodecs/info.c: patch does not apply
ERROR: Failed to apply patch, aborting!


Weird right?

/home/user/Downloads/winestaging4.0/patches/patchinstall.sh DESTDIR=/home/user/Downloads/wine-staging-git/src/wine-git --all


Was the command I used just now. Interesting... indeed.
@zapper

Is wine-git reset to 4.0 ?

Code: Select all

cd /home/user/Downloads/wine-staging-git/src/wine-git
git clean -fd
git reset --hard wine-4.0
Otherwise patching, with the Wine Staging patchset, won't work.
The flood of new (post-freeze) Wine patches will break at least one of the Wine Staging 4.0 patchsets.

Bob
Hmm...

Didn't know that, but interestingly enough, I tried the arch method a 4th time, this time my laptop didn't go off inadvertably... so make install worked in installing it completely. But! there is one interesting thing I found out...

When I went to load battle.net via wine, I had to turn off some wine processes...

And after I did that, when I loaded battle.net, I ran into a peculiar issue regarding Starcraft:

0032:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffa, 0xaffea0
002b:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
002b:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported.

Also, I had some other errors which I didn't write down, but will no doubt get if I try and reload wine. Long story short, I will get back to you.

Wine-staging though works on my other laptop, but this one is older so I wonder if there is some working around to do... :|
zapper

Re: What directory is the wine source tree in?

Post by zapper »

You can mark solved it seems to work now. :) When I used stable a bunch of erros popped up error reporting, etc...

But I have gotten it to work now.
Locked