You are not logged in.

#1 2008-01-06 13:35:48

canistra
Member
Registered: 2007-11-03
Posts: 66

[request] Wine with DX9 patches

Can someone please, make a PKGBUILD for wine 0.9.52 with DX 9 Patches,
Thanks in advance

Offline

#2 2008-01-06 14:06:52

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: [request] Wine with DX9 patches

Where are these DX9 patches?

Offline

#3 2008-01-06 14:42:21

canistra
Member
Registered: 2007-11-03
Posts: 66

Re: [request] Wine with DX9 patches

Gilneas wrote:

Where are these DX9 patches?

http://aur.archlinux.org/packages.php?d … s=0&SeB=nd

Offline

#4 2008-01-06 15:26:30

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: [request] Wine with DX9 patches

Are you sure it's not already built in to the latest wine?

Offline

#5 2008-01-06 15:37:04

canistra
Member
Registered: 2007-11-03
Posts: 66

Re: [request] Wine with DX9 patches

Gilneas wrote:

Are you sure it's not already built in to the latest wine?

i don't know hmm

Offline

#6 2008-01-06 16:12:30

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: [request] Wine with DX9 patches

I think it's safe to say, you're not missing out on anything with the standard wine package.

Offline

#7 2008-01-06 17:45:31

canistra
Member
Registered: 2007-11-03
Posts: 66

Re: [request] Wine with DX9 patches

I made a PKGBUILD for wine 0.9.52, but i still don't know if it includes the direct x patches

#canistra canistra@gmail.com

_pkgsourcename=wine
pkgname=wine
pkgver=0.9.52
pkgrel=1
pkgrel32=1
pkgdesc="Interperenter for the Windows 3.x and Win32 APIs"
arch=('i686')
url="http://www.winehq.com/"
license=('LGPL')
depends=('freetype2'  'fontconfig'  'libjpeg'  'libungif'  'alsa-lib'  'glut'  'libldap'  'libxslt'  'lcms'  'libxxf86dga'  
                 'freeglut'  'libxinerama'  'libxcursor'  'libxrandr'  'libxrender'  'libxdamage'  )
provides=('wine')
conflicts=('wine')
install=()
source=(http://easynews.dl.sourceforge.net/sourceforge/wine/wine-$pkgver.tar.bz2)
#md5sums=('b0fd553e2f11fe7553ac1717797befe6' 'f9a03e920ae59c9cb1d7f7175e9f7755')

build() { 
  cd $startdir/src/$pkgname-$pkgver 
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x 
  make depend || return 1 
  make || return 1 
  make prefix=$startdir/pkg/usr install || return 1 
  # expand conflicts with textutils ( doesn't exist anymore ? ) 
  # mv $startdir/pkg/usr/bin/expand $startdir/pkg/usr/bin/wine-expand || return 1 
  mkdir -p $startdir/pkg/etc/wine 
  # mkdir -p $startdir/pkg/etc/profile.d 
  # cp -r $startdir/src/$pkgname-$pkgver/documentation/samples $startdir/pkg/etc/wine 
}

Offline

#8 2008-01-06 18:41:30

canistra
Member
Registered: 2007-11-03
Posts: 66

Re: [request] Wine with DX9 patches

I made this ... can someone control it?

_pkgsourcename=wine
pkgname=wine
pkgver=0.9.52
pkgrel=1
pkgdesc="WINE with DirectX9 patch unstable"
url="http://www.winehq.org"
depends=('x-server')
patchname=d3d9patch
patchver=2005-05-06
source=(http://easynews.dl.sourceforge.net/sourceforge/wine/wine-$pkgver.tar.bz2 
http://dl.sourceforge.net/sourceforge/directxwine/$patchname.$patchver.diff.bz2)
md5sums=()
arch=('i686')

build() {
  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
}

build() { 
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x 
  make depend || return 1 
  make || return 1 
  make prefix=$startdir/pkg/usr install || return 1 
  # expand conflicts with textutils ( doesn't exist anymore ? ) 
  # mv $startdir/pkg/usr/bin/expand $startdir/pkg/usr/bin/wine-expand || return 1 
  mkdir -p $startdir/pkg/etc/wine 
  # mkdir -p $startdir/pkg/etc/profile.d 
  # cp -r $startdir/src/$pkgname-$pkgver/documentation/samples $startdir/pkg/etc/wine 
}

Offline

#9 2008-01-07 01:01:28

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: [request] Wine with DX9 patches

I followed a few steps in that package build, and I'm no expert with patch, but I think it failed to update anything useful in the source. In fact, just browsing a little bit, I think only a few parts that add lines succeeded.

Trying to compile this also failed.

Note that your PKGBUILD has two build() functions, and the first one is probably ignored. (so really it only compiles 0.9.52)

Anyway, I'd recommend you to forget about the 2005 patch. If the vanilla 0.9.52 PKGBUILD works for you, then use that.

Offline

Board footer

Powered by FluxBB