Subject: pornview: configure does not detect Xine correctly
Package: pornview
Version: 0.2pre1-11
Severity: normal
Tags: patch

The test for the Xine versions fails with recent versions of xine (due
to version numbers having 4 instead of 3 components) which causes the
application to lack video support. The attached patch fixes the
configure script.

Since I cannot find all the needed m4 files to regenerate the configure
script from configure.in the patch is only against the generated
configure script.

Note that regenerating configure from configure.in should also suffice
since the new xine.m4 file contains the same change.

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

Kernel: Linux 2.6.34-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pornview depends on:
ii  libatk1.0-0             1.30.0-1         The ATK accessibility toolkit
ii  libc6                   2.11.2-2         Embedded GNU C Library: Shared lib
ii  libcairo2               1.8.10-4         The Cairo 2D vector graphics libra
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.3.11-1         FreeType 2 font engine, shared lib
ii  libglib2.0-0            2.24.1-1         The GLib library of C routines
ii  libgtk2.0-0             2.20.1-1         The GTK+ graphical user interface 
ii  libpango1.0-0           1.28.1-1         Layout and rendering of internatio
ii  libpng12-0              1.2.44-1         PNG library - runtime
ii  libx11-6                2:1.3.3-3        X11 client-side library
ii  libxext6                2:1.1.1-3        X11 miscellaneous extension librar
ii  libxine1                1.1.18.1-4       the xine video/media player librar
ii  libxine1-x              1.1.18.1-4       X desktop video output plugins for
ii  libxinerama1            2:1.1-3          X11 Xinerama extension library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

-- 
-- arthur - adej...@debian.org - http://people.debian.org/~adejong --
--- pornview-0.2pre1.orig/configure
+++ pornview-0.2pre1/configure
@@ -6939,11 +6939,11 @@
       XINE_LIBS=`$XINE_CONFIG $xine_config_args --libs`
       XINE_ACFLAGS=`$XINE_CONFIG $xine_config_args --acflags`
       xine_config_major_version=`$XINE_CONFIG $xine_config_args --version | \
-             sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+             sed 's/^\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\1/'`
       xine_config_minor_version=`$XINE_CONFIG $xine_config_args --version | \
-             sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
+             sed 's/^\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\2/'`
       xine_config_sub_version=`$XINE_CONFIG $xine_config_args --version | \
-             sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
+             sed 's/^\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\3/'`
       xine_data_dir=`$XINE_CONFIG $xine_config_args --datadir`
       xine_script_dir=`$XINE_CONFIG $xine_config_args --scriptdir`
       xine_plugin_dir=`$XINE_CONFIG $xine_config_args --plugindir`

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to