From owner-freebsd-ports@FreeBSD.ORG Tue Feb 14 02:14:56 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35BEE1065672 for ; Tue, 14 Feb 2012 02:14:56 +0000 (UTC) (envelope-from rflynn@acsalaska.net) Received: from ingra.acsalaska.net (ingra.acsalaska.net [209.112.173.251]) by mx1.freebsd.org (Postfix) with ESMTP id 019848FC17 for ; Tue, 14 Feb 2012 02:14:55 +0000 (UTC) Received: from mymail.acsalaska.net (polarbear.acsalaska.net [216.67.61.193]) by ingra.acsalaska.net (8.14.4/8.14.4) with ESMTP id q1E2EsCM062916; Mon, 13 Feb 2012 17:14:54 -0900 (AKST) (envelope-from rflynn@acsalaska.net) Received: from 46.129.107.107 (SquirrelMail authenticated user rflynn@acsalaska.net) by mymail.acsalaska.net with HTTP; Mon, 13 Feb 2012 17:14:54 -0900 (AKST) Message-ID: <3469.46.129.107.107.1329185694.squirrel@mymail.acsalaska.net> Date: Mon, 13 Feb 2012 17:14:54 -0900 (AKST) From: rflynn@acsalaska.net To: freebsd-ports@freebsd.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (ingra.acsalaska.net [209.112.168.121]); Mon, 13 Feb 2012 17:14:54 -0900 (AKST) X-ACS-Spam-Status: no X-ACS-Scanned-By: MD 2.67; SA 3.3.0; spamdefang 1.122 Cc: gnome@freebsd.org, mm@freebsd.org Subject: ImageMagick/graphviz and gtk2/ghostscript X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 02:14:56 -0000 Hi, for a web-based application I needed ImageMagick and graphviz. It looks impossible to get out of X11 and glib, but it was a little weird that gtk2 is pulled in. The offender being devel/libgsf: .if !defined(WITHOUT_GCONF) || exists(${LOCALBASE}/bin/gconftool-2) USE_GNOME+= gconf2 Is there a reason this isn't either an OPTION or has inverted logic? Secondly, enabling truetype support in ImageMagick enables gs: # Freetype (TrueType Font) support .if !defined(WITHOUT_IMAGEMAGICK_TTF) LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2 USE_GHOSTSCRIPT= yes I ripped that line out and it builds and installs just fine, but I have no actual tests handy to see if it is working as expected. Also configure shows: FreeType --with-freetype=yes yes GhostPCL None pcl6 (unknown) GhostXPS None gxps (unknown) Ghostscript None gs (unknown) The bad part is that if I would like to run the self tests: . if !defined(_NO_IMAGEMAGICK_TESTS) USE_GHOSTSCRIPT_BUILD=yes . endif Reviewing history of the port, it was added 8 years ago in rev 1.166. Is this dep still needed or are there tests I can do to obtain that answer myself? -- Mel