Bug#535097: /usr/bin/wine must be adapted to ia32-libs transition

2009-07-02 Thread Alexander Clouter
Hi,

Part of the issue here (if I'm not mistaken) is that wine for amd64 
depends on ia32-libxxf86vm1 and ia32-libsm6, otherwise it will not even 
load.

Grumbles along the lines of:

err:module:load_builtin_dll fail..., 149err:module:load_builtin_dll 
failed to load .so lib for builtin Lwinex11.drv: libSM.so.6: cannot 
open shared object file: No such file or directory


Cheers

-- 
Alexander Clouter
.sigmonster says: The world is no nursery.
-- Sigmund Freud



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#535097: /usr/bin/wine must be adapted to ia32-libs transition

2009-06-29 Thread Yannick Roehlly
Package: wine
Version: 1.0.1-2
Severity: normal
Tags: patch

With the ongoing ia32-libs transition, 32bits libraries have been moved
from /emul to /lib32 and /usr/lib32.

/usr/bin/wine is doing some checking to know if both 64bit and 32bits versions
(or neither) of libnss-mdns are installed.

This must be adapted to the transition. Here's a patch that works on my system.

Sincerely,

Yannick

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

Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wine depends on:
ii  libwine-alsa  1.0.1-2Windows API implementation - ALSA 
ii  libwine-cms   1.0.1-2Windows API implementation - color
ii  libwine-gl1.0.1-2Windows API implementation - OpenG
ii  libwine-gphoto2   1.0.1-2Windows API implementation - camer
ii  libwine-ldap  1.0.1-2Windows API implementation - LDAP 
ii  libwine-print 1.0.1-2Windows API implementation - print
ii  libwine-sane  1.0.1-2Windows API implementation - scann
ii  wine-bin  1.0.1-2Windows API implementation - binar
ii  wine-utils1.0.1-2Windows API implementation - utili

Versions of packages wine recommends:
ii  ttf-liberation1.04.93-1  Free fonts with the same metrics a

Versions of packages wine suggests:
ii  binfmt-support 1.2.12Support for extra binary formats
ii  clamav 0.95.2+dfsg-2 anti-virus utility for Unix - comm
ii  klamav 0.46-2+b1 KDE frontend for ClamAV
pn  ttf-mscorefonts-installer  none(no description available)
pn  winbindnone(no description available)
pn  wine-doc   none(no description available)

Versions of packages libwine depends on:
ii  ia32-libs 18 ia32 shared libraries for use on a
ii  libc6-i3862.9-18 GNU C Library: 32-bit shared libra

-- no debconf information
--- /usr/bin/wine.orig  2009-06-29 19:39:53.026965817 +0200
+++ /usr/bin/wine   2009-06-29 19:41:23.831154281 +0200
@@ -36,22 +36,22 @@
 
 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430845
 if grep -q ^hosts:.*mdns4_minimal \[NOTFOUND=return\] /etc/nsswitch.conf  \
-   [ ! -e /emul/ia32-linux/lib/libnss_mdns4.so.2 ]; then
+   [ ! -e /lib32/libnss_mdns4.so.2 ]; then
  $XMESSAGE -center \
  -title Wine Warning \
  
  It appears that libnss-mdns is installed on your system,
- but lib32nss-mdns is not. Please note that Wine will not be
+ but ia32-libnss-mdns is not. Please note that Wine will not be
  able to access the Internet unless you either install
- lib32nss-mdns, or uninstall libnss-mdns.
+ ia32-libnss-mdns, or uninstall libnss-mdns.
   2/dev/null
  notify=$?
  if [ $notify -eq 1 ] ; then
   # xmessage was unable to notify the user, try tty instead
   echo It appears that libnss-mdns is installed on your system,
-  echo but lib32nss-mdns is not. Please note that Wine will not be
+  echo but ia32-libnss-mdns is not. Please note that Wine will not be
   echo able to access the Internet unless you either install
-  echo lib32nss-mdns, or uninstall libnss-mdns.
+  echo ia32-libnss-mdns, or uninstall libnss-mdns.
   echo -n (okay) 
   read confirm
  fi