ports/118783: Patch for gnome-control-center without_gstreamer

Dylan Leigh dylan.leigh at rmit.edu.au
Mon Dec 17 18:50:03 UTC 2007


>Number:         118783
>Category:       ports
>Synopsis:       Patch for gnome-control-center without_gstreamer
>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:   Mon Dec 17 18:50:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dylan Leigh
>Release:        FreeBSD 6.3-PRERELEASE
>Organization:
>Environment:
FreeBSD clarence.dleigh.ath.cx 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #7: Sun Dec  2 19:10:28 EST 2007   root at clarence.dleigh.ath.cx:/usr/obj/scratch/usr/src/sys/CLARENCE  amd64
>Description:
This patch adds a WITHOUT_GSTREAMER knob to gnome-control-center. Without this gnome-control-center will not build unless gstreamer is installed.
>How-To-Repeat:
Trying to build gnome-control-center when gstreamer is not installed fails with the error "/usr/bin/ld: cannot find -lgstinterfaces-0.10".

>Fix:
--- Makefile.old        2007-11-10 19:13:02.000000000 +1100
+++ Makefile    2007-11-12 11:27:17.000000000 +1100
@@ -24,7 +24,6 @@
 USE_XLIB=      yes
 USE_GMAKE=     yes
 GNOME_DESKTOP_VERSION=2
-USE_GSTREAMER= good
 WANT_GNOME=    yes
 USE_GNOME=     gnomeprefix gnomehack intlhack metacity nautilus2 \
                gnomemenus desktopfileutils libgnomekbd gnomepanel
@@ -32,7 +31,6 @@
 INSTALLS_OMF=  yes
 INSTALLS_ICONS=        yes
 USE_LDCONFIG=  yes
-CONFIGURE_ARGS=        --enable-gstreamer=0.10
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib"

@@ -43,6 +41,13 @@
                desktop_gnome_font_rendering.schemas \
                fontilus.schemas themus.schemas

+.if defined(WITHOUT_GSTREAMER)
+CONFIGURE_ARGS=        --disable-gstreamer
+.else
+CONFIGURE_ARGS=        --enable-gstreamer=0.10
+USE_GSTREAMER= good
+.endif
+
 .if defined(PACKAGE_BUILDING)
 .undef WITHOUT_GNOME
 WITH_GNOME=    yes


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list