summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-02-20 17:53:53 +0000
committerChristoph Mende <angelos@gentoo.org>2011-02-20 17:53:53 +0000
commit93ddcf64f01ac6324d730c925379db56c4820aad (patch)
treeb303e96dd26d1d851974861cb090aab55c1fd35d /xfce-extra
parentx86 stable wrt bug #355001 (diff)
downloadgentoo-2-93ddcf64f01ac6324d730c925379db56c4820aad.tar.gz
gentoo-2-93ddcf64f01ac6324d730c925379db56c4820aad.tar.bz2
gentoo-2-93ddcf64f01ac6324d730c925379db56c4820aad.zip
Version bump
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-power-manager/ChangeLog8
-rw-r--r--xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.10-libnotify-0.7.patch14
-rw-r--r--xfce-extra/xfce4-power-manager/xfce4-power-manager-1.0.10.ebuild58
3 files changed, 79 insertions, 1 deletions
diff --git a/xfce-extra/xfce4-power-manager/ChangeLog b/xfce-extra/xfce4-power-manager/ChangeLog
index b97cb43840dc..2a8b7fd88ceb 100644
--- a/xfce-extra/xfce4-power-manager/ChangeLog
+++ b/xfce-extra/xfce4-power-manager/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for xfce-extra/xfce4-power-manager
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-power-manager/ChangeLog,v 1.34 2011/01/29 14:35:36 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-power-manager/ChangeLog,v 1.35 2011/02/20 17:53:53 angelos Exp $
+
+*xfce4-power-manager-1.0.10 (20 Feb 2011)
+
+ 20 Feb 2011; <angelos@gentoo.org> +xfce4-power-manager-1.0.10.ebuild,
+ +files/xfce4-power-manager-1.0.10-libnotify-0.7.patch:
+ Version bump
29 Jan 2011; Samuli Suominen <ssuominen@gentoo.org>
xfce4-power-manager-1.0.3.ebuild,
diff --git a/xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.10-libnotify-0.7.patch b/xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.10-libnotify-0.7.patch
new file mode 100644
index 000000000000..60cdf27c5abd
--- /dev/null
+++ b/xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.10-libnotify-0.7.patch
@@ -0,0 +1,14 @@
+diff --git a/src/xfpm-notify.c b/src/xfpm-notify.c
+index c93a843..311b0fd 100644
+--- a/src/xfpm-notify.c
++++ b/src/xfpm-notify.c
+@@ -233,9 +233,6 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
+ #if !NOTIFY_CHECK_VERSION (0, 7, 0)
+ if ( icon )
+ notify_notification_attach_to_status_icon (n, icon);
+-#else
+- if ( icon )
+- notify_notification_attach_to_status_icon (n, icon);
+ #endif
+ #endif
+
diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.0.10.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.0.10.ebuild
new file mode 100644
index 000000000000..b05b098cdf9c
--- /dev/null
+++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.0.10.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.0.10.ebuild,v 1.1 2011/02/20 17:53:53 angelos Exp $
+
+EAPI=3
+inherit flag-o-matic xfconf
+
+DESCRIPTION="Power manager for the Xfce desktop environment"
+HOMEPAGE="http://goodies.xfce.org/projects/applications/xfce4-power-manager"
+SRC_URI="mirror://xfce/src/apps/${PN}/1.0/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug kernel_linux networkmanager policykit +xfce_plugins_brightness"
+
+COMMON_DEPEND=">=x11-libs/gtk+-2.18:2
+ >=dev-libs/glib-2.16:2
+ >=dev-libs/dbus-glib-0.88
+ >=xfce-base/xfconf-4.8
+ >=xfce-base/libxfce4ui-4.8
+ >=xfce-base/libxfce4util-4.8
+ >=x11-libs/libnotify-0.4.1
+ >=x11-libs/libXrandr-1.2
+ x11-libs/libX11
+ x11-libs/libXext
+ sys-power/upower
+ kernel_linux? ( sys-fs/udisks )
+ xfce_plugins_brightness? ( >=xfce-base/xfce4-panel-4.8 )
+ policykit? ( >=sys-auth/polkit-0.91 )"
+RDEPEND="${COMMON_DEPEND}
+ networkmanager? ( net-misc/networkmanager )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig
+ dev-util/intltool
+ sys-devel/gettext
+ x11-proto/xproto"
+
+pkg_setup() {
+ PATCHES=( "${FILESDIR}"/${P}-libnotify-0.7.patch )
+
+ XFCONF=(
+ --disable-dependency-tracking
+ $(use_enable policykit polkit)
+ --enable-dpms
+ $(use_enable networkmanager network-manager)
+ $(use_enable xfce_plugins_brightness panel-plugins)
+ $(xfconf_use_debug)
+ )
+
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
+
+src_install() {
+ xfconf_src_install \
+ docdir=/usr/share/doc/${PF}/html \
+ imagesdir=/usr/share/doc/${PF}/html/images
+}