Package: winetricks
Version: 0.0+20120512+svn814-1
Severity: normal

Hello,

invoking winetricks with the recently Multi-Arch-enabled 1.4.0-4
from experimental will result in an error message, since the
script cannot find wineserver anymore:

glaubitz@z6:~> winetricks
------------------------------------------------------
wineserver not found!
------------------------------------------------------
glaubitz@z6:~>

With Multi-Arch, wineserver has moved from /usr/lib*/wine
to /usr/lib/*/wine. The attached patch would fix the
problem for the debian patch which patches the paths in
the upstream package.

Thanks,

Adrian

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages winetricks depends on:
ii  cabextract  1.4-3
ii  p7zip       9.20.1~dfsg.1-4
ii  unzip       6.0-6
ii  wget        1.13.4-3
ii  wine        1.4-0.4

Versions of packages winetricks recommends:
ii  gksu       2.0.2-6
ii  sudo       1.8.3p2-1.1
ii  xdg-utils  1.1.0~rc1+git20111210-6
ii  zenity     3.4.0-2

winetricks suggests no packages.

-- no debconf information
>From f40e51f2ccd0cac4fc401c3cfa05ad1a312ed466 Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
Date: Wed, 6 Jun 2012 01:26:04 +0200
Subject: [PATCH] Adapt path names for wineserver for Multi-Arch.

---
 debian/patches/10-path.patch |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/patches/10-path.patch b/debian/patches/10-path.patch
index 36c6f21..6e0c147 100644
--- a/debian/patches/10-path.patch
+++ b/debian/patches/10-path.patch
@@ -7,7 +7,7 @@ Subject: Define PATH for wineserver
 
 --- a/src/winetricks
 +++ b/src/winetricks
-@@ -3448,9 +3448,25 @@
+@@ -3448,9 +3448,27 @@
          ;;
       *)
          WINE="${WINE:-wine}"
@@ -16,7 +16,9 @@ Subject: Define PATH for wineserver
 +
 +	for tmp in /usr/lib/wine/wineserver \
 +	           /usr/lib*/wine/wineserver \
-+	           /usr/lib*/wine-unstable/wineserver
++	           /usr/lib*/wine-unstable/wineserver \
++		   /usr/lib/*/wine/wineserver \
++		   /usr/lib/*/wine-unstable/wineserver
 +	do
 +	    if [ -x $tmp ]; then
 +		path=$tmp
-- 
1.7.10

Reply via email to