Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Sep 2004 14:20:47 +0200 (CEST)
From:      Volker Stolz <vs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/71399: [patch] audio/gstreamer-mokneyaudio: Fix creation of /root/.gstreamer-0.8/registry.xml
Message-ID:  <200409051220.i85CKl9m076645@i2.informatik.rwth-aachen.de>
Resent-Message-ID: <200409051230.i85CUQ9t003652@freefall.freebsd.org>

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

>Number:         71399
>Category:       ports
>Synopsis:       [patch] audio/gstreamer-mokneyaudio: Fix creation of /root/.gstreamer-0.8/registry.xml
>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:   Sun Sep 05 12:30:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Lehrstuhl für Informatik II; RWTH Aachen Universität
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.10-STABLE FreeBSD 4.10-STABLE #17: Tue Jun 22 17:00:16 CEST 2004 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
The port will create the file /root/.gstreamer-0.8/registry.xml.
Cf. PR ports/71397 for further details.
>How-To-Repeat:
>Fix:
--- gst-monkeyaudio begins here ---
Index: Makefile
===================================================================
RCS file: /usr/freebsdcvs/cvs-ports/ports/audio/gstreamer-monkeysaudio/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	16 Aug 2004 21:28:22 -0000	1.5
+++ Makefile	5 Sep 2004 12:16:27 -0000
@@ -34,6 +34,7 @@
 		${DOCSDIR}/GStreamer-monkeysaudio-permit
 .endif
 # register plugins
-	-@${X11BASE}/bin/gst-register-${GST_VERSION} 2>/dev/null
+	-@${X11BASE}/bin/gst-register-${GST_VERSION} \
+		--gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /usr/freebsdcvs/cvs-ports/ports/audio/gstreamer-monkeysaudio/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	30 May 2004 19:18:50 -0000	1.2
+++ pkg-plist	5 Sep 2004 12:16:43 -0000
@@ -1,5 +1,5 @@
 lib/gstreamer-%%VERSION%%/libgstmonkeysaudio.so
 %%PORTDOCS%%%%DOCSDIR%%/GStreamer-monkeysaudio-permit
-@exec %D/bin/gst-register 2>/dev/null || true
+@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true
 %%PORTDOCS%%@unexec /bin/rmdir %D/%%DOCSDIR%% 2>/dev/null || true
-@unexec %D/bin/gst-register 2>/dev/null || true
+@unexec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true
--- gst-monkeyaudio ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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