Date: Wed, 04 Feb 2004 21:29:37 +0100 From: Piotr Smyrak <smyru@smyrak.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62363: [patch] let user control gstreamer-plugins dependency on audio/aRts Message-ID: <E1AoTeT-0008h7-RS@beth.poprostu.pl> Resent-Message-ID: <200402042030.i14KUGjO060133@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62363 >Category: ports >Synopsis: [patch] let user control gstreamer-plugins dependency on audio/aRts >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Feb 04 12:30:16 PST 2004 >Closed-Date: >Last-Modified: >Originator: Piotr Smyrak >Release: FreeBSD 5.1-RELEASE-p9 i386 >Organization: >Environment: System: FreeBSD ntbk 5.1-RELEASE-p9 FreeBSD 5.1-RELEASE-p9 #0: Fri Nov 14 15:54:01 CET 2003 root@ntbk:/usr/obj/usr/src/sys/SMYRU i386 >Description: The current Makefile will force a dependency on aRts sound server if it was installed, which would also bring chain dependencies, as for devel/qmake. This is not always friendly behaviour, as one of the obstacles would be a sudden dependency on Qt's devel/qmake popping up all around for GTK/Gnome apps. See: http://www.osnews.com/story.php?news_id=5821&page=2 for a description of such a situation. The following patch gives a user a chance to prevent gst-plugins from creating a dependency on aRts without a need for Makefile editing. This is a simple and minimal tweak, yet IMHO useful. >How-To-Repeat: Install aRts, then build Gnome2, later cvsup and try to update any Gnome app depending on gestreamer and gst-plugins, or run pkgdb -F. >Fix: --- gst-plugins.patch begins here --- --- Makefile.orig Wed Jan 28 00:59:04 2004 +++ Makefile Wed Jan 28 01:23:38 2004 @@ -131,7 +131,7 @@ .endif # arts -.if exists(${LOCALBASE}/lib/libartsc.so.0) +.if exists(${LOCALBASE}/lib/libartsc.so.0) && !defined(WITHOUT_ARTS) WITH_ARTS=yes .endif @@ -632,9 +632,12 @@ @${ECHO_MSG} '===>' @${ECHO_MSG} '===> Define WITH_AALIB to enable aalib Video plugin' .endif -.ifndef(WITH_ARTS) +.ifdef(WITH_ARTS) + @${ECHO_MSG} '===>' + @${ECHO_MSG} '===> Define WITHOUT_ARTS to disable aRts Audio plugin' +.else @${ECHO_MSG} '===>' - @${ECHO_MSG} '===> Define WITH_ARTS to enable arts Audio plugin' + @${ECHO_MSG} '===> Define WITH_ARTS to enable aRts Audio plugin' .endif .ifndef(WITH_AVIFILE) @${ECHO_MSG} '===>' --- gst-plugins.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AoTeT-0008h7-RS>