Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2011 20:05:06 +0300
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/153734: [patch] multimedia/vlc: configure error: libgcrypt version 1.1.94 or higher not found
Message-ID:  <86lj2yotdp.fsf@gmail.com>
Resent-Message-ID: <201101061710.p06HA9T3091779@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153734
>Category:       ports
>Synopsis:       [patch] multimedia/vlc: configure error: libgcrypt version 1.1.94 or higher not found
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 06 17:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
$ make showconfig
===> The following configuration options are available for vlc-1.1.5_2,3:
     A52=off "A52 DVD audio decoder"
     AALIB=off "Aalib Console Graphics Support"
     AVAHI=off "Enable Avahi mDNS networking"
     CACA=off "Libcaca Console Graphics Support (requires AALIB)"
     DBUS=off "Enable D-Bus control support"
     DIRAC=off "Enable Dirac support"
     DTS=off "DTS DVD audio decoder"
     DVDREAD=off "DVD Playback support"
     DVDNAV=off "DVD menu navigation"
     DVBPSI=off "DVBPSI mux/demux support"
     FAAD=off "Faad audio decoder (mp4/aac) support"
     FLAC=on "Flac audio codec support"
     FLUID=off "Enable Fluidsynth MIDI support"
     FRIBIDI=off "FriBidi bidirectional unicode support"
     GGI=off "General Graphic Interface support"
     GLX=on "X11 OpenGL rendering (requires XCB)"
     GNOMEVFS=off "Gnome VFS support"
     GNUTLS=off "Enable viewing/transmission of encrypted streams"
     HTTPD=on "Streaming media control via http"
     JACK=off "Jack audio support"
     LIVEMEDIA=off "Support for rstp/rtp/sdp protocols"
     LUA=on "Enable Lua scripting"
     MAD=off "Mad mp3 audio decoder support"
     MATROSKA=on "Matroska Container Format support"
     MODPLUG=off "Mod audio suport"
     MPEG2=off "Mpeg-2 audio/video decoder Support"
     MUSEPACK=off "Musepack audio support"
     NCURSES=off "Enable ncurses (console) interface"
     NLS=off "Native Language Support"
     NOTIFY=off "Enable tray notifications"
     OCFLAGS=off "Optimized CFLAGS"
     OGG=on "Ogg audio decoder support"
     OPENGL=off "OpenGL acceleration support"
     PLUGIN=off "VLC Mozilla Plugin"
     PNG=on "PNG graphics format support"
     PORTAUDIO=off "Portaudio library support"
     PULSE=off "Pulse Audio support"
     QT4=off "Qt4 Interface"
     REALAUDIO=off "Real Audio(R) support"
     RUNROOT=off "Enable running as root"
     SAMBA=off "SAMBA Access module"
     SCHROED=off "Enable Schroedinger decoder"
     SDL=off "SDL video output"
     SHOUT=off "Shout2 support"
     SKINS=off "Enable winamp skins interface (requires QT4)"
     STREAM=on "Enable stream output"
     SPEEX=off "Speex voice codec support"
     SQLITE=off "Enable SQLite database support"
     SVG=off "SVG graphics support"
     SVGALIB=off "SVGALIB video output"
     TAGLIB=off "ID3 tag and Ogg comment support"
     THEORA=off "OGG/Vorbis video codec support"
     TREMOR=off "Tremor voice audio (redundant with Vorbis)"
     TWOLAME=off "Twolame mpeg2 audio encoder support"
     UPNP=off "Enable UPnP network device control"
     V4L=off "Enable Video for Linux & DVB support"
     VCD=on "Video CD support"
     VORBIS=on "Vorbis audio decoder support"
     X264=off "Enable H.264/AVC codec support"
     XCB=on "Use X C Bindings for X11 output"
     XOSD=off "X11 On Screen Display support"
     XVIDEO=on "X11 video rendering (requires XCB)"
     ZVBI=off "VBI decoding support"
===> Use 'make config' to modify these settings
>Description:
raop and remoteosd plugins depends on libgcrypt
>How-To-Repeat:
$ egrep -i '(error|warn).*gcrypt' $(make -V WRKSRC)/configure.ac
        AC_MSG_ERROR([gcrypt.h present but libgcrypt-config could not be found])
      AC_MSG_ERROR([libgcrypt not found. Install libgcrypt or use --disable-libgcrypt. Have a nice day.])
    AC_MSG_ERROR([libgcrypt version 1.1.94 or higher not found. Install libgcrypt or use --disable-libgcrypt. Have a nice day.])
    AC_MSG_ERROR([--enable-gnutls and --disable-libgcrypt are mutually exclusive.])
    AC_MSG_ERROR([libgcrypt support required for RemoteOSD plugin])
  AC_MSG_WARN([libgcrypt support required for RAOP plugin])
    AC_MSG_ERROR([libgcrypt is required for update checking system])
>Fix:
--- a.diff begins here ---
Index: multimedia/vlc/Makefile
===================================================================
RCS file: /a/.cvsup/ports/multimedia/vlc/Makefile,v
retrieving revision 1.250
diff -u -p -r1.250 Makefile
--- multimedia/vlc/Makefile	30 Dec 2010 19:19:14 -0000	1.250
+++ multimedia/vlc/Makefile	6 Jan 2011 16:56:50 -0000
@@ -36,6 +36,7 @@ OPTIONS=	A52 "A52 DVD audio decoder" On 
 		FLAC "Flac audio codec support" On \
 		FLUID "Enable Fluidsynth MIDI support" Off \
 		FRIBIDI "FriBidi bidirectional unicode support" Off \
+		GCRYPT "libgcrypt support" On \
 		GGI "General Graphic Interface support" Off \
 		GLX "X11 OpenGL rendering (requires XCB)" On \
 		GNOMEVFS "Gnome VFS support" Off \
@@ -61,6 +62,7 @@ OPTIONS=	A52 "A52 DVD audio decoder" On 
 		PULSE "Pulse Audio support" Off \
 		QT4 "Qt4 Interface" On \
 		REALAUDIO "Real Audio(R) support" On \
+		REMOTEOSD "Remote OSD support" On \
 		RUNROOT "Enable running as root" Off \
 		SAMBA "SAMBA Access module" On \
 		SCHROED "Enable Schroedinger decoder" Off \
@@ -312,6 +316,13 @@ LIB_DEPENDS+=	fribidi.3:${PORTSDIR}/conv
 CONFIGURE_ARGS+=--enable-fribidi
 .endif
 
+.if defined(WITHOUT_GCRYPT)
+CONFIGURE_ARGS+=--disable-libgcrypt
+.else
+LIB_DEPENDS+=	gcrypt.17:${PORTSDIR}/security/libgcrypt
+CONFIGURE_ARGS+=--enable-libgcrypt
+.endif
+
 .if defined(WITH_GGI)
 LIB_DEPENDS+=	ggi.2:${PORTSDIR}/graphics/libggi
 CONFIGURE_ARGS+=--enable-ggi
@@ -486,6 +497,12 @@ CONFIGURE_ARGS+=--disable-real --disable
 CONFIGURE_ARGS+=--enable-real --enable-realrtsp
 .endif
 
+.if defined(WITHOUT_REMOTEOSD)
+CONFIGURE_ARGS+=--disable-remoteosd
+.else
+CONFIGURE_ARGS+=--enable-remoteosd
+.endif
+
 .if defined(WITH_RUNROOT)
 CONFIGURE_ARGS+=--enable-run-as-root
 .endif
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lj2yotdp.fsf>