Username: Password: Remember me
Search Criteria Advanced
Package Details

wine-wc 1.1.38-2
http://www.winehq.com
this is a patched version of the development release of wine for playing Warcraft III

unsupported :: emulators
Maintainer: dzs6w3
Votes: 19

License: GPL

Last Updated: Sun, 07 Feb 2010 18:13:01 +0000
First Submitted: Mon, 15 Jun 2009 18:56:24 +0000

Tarball :: Files :: PKGBUILD

Dependencies fontconfig freeglut lcms libldap libxcursor libxdamage libxrandr libxslt libxxf86dga

Sources
completion_disable.diff
eventc.patch
http://downloads.sourceforge.net/wine/wine-1.1.38.tar.bz2
saves.patch
secur32-Disable-schannel-InitializeSecurityContextW.patch
Comment by: dzs6w3 on Sun, 07 Feb 2010 18:14:02 +0000
Oh duh, I forgot to remove the line that calls patch when I removed a patch. I fixed it now. Thanks.
Comment by: soulfire on Sun, 07 Feb 2010 14:20:13 +0000
1.1.38 doesn't compile here

patching file dlls/ntdll/file.c
Hunk #1 succeeded at 589 (offset 18 lines).
Hunk #2 succeeded at 653 (offset 18 lines).
[...]
Hunk #19 succeeded at 1152 (offset 18 lines).
Hunk #20 succeeded at 1168 (offset 18 lines).
patch: **** Can't open patch file ../libpng14.patch : No such file or directory
Comment by: dzs6w3 on Wed, 30 Dec 2009 09:53:07 +0000
Unrelated to the most recent posts, but consider using wine-stable-wc that I just uploaded: http://aur.archlinux.org/packages.php?ID=33231. It is wine 9.45 patched to compile with the most recent libraries. Warcraft works perfectly with 9.45.

I decided to do this because there is a regression in the newest wine that causes the game to freeze (or lag) for a couple of seconds every few minutes. This bug is on the AppDB so hopefully it will be figured out soon. Until then, I would suggest using the aforementioned package.
Comment by: dzs6w3 on Wed, 30 Dec 2009 07:20:45 +0000
Try adding PKG_CONFIG_LIBDIR=/usr/lib32/pkgconfig when running configure. It uses pkg-config which by default will look in /usr/lib/pkgconfig which is only for the 64-bit libraries I presume. The installed 32-bit libraries install their own pkg-config files into the appropriate place (probably /usr/lib32/pkgconfig).

PKG_CONFIG_LIBDIR=/usr/lib32/pkgconfig ./configure
Comment by: pxc on Wed, 30 Dec 2009 07:12:23 +0000
It seems that the reason why is that Arch is basically incapable of compiling 32-bit packages from a 64-bit platform, since Arch's gcc package doesn't support "multilib", gcc's cross-compiling support. There is a package here on AUR for GCC with cross-compiling support enabled ("gcc-multilib"), but even with that package in place I can't seem to get the package to compile. It complains about missing 32-bit libraries (saying that gcc -lgnutls fails, as well as gcc -lfreetype). I can't figure out how to resolve the library path issues because I'm not familiar enough with GCC configuration, but it makes no difference on my machine whether or not the libraries in question exist in /usr/lib32.

Setting LDFLAGS="$LDFLAGS -L/lib32 -L/usr/lib32" and LIBRARY_PATH="$LIBRARY_PATH:/lib32:/usr/lib32" in the BUILDPKG also seems to do nothing.

I'm currently in the process of compiling your package in a 32-bit chroot so I can get a binary and replace the one from the vanilla bin32-wine BUILDPKG with it. I'll let you know how it goes, and I'd appreciate any insight into the library path/gcc issues.
Comment by: dzs6w3 on Tue, 29 Dec 2009 01:24:11 +0000
I've never used 64 bit, but to my current knowledge, wine must be compiled into a 32 bit binaryusing the 32 bit libraries. Looking into how to do this, I only find prebuilt wine packages on the AUR which confuses me: why not have it compile like every other package? Basically, it will take a lot of reading to do this task, and I wish I could do it. But to be honest, it may be a while before *I* will be able to add 64 bit for this.

I would create another package like the others, but that would require that I compile the binary myself and I'm not sure how they went about doing that.
Comment by: pxc on Mon, 28 Dec 2009 01:36:25 +0000
Is there any chance we can get a 64-bit version of this PKGBUILD?
Comment by: dzs6w3 on Sat, 26 Dec 2009 21:25:18 +0000
I added the new patch; it should work now.
Comment by: dzs6w3 on Fri, 25 Dec 2009 10:31:16 +0000
I removed the patch. If you use compiz wait until later when I create a new patch similar to the old eventc patch.
Comment by: ngoonee on Tue, 22 Dec 2009 03:17:21 +0000
The eventc patch doesn't work anymore with this latest (1.35).
Comment by: Ranguvar on Mon, 23 Nov 2009 21:44:40 +0000
This PKGBUILD has numerous problems.

dzs6w3, what I would do is grab the latest wine PKGBUILD from [extra], and simply modify it with your patches in source() and md5sums() and build(), and then the pkgname/pkgdesc/provides/conflicts/etc. changes.

Make sure to add || return 1 to the patch lines :)
Comment by: marko-serbia on Sat, 07 Nov 2009 00:50:40 +0000
How can I setup alt+f4 game quit? It doesn't work.
Comment by: marko-serbia on Mon, 02 Nov 2009 06:56:05 +0000
It is fine. I had that error because I was playing warcraft 3 while compiling wine. It probably locked some needed library. Don't know exactly. Compiled it without wc3 running and all went fine. Thx.
Comment by: marko-serbia on Mon, 02 Nov 2009 04:55:40 +0000
Did full system upgrade few hours ago and will try to compile it again. Maybe it was some bug. Will report back.
Comment by: dzs6w3 on Mon, 02 Nov 2009 03:58:48 +0000
If nothing is resolved by tomorrow, I will revert back to 1.1.31 if I remember.
Comment by: dzs6w3 on Mon, 02 Nov 2009 03:56:54 +0000
I added the patch back, and it built for me. I've heard that the patch fails when applying or something for the newest wine, but everything is working for me, although I do not use composition. The patch failing will not stop the build process, and messages go by too quickly to notice so I don't know. If we cannot resolve these problems I will revert back to 1.1.31 or whatever the latest working version is.

I'm don't know why your build failed. Did it used to build sucessfully?
Comment by: marko-serbia on Sat, 31 Oct 2009 02:11:19 +0000
cdrom.c: In function ‘GetInquiryData’:
cdrom.c:2682: error: ‘INQUIRY’ undeclared (first use in this function)
cdrom.c:2682: error: (Each undeclared identifier is reported only once
cdrom.c:2682: error: for each function it appears in.)
make[2]: *** [cdrom.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-marko/aur-wine-wc/wine-wc/src/wine-1.1.32/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-marko/aur-wine-wc/wine-wc/src/wine-1.1.32/dlls'
make: *** [dlls] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build wine-wc package.
Comment by: marko-serbia on Fri, 30 Oct 2009 23:35:01 +0000
Thank you for your efforts.
Comment by: dzs6w3 on Fri, 30 Oct 2009 22:09:12 +0000
I'm just now seeing these posts. Anyways, yeah I'll try to restore the patch.
Comment by: marko-serbia on Thu, 29 Oct 2009 00:15:57 +0000
Can you please make it be like before? I could have my other program windows over warcraft without problems. Now I have to push show desktop every time when I try to alt tab. It gets blocked and only show desktop button can unblock it. Can you make it like before please. Thanks.

I have gnome btw, but it is the same in lxde as well.
Comment by: marko-serbia on Sat, 24 Oct 2009 20:44:50 +0000
Nevermind getting the same results as before with emulate virtual desktop.
Comment by: marko-serbia on Sat, 24 Oct 2009 20:29:37 +0000
Dude its better with patch definetly. Without patch I need 1 min to alt tab and go back to game.
Comment by: dzs6w3 on Sat, 24 Oct 2009 05:06:48 +0000
I removed a patch since the newest wine fixes the problem with white textures when the window loses focus in OpenGL mode.
Comment by: dzs6w3 on Sat, 10 Oct 2009 18:37:01 +0000
I modified it to the previous two poster's likings in this update for 1.1.31.
Comment by: ngoonee on Fri, 02 Oct 2009 00:58:25 +0000
Just realized, you need provides=('wine') so that this package can be used in conjunction with other packages looking for wine (like winetricks).
Comment by: ngoonee on Thu, 01 Oct 2009 00:44:48 +0000
I downloaded from abs the 'official' extra/wine PKGBUILD, it does list 'esound' as a makedepends (not esd, somehow). Thing is, someone installing from the AUR would only be creating a package for himself and his own machine, so if he DOES have esound installed, it will be used during makepkg, whether or not its listed in makedepends, while if he DOESN'T have esound installed, it will not be used, and he wouldn't want to install esound so he'd have to edit your PKGBUILD.

I think, since the AUR is for users to self-compile and not create packages to share with other machines, esd should be in optdepends. Not a big deal, however, worse that will happen is some noob installing esd so he can install this package.
Comment by: dzs6w3 on Tue, 29 Sep 2009 02:18:42 +0000
I was not sure if I should include packages like esd as dependencies; but I thought that someone might use esd and thus it would be required that wine be compiled witht esd support. It seems that the other packages mark esd as a makedepend. However, you are right on the rest, I will update the package right now.
Comment by: ngoonee on Tue, 29 Sep 2009 01:37:31 +0000
Hi, your makedepends seems too long, I just successfully compiled without esd and fontforge at least. Perhaps you should refer to the original wine PKGBUILD, with optdepends. wine-w3fix was what I was using before this, his dependency list seems to be identical to the normal wine PKGBUILD. Also namcap would be useful. Thanks for uploading/maintaining this PKGBUILD.
Comment by: dzs6w3 on Sat, 20 Jun 2009 18:54:24 +0000
I'll try to. I'm using it too, and I like to keep updated usually. I may lag behind a day or so though occasionally.
Comment by: jarryson on Wed, 17 Jun 2009 04:07:31 +0000
thanks, that's very good.

hope you can keep update this PKGBUILD
Comment by: dzs6w3 on Mon, 15 Jun 2009 19:45:17 +0000
The patches let you host, alt-tab with compiz running without losing textures, and stay in the channel without crashing constantly.
Comment by: jarryson on Mon, 15 Jun 2009 19:19:27 +0000
would please tell me what fixed after enabled these three patches?

v1.6.0