Package: miro
Version: 1.0-1
Severity: important
Tags: patch

xine_extractor is missing from the package, causing miro to open a lot
of crash handlers during its startup (35 atm for me).

Miro is trying to start the xine_extractor helper from
/usr/libexec/xine_extractor, which is hard-coded and the debian package
doesn't include the /usr/libexec path in the package.

The following patch will fix the issue (installing xine_extractor to
/usr/lib/miro/xine_extractor).

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

Kernel: Linux 2.6.23.8
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages miro depends on:
ii  libatk1.0-0                  1.20.0-1    The ATK accessibility toolkit
ii  libboost-python1.34.1        1.34.1-2    Boost.Python Library
ii  libc6                        2.6.1-6     GNU C Library: Shared libraries
ii  libcairo2                    1.4.10-1    The Cairo 2D vector graphics libra
ii  libffi4                      4.2.2-3     Foreign Function Interface library
ii  libgcc1                      1:4.2.2-3   GCC support library
ii  libglib2.0-0                 2.14.3-1    The GLib library of C routines
ii  libgtk2.0-0                  2.12.1-3    The GTK+ graphical user interface 
ii  libnspr4-0d                  4.6.7-1     NetScape Portable Runtime Library
ii  libpango1.0-0                1.18.3-1    Layout and rendering of internatio
ii  libstdc++6                   4.2.2-3     The GNU Standard C++ Library v3
ii  libx11-6                     2:1.0.3-7   X11 client-side library
ii  libxine1                     1.1.8-2     the xine video/media player librar
ii  libxul0d                     1.8.1.9-2   Gecko engine library
ii  miro-data                    1.0-1       GTK+ based RSS video aggregator da
ii  python                       2.4.4-6     An interactive high-level object-o
ii  python-glade2                2.12.0-1    GTK+ bindings: Glade support
ii  python-gnome2                2.20.0-1    Python bindings for the GNOME desk
ii  python-gnome2-extras         2.14.3-1+b1 Python bindings for the GNOME desk
ii  python-gtk2                  2.12.0-1    Python bindings for the GTK+ widge
ii  python-pysqlite2             2.3.5-1     python interface to SQLite 3
ii  python-support               0.7.5       automated rebuilding support for p

Versions of packages miro recommends:
ii  libxine1-ffmpeg               1.1.8-2    MPEG-related plugins for libxine1

-- no debconf information
diff -Nur miro-1.0/platform/gtk-x11/frontend_implementation/xinerenderer.py 
miro-1.0.new/platform/gtk-x11/frontend_implementation/xinerenderer.py
--- miro-1.0/platform/gtk-x11/frontend_implementation/xinerenderer.py   
2007-11-13 02:22:57.000000000 +0100
+++ miro-1.0.new/platform/gtk-x11/frontend_implementation/xinerenderer.py       
2007-11-19 06:47:28.000000000 +0100
@@ -214,4 +214,4 @@
         self.xine.setRate(rate)
 
     def movieDataProgramInfo(self, moviePath, thumbnailPath):
-        return ((resources.path('../../../libexec/xine_extractor'), moviePath, 
thumbnailPath), None)
+        return ((resources.path('../../../lib/miro/xine_extractor'), 
moviePath, thumbnailPath), None)
diff -Nur miro-1.0/platform/gtk-x11/setup.py 
miro-1.0.new/platform/gtk-x11/setup.py
--- miro-1.0/platform/gtk-x11/setup.py  2007-11-13 02:22:57.000000000 +0100
+++ miro-1.0.new/platform/gtk-x11/setup.py      2007-11-19 06:46:49.000000000 
+0100
@@ -348,7 +348,7 @@
      [os.path.join(platform_dir, 'miro.xml')]),
     ('/usr/share/man/man1',
      [os.path.join(platform_dir, 'miro.1.gz')]),
-    ('/usr/libexec/',
+    ('/usr/lib/miro/',
      [os.path.join(platform_dir, 'xine/xine_extractor')]),
 ]
 

Reply via email to