Package: gxine
Version: 0.5.903-2
Followup-For: Bug #479232

I have this issue too, on both of my systems that are running
Debian/sid. It is caused by gxine's configuration files having been moved 
to $HOME/.config/gxine/, while the server code is still looking at the
old location. In src/server.c there is the following line:

#define SOCKET_FILENAME "%s/.gxine/socket"

This directory no longer exists, hence gxine can't create the socket.

I've attached a trivial patch that fixes this.

Cheers,

Paul


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages gxine depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.1-3    simple interprocess messaging syst
ii  libdbus-glib-1-2              0.76-1     simple interprocess messaging syst
ii  libglib2.0-0                  2.16.5-1   The GLib library of C routines
ii  libgtk2.0-0                   2.12.11-3  The GTK+ graphical user interface 
ii  libhal1                       0.5.11-2   Hardware Abstraction Layer - share
ii  liblircclient0                0.8.3-2    infra-red remote control support -
ii  libmozjs1d                    1.9.0.1-1  The Mozilla SpiderMonkey JavaScrip
ii  libpango1.0-0                 1.20.5-1   Layout and rendering of internatio
ii  librsvg2-common               2.22.2-2   SAX-based renderer library for SVG
ii  libx11-6                      2:1.1.4-2  X11 client-side library
ii  libxcb1                       1.1-1.1    X C Binding
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxine1                      1.1.14-1   the xine video/media player librar
ii  libxine1-x                    1.1.14-1   X desktop video output plugins for
ii  libxinerama1                  2:1.0.3-2  X11 Xinerama extension library

Versions of packages gxine recommends:
ii  libxine1-ffmpeg               1.1.14-1   MPEG-related plugins for libxine1

Versions of packages gxine suggests:
ii  gxineplugin                 0.5.903-2    the xine video player, GTK+/Gnome;
ii  libdvdcss2 [libdvdcss]      1.2.9-0.1    Simple foundation for reading DVDs
ii  libgnomevfs2-0              1:2.22.0-4   GNOME Virtual File System (runtime
ii  realplayer                  1:11.0.0-0.2 RealPlayer 10 based on the open so

-- no debconf information
diff -urN gxine-0.5.903/src/server.c gxine-0.5.903.fixed/src/server.c
--- gxine-0.5.903/src/server.c	2008-08-08 20:29:48.000000000 +1000
+++ gxine-0.5.903.fixed/src/server.c	2008-02-12 04:18:45.000000000 +1100
@@ -40,7 +40,7 @@
 #define LOG
 */
 
-#define SOCKET_FILENAME "%s/.gxine/socket"
+#define SOCKET_FILENAME "%s/.config/gxine/socket"
 #define BUF_SIZE        1024
 
 static int       gxsocket;

Reply via email to