From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 14 10:50:08 2010 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 2EEDA106567A for ; Thu, 14 Oct 2010 10:50:08 +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 49BAB8FC1F for ; Thu, 14 Oct 2010 10:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EAo348008697 for ; Thu, 14 Oct 2010 10:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EAo3oS008696; Thu, 14 Oct 2010 10:50:03 GMT (envelope-from gnats) Resent-Date: Thu, 14 Oct 2010 10:50:03 GMT Resent-Message-Id: <201010141050.o9EAo3oS008696@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Emil Smolenski Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BE421065673 for ; Thu, 14 Oct 2010 10:46:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0A9878FC17 for ; Thu, 14 Oct 2010 10:46:23 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9EAkMjP024430 for ; Thu, 14 Oct 2010 10:46:22 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o9EAkM5p024429; Thu, 14 Oct 2010 10:46:22 GMT (envelope-from nobody) Message-Id: <201010141046.o9EAkM5p024429@www.freebsd.org> Date: Thu, 14 Oct 2010 10:46:22 GMT From: Emil Smolenski To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/151450: [PATCH] math/py-matplotlib : remove dependency on graphics/agg X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 10:50:09 -0000 >Number: 151450 >Category: ports >Synopsis: [PATCH] math/py-matplotlib : remove dependency on graphics/agg >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: Thu Oct 14 10:50:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Emil Smolenski >Release: FreeBSD 8.1-STABLE amd64 >Organization: >Environment: FreeBSD arrow 8.1-STABLE FreeBSD 8.1-STABLE #5: Thu Oct 7 12:08:27 CEST 2010 root@arrow:/usr/obj/usr/src/sys/ARROW amd64 >Description: The math/py-matplotlib port has graphics/agg in its BUILD_DEPENDS list. This software comes with its own embedded agg source code. The graphics/agg has absolutely no influence on the math/py-matplotlib port (whether is installed or not) but brings a lot of unwanted (especially on servers) dependencies (xorg, etc). Please, remove this dependency. >How-To-Repeat: >Fix: See attached patch. Patch attached with submission follows: diff -ruN py-matplotlib.orig/Makefile py-matplotlib/Makefile --- py-matplotlib.orig/Makefile 2010-07-30 22:11:14.000000000 +0200 +++ py-matplotlib/Makefile 2010-10-14 12:21:11.578225453 +0200 @@ -19,8 +19,7 @@ BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=1.4:${PORTSDIR}/devel/py-dateutil \ - ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \ - ${LOCALBASE}/lib/libagg.a:${PORTSDIR}/graphics/agg + ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ png.6:${PORTSDIR}/graphics/png RUN_DEPENDS= ${PYNUMPY} >Release-Note: >Audit-Trail: >Unformatted: