pkgsrc-Bugs archive

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

pkg/47474: gst-plugins0.10-good pulls in gconf and gnome stuff



>Number:         47474
>Category:       pkg
>Synopsis:       gst-plugins0.10-good pulls in gconf and gnome stuff
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 20 00:45:00 +0000 2013
>Originator:     Taylor R Campbell <campbell+pkgsrc%mumble.net@localhost>
>Release:        NetBSD 6.0
>Organization:
>Environment:
NetBSD ... 6.0 NetBSD 6.0 (LIBKVER) #0: Tue Jan 19 00:00:00 UTC 2038 
root@localhost:/sys/arch/amd64/compile/LIBKVER amd64
Architecture: amd64
Machine: amd64
>Description:

        multimeida/gst-plugins0.10-good depends unconditionally on
        gconf and gnome stuff.

>How-To-Repeat:

        Install multimedia/gst-plugins0.10-good and grumble at all the
        gconf and gnome (and probably dbus, I forget) stuff that it
        pulls in.

>Fix:

        Apply the following patch to make gconf an option:

Index: multimedia/gst-plugins0.10-good/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/gst-plugins0.10-good/Makefile,v
retrieving revision 1.29
diff -p -u -r1.29 Makefile
--- multimedia/gst-plugins0.10-good/Makefile    8 Oct 2012 09:21:03 -0000       
1.29
+++ multimedia/gst-plugins0.10-good/Makefile    19 Jan 2013 20:10:07 -0000
@@ -2,21 +2,17 @@
 #
 
 .include "Makefile.common"
-PKGREVISION=           3
+PKGREVISION=           4
 
 COMMENT+=              good plugins
 
 # some plugins were moved from bad to good
 CONFLICTS+=            gst-plugins0.10-bad<0.10.18
 
-CONFIGURE_ARGS+=       --enable-gconf
-CONFIGURE_ARGS+=       --enable-gconftool
-CONFIGURE_ARGS+=       --enable-zlib
+.include "options.mk"
 
-# We depend on libxml anyway (indirectly through GConf), so this
-# doesn't hurt. Just make it explicite.
+CONFIGURE_ARGS+=       --enable-zlib
 CONFIGURE_ARGS+=       --enable-annodex
-.include "../../textproc/libxml2/buildlink3.mk"
 
 GCONF_SCHEMAS=         gstreamer-0.10.schemas
 
@@ -24,10 +20,12 @@ GCONF_SCHEMAS=              gstreamer-0.10.schemas
 TEST_TARGET=           check-torture
 
 post-install:
+.if !empty(PKG_OPTIONS:Mgconf)
        ${INSTALL_DATA} ${WRKSRC}/gconf/gstreamer-0.10.schemas \
                ${DESTDIR}${GCONF_SCHEMAS_DIR}
+.endif
 
 .include "../../archivers/bzip2/buildlink3.mk"
-.include "../../devel/GConf/schemas.mk"
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: multimedia/gst-plugins0.10-good/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/gst-plugins0.10-good/PLIST,v
retrieving revision 1.25
diff -p -u -r1.25 PLIST
--- multimedia/gst-plugins0.10-good/PLIST       28 Feb 2012 18:31:00 -0000      
1.25
+++ multimedia/gst-plugins0.10-good/PLIST       19 Jan 2013 20:10:07 -0000
@@ -17,7 +17,7 @@ lib/gstreamer-0.10/libgsteffectv.la
 lib/gstreamer-0.10/libgstequalizer.la
 lib/gstreamer-0.10/libgstflv.la
 lib/gstreamer-0.10/libgstflxdec.la
-lib/gstreamer-0.10/libgstgconfelements.la
+${PLIST.gconf}lib/gstreamer-0.10/libgstgconfelements.la
 lib/gstreamer-0.10/libgstgoom.la
 lib/gstreamer-0.10/libgstgoom2k1.la
 lib/gstreamer-0.10/libgsticydemux.la
@@ -46,7 +46,7 @@ lib/gstreamer-0.10/libgstvideomixer.la
 lib/gstreamer-0.10/libgstwavenc.la
 lib/gstreamer-0.10/libgstwavparse.la
 lib/gstreamer-0.10/libgsty4menc.la
-share/gconf/schemas/gstreamer-0.10.schemas
+${PLIST.gconf}share/gconf/schemas/gstreamer-0.10.schemas
 share/gstreamer-0.10/presets/GstIirEqualizer10Bands.prs
 share/gstreamer-0.10/presets/GstIirEqualizer3Bands.prs
 share/locale/af/LC_MESSAGES/gst-plugins-good-0.10.mo
Index: multimedia/gst-plugins0.10-good/options.mk
===================================================================
RCS file: multimedia/gst-plugins0.10-good/options.mk
diff -N multimedia/gst-plugins0.10-good/options.mk
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ multimedia/gst-plugins0.10-good/options.mk  19 Jan 2013 20:10:07 -0000
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.gst-plugins0.10-good
+PKG_SUPPORTED_OPTIONS= gconf
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=           gconf
+
+.if !empty(PKG_OPTIONS:Mgconf)
+PLIST.gconf=           yes
+CONFIGURE_ARGS+=       --enable-gconf
+CONFIGURE_ARGS+=       --enable-gconftool
+.include "../../devel/GConf/schemas.mk"
+.endif



Home | Main Index | Thread Index | Old Index