From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 3 21:40:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 810935A0 for ; Sat, 3 Nov 2012 21:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 560248FC19 for ; Sat, 3 Nov 2012 21:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA3Le1Tq011827 for ; Sat, 3 Nov 2012 21:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA3Le1du011826; Sat, 3 Nov 2012 21:40:01 GMT (envelope-from gnats) Resent-Date: Sat, 3 Nov 2012 21:40:01 GMT Resent-Message-Id: <201211032140.qA3Le1du011826@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, David Demelier Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65B9959A for ; Sat, 3 Nov 2012 21:39:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4CF308FC0C for ; Sat, 3 Nov 2012 21:39:49 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qA3LdnbB005275 for ; Sat, 3 Nov 2012 21:39:49 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qA3LdnRC005274; Sat, 3 Nov 2012 21:39:49 GMT (envelope-from nobody) Message-Id: <201211032139.qA3LdnRC005274@red.freebsd.org> Date: Sat, 3 Nov 2012 21:39:49 GMT From: David Demelier To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173340: [patch] x11-wm/xfce4: add optional dependency to xfce4-power-manager X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 21:40:01 -0000 >Number: 173340 >Category: ports >Synopsis: [patch] x11-wm/xfce4: add optional dependency to xfce4-power-manager >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: Sat Nov 03 21:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: David Demelier >Release: 9.1-RC2 >Organization: >Environment: FreeBSD Melon.malikania.fr 9.1-RC2 FreeBSD 9.1-RC2 #2: Thu Oct 25 14:59:30 CEST 2012 root@Melon.malikania.fr:/usr/obj/usr/src/sys/Melon amd64 >Description: Xfce4 installed on a laptop may use xfce4-power-manager to display and manage some ACPI stuff such as batteries, CPU ... This patch just add a new option that make x11-wm/xfce4 depend on sysutils/xfce4-power-manager thus user won't need to install by hand the port and will not remove the leaf package. >How-To-Repeat: >Fix: --- xfce4.diff begins here --- --- Makefile.orig 2012-11-03 22:27:02.000000000 +0100 +++ Makefile 2012-11-03 22:28:38.000000000 +0100 @@ -15,13 +15,14 @@ MAINTAINER= xfce@FreeBSD.org COMMENT= The "meta-port" for the Xfce 4 desktop environment -OPTIONS_DEFINE= ICONS ORAGE MOUSEPAD TERMINAL APPFINDER MIXER PRINT SQUEEZE GDM NOTIFY -OPTIONS_DEFAULT= ICONS ORAGE MOUSEPAD TERMINAL APPFINDER SQUEEZE NOTIFY +OPTIONS_DEFINE= ICONS ORAGE MOUSEPAD TERMINAL APPFINDER MIXER PRINT SQUEEZE GDM NOTIFY POWERMANAGER +OPTIONS_DEFAULT= ICONS ORAGE MOUSEPAD TERMINAL APPFINDER SQUEEZE NOTIFY POWERMANAGER ORAGE_DESC= Install the Xfce calendar application MOUSEPAD_DESC= Install the Xfce text editor TERMINAL_DESC= Install the Xfce terminal application APPFINDER_DESC= Install the Xfce application finder SQUEEZE_DESC= Install the Xfce archiver application +POWERMANAGER_DESC= Install the Xfce power manager RUN_DEPENDS= xfwm4:${PORTSDIR}/x11-wm/xfce4-wm \ xfce4-session:${PORTSDIR}/x11-wm/xfce4-session \ @@ -82,6 +83,10 @@ RUN_DEPENDS+= xfce4-notifyd-config:${PORTSDIR}/deskutils/xfce4-notifyd .endif +.if ${PORT_OPTIONS:MPOWERMANAGER} +RUN_DEPENDS+= xfce4-power-manager:${PORTSDIR}/sysutils/xfce4-power-manager +.endif + do-install: # empty post-install: --- xfce4.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: