Comment 15 for bug 944321

Revision history for this message
Timur Losev (blacklove0) wrote : Re: apt-get build-dep script for wine missing xorg and

Finally. I got some results.

Just want to warn: I am not pro-linux-user. I am just a programmer.

I installed gcc-snapshot for compiling 32bit applications(-m32 flag).
I compiled freetype-249 and wine on gcc-snapshot.

configure command for freetype:
../configure CC="/usr/lib/gcc-snapshot/bin/gcc" CFLAGS="-m32 -I/usr/lib/i386-linux-gnu/glib-2.0/include/ -I/usr/lib/gcc-snapshot/include/c++/4.8.0/ -I/usr/lib/gcc-snapshot/include/c++/4.8.0/x86_64-linux-gnu/32/bits/ -I/usr/include/i386-linux-gnu/" LDFLAGS="-L/usr/lib/gcc-snapshot/lib32/ -L/usr/lib/i386-linux-gnu/ -L/lib/i386-linux-gnu/"

configure command for wine:
../configure CC="/usr/lib/gcc-snapshot/bin/gcc" CFLAGS="-I/usr/lib/i386-linux-gnu/glib-2.0/include/ -I/usr/lib/gcc-snapshot/include/c++/4.8.0/ -I/usr/lib/gcc-snapshot/include/c++/4.8.0/x86_64-linux-gnu/32/bits/ -I/usr/include/i386-linux-gnu/ -I/home/void/Documents/wine_deps/freetype-2.4.9/include/" LDFLAGS="-L/usr/lib/gcc-snapshot/lib32/ -L/usr/lib/i386-linux-gnu/ -L/lib/i386-linux-gnu/ -L/home/void/Documents/wine_deps/ftlibs/" --with-opengl=yes --with-freetype=yes -with-opencl=yes --without-gsm --without-hal

freetype libs you can find by the link below. You have to put it to /usr/lib/i386-linux-gnu/
http://dl.dropbox.com/u/60967706/ftlibs.tar.gz

As Eric Pouech said, a ton of symlinks are missing (http://permalink.gmane.org/gmane.comp.emulators.wine.devel/89728 Here is only small list). I spent a lot of time to fix that issue.

And also I fixed and applyed "rawinput" patch.

There is my custom build of wine:
http://dl.dropbox.com/u/60967706/wine_1.5.6-1_amd64.deb
with debug and trace

I tested build on Deus EX Human Revolution - works perfect!