pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34797: multimedia/xine-lib Solaris10



>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
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


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/xineplug_post_tvtime.so
*** Error code 1

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



>How-To-Repeat:


bmake install


>Fix:


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

[root@redhot 1169] ls /usr/*/lib/libXv*
/usr/X11/lib/libXv.so        /usr/X11/lib/libXvMC.so.1    
/usr/X11R6/lib/libXvMC.so
/usr/X11/lib/libXv.so.1      /usr/X11R6/lib/libXv.so      
/usr/X11R6/lib/libXvMC.so.1
/usr/X11/lib/libXvMC.so      /usr/X11R6/lib/libXv.so.1
[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
 PKGCONFIG_OVERRIDE=    misc/libxine.pc.in
 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/bsd.prefs.mk"
 
 .if !exists(${X11BASE}/lib/libXv.so)
+.  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
 .else
 CONFIGURE_ARGS+=       --with-xv-path='${X11BASE}/lib'
 PLIST_SUBST+=          HAVE_XV=






Home | Main Index | Thread Index | Old Index