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

Yannick Roehlly yannick.roehlly at free.fr
Mon Jun 29 17:52:57 UTC 2009


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-2    Windows API implementation - ALSA 
ii  libwine-cms                   1.0.1-2    Windows API implementation - color
ii  libwine-gl                    1.0.1-2    Windows API implementation - OpenG
ii  libwine-gphoto2               1.0.1-2    Windows API implementation - camer
ii  libwine-ldap                  1.0.1-2    Windows API implementation - LDAP 
ii  libwine-print                 1.0.1-2    Windows API implementation - print
ii  libwine-sane                  1.0.1-2    Windows API implementation - scann
ii  wine-bin                      1.0.1-2    Windows API implementation - binar
ii  wine-utils                    1.0.1-2    Windows API implementation - utili

Versions of packages wine recommends:
ii  ttf-liberation                1.04.93-1  Free fonts with the same metrics a

Versions of packages wine suggests:
ii  binfmt-support             1.2.12        Support 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  winbind                    <none>        (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-i386                    2.9-18     GNU C Library: 32-bit shared libra

-- no debconf information
-------------- next part --------------
--- /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


More information about the pkg-wine-party mailing list