You are not logged in.

#1 2005-06-17 21:12:59

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Trouble compiling Wine with DX9 patches [solved]

Is there anyone that have made PKGBUILDs of Wine with the DX9 patches (can't get WineCVS.sh script to work)

so if someone have done this please tell me....

btw. the error I get is:

--------- Error log - file /root/.WineCVS/sources/dx9wine/ErrorLog : ---------
../../tools/winebuild/winebuild -w --def -o libwininet.def --export ./wininet.spec
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wininet'
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/winmm'
../../tools/winebuild/winebuild -w --def -o libwinmm.def --export ./winmm.spec
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/winmm'
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/winspool'
../../tools/winebuild/winebuild -w --def -o libwinspool.drv.def --export ./winspool.drv.spec
rm -f libwinspool.def && ln -s libwinspool.drv.def libwinspool.def
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/winspool'
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wintab32'
../../tools/winebuild/winebuild -w --def -o libwintab32.def --export ./wintab32.spec
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wintab32'
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wintrust'
../../tools/winebuild/winebuild -w --def -o libwintrust.def --export ./wintrust.spec
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wintrust'
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wow32'
../../tools/winebuild/winebuild -w --def -o libwow32.def --export ./wow32.spec
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wow32'
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wsock32'
../../tools/winebuild/winebuild -w --def -o libwsock32.def --export ./wsock32.spec
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wsock32'
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wtsapi32'
../../tools/winebuild/winebuild -w --def -o libwtsapi32.def --export ./wtsapi32.spec
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/wtsapi32'
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/glu32'
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__   -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o glu.o glu.c
../../tools/winebuild/winebuild -D__WINESRC__   -o glu32.dll.dbg.c --debug -C. glu.c
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__   -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o glu32.dll.dbg.o glu32.dll.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./glu32.spec    glu.o  glu32.dll.dbg.o   -o glu32.dll.so -L../../dlls -L../../dlls/kernel32 -L../../dlls/ntdll -lkernel32 -lntdll  -L../../libs/wine -lwine -L/usr/X11R6/lib  -lSM -lICE -lXxf86dga -lXxf86vm -lXext -lX11  -lGL -lGLU -L../../libs/port -lwine_port
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/glu32'
rm -f glu32.dll.so && ln -s glu32/glu32.dll.so glu32.dll.so
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/glut32'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__   -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o glut.o glut.c
../../tools/winebuild/winebuild -D__WINESRC__   -o glut32.dll.dbg.c --debug -C. glut.c
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__   -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o glut32.dll.dbg.o glut32.dll.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./glut32.spec    glut.o  glut32.dll.dbg.o   -o glut32.dll.so -L../../dlls -L../../dlls/kernel32 -lkernel32  -L../../libs/wine -lwine -L/usr/X11R6/lib  -lSM -lICE -lXxf86dga -lXxf86vm -lXext -lX11  -lGL -lGLU -lglut -lXmu -lXi -L../../libs/port -lwine_port
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/glut32'
rm -f glut32.dll.so && ln -s glut32/glut32.dll.so glut32.dll.so
make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/d3d8'
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__   -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o basetexture.o basetexture.c
In file included from /usr/X11R6/include/GL/glx.h:336,
                 from d3d8_private.h:35,
                 from basetexture.c:31:
/usr/X11R6/include/GL/glxext.h:267: error: redefinition of typedef 'GLXFBConfigSGIX'
/usr/X11R6/include/GL/glx.h:156: error: previous declaration of 'GLXFBConfigSGIX' was here
make[2]: *** [basetexture.o] Error 1
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/d3d8'
make[1]: *** [d3d8] Error 2
make[1]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls'
make: *** [dlls] Error 2

http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#2 2005-06-17 21:35:14

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Trouble compiling Wine with DX9 patches [solved]

are the dx9 patches supposed to be used vs wine cvs or the semi-weekly snaphots releases?

Offline

#3 2005-06-17 22:07:02

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

to be honest, I am not sure...but I could guess that they are to be used against the cvs code...


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#4 2005-06-18 08:04:04

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Trouble compiling Wine with DX9 patches [solved]

I did:

pkgname=wine+directx
pkgver=20050419
pkgrel=1
pkgdesc="WINE with DirectX9 patch unstable" 
url="http://www.winehq.org" 
depends=('x-server') 
source=(ftp://ftp.ibiblio.org/pub/Linux/ALPHA/wine/development/Wine-$pkgver.tar.gz) 
md5sums=()

build() { 
  # patch source for d3d9
  cd $startdir/src/wine-$pkgver/
  patch -Np1 -i $startdir/d3d9patch.2005-04-19.diff
  patch -Np1 -i $startdir/alsafix.patch
  
  # continue with standard build
  ./configure --prefix=/usr --disable-win16
  make depend || return 1
  make || return 1
  make prefix=$startdir/pkg/usr install 
}

You'll need these patch files in the same  directory as the PKGBUILD:
http://www.myfilebin.com/userfiles/cam/ … 04-19.diff
http://www.myfilebin.com/userfiles/cam/alsafix.patch

Offline

#5 2005-06-18 08:33:38

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

oh thanks !!

now I will try it and maybe play a few games big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#6 2005-06-18 08:47:50

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Trouble compiling Wine with DX9 patches [solved]

is this a lot different to the cedega cvs builds?

Offline

#7 2005-06-18 10:58:29

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

what I know, it is somewhat better in some games...sometimes cedega can't play a game, and Wine (with DX-patch) can...

btw, I am still having trouble, i have used Cams PKGBUILD and changed it a little (to download the newest patches and the newest wine build...but I am still having trouble with

ing -gstabs+ -Wpointer-arith  -march=i686 -O2 -pipe -o basetexture.o basetexture.c
In file included from /usr/X11R6/include/GL/glx.h:336,
                 from d3d8_private.h:34,
                 from basetexture.c:31:
/usr/X11R6/include/GL/glxext.h:267: error: redefinition of typedef 'GLXFBConfigSGIX'
/usr/X11R6/include/GL/glx.h:156: error: previous declaration of 'GLXFBConfigSGIX' was here
make[2]: *** [basetexture.o] Error 1
make[2]: Leaving directory `/home/cybertron/WineDX9/src/wine/dlls/d3d8'
make[1]: *** [d3d8] Error 2
make[1]: Leaving directory `/home/cybertron/WineDX9/src/wine/dlls'
make: *** [dlls] Error 2
==> ERROR: Build Failed.  Aborting...


My new PKGBUILD looks like:
UPDATE: This is the new PKGBUILD which applies the newest patch big_smile

#Cam's orignal, modified by CyberTron
pkgname=wine+directx
pkgver=20050524
pkgrel=1
pkgdesc="WINE with DirectX9 patch unstable"
url="http://www.winehq.org"
depends=('x-server')
patchname=d3d9patch
patchver=2005-06-13
source=(http://dl.sourceforge.net/sourceforge/wine/Wine-$pkgver.tar.gz 
http://dl.sourceforge.net/sourceforge/directxwine/$patchname.$patchver.diff.bz2)
md5sums=()

build() {
  # patch source for d3d9
  cd $startdir/src/wine-$pkgver
  mkdir $startdir/src/wine-$pkgver/wine
  mv * $startdir/src/wine-$pkgver/wine
  cd $startdir/src/wine-$pkgver
  patch -Np1 -i $startdir/src/$patchname.$patchver.diff

 # continue with standard build
  cd $startdir/src/wine-$pkgver/wine
  ./configure --prefix=/usr --disable-win16
  make depend || return 1
  make || return 1
  make prefix=$startdir/pkg/usr install
} 

Any ideas what could be wrong? oh yeah, forgot, when applying the patch it askes me questions about the following

UPDATE: FIXED, or maybe, I found out that the patch wants the files in a wine dir, so I moved everything in wine-20050524 to wine-20050524/wine and now the patch workes big_smile

==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf Wine-20050524.tar.gz
==>     bunzip2 d3d9patch.2005-06-13.diff.bz2
==> Removing existing pkg/ directory...
==> Starting build()...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -X ignore -Nru clean/wine/dlls/d3d8/basetexture.c patch/wine/dlls/d3d8/basetexture.c
|--- clean/wine/dlls/d3d8/basetexture.c 2005-06-03 19:08:48.000000000 +0100
|+++ patch/wine/dlls/d3d8/basetexture.c 2005-06-14 13:41:56.000000000 +0100
--------------------------
File to patch:

http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#8 2005-06-18 11:43:16

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

UPDATE: I have fixed this problem now, by reinstalling Xorg, it seems that the nvidia drivers are the cause of the problem since they overwrite the existing glx.h file....
Thanks to everyone who has helped me...if all goes well, I might put the PKGBUILD in Aur forum..:D

I've dug a little deeper...and found out that it is something with the opengl,

and I found this when doing the ./configure

ecking for XRenderSetPictureTransform in -lXrender... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glx.h usability... no
checking GL/glx.h presence... yes
configure: WARNING: GL/glx.h: present but cannot be compiled
configure: WARNING: GL/glx.h:     check for missing prerequisite headers?
configure: WARNING: GL/glx.h: see the Autoconf documentation
configure: WARNING: GL/glx.h:     section "Present But Cannot Be Compiled"
configure: WARNING: GL/glx.h: proceeding with the preprocessor's result
configure: WARNING: GL/glx.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to wine-devel@winehq.org ##
configure: WARNING:     ## ------------------------------------ ##
checking for GL/glx.h... yes
checking for GL/glext.h... no
checking for up-to-date OpenGL version... yes
checking for glXCreateContext in -lGL... yes
checking for gluLookAt in -lGLU... yes
checking for glutMainLoop in -lglut... yes
checking audio/audiolib.h usability... no

any ideas would be helpful, is it my nvidia drivers that are the fault? (i am using 7664 from pacman ) I use Autoconf -2.59-1


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#9 2005-06-18 20:20:44

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

well, still having trouble with my PKGBUILD...it doesn't compile...not even if I take away the patch,


i have tried using both cvs (straight from cvs.winehq...) and the ordinary developer release (050524)...both fails...(on different places)

although, I have now gotten the WineCVS.sh script to work...(since the reinstall of xorg)

anyone else having trouble compiling wine? Please feel free to try any of my PKGBUILDs below and try if they compile...)

CVS version:

#Cam's orignal, modified by CyberTron
pkgname=wine+directx1
pkgver=20050524
pkgrel=1
pkgdesc="WINE with DirectX9 patch unstable"
url="http://www.winehq.org"
depends=('x-server')
patchname=d3d9patch
patchver=2005-06-13
source=(http://dl.sourceforge.net/sourceforge/directxwine/$patchname.$patchver.diff.bz2)
md5sums=()

build() {
  # patch source for d3d9
 export CVSROOT=:pserver:cvs@rhlx01.fht-esslingen.de:/home/wine
 cvs login
 cvs -z 0 checkout wine 
 cd $startdir/src
 #mkdir $startdir/src/wine-$pkgver/wine
 #mv * $startdir/src/wine-$pkgver/wine
 #cd $startdir/src/wine-$pkgver
 #patch -Np1 -i $startdir/src/$patchname.$patchver.diff

 # continue with standard build
  cd $startdir/src/wine
  ./configure --prefix=/usr --disable-win16
  make depend || return 1
  make || return 1
  make prefix=$startdir/pkg/usr install
} 

Developer version:

#Cam's orignal, modified by CyberTron
pkgname=wine+directx
pkgver=20050524
pkgrel=1
pkgdesc="WINE with DirectX9 patch unstable"
url="http://www.winehq.org"
depends=('x-server')
patchname=d3d9patch
patchver=2005-06-13
source=(http://dl.sourceforge.net/sourceforge/wine/Wine-$pkgver.tar.gz 
http://dl.sourceforge.net/sourceforge/directxwine/$patchname.$patchver.diff.bz2)
md5sums=()

build() {
  # patch source for d3d9, with workaround for wine-pkgver that must be wine
  cd $startdir/src/wine-$pkgver
  mkdir $startdir/src/wine-$pkgver/wine
  mv * $startdir/src/wine-$pkgver/wine
  cd $startdir/src/wine-$pkgver
  patch -Np1 -i $startdir/src/$patchname.$patchver.diff

 # continue with standard build
  cd $startdir/src/wine-$pkgver/wine
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
  make depend
  make || return 1
  make prefix=$startdir/pkg/usr install
  rm -f $startdir/pkg/usr/bin/expand
  mkdir -p $startdir/pkg/etc/wine
  mkdir -p $startdir/pkg/etc/profile.d
  cp -r $startdir/src/wine-$pkgver/wine/documentation/samples $startdir/pkg/etc/wine
} 

http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#10 2005-06-20 05:27:09

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Trouble compiling Wine with DX9 patches [solved]

I'm giving it a go now and I'll report when I'm done. I didn't have much luck with my version, it compiled but had some issues with fonts that I never got using cedega so I switched back for the time being.

Offline

#11 2005-06-20 06:46:58

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

thanks big_smile

hopefully it will work for you, i can't see any reason why it should not...*sigh* but it don't for me...:(


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#12 2005-06-20 20:37:58

Searinox
Member
Registered: 2004-09-14
Posts: 44

Re: Trouble compiling Wine with DX9 patches [solved]

I was successful compiling with the following PKGBUILD:

#Cam's orignal, modified by CyberTron, modified by searinox
pkgname=wine+directx9
pkgver=20050613
pkgrel=1
pkgdesc="WINE with DirectX9 patch unstable"
url="http://www.winehq.org"
depends=('x-server')
patchname=d3d9patch
patchver=2005-06-13
source=(http://dl.sourceforge.net/sourceforge/directxwine/$patchname.$patchver.diff.bz2)
md5sums=()
conflicts=('wine')
provides=('wine')

build() {
  # patch source for d3d9, with workaround for wine-pkgver that must be wine
  cd $startdir/src

  export CVSROOT=:pserver:cvs@rhlx01.fht-esslingen.de:/home/wine
  cvs login  
  cvs -z 0 checkout -D 2005-06-14 wine

  patch -Np1 -i $startdir/src/$patchname.$patchver.diff

 # continue with standard build
  cd $startdir/src/wine
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
  make depend
  make || return 1
  make prefix=$startdir/pkg/usr install
  rm -f $startdir/pkg/usr/bin/expand
  mkdir -p $startdir/pkg/etc/wine
  mkdir -p $startdir/pkg/etc/profile.d
  cp -r $startdir/src/wine/documentation/samples $startdir/pkg/etc/wine
} 

The trick is to use the wine CVS version from the day the dx9 patch was released, respectively one day later (because CVS downloads only new files *up* to the given day)

Offline

#13 2005-06-20 21:01:26

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

oh great!!

thanks a lot, now it compiles big_smile

Is it ok if I post the PKGBUILD in the AUR-request forum for everyones pleasure to get dxwine?


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#14 2005-06-20 22:39:39

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Trouble compiling Wine with DX9 patches [solved]

Does it work well?

Offline

#15 2005-06-21 08:55:05

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

yes it does!!

it compiles perfect! and it runs perfe

#Cam's orignal, modified by CyberTron, modified by searinox 
pkgname=dx9wine-cvs
pkgver=20050613
pkgrel=1
pkgdesc="WINE-cvs with DirectX9 patch unstable"
url="http://www.winehq.org"
depends=('x-server')
patchname=d3d9patch
patchver=2005-06-13
source=(http://dl.sourceforge.net/sourceforge/directxwine/$patchname.$patchver.diff.bz2)
md5sums=()
conflicts=('wine')
provides=('wine')

build() {
  # patch source for d3d9
cd $startdir/src

 export CVSROOT=:pserver:cvs@rhlx01.fht-esslingen.de:/home/wine
 cvs login
 cvs -z 0 checkout -D 2005-06-14 wine

 patch -Np1 -i $startdir/src/$patchname.$patchver.diff

 # continue with standard build
  cd $startdir/src/wine
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
  make depend || return 1
  make || return 1
  make prefix=$startdir/pkg/usr install
  rm -f $startdir/pkg/etc/expand
  mkdir -p $startdir/pkg/etc/wine
  mkdir -p $startdir/pkg/etc/profile.d
  cp -r  $startdir/src/wine/documentation/samples $startdir/pkg/etc/wine
}

http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#16 2005-06-22 03:36:42

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: Trouble compiling Wine with DX9 patches [solved]

It's asking me for a password, what do I need to give it?

Offline

#17 2005-06-22 07:58:52

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

cvs is the password

(I have written this in the AUR-Request-forum to clarify as well)


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#18 2005-06-22 13:26:56

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Trouble compiling Wine with DX9 patches [solved]

Here's the same PKGBUILD that auto-enters the password for you.

#Cam's orignal, modified by CyberTron, modified by searinox 
pkgname=dx9wine-cvs
pkgver=20050613
pkgrel=1
pkgdesc="WINE-cvs with DirectX9 patch unstable"
url="http://www.winehq.org"
depends=('x-server')
patchname=d3d9patch
patchver=2005-06-13
source=(http://dl.sourceforge.net/sourceforge/directxwine/$patchname.$patchver.diff.bz2)
md5sums=()
conflicts=('wine')
provides=('wine')

build() {
  # patch source for d3d9
cd $startdir/src

 export CVSROOT=:pserver:cvs@rhlx01.fht-esslingen.de:/home/wine
 echo -e 'cvsn' > cvs login
 cvs -z 0 checkout -D 2005-06-14 wine

 patch -Np1 -i $startdir/src/$patchname.$patchver.diff

 # continue with standard build
  cd $startdir/src/wine
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
  make depend || return 1
  make || return 1
  make prefix=$startdir/pkg/usr install
  rm -f $startdir/pkg/etc/expand
  mkdir -p $startdir/pkg/etc/wine
  mkdir -p $startdir/pkg/etc/profile.d
  cp -r  $startdir/src/wine/documentation/samples $startdir/pkg/etc/wine
}

Offline

#19 2005-06-22 13:30:08

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Trouble compiling Wine with DX9 patches [solved]

wow, thanks big_smile

will try it and update the pkgbuild in the aur


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

Board footer

Powered by FluxBB