Skip to contentSkip to conversation

xfce4-power-manager: Add initial recipe for version 1.0.10.

PATCH In review Peter Tworek 2 participants 4 messages Feb 4, 2012 – Feb 12, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfce4-power-manager: Add initial recipe for version 1.0.10.

Run tested on netbook pro.

---
 .../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
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +28 -0
new file mode 100644
index 0000000..4641178
@@ -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 \
+    --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"
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 20 lines · Peter Tworek

Run tested on netbook pro.

---
 .../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

meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +6 -0
new file mode 100644
index 0000000..4641178
@@ -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"

meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb line 16

Quoted 10 lines
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +10 -0
+
+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?

Quoted 13 lines
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +12 -1
+    --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"
--
Quoted 3 lines

1.7.3.4

This was part of my TODO - Thanks. Give it a test next week.

Andreas

#2 lore raw
Quoted 26 lines · Andreas Müller
Quoted 25 lines · Peter Tworek

Run tested on netbook pro.

---
  .../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

meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +11 -0
new file mode 100644
index 0000000..4641178
@@ -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"
Quoted 8 lines

meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb line 16

Quoted 5 lines
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +5 -0
+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...

Quoted 9 lines
Quoted 9 lines
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +9 -0
+    --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 \
+    "
Quoted 8 lines
Quoted 7 lines
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +3 -1
+
+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

A message that is not in the archive (sent off-list or not yet received): CALbNGRR+McF-f3fQ61EZ4fpxsLdthDP-DJ2uMLoRFJNRWmyyBA@mail.gmail.com

#4 lore raw
Quoted 48 lines · Andreas Müller
Quoted 47 lines · Peter Tworek
Quoted 44 lines · Andreas Müller
Quoted 33 lines · Peter Tworek

Run tested on netbook pro.

---
 .../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

(quoted diff) +2 -0
@@ -0,0 +1,28 @@
+DESCRIPTION = "Power manager for the Xfce desktop environment"
+HOMEPAGE =

"http://goodies.xfce.org/projects/applications/xfce4-power-manager"

meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +8 -0
+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"

meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb line 16

Quoted 5 lines
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb new file +5 -0
+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?

Quoted 4 lines
Quoted 4 lines

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...

You are right: I cross checked in source - so

Andreas