From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 28 11:40:21 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 119DA16A400 for ; Fri, 28 Apr 2006 11:40:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65A0743D5A for ; Fri, 28 Apr 2006 11:40:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3SBeInT043172 for ; Fri, 28 Apr 2006 11:40:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3SBeIck043171; Fri, 28 Apr 2006 11:40:18 GMT (envelope-from gnats) Resent-Date: Fri, 28 Apr 2006 11:40:18 GMT Resent-Message-Id: <200604281140.k3SBeIck043171@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, Michele Possamai Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9251B16A403 for ; Fri, 28 Apr 2006 11:36:16 +0000 (UTC) (envelope-from tnt@zaadje.nl) Received: from zaadje.nl (zaadje.nl [213.84.64.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id D27D843D46 for ; Fri, 28 Apr 2006 11:36:15 +0000 (GMT) (envelope-from tnt@zaadje.nl) Received: from zaadje.nl (tnt@localhost [127.0.0.1]) by zaadje.nl (8.13.6/8.13.6) with ESMTP id k3SBa63O006450; Fri, 28 Apr 2006 13:36:06 +0200 (CEST) (envelope-from tnt@zaadje.nl) Received: (from tnt@localhost) by zaadje.nl (8.13.6/8.13.6/Submit) id k3SBa68Y006449; Fri, 28 Apr 2006 13:36:06 +0200 (CEST) (envelope-from tnt) Message-Id: <200604281136.k3SBa68Y006449@zaadje.nl> Date: Fri, 28 Apr 2006 13:36:06 +0200 (CEST) From: Michele Possamai To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: possamai@xs4all.nl Subject: ports/96460: Made tkinter dependency optional.(patch included) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michele Possamai List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 11:40:21 -0000 >Number: 96460 >Category: ports >Synopsis: Made tkinter dependency optional.(patch included) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Apr 28 11:40:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Michele Possamai >Release: FreeBSD 5.5-PRERELEASE i386 >Organization: >Environment: System: FreeBSD zaadje.nl 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #0: Wed Apr 19 16:46:55 CEST 2006 root@zaadje.nl:/usr/obj/usr/src/sys/SCORPIO i386 >Description: At this moment the py-imaging port installs py-tkinter as a dependency. This is not a necessary dependency, it only is if you want to use it in X. For people that don't want to have X installed tkinter is completely useless and unnecessary and because of that I'd like to see it being optional. A Makefile patch is provided in unified diff format. >How-To-Repeat: >Fix: --- py-imaging.patch begins here --- diff -ruN py-imaging.old/Makefile py-imaging/Makefile --- py-imaging.old/Makefile Thu Jun 16 23:50:23 2005 +++ py-imaging/Makefile Fri Apr 28 13:13:49 2006 @@ -10,16 +10,14 @@ CATEGORIES= graphics python MASTER_SITES= http://effbot.org/downloads/ \ http://www.pythonware.net/storage/ -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMEPREFIX= py- DISTNAME= Imaging-${PORTVERSION} MAINTAINER= mainland@apeiron.net COMMENT= The Python Imaging Library -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ freetype.9:${PORTSDIR}/print/freetype2 -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter DIST_SUBDIR= python USE_PYTHON= yes @@ -28,7 +26,14 @@ DOCDIRS= ${PREFIX}/share/doc/py-imaging EXAMPLESDIR= ${PREFIX}/share/examples/py-imaging +OPTIONS= TKINTER "Build with tkinter for X support" off + .include + +.if !defined(WITHOUT_TKINTER) + BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter + RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter +.endif post-install: .for file in ImPlatform.h Imaging.h --- py-imaging.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: