pkgsrc-Users archive

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

Re: multimedia/vlc does not configure (x11-xcb) (blocking bug)

    Date:        Sat, 07 May 2011 11:01:30 +0900
    From:        "OBATA Akio" <>
    Message-ID:  <>

  | Just from configure script, only xcb_glx puugin require x11-xcb.
  | How about just following (not tested) ?

That works, at least to get the build past the configure stage
(it is still compiling as I send this).

Or rather, the patch below works, which is just your patch, without
tab/space mangling which looks to have been a cut&past type problem...
(I include this just to make it easier for anyone else who wants to
test this before the patch gets committed, which I assume will happen
sometime after it is confirmed that the build completes properly).



ps: the configure, and whatever leads up to it (and the compile, or
what I have seen of it) is very noisy - ie: lots of warnings about all
kinds of crud (lots of libtool warnings, and stuff like that) - more
than I am used to seeing in pkgsrc packages.

Index: Makefile
RCS file: /cvsroot/NetBSD/pkgsrc/multimedia/vlc/Makefile,v
retrieving revision 1.111
diff -u -r1.111 Makefile
--- Makefile    22 Apr 2011 13:42:03 -0000      1.111
+++ Makefile    8 May 2011 02:21:27 -0000
@@ -26,7 +26,7 @@
 CONFIGURE_ARGS+=       --with-kde-solid=${PREFIX}/share/kde/apps/solid/actions
 PTHREAD_OPTS+=         require
 USE_LANGUAGES=         c99 c++
-PLIST_VARS+=           x86simd altivec v4l2 vcd cdda
+PLIST_VARS+=           x86simd altivec v4l2 vcd cdda glx
 .include "../../mk/"
 .include ""
@@ -152,6 +152,11 @@
 # libX11 should be built with xcb enabled
 BUILDLINK_API_DEPENDS.libX11+= libX11>=1.3.5
 .include "../../x11/libX11/"
+.if ${X11_TYPE} == "modular" || exists(${X11BASE}/lib/pkgconfig/xcb.pc)
+PLIST.glx=     yes
+CONFIGURE_ARGS+=       --disable-glx
 # needs x264_encoder_delayed_frames
 BUILDLINK_API_DEPENDS.x264-devel+= x264-devel>=20100201
 .include "../../multimedia/x264-devel/"
Index: PLIST
RCS file: /cvsroot/NetBSD/pkgsrc/multimedia/vlc/PLIST,v
retrieving revision 1.41
diff -u -r1.41 PLIST
--- PLIST       6 Apr 2011 08:14:21 -0000       1.41
+++ PLIST       8 May 2011 02:22:53 -0000
@@ -339,7 +339,7 @@

Home | Main Index | Thread Index | Old Index