From owner-freebsd-questions@FreeBSD.ORG Thu May 7 03:31:50 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A564106567A for ; Thu, 7 May 2009 03:31:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id C8E858FC19 for ; Thu, 7 May 2009 03:31:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-7-253.dynamic.qsc.de [92.196.7.253]) by mx01.qsc.de (Postfix) with ESMTP id 2F5AD3D09A; Thu, 7 May 2009 05:31:47 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n473VfLh018757; Thu, 7 May 2009 05:31:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 7 May 2009 05:31:40 +0200 From: Polytropon To: Chris Hill Message-Id: <20090507053140.6bf04539.freebsd@edvax.de> In-Reply-To: <20090506221421.N3109@tripel.monochrome.org> References: <20090506221421.N3109@tripel.monochrome.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions List Subject: Re: Java without CUPS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 03:31:50 -0000 On Wed, 6 May 2009 22:34:52 -0400 (EDT), Chris Hill wrote: > I know that, since my printer speaks Postscript, I don't need CUPS. But > some of the ports I'm installing want to install CUPS as a dependency. > The first one I happened across was java/jdk16, but I'd be surprised if > there weren't more. Just as an information: Gimp (Gutenprint) installs CUPS, allthough I already have apsfilter (HP Laserjet 4000 PCL). When printing, Gimp still tries to "connect to server" (lpstat). > Could it be as simple as > # make -DWITHOUT_CUPS install > ? I see no such possibility in either the config options or the Makefile > for jdk16, and google was no help. I don't think it is possible. The Makefile lists CUPS as a build dependency (UILD_DEPENDS): % grep -n "cups" /usr/ports/java/jdk16Makefile 24: ${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-base But I think it's possible to delete CUPS from the system after JDK is compiled successfully: CUPS isn't listed in RUN_DEPENDS so it doesn't seem to be required for running JDK / Java. > It's not like the disk space costs anything nowadays, but I chafe at > installing unneccesary bloat on my system. If it can't be done I'll > deal, but I'd like to stay CUPS-free if possible. Same here, too. :-) Philosophy behind the idea: I don't want to install software that I don't need / don't run. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...