Subject: pkg/34797: multimedia/xine-lib Solaris10
To: None <,,>
From: Gilles Dauphin <>
List: pkgsrc-bugs
Date: 10/12/2006 10:05:01
>Number:         34797
>Category:       pkg
>Synopsis:       multimedia/xine-lib  Solaris10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 12 10:05:01 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc

System: SunOS 5.10 Generic_Patch_118844-30 i86pc


xine-lib-1.1.2nb1 requires installed package vcdimager-0.7.23nb2
=> Checking for missing run-time search paths in xine-lib-1.1.2nb1
=> Checking for work-directory references in xine-lib-1.1.2nb1
=> Checking file-check results for xine-lib-1.1.2nb1
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/lib/xine/plugins/1.1.2/post/
*** Error code 1

bmake: stopped in /usr/pkgsrc/multimedia/xine-lib


bmake install


xine-lib configure detect in "traditionnal" Unix path.

[root@redhot 1169] ls /usr/*/lib/libXv*
/usr/X11/lib/        /usr/X11/lib/    /usr/X11R6/lib/
/usr/X11/lib/      /usr/X11R6/lib/      /usr/X11R6/lib/
/usr/X11/lib/      /usr/X11R6/lib/
[root@redhot 1170]

libXv is not in /usr/openwin but in /usr/X11 on Solaris10. X11BASE is /usr/openwin and
in Makefile.common HAVE_XV have a wrong value.

maybe this patch:

--- Makefile.common.orig        Tue Aug  8 12:13:19 2006
+++ Makefile.common     Thu Oct 12 11:59:16 2006
@@ -23,6 +23,7 @@
 LIBTOOL_OVERRIDE=      libtool libtool-nofpic
 USE_TOOLS+=            autoconf gmake msgfmt pkg-config
+USE_LANGUAGES+=                c++
 WRKSRC=                        ${WRKDIR}/xine-lib-1.1.2
 CONFIGURE_ARGS+=       --with-w32-path='${PREFIX}/lib/win32'
@@ -35,7 +36,12 @@
 .include "../../mk/"
 .if !exists(${X11BASE}/lib/
+.  if ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.10"
+CONFIGURE_ARGS+=       --with-xv-path='/usr/X11/lib'
+PLIST_SUBST+=          HAVE_XV=
+.  else
 PLIST_SUBST+=          HAVE_XV="@comment "
+.  endif
 CONFIGURE_ARGS+=       --with-xv-path='${X11BASE}/lib'
 PLIST_SUBST+=          HAVE_XV=