From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 2 12:50:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0C94106567B for ; Sun, 2 Nov 2008 12:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B82EA8FC17; Sun, 2 Nov 2008 12:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA2Co1Kd074433; Sun, 2 Nov 2008 12:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA2Co18F074431; Sun, 2 Nov 2008 12:50:01 GMT (envelope-from gnats) Resent-Date: Sun, 2 Nov 2008 12:50:01 GMT Resent-Message-Id: <200811021250.mA2Co18F074431@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Cc: daniel@roe.ch Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Roethlisberger Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C6C41065670 for ; Sun, 2 Nov 2008 12:44:17 +0000 (UTC) (envelope-from daniel+roe=marvin@roe.ch) Received: from calvin.ustdmz.roe.ch (calvin.ustdmz.roe.ch [IPv6:2001:41e0:ff17:face::26]) by mx1.freebsd.org (Postfix) with ESMTP id 3FBC08FC08 for ; Sun, 2 Nov 2008 12:44:16 +0000 (UTC) (envelope-from daniel+roe=marvin@roe.ch) Received: from marvin.ustcor.roe.ch ([2001:41e0:ff17:babe:205:4eff:fe4b:d088]) by calvin.ustdmz.roe.ch (envelope-from ) with ESMTPS (TLSv1:AES256-SHA:256) id 1KwcGJ-000Hfl-5A ; Sun, 02 Nov 2008 13:40:59 +0100 Received: from marvin.ustcor.roe.ch (localhost [127.0.0.1]) by marvin.ustcor.roe.ch (8.14.2/8.14.2) with ESMTP id mA2Cj5Lq033789; Sun, 2 Nov 2008 13:45:05 +0100 (CET) (envelope-from roe@marvin.ustcor.roe.ch) Received: (from roe@localhost) by marvin.ustcor.roe.ch (8.14.2/8.14.2/Submit) id mA2Cj4mA033788; Sun, 2 Nov 2008 13:45:04 +0100 (CET) (envelope-from roe) Message-Id: <200811021245.mA2Cj4mA033788@marvin.ustcor.roe.ch> Date: Sun, 2 Nov 2008 13:45:04 +0100 (CET) From: Daniel Roethlisberger To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-GNATS-Notify: daniel@roe.ch Cc: daniel@roe.ch Subject: ports/128537: [patch] databases/rrdtool add missing font runtime dependency X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Roethlisberger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2008 12:50:02 -0000 >Number: 128537 >Category: ports >Synopsis: [patch] databases/rrdtool add missing font runtime dependency >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 02 12:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Daniel Roethlisberger >Release: FreeBSD 7.0-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD marvin.ustcor.roe.ch 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 10:10:12 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: rrdtool depends on x11-fonts/dejavu for the graphing functionality. Previous versions of rrdtool used to ship with their own version of the font. With current versions of rrdtool, a runtime dependency on x11-fonts/dejavu is required for graphing to work. >How-To-Repeat: On a system without x11-fonts/dejavu, install databases/rrdtool and an arbitrary piece of RRD graphing software (e.g. net-mgmt/collectd using WITH_CGI=yes). RRDs::graph will throw error messages indicating that the dejavu font could not be found. The resulting graph images are broken. Then proceed to install x11-fonts/dejavu and retry. RRDs::graph will now work fine and produce graphs as expected. >Fix: --- rrdtool-dejavu.diff begins here --- diff -ruN rrdtool.ori/Makefile rrdtool/Makefile --- rrdtool.ori/Makefile 2008-09-23 02:10:23.000000000 +0200 +++ rrdtool/Makefile 2008-11-02 13:34:01.000000000 +0100 @@ -7,6 +7,7 @@ PORTNAME= rrdtool PORTVERSION= 1.3.3 +PORTREVISION= 1 CATEGORIES= databases graphics MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/ @@ -18,6 +19,7 @@ png.5:${PORTSDIR}/graphics/png \ xml2.5:${PORTSDIR}/textproc/libxml2 \ pangocairo-1\.0.0:${PORTSDIR}/x11-toolkits/pango +RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu CONFLICTS= rrdtool-1.0* --- rrdtool-dejavu.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: