Bug 173340 - [patch] x11-wm/xfce4: add optional dependency to xfce4-power-manager
Summary: [patch] x11-wm/xfce4: add optional dependency to xfce4-power-manager
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Olivier Duchateau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-03 21:40 UTC by David Demelier
Modified: 2013-05-08 17:27 UTC (History)
0 users

See Also:


Attachments
xfce4.diff (1.21 KB, patch)
2012-11-03 21:40 UTC, David Demelier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Demelier 2012-11-03 21:40:01 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-11-03 21:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-xfce

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Olivier Duchateau freebsd_committer freebsd_triage 2012-11-05 18:05:03 UTC
Responsible Changed
From-To: freebsd-xfce->olivierd

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-05-08 17:13:01 UTC
Author: olivierd
Date: Wed May  8 16:12:54 2013
New Revision: 317697
URL: http://svnweb.freebsd.org/changeset/ports/317697

Log:
  - Bump PORTREVISION after update of x11/xfce4-terminal, misc/xfce4-appfinder
  and x11-wm/xfce4-wm
  - Add new option, XPM (xfce4-power-manager) [1]
  
  PR:		173340 [1]
  Submitted by:	David Demelier

Modified:
  head/x11-wm/xfce4/Makefile

Modified: head/x11-wm/xfce4/Makefile
==============================================================================
--- head/x11-wm/xfce4/Makefile	Wed May  8 16:08:36 2013	(r317696)
+++ head/x11-wm/xfce4/Makefile	Wed May  8 16:12:54 2013	(r317697)
@@ -4,7 +4,7 @@
 
 PORTNAME=	xfce
 PORTVERSION=	4.10
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	x11-wm xfce
 MASTER_SITES=	# empty
 DISTFILES=	# empty
@@ -13,13 +13,14 @@ EXTRACT_ONLY=	# empty
 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_DEFINE=	ICONS ORAGE MOUSEPAD TERMINAL APPFINDER MIXER PRINT SQUEEZE GDM NOTIFY XPM
 OPTIONS_DEFAULT=	ICONS ORAGE MOUSEPAD TERMINAL APPFINDER SQUEEZE NOTIFY
 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
+XPM_DESC=	Install the Xfce power manager
 
 RUN_DEPENDS=	xfwm4:${PORTSDIR}/x11-wm/xfce4-wm \
 		xfce4-session:${PORTSDIR}/x11-wm/xfce4-session \
@@ -80,6 +81,10 @@ RUN_DEPENDS+=   squeeze:${PORTSDIR}/arch
 RUN_DEPENDS+=	xfce4-notifyd-config:${PORTSDIR}/deskutils/xfce4-notifyd
 .endif
 
+.if ${PORT_OPTIONS:MXPM}
+RUN_DEPENDS+=	xfce4-power-manager:${PORTSDIR}/sysutils/xfce4-power-manager
+.endif
+
 do-install:	# empty
 
 post-install:
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Olivier Duchateau freebsd_committer freebsd_triage 2013-05-08 17:27:39 UTC
State Changed
From-To: open->closed

Committed. Thanks!