You are not logged in.

#1 2010-08-12 19:34:55

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

[SOLVED] [request] WINE-RT patch

nice one if you work with windows-audio software (VST, DAWs) under wine and have problems with latancy:
would be nice to have it in AUR, wouldn't it?
http://kxstudio.sourceforge.net/index.p … &Itemid=12

Last edited by capoeira (2010-08-23 20:11:40)

Offline

#2 2010-08-12 20:24:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] [request] WINE-RT patch

Wouldn't it be better to post it here: https://bbs.archlinux.org/viewforum.php?id=38

Also, there's http://aur.archlinux.org/packages.php?ID=11206 that may help with music production.

Last edited by karol (2010-08-12 20:26:59)

Offline

#3 2010-08-12 20:27:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] [request] WINE-RT patch

Moved: assuming this was a veiled pkgbuild request...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2010-08-12 21:50:12

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] [request] WINE-RT patch

karol wrote:

Also, there's http://aur.archlinux.org/packages.php?ID=11206 that may help with music production.

wineasio is nice, but it wont give your windows-apps priorities like the linux ones. So this Wine-RT patch is verry usefull to use with packages like that like wineasio, FST, DSSI-VST, etc..

jasonwryan wrote:

assuming this was a veiled pkgbuild request...

yea, I think it was :-)

Last edited by capoeira (2010-08-13 02:42:35)

Offline

#5 2010-08-13 23:58:57

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] [request] WINE-RT patch

ahhh and there is a gui for FST wich uses this patch, also inexistend in AUR:
http://festige.sourceforge.net/

Offline

#6 2010-08-18 15:53:47

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] [request] WINE-RT patch

is it possible to apply the Wine-RT-patch to the wine-source-code during AUR-package install of a wine-package?

Offline

#7 2010-08-18 18:08:35

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] [request] WINE-RT patch

trying to make(change) a WINE-RT package for AUR

i read here abut applying patches to ABS: http://wiki.archlinux.org/index.php/Patching_in_ABS

i took the PKGBUILD of http://aur.archlinux.org/packages.php?ID=16531

now I have 2 problems:

1)there is no URL for the patch: we have http://repo.or.cz/w/wine-rt.git and the patch in a tar.gz-file from herehttp://festige.sourceforge.net/
how can I include a valid link for the patch in the "source" array?
EDIT: OK, I can include the patch in the ".tar.gz"-file. can be considered as solved

2)as the PKGBUILD includes a RPM it confuses me. How can i specify the directory with the makefile? And are the lines in the correct place?

modified PKGBUILD with mentioned problems marked with "*****************":

 
# Contributor: Lee Jackson <tomoe AT lbjackson DOTCOM>

pkgname=bin32-wine-suse
pkgver=1.3.0
pkgrel=2
pkgdesc="An open-source implementation of the Windows API - openSUSE x86_64 build"
arch=('x86_64')
url="http://en.opensuse.org/Wine"
license=('LGPL')
depends=('lib32-libx11' 'lib32-libjpeg' 'lib32-alsa-lib' 'lib32-libxxf86vm' 'lib32-mesa' 'util-linux-ng' 'lib32-freetype2' 'lib32-fontconfig' 'lib32-libxslt' 'lib32-libxml2' 'lib32-libxcb' 'lib32-libxdamage' 'lib32-libxrender' 'lib32-zlib' 'lib32-openal')
# Needs up-to-date libarchive due to http://bugs.archlinux.org/task/9634
makedepends=('libarchive>=2.4.12' 'rpmextract')
optdepends=('lib32-libxcursor: for mouse cursor color support')
provides=("wine=$pkgver" "bin32-wine=$pkgver" "bin32-winetricks=$pkgver")
conflicts=('wine' 'bin32-wine' 'bin32-winetricks')
# Listed at http://winehq.org/site/download
# and http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.2/i586/
# and ftp://ftp5.gwdg.de/pub/opensuse/repositories/Emulators%3A/Wine/openSUSE_11.2/i586/

#changed to apply realtime patch"
source=(http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.2/i586/wine-1.3.0-2.1.i586.rpm **********LINK?***********)
md5sums=('44e17b590a2b37cd8113ac4f6cb83352 34ace8bed737fc55d7da34a3664e87dd')
#changed to apply realtime patch END"

build() {
  cd $startdir/src
  rpmextract.sh wine-*.i586.rpm || return 1

#changed to apply realtime patch"
  ***************DIRECTORY?****************
  patch -p1 -i $srcdir/wine-rt_1.2.patch
#changed to apply realtime patch END"

  cp -ra $startdir/src/usr $startdir/pkg/ || return 1
  install -d $startdir/pkg/opt/lib32/usr/{lib,share}/
  mv $startdir/pkg/usr/lib/* $startdir/pkg/opt/lib32/usr/lib/ || return 1

  # Need generic.ppd in /opt/lib32/usr/share/wine, for printing via CUPS
  ln -sfn /usr/share/wine $startdir/pkg/opt/lib32/usr/share/wine || return 1

  # Need link to /opt/wine/share/wine to get wine.inf to update
  install -d $startdir/pkg/opt/wine/share/
  ln -sfn /usr/share/wine $startdir/pkg/opt/wine/share/wine || return 1

  cd $startdir/pkg/usr/bin/
  install -d $startdir/pkg/opt/wine/bin/ $startdir/src/tempscripts/
  for _i in widl wine wine-preloader winebuild winecpp winedump wineg++ winegcc wineserver wmc wrc ; do
#   for _i in * ; do
    mv $_i $startdir/pkg/opt/wine/bin/ || return 1
    echo -e '#!/bin/sh\n# Wrapper for replacename\nPATH="/opt/wine/bin/:$PATH"\nLD_LIBRARY_PATH="/opt/lib32/usr/lib/:/opt/lib32/lib/:$LD_LIBRARY_PATH" linux32 /opt/wine/bin/replacename "$@"' > $startdir/src/tempscripts/$_i
    sed -re "s/replacename/$_i/" -i $startdir/src/tempscripts/$_i
    install -m755 $startdir/src/tempscripts/$_i $_i || return 1
  done

  # Re-arrange docs (using * because can be "wine-snapshot")
  mv $startdir/pkg/usr/share/doc/{packages/wine*,wine}

  # Unnecessary desktop entries
  rm $startdir/pkg/usr/share/applications/*.desktop

  # Clean up empty directories
  rmdir $startdir/pkg/usr/{lib,share/applications,share/doc/packages}
}

I would appreciate a little help

Last edited by capoeira (2010-08-18 18:29:59)

Offline

#8 2010-08-20 21:16:05

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: [SOLVED] [request] WINE-RT patch

1) Use the festige source tarball.

2) The festige archive will be extracted, so you will then just need to apply the patch in the wine dir. A good habit is to recreate the steps in the PKGBUILD manually one another terminal side by side, so you know where you are and what you must do in a certain moment.

3) You can also just link the git repo and do a clone within the build function of the PKGBUILD.

4) Since it's only one single patch file, just include it alongside the PKGBUILD. The source in the array would then be just the file name. This is the best route IMO.

Good luck and enjoy smile


I need real, proper pen and paper for this.

Offline

#9 2010-08-23 18:21:08

jhernberg
Member
Registered: 2010-08-23
Posts: 6

Re: [SOLVED] [request] WINE-RT patch

I've uploaded a wine-rt build script to aur, see  http://aur.archlinux.org/packages.php?ID=40169

   Joakim

Offline

#10 2010-08-23 19:51:49

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] [request] WINE-RT patch

jhernberg wrote:

I've uploaded a wine-rt build script to aur, see  http://aur.archlinux.org/packages.php?ID=40169

   Joakim


thanks, man....I didn't find the the time to make it

Offline

Board footer

Powered by FluxBB