Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 17:27:10 -0700 (PDT)
From:      Alexander Botero-Lowry <alex@foxybanana.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/96123: [PATCH] devel/glade2: Add a WITHOUT_GNOME knob
Message-ID:  <200604210027.k3L0RAYR052741@Laptop.mine.box>
Resent-Message-ID: <200604210030.k3L0UDBO006695@freefall.freebsd.org>

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

>Number:         96123
>Category:       ports
>Synopsis:       [PATCH] devel/glade2: Add a WITHOUT_GNOME knob
>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 Apr 21 00:30:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Botero-Lowry
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD Laptop.mine.box 6.0-STABLE FreeBSD 6.0-STABLE #1: Tue Feb  7 19:06:16 PST
>Description:
- glade does not require gnome support, it is just an option, so I made a
  (non-default) knob to disable GNOME support. 

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- glade2-2.12.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/glade2/Makefile /usr/local/tinderbox/portstrees/FreeBSD/ports/devel/glade2/Makefile
--- /usr/ports/devel/glade2/Makefile	Thu Apr 20 16:58:07 2006
+++ /usr/local/tinderbox/portstrees/FreeBSD/ports/devel/glade2/Makefile	Thu Apr 20 17:24:14 2006
@@ -18,21 +18,29 @@
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	A user interface builder for GTK+/GNOME
 
-RUN_DEPENDS=	${X11BASE}/lib/gtk-2.0/modules/libgail-gnome.so:${PORTSDIR}/x11-toolkits/libgail-gnome
-
 USE_BZIP2=	yes
 USE_GETTEXT=	yes
 USE_X_PREFIX=	yes
 INSTALLS_OMF=	yes
 GNU_CONFIGURE=	yes
-USE_GNOME=	gnomeprefix intlhack gnomehack libgnomeui
+USE_GNOME=	gnomeprefix intlhack gnomehack
 USE_GMAKE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 
-#OPTIONS=	GNOMEDB "Enable libgnomedb support" off
+OPTIONS=	GNOME "Enable gnome support" on #\
+#		GNOMEDB "Enable libgnomedb support" off
 
 .include <bsd.port.pre.mk>
+.if defined(WITHOUT_GNOME)
+CONFIGURE_ARGS+=	--disable-gnome
+BUILD_DEPENDS=	scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+RUN_DEPENDS=	scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+USE_GNOME+=	gtk20
+.else
+USE_GNOME+=	libgnomeui
+RUN_DEPENDS=	${X11BASE}/lib/gtk-2.0/modules/libgail-gnome.so:${PORTSDIR}/x11-toolkits/libgail-gnome
+.endif
 
 #.if defined(WITH_GNOMEDB)
 #USE_GNOME+=		libgnomedb
--- glade2-2.12.1_1.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?200604210027.k3L0RAYR052741>