You are not logged in.

#1 2005-06-21 09:02:30

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

[new] Wine-cvs with DirectX patches

Well, here is the PKGBUILD, I hope it is ok with both Cam and Searinox that I posted this,

This package is for Wine-Cvs with the Direct X patches from Olivier.
'EDIT: The password is: cvs
EDIT2: Password not needed anymore snce it is now entered automaicaly
EDIT3: since the password thing didn't work unless you already have the password in .cvspass, i removed that and replaced it with aline telling you whst the password is, sorry for this

#Cam's orignal, modified by CyberTron and Searinox and Cerebral. Maintained by CyberTron
pkgname=dx9wine-cvs
pkgver=20050613
pkgrel=2
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 "The password is: cvs"
 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

#2 2005-06-21 17:34:58

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: [new] Wine-cvs with DirectX patches

I tried the PKGBUILD.
And after 10 secs, it stops  sad

What the f... is the password? hmmmm. I tried "cvs" and big_smile YEAH this was right. I AM MISTER BRAIN  wink

Offline

#3 2005-06-21 17:53:26

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

Re: [new] Wine-cvs with DirectX patches

Yes the password is, as on many cvs sites, just cvs

I am editing the page above to clarify this...

btw. did the package work for you?


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-21 18:00:22

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: [new] Wine-cvs with DirectX patches

it still compiles.

I´ll answer this later.
I have a dx9wine already. i build it with the WineCVS.sh script from linux-gamers.net So i think it should work fine

Offline

#5 2005-06-21 19:57:04

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: [new] Wine-cvs with DirectX patches

The PKGBUILD works good for me.

Thanks. great work big_smile

Offline

#6 2005-06-21 19:59:10

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

Re: [new] Wine-cvs with DirectX patches

Great!

Well, don't thank me, thank Cam (for the original PKGBUILD) and Searinox for fixing my version of the PKGBUILD  and telling me what I was doing wrong 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

#7 2005-06-22 04:20:44

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

Re: [new] Wine-cvs with DirectX patches

I get the following:

make[2]: *** [basetexture.o] Error 1
make[2]: Leaving directory `/var/abs/local/dx9wine/src/wine/dlls/d3d8'
make[1]: *** [d3d8] Error 2
make[1]: Leaving directory `/var/abs/local/dx9wine/src/wine/dlls'
make: *** [dlls] Error 2
==> ERROR: Build Failed.  Aborting...

--- UPDATE ---

reinstalled xorg and it compiled fine. now i just have to reinstall the nvidia drivers so that direct rendering will start working again.

Offline

#8 2005-06-22 08:03:12

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

Re: [new] Wine-cvs with DirectX patches

iBertus wrote:

--- UPDATE ---

reinstalled xorg and it compiled fine. now i just have to reinstall the nvidia drivers so that direct rendering will start working again.

Yes this seem to be a problem, I experienced this too, it has too do with the file glx.h / glex.h wich nvidia drivers overwrite with their own which is not compatible with wine-dxversion (as far as I have researched)...but what you did is absolutly correct, you need to reinstall xorg (or copy the original glx.h/glex.h files into the right lib..)


Btw, A question to everyone, Is this a package anyone would wan't to have in the AUR? If so, I will put it their and maintain it...but I am not sure if this package qualifies...


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-22 09:03:49

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: [new] Wine-cvs with DirectX patches

My Installation and compiling went fine. no problem with glx.h or something. I´m using the latest nvidia and xorg.

CyberTron. This PKGBUILD in AUR would be very cool.

Offline

#10 2005-06-22 09:08:20

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

Re: [new] Wine-cvs with DirectX patches

ok,  it is in the Aur  big_smile

it is under emulators (didn't think of any other category that suited)


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

#11 2005-06-22 15:20:07

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: [new] Wine-cvs with DirectX patches

thanks for putting this in the AUR.

if you look at the wine homepage, the DX9 patches arent _entirely_ unofficial, theyre being integrated into the next release of wine (or atleast a future release).. so when that happens you can give up maintenance..

in the mean time, thanks for doing this! its a helpful addition

Offline

#12 2005-06-22 15:36:55

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

Re: [new] Wine-cvs with DirectX patches

thanks!


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

#13 2005-06-22 21:48:46

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: [new] Wine-cvs with DirectX patches

Making the AUR PKGBUILD gives:

cvs checkout: authorization failed: server rhlx01.fht-esslingen.de rejected access to /home/wine for user cvs
cvs checkout: used empty password; try "cvs login" with a real password can't find file to patch at input line 4

but doesn't give a chance to enter the password.

Then goes on to ask for "file to patch".

Offline

#14 2005-06-23 00:22:04

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

Re: [new] Wine-cvs with DirectX patches

FIXME: The line for cvs login should be this:

echo -e 'cvsn' > cvs login

and NOT

echo -e 'cvs/n' > cvs login

Wrong slash!

Offline

#15 2005-06-23 01:39:54

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

Re: [new] Wine-cvs with DirectX patches

Darn it.... sorry guys.

Replace the line that says

echo -e 'cvsn' > cvs login

with

cvs login

and enter the password manually.

I originally suggested the echo, 'cause it worked on my system.  But, CVS had saved the password to .cvspass, and that's the only reason it worked.  The way it is now, it'll just screw up for people who haven't entered the password already.

Sorry again.

Offline

#16 2005-06-23 07:51:55

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

Re: [new] Wine-cvs with DirectX patches

ah, that is why it workes for me as well, then I will get rid of the echo code..

sorry for the mistakes sad


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