Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 13:26:21 +0300 (MSK)
From:      Seva Gluschenko <gvs@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48998: Lack of tunables for gimp-devel
Message-ID:  <200303071026.h27AQLwj026448@road.demos.su>

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

>Number:         48998
>Category:       ports
>Synopsis:       Lack of tunables for gimp-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 07 02:30:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Seva Gluschenko
>Release:        FreeBSD 4.8-RC i386
>Organization:
JSC Demos-Internet
>Environment:
System: FreeBSD road.demos.su 4.8-RC FreeBSD 4.8-RC #2: Tue Mar 4 15:43:13 MSK 2003 gvs@road.demos.su:/usr/local/obj/usr/local/src/sys/ROAD i386


	
>Description:
	The GIMP port /usr/ports/graphics/gimp-devel requires gimpprint
	regardless of user's wish to use it. The Makefile change is proposed
	to let the user decide whether he requires printing or not.
>How-To-Repeat:
	cd /usr/ports/graphics/gimp-devel and try make. The build will check
	for existence of gimpprint.2 and try to build it from
	/usr/ports/print/gimp-print if none found. If no such directory found,
	it is skipped, but configure process will fail and suggest to
	reconfigure with --disable-print option.
>Fix:

	cd /usr/ports/graphics/gimp-devel
	patch < /path/to/patch

	The patch follows:


--- Makefile.orig	Thu Mar  6 18:22:33 2003
+++ Makefile	Fri Mar  7 13:00:46 2003
@@ -19,7 +19,6 @@
 COMMENT=	A GNU Image Manipulation Program (unstable development version)
 
 LIB_DEPENDS=	gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
-		gimpprint.2:${PORTSDIR}/print/gimp-print \
 		art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \
 		aa.1:${PORTSDIR}/graphics/aalib \
 		jpeg.9:${PORTSDIR}/graphics/jpeg \
@@ -63,6 +62,12 @@
 PLIST_SUB+=	PYTHON:="@comment "
 .endif
 
+.if defined(WITHOUT_PRINT)
+CONFIGURE_ARGS+=	--disable-print
+.else
+LIB_DEPENDS+=		gimpprint.2:${PORTSDIR}/print/gimp-print
+.endif
+
 .if exists(${X11BASE}/libdata/pkgconfig/libpanelapplet-2.0.pc)
 RUN_DEPENDS+=	gnome-panel:${PORTSDIR}/x11/gnomepanel
 CONFIGURE_ARGS+=	--with-gnome-datadir=${X11BASE}/share/gnome
@@ -79,7 +84,8 @@
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "gimp-devel has the following tunable option(s):"
 	@${ECHO_MSG} ""
-	@${ECHO_MSG} "		WITH_PYTHON=yes	Turns on Python-Fu support"
+	@${ECHO_MSG} "		WITH_PYTHON=yes		Turns on Python-Fu support"
+	@${ECHO_MSG} "		WITHOUT_PRINT=yes	Turns off GIMP printing"
 	@${ECHO_MSG} ""
 
 .include <bsd.port.mk>


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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