Package: gnome-volume-manager
Version: 1.1.2-5
Severity: minor
Tags: patch

Hi. 

Bug already reported upstream : http://bugzilla.gnome.org/show_bug.cgi?id=166507

gnome-volume-manager-gthumb won't open contents of my "NO NAME" device as 
expected :

My USB digital camera is recognised as "NO NAME" (it's a Olympus C-220
Zoom).

When I plug it in and answers yes for gthumb import, it won't open
/media/NO NAME/dcim/100olymp as expected.

Instead it stops at /media/NO NAME/.

There is a small bug in gnome-volume-manager-gthumb in the way to
handle directories containing white spaces.

Attached patch solves the problem.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=fr_FR.ISO-8859-1, LC_CTYPE=fr_FR.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages gnome-volume-manager depends on:
ii  dbus-1                   0.23-1          simple interprocess messaging syst
ii  dbus-glib-1              0.23-1          simple interprocess messaging syst
ii  gconf2                   2.8.1-4         GNOME configuration database syste
ii  hal                      0.4.7-1         Hardware Abstraction Layer
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libbonobo2-0             2.8.0-4         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.0-2         The Bonobo UI library
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libgconf2-4              2.8.1-4         GNOME configuration database syste
ii  libglade2-0              1:2.4.1-2       library to load .glade files at ru
ii  libglib2.0-0             2.6.1-3         The GLib library of C routines
ii  libgnome2-0              2.8.0-6         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.8.0-1         A powerful object-oriented display
ii  libgnomeui-0             2.8.0-3         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.8.3-9         The GNOME virtual file-system libr
ii  libgtk2.0-0              2.4.14-2        The GTK+ graphical user interface 
ii  libhal0                  0.4.7-1         Hardware Abstraction Layer - share
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  liborbit2                1:2.10.2-1.1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.6.0-3         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxml2                  2.6.11-5        GNOME XML library
ii  pmount                   0.5.1-1         mount removable devices as normal 
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information
--- /usr/bin/gnome-volume-manager-gthumb.old    2005-02-06 23:59:24.000000000 
+0100
+++ /usr/bin/gnome-volume-manager-gthumb        2005-02-06 23:58:48.000000000 
+0100
@@ -7,8 +7,8 @@
   if test -d "$ROOT/dcim"; then
     ROOT="${ROOT}/dcim/"
     # if there is only one dir in the dcim directory, enter it
-    if test $(/bin/ls -1 ${ROOT} | wc -l)  -eq 1; then
-      ROOT="${ROOT}/$(ls -1 ${ROOT} | head -n 1)"
+    if test $(/bin/ls -1 "${ROOT}" | wc -l)  -eq 1; then
+      ROOT="${ROOT}/$(ls -1 "${ROOT}" | head -n 1)"
     fi
   fi
   exec /usr/bin/gthumb "${ROOT}"

Reply via email to