[meta-xfce] xfce4-power-manager: Add initial recipe for version 1.0.10.

Submitted by Peter Tworek on Feb. 4, 2012, 12:03 a.m.

Details

Message ID 1328313811-12627-1-git-send-email-tworaz666@gmail.com
State Accepted
Commit 7954f041fff53d34afe6212cc5f1363f47836731
Headers show

Commit Message

Peter Tworek Feb. 4, 2012, 12:03 a.m.
Run tested on netbook pro.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
---
 .../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

Patch hide | download patch | download mbox

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 \
+    --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"

Comments

Andreas Müller Feb. 4, 2012, 2:50 a.m.
On Sat, Feb 4, 2012 at 1:03 AM, Peter Tworek <tworaz666@gmail.com> wrote:
> Run tested on netbook pro.
>
> Signed-off-by: Peter Tworek <tworaz666@gmail.com>
> ---
>  .../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?
> +    --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.

Andreas
Peter Tworek Feb. 4, 2012, 10 a.m.
On 02/04/2012 03:50 AM, Andreas Müller wrote:
> On Sat, Feb 4, 2012 at 1:03 AM, Peter Tworek<tworaz666@gmail.com>  wrote:
>> Run tested on netbook pro.
>>
>> Signed-off-by: Peter Tworek<tworaz666@gmail.com>
>> ---
>>   .../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
Andreas Müller Feb. 12, 2012, 10:53 p.m.
On Sun, Feb 12, 2012 at 10:26 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Sat, Feb 4, 2012 at 11:00 AM, Peter Tworek <tworaz666@gmail.com> wrote:
>> On 02/04/2012 03:50 AM, Andreas Müller wrote:
>>>
>>> On Sat, Feb 4, 2012 at 1:03 AM, Peter Tworek<tworaz666@gmail.com>  wrote:
>>>>
>>>> Run tested on netbook pro.
>>>>
>>>> Signed-off-by: Peter Tworek<tworaz666@gmail.com>
>>>> ---
>>>>  .../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...
You are right: I cross checked in source - so

Acked-by: Andreas Müller<schnitzeltony@googlemail.com>

Andreas