On 02/04/2012 03:50 AM, Andreas Müller wrote:
On Sat, Feb 4, 2012 at 1:03 AM, Peter Tworek<[email protected]>  wrote:
Run tested on netbook pro.

Signed-off-by: Peter Tworek<[email protected]>
---
  .../xfce4-power-manager_1.0.10.bb                  |   28 ++++++++++++++++++++
  1 files changed, 28 insertions(+), 0 deletions(-)
  create mode 100644 
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb

diff --git 
a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb 
b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb
new file mode 100644
index 0000000..4641178
--- /dev/null
+++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Power manager for the Xfce desktop environment"
+HOMEPAGE = "http://goodies.xfce.org/projects/applications/xfce4-power-manager";
+SECTION = "x11"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
+
+inherit xfce
+
+DEPENDS = "gtk+ glib-2.0 dbus-glib xfconf libxfce4ui libxfce4util libnotify \
+           libxrandr virtual/libx11 libxext xfce4-panel"
+RDEPENDS_${PN} = "networkmanager udisks upower polkit"
+
+EXTRA_OECONF = " \
+    --enable-polkit \
+    --enable-network-manager \
networkmanager conflicts with conman. I don't if this makes sense to
use conman with xfce (am using networkmanager too). What happens if
this option is not set?

Haven't tested it (yet), but I think it should work fine without networkmanager, event when it's enabled. You'll probably see some warnings in you logs, saying that it can't contact it via dbus, but that should be it. Anyway I'll try to verify my theory...

+    --enable-panel-plugins \
+    "
+
+PACKAGES += "xfce4-brightness-plugin"
+FILES_${PN} += "${datadir}/polkit-1"
+FILES_xfce4-brightness-plugin = " \
+    ${libdir}/xfce4/panel-plugins/xfce4-brightness-plugin \
+    ${datadir}/xfce4/panel-plugins/xfce4-brightness-plugin.desktop \
+    "
+
+SRC_URI[md5sum] = "38cbd272eb30e36ae538d9f38858bd38"
+SRC_URI[sha256sum] = 
"80e4bb44f81c485ec09654dde432d6e28667d49a787625632a4413aac30422f0"
--
1.7.3.4


This was part of my TODO - Thanks. Give it a test next week.
You're welcome.

/ptw

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to