Date: Fri, 24 Aug 2012 17:25:59 GMT From: Alberto Villa <avilla@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/170997: [patch] audio/gstreamer-plugins-flite: unresolvable links to libflite* Message-ID: <201208241725.q7OHPxA5097206@red.freebsd.org> Resent-Message-ID: <201208241730.q7OHU1Wa045757@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 170997 >Category: ports >Synopsis: [patch] audio/gstreamer-plugins-flite: unresolvable links to libflite* >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 24 17:30:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alberto Villa >Release: FreeBSD 10-CURRENT >Organization: >Environment: FreeBSD woodstock.peanuts 10.0-CURRENT FreeBSD 10.0-CURRENT #12 r239638: Fri Aug 24 05:33:08 CEST 2012 root@woodstock.peanuts:/usr/obj/usr/src/sys/HPDV6 amd64 >Description: gstreamer-plugins-flite has a build dependency on flite assuming that it's linking to flite static library. Instead, libchk reports: Unresolvable link(s) found in: /usr/local/lib/gstreamer-0.10/libgstflite.so libflite.so.1 libflite_cmulex.so.1 libflite_cmu_us_kal.so.1 libflite_usenglish.so.1 >How-To-Repeat: # pkg install gstreamer-plugins-flite $ ldd /usr/local/lib/gstreamer-0.10/libgstflite.so | grep flite >Fix: The attached patch changes BUILD_DEPENDS to LIB_DEPENDS and bumps PORTREVISION for gstreamer-plugins-flite. It could be changed to make the plugin link to the static library, but I didn't want to dig into GStreamer configure nightmare, so this was my solution. Patch attached with submission follows: Index: audio/gstreamer-plugins-flite/Makefile =================================================================== --- audio/gstreamer-plugins-flite/Makefile (revision 303048) +++ audio/gstreamer-plugins-flite/Makefile (working copy) @@ -5,7 +5,7 @@ # $FreeBSD$ # -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio COMMENT= Gstreamer flite run-time speech synthesis engine plugin Index: multimedia/gstreamer-plugins/Makefile.common =================================================================== --- multimedia/gstreamer-plugins/Makefile.common (revision 303048) +++ multimedia/gstreamer-plugins/Makefile.common (working copy) @@ -285,10 +285,10 @@ ${GST_LIB_DIR}/libgstflac.so # flite -gst_flite_BUILD_DEPENDS+= ${LOCALBASE}/lib/libflite.a:${PORTSDIR}/audio/flite -gst_flite_PLIST_FILES= ${GST_LIB_DIR}/libgstflite.la \ - ${GST_LIB_DIR}/libgstflite.so -gst_flite_DIST= bad +gst_flite_LIB_DEPENDS+= flite.1:${PORTSDIR}/audio/flite +gst_flite_PLIST_FILES= ${GST_LIB_DIR}/libgstflite.la \ + ${GST_LIB_DIR}/libgstflite.so +gst_flite_DIST= bad # gconf gst_gconf_USE_GNOME+= gnomeprefix gconf2 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208241725.q7OHPxA5097206>