updates & minor fixes
cover updates & minor fixes
The following changes since commit fcc900a459a5331f51ca41dd5c63644c7ae4a29f:
phpmyadmin: remove dependency on bash (2013-05-14 23:47:37 +0100)
are available in the git repository at:
git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded.git xfce-updates
Andreas Müller (14):
thunar: update to 1.6.3
thunar-plugin.bbclass: initial add
thunar-archive-plugin: initial add 0.3.1
xarchiver: align libexecdir so that thunar-archive-plugin finds tap files
thunar-media-tags-plugin: initial add 0.2.1
packagegroup-xfce-extended: add thunar plugins
xfwm4: update to 4.10.1
xfce4-terminal: update to 0.6.2
xfce4-panel: update to 4.10.1
garcon: update to 0.2.1
garcon: do not display settings in menu which are in settings-manager
libxfce4util: update to 4.10.0
xfce4-session: update to 4.10.1
xfce4-appfinder: update to 4.10.1 meta-xfce/classes/thunar-plugin.bbclass | 10 +
.../recipes-apps/xarchiver/xarchiver_0.5.2.bb | 7 +-
...4-terminal_0.6.1.bb => xfce4-terminal_0.6.2.bb} | 4 +-
.../archive/thunar-archive-plugin_0.3.1.bb | 12 +
.../media-tags/thunar-media-tags-plugin_0.2.1.bb | 11 +
...ations.menu-don-t-bloat-settings-menu-by-.patch | 35 ++
.../garcon/{garcon_0.2.0.bb => garcon_0.2.1.bb} | 6 +-
...bxfce4util_4.10.0.bb => libxfce4util_4.10.1.bb} | 4 +-
.../packagegroups/packagegroup-xfce-extended.bb | 5 +-
.../thunar/{thunar_1.6.2.bb => thunar_1.6.3.bb} | 5 +-
...pfinder_4.10.0.bb => xfce4-appfinder_4.10.1.bb} | 4 +-
...xfce4-panel_4.10.0.bb => xfce4-panel_4.10.1.bb} | 4 +-
...n-reboot-functionality-for-systemd-bug-87.patch | 482 --------------------
...ultiple-interactive-session-save-bug-5379.patch | 152 ------
...1-configure.in-hard-code-path-to-iceauth.patch} | 10 +-
.../0002-Remove-gnome-keyring-remains.patch | 82 ----
...4-session_4.10.0.bb => xfce4-session_4.10.1.bb} | 11 +-
.../xfwm4/{xfwm4_4.10.0.bb => xfwm4_4.10.1.bb} | 4 +-
18 files changed, 103 insertions(+), 745 deletions(-)
create mode 100644 meta-xfce/classes/thunar-plugin.bbclass
rename meta-xfce/recipes-apps/xfce4-terminal/{xfce4-terminal_0.6.1.bb => xfce4-terminal_0.6.2.bb} (68%)
create mode 100644 meta-xfce/recipes-thunar-plugins/archive/thunar-archive-plugin_0.3.1.bb
create mode 100644 meta-xfce/recipes-thunar-plugins/media-tags/thunar-media-tags-plugin_0.2.1.bb
create mode 100644 meta-xfce/recipes-xfce/garcon/files/0001-xfce-applications.menu-don-t-bloat-settings-menu-by-.patch
rename meta-xfce/recipes-xfce/garcon/{garcon_0.2.0.bb => garcon_0.2.1.bb} (53%)
rename meta-xfce/recipes-xfce/libxfce4util/{libxfce4util_4.10.0.bb => libxfce4util_4.10.1.bb} (62%)
rename meta-xfce/recipes-xfce/thunar/{thunar_1.6.2.bb => thunar_1.6.3.bb} (85%)
rename meta-xfce/recipes-xfce/xfce4-appfinder/{xfce4-appfinder_4.10.0.bb => xfce4-appfinder_4.10.1.bb} (62%)
rename meta-xfce/recipes-xfce/xfce4-panel/{xfce4-panel_4.10.0.bb => xfce4-panel_4.10.1.bb} (88%)
delete mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch
delete mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-Handle-multiple-interactive-session-save-bug-5379.patch
rename meta-xfce/recipes-xfce/xfce4-session/xfce4-session/{0003-configure.in-hard-code-path-to-iceauth.patch => 0001-configure.in-hard-code-path-to-iceauth.patch} (87%)
delete mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0002-Remove-gnome-keyring-remains.patch
rename meta-xfce/recipes-xfce/xfce4-session/{xfce4-session_4.10.0.bb => xfce4-session_4.10.1.bb} (71%)
rename meta-xfce/recipes-xfce/xfwm4/{xfwm4_4.10.0.bb => xfwm4_4.10.1.bb} (85%)Signature · 1 line
1.7.6.5
PATCH 1/14 thunar: update to 1.6.3
---
.../thunar/{thunar_1.6.2.bb => thunar_1.6.3.bb} | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
rename meta-xfce/recipes-xfce/thunar/{thunar_1.6.2.bb => thunar_1.6.3.bb} (85%)meta-xfce/recipes-xfce/thunar/thunar_1.6.3.bb renamed from meta-xfce/recipes-xfce/thunar/thunar_1.6.2.bb +2 -3
@@ -3,12 +3,11 @@ SECTION = "x11" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "exo glib-2.0 gtk+ gdk-pixbuf libxfce4util libxfce4ui libsm dbus-glib startup-notification libnotify xfce4-panel" -PR = "r1" inherit xfce -SRC_URI[md5sum] = "a446103ab90855cc8ba484dfeedb82d8" -SRC_URI[sha256sum] = "7dbd172ae396e7a2533f47dc1ff703a9ea1a61af3edfdc6f4877b9b9331abd85" +SRC_URI[md5sum] = "4f10d5d5576ce5127308d6badbac3afa" +SRC_URI[sha256sum] = "9a2706f6881ac29cda9f0b0325d179153bc09e37bcbafcab9823c1c1ec89579d" SRC_URI = "http://archive.xfce.org/src/xfce/${PN}/${@'${PV}'[0:3]}/Thunar-${PV}.tar.bz2" S = "${WORKDIR}/Thunar-${PV}/"
Signature · 1 line
1.7.6.5
PATCH 2/14 thunar-plugin.bbclass: initial add
In reply to Andreas Müller--- meta-xfce/classes/thunar-plugin.bbclass | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 meta-xfce/classes/thunar-plugin.bbclass
meta-xfce/classes/thunar-plugin.bbclass new file +10 -0
@@ -0,0 +1,10 @@ +inherit xfce + +DEPENDS += "thunar" + +SRC_URI = "http://archive.xfce.org/src/thunar-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" + +FILES_${PN} += "${libdir}/thunarx-2/*.so" +FILES_${PN}-dbg += "${libdir}/thunarx-2/.debug" +FILES_${PN}-dev += "${libdir}/thunarx-2/*.la" +
Signature · 1 line
1.7.6.5
PATCH 3/14 thunar-archive-plugin: initial add 0.3.1
In reply to Andreas Müller--- .../archive/thunar-archive-plugin_0.3.1.bb | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 meta-xfce/recipes-thunar-plugins/archive/thunar-archive-plugin_0.3.1.bb
meta-xfce/recipes-thunar-plugins/archive/thunar-archive-plugin_0.3.1.bb new file +12 -0
@@ -0,0 +1,12 @@ +DESCRIPTION = "Thunar Archive Plugin allows you to create and extract archive files using file context menus in Thunar" +HOMEPAGE = "http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475" + +inherit thunar-plugin + +SRC_URI[md5sum] = "425f4faaace6dc7a4716a35b7795463a" +SRC_URI[sha256sum] = "9ad559b0c11308f6897ad56604e5a06dc8f369f649eb20120b2d3018ef5da54c" + +# install tap files in ${libdir}/thunar-archive-plugin +EXTRA_OECONF += "--libexecdir=${libdir}"
Signature · 1 line
1.7.6.5
PATCH 4/14 xarchiver: align libexecdir so that thunar-archive-plugin finds tap files
In reply to Andreas Müllerxarchiver installs tap files for thunar-archive-plugin in $libexexdir/thunar-archive-plugin under the assumption that there is a single/common $libexexdir for all packages. In bitbake.conf oe-core sets libexecdir = "${libdir}/${BPN}" which causes thunar-archive-plugin not to find xarchiver tap-files.
--- .../recipes-apps/xarchiver/xarchiver_0.5.2.bb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.2.bb +6 -1
@@ -1,7 +1,7 @@ DESCRIPTION = "Lightweight, desktop independent GTK+ archive manager" HOMEPAGE = "http://xarchiver.sourceforge.net" SECTION = "x11" -PR = "r2" +PR = "r3" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
@@ -14,4 +14,9 @@ SRC_URI[sha256sum] = "cea932ff9d505969201fd502470bbebbc5726ab3d6765e142fc8295aa6 inherit gettext pkgconfig autotools gtk-icon-cache +# install tap files for thunar-archive-plugin in ${libdir}/thunar-archive-plugin +EXTRA_OECONF += "--libexecdir=${libdir}" + +FILES_${PN} += "${libdir}/thunar-archive-plugin" + RRECOMMENDS_${PN} = "lzop zip tar bzip2 unzip"
Signature · 1 line
1.7.6.5
PATCH 5/14 thunar-media-tags-plugin: initial add 0.2.1
In reply to Andreas Müller--- .../media-tags/thunar-media-tags-plugin_0.2.1.bb | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 meta-xfce/recipes-thunar-plugins/media-tags/thunar-media-tags-plugin_0.2.1.bb
meta-xfce/recipes-thunar-plugins/media-tags/thunar-media-tags-plugin_0.2.1.bb new file +11 -0
@@ -0,0 +1,11 @@ +DESCRIPTION = "Adds ID3/OGG tag support to the Thunar bulk rename dialog" +HOMEPAGE = "http://thunar.xfce.org" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +inherit thunar-plugin + +DEPENDS += "taglib" + +SRC_URI[md5sum] = "0106e900714f86ccbafdc72238d3cf8d" +SRC_URI[sha256sum] = "056d012a10403ee3e2e55b6ff2faecb796821de9ebee000315589b95d95ed253"
Signature · 1 line
1.7.6.5
PATCH 6/14 packagegroup-xfce-extended: add thunar plugins
In reply to Andreas Müller--- .../packagegroups/packagegroup-xfce-extended.bb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb +4 -1
@@ -3,7 +3,7 @@ SECTION = "x11/wm" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r9" +PR = "r10" inherit packagegroup
@@ -43,6 +43,9 @@ RRECOMMENDS_${PN} = " \ xfce4-brightness-plugin \ xfce4-closebutton-plugin \ \ + thunar-media-tags-plugin \ + thunar-archive-plugin \ + \ xfce4-appfinder \ xfce4-screenshooter \ xfce4-power-manager \
Signature · 1 line
1.7.6.5
PATCH 7/14 xfwm4: update to 4.10.1
In reply to Andreas Müller---
.../xfwm4/{xfwm4_4.10.0.bb => xfwm4_4.10.1.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta-xfce/recipes-xfce/xfwm4/{xfwm4_4.10.0.bb => xfwm4_4.10.1.bb} (85%)meta-xfce/recipes-xfce/xfwm4/xfwm4_4.10.1.bb renamed from meta-xfce/recipes-xfce/xfwm4/xfwm4_4.10.0.bb +2 -2
@@ -6,8 +6,8 @@ DEPENDS = "virtual/libx11 libxpm gtk+ libxfce4util libxfce4ui xfconf libwnck dbu inherit xfce update-alternatives -SRC_URI[md5sum] = "333e5e25a85411c304e9b4474bf00537" -SRC_URI[sha256sum] = "492357bf48121ebffabf2bf0d3b84213d19bf81087321175d687c8a68efe1f9c" +SRC_URI[md5sum] = "10de50c79ed944cbb9c87741062c2a76" +SRC_URI[sha256sum] = "380c44fba6eb779e34be0fe94f3726cfa131803014d6073c45aec8a1257fa740" python populate_packages_prepend () { themedir = d.expand('${datadir}/themes')
Signature · 1 line
1.7.6.5
PATCH 8/14 xfce4-terminal: update to 0.6.2
In reply to Andreas Müller---
...4-terminal_0.6.1.bb => xfce4-terminal_0.6.2.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta-xfce/recipes-apps/xfce4-terminal/{xfce4-terminal_0.6.1.bb => xfce4-terminal_0.6.2.bb} (68%)meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.6.2.bb renamed from meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.6.1.bb +2 -2
@@ -8,5 +8,5 @@ inherit xfce-app FILES_${PN} += "${datadir}/xfce4 \ ${datadir}/gnome-control-center" -SRC_URI[md5sum] = "98613ce500fef2ed62cdbe788084acca" -SRC_URI[sha256sum] = "61346427e55af79e86511572bfabb2e025cb13720879226ea1b98a92f0bcd4c8" +SRC_URI[md5sum] = "d5cdb302bd770c9f2d30262c26639006" +SRC_URI[sha256sum] = "3d92422288d26311880af694bb4e02c9235997ca307a5e85001bf6bef65c3b35"
Signature · 1 line
1.7.6.5
PATCH 9/14 xfce4-panel: update to 4.10.1
In reply to Andreas Müller---
...xfce4-panel_4.10.0.bb => xfce4-panel_4.10.1.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta-xfce/recipes-xfce/xfce4-panel/{xfce4-panel_4.10.0.bb => xfce4-panel_4.10.1.bb} (88%)meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.10.1.bb renamed from meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.10.0.bb +2 -2
@@ -6,8 +6,8 @@ DEPENDS = "libxfce4util garcon libxfce4ui xfconf exo gtk+ dbus cairo virtual/lib inherit xfce -SRC_URI[md5sum] = "cf7351a4b952dbe3fc5ff509c68def33" -SRC_URI[sha256sum] = "3321f998af2bbd14ba68654a8881774f6ea2ec4f1a3544598e7f47d3ed0009b9" +SRC_URI[md5sum] = "8a1f8371fc725ba00f4594c5c0f81c59" +SRC_URI[sha256sum] = "573052ed1b65e247415f92df120c8a78f9e4152c2636d38c923f82e32b8475d6" python populate_packages_prepend() { plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/')
Signature · 1 line
1.7.6.5
PATCH 10/14 garcon: update to 0.2.1
In reply to Andreas Müller---
.../garcon/{garcon_0.2.0.bb => garcon_0.2.1.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta-xfce/recipes-xfce/garcon/{garcon_0.2.0.bb => garcon_0.2.1.bb} (65%)meta-xfce/recipes-xfce/garcon/garcon_0.2.1.bb renamed from meta-xfce/recipes-xfce/garcon/garcon_0.2.0.bb +2 -2
@@ -6,7 +6,7 @@ DEPENDS = "glib-2.0 xfce4-dev-tools-native libxfce4util" inherit xfce -SRC_URI[md5sum] = "301e7b8015060dd30407b68dd8c4bdb7" -SRC_URI[sha256sum] = "02dea3edb9c0039eca4748e964c61b0e1cc10f2d7f9ce0c837287ac5fa9ef76c" +SRC_URI[md5sum] = "c3cf89c836be0ddb281c81e4808fb68b" +SRC_URI[sha256sum] = "48b644b8b2ffe597974e2526ca1a5d2d7da6a09c2d434f008dec80e9152701f7" FILES_${PN} += "${datadir}/desktop-directories"
Signature · 1 line
1.7.6.5
PATCH 11/14 garcon: do not display settings in menu which are in settings-manager
In reply to Andreas Müller--- ...ations.menu-don-t-bloat-settings-menu-by-.patch | 35 ++++++++++++++++++++ meta-xfce/recipes-xfce/garcon/garcon_0.2.1.bb | 2 + 2 files changed, 37 insertions(+), 0 deletions(-) create mode 100644 meta-xfce/recipes-xfce/garcon/files/0001-xfce-applications.menu-don-t-bloat-settings-menu-by-.patch
meta-xfce/recipes-xfce/garcon/files/0001-xfce-applications.menu-don-t-bloat-settings-menu-by-.patch new file +35 -0
@@ -0,0 +1,35 @@ +From f5398b49cc6fd7a53562aae2abbac0d9c656559c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Wed, 15 May 2013 14:17:49 +0200 +Subject: [garcon] xfce-applications.menu: don't bloat settings menu by + entries found in settings manager +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Submitted [1] + +[1] https://bugzilla.xfce.org/show_bug.cgi?id=10092 + +Signed-off-by: Andreas Müller <[email protected]> +--- + data/xfce/xfce-applications.menu | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/data/xfce/xfce-applications.menu b/data/xfce/xfce-applications.menu +index dc3056b..c2aa0bb 100644 +--- a/data/xfce/xfce-applications.menu ++++ b/data/xfce/xfce-applications.menu +@@ -34,6 +34,9 @@ + <Include> + <Category>Settings</Category> + </Include> ++ <Exclude> ++ <Category>X-XFCE-SettingsDialog</Category> ++ </Exclude> + + <Layout> + <Filename>xfce-settings-manager.desktop</Filename> +-- +1.7.6.5 +
meta-xfce/recipes-xfce/garcon/garcon_0.2.1.bb +2 -0
@@ -3,9 +3,11 @@ SECTION = "x11/libs" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=04a01abcbdabffae1ca26335a293276b" DEPENDS = "glib-2.0 xfce4-dev-tools-native libxfce4util" +PR = "r1" inherit xfce +SRC_URI += "file://0001-xfce-applications.menu-don-t-bloat-settings-menu-by-.patch" SRC_URI[md5sum] = "c3cf89c836be0ddb281c81e4808fb68b" SRC_URI[sha256sum] = "48b644b8b2ffe597974e2526ca1a5d2d7da6a09c2d434f008dec80e9152701f7"
Signature · 1 line
1.7.6.5
PATCH 12/14 libxfce4util: update to 4.10.0
In reply to Andreas Müller---
...bxfce4util_4.10.0.bb => libxfce4util_4.10.1.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta-xfce/recipes-xfce/libxfce4util/{libxfce4util_4.10.0.bb => libxfce4util_4.10.1.bb} (62%)meta-xfce/recipes-xfce/libxfce4util/libxfce4util_4.10.1.bb renamed from meta-xfce/recipes-xfce/libxfce4util/libxfce4util_4.10.0.bb +2 -2
@@ -6,5 +6,5 @@ DEPENDS = "intltool-native xfce4-dev-tools-native glib-2.0" inherit xfce -SRC_URI[md5sum] = "2e8defcd40cbf6afedde531b27314511" -SRC_URI[sha256sum] = "0979fee12880bb5f011ab38d6c7cc9afe5fd68eb96ccda895cb56dbc16e7608e" +SRC_URI[md5sum] = "11eec87e8eda2bc62512c2416cb807a1" +SRC_URI[sha256sum] = "e82cd1ad715c02a385b3cf6646cb89aa3c4724446dac1d7e424971df12f6cfbb"
Signature · 1 line
1.7.6.5
PATCH 13/14 xfce4-session: update to 4.10.1
In reply to Andreas Müller---
...n-reboot-functionality-for-systemd-bug-87.patch | 482 --------------------
...ultiple-interactive-session-save-bug-5379.patch | 152 ------
...1-configure.in-hard-code-path-to-iceauth.patch} | 10 +-
.../0002-Remove-gnome-keyring-remains.patch | 82 ----
...4-session_4.10.0.bb => xfce4-session_4.10.1.bb} | 11 +-
5 files changed, 9 insertions(+), 728 deletions(-)
delete mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch
delete mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-Handle-multiple-interactive-session-save-bug-5379.patch
rename meta-xfce/recipes-xfce/xfce4-session/xfce4-session/{0003-configure.in-hard-code-path-to-iceauth.patch => 0001-configure.in-hard-code-path-to-iceauth.patch} (87%)
delete mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0002-Remove-gnome-keyring-remains.patch
rename meta-xfce/recipes-xfce/xfce4-session/{xfce4-session_4.10.0.bb => xfce4-session_4.10.1.bb} (71%)meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch deleted +0 -482
@@ -1,482 +0,0 @@ -From ae28aef315a7a6b90f1649ce6d1f30b842791cbf Mon Sep 17 00:00:00 2001 -From: Nick Schermer <[email protected]> -Date: Sun, 4 Nov 2012 21:23:36 +0100 -Subject: [PATCH] Add shutdown/reboot functionality for systemd (bug #8729). - -Based on patch by Christian Hesse and Evangelos Foutras. - -Upstream-Status: backport ---- - configure.in | 4 + - xfce4-session/Makefile.am | 14 ++- - xfce4-session/xfsm-shutdown.c | 35 ++++++- - xfce4-session/xfsm-systemd.c | 229 +++++++++++++++++++++++++++++++++++++++++ - xfce4-session/xfsm-systemd.h | 55 ++++++++++ - 5 files changed, 333 insertions(+), 4 deletions(-) - create mode 100644 xfce4-session/xfsm-systemd.c - create mode 100644 xfce4-session/xfsm-systemd.h - -diff --git a/configure.in b/configure.in -index 9aa4f8f..134d0f7 100644 ---- a/configure.in -+++ b/configure.in -@@ -96,6 +96,10 @@ XDT_CHECK_PACKAGE([DBUS], [dbus-1], [1.1.0]) - XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.84]) - XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.9.0]) - -+dnl Check for polkit / systemd integration -+XDT_CHECK_OPTIONAL_PACKAGE([SYSTEMD], [polkit-gobject-1], [0.100], -+ [systemd], [Systemd support (through polit)]) -+ - dnl Check for debugging support - XDT_FEATURE_DEBUG([xfsm_debug_default]) - -diff --git a/xfce4-session/Makefile.am b/xfce4-session/Makefile.am -index c015154..f748b2b 100644 ---- a/xfce4-session/Makefile.am -+++ b/xfce4-session/Makefile.am -@@ -38,8 +38,6 @@ xfce4_session_SOURCES = \ - xfsm-compat-gnome.h \ - xfsm-compat-kde.c \ - xfsm-compat-kde.h \ -- xfsm-consolekit.c \ -- xfsm-consolekit.h \ - xfsm-dns.c \ - xfsm-dns.h \ - xfsm-error.c \ -@@ -65,6 +63,16 @@ xfce4_session_SOURCES = \ - xfsm-upower.c \ - xfsm-upower.h - -+if HAVE_SYSTEMD -+xfce4_session_SOURCES += \ -+ xfsm-systemd.c \ -+ xfsm-systemd.h -+else -+xfce4_session_SOURCES += \ -+ xfsm-consolekit.c \ -+ xfsm-consolekit.h -+endif -+ - xfce4_session_CFLAGS = \ - $(LIBSM_CFLAGS) \ - $(LIBX11_CFLAGS) \ -@@ -72,6 +80,7 @@ xfce4_session_CFLAGS = \ - $(DBUS_CFLAGS) \ - $(DBUS_GLIB_CFLAGS) \ - $(LIBWNCK_CFLAGS) \ -+ $(SYSTEMD_CFLAGS) \ - $(XFCONF_CFLAGS) \ - $(GMODULE_CFLAGS) \ - $(PLATFORM_CFLAGS) -@@ -91,6 +100,7 @@ xfce4_session_LDADD = \ - $(DBUS_LIBS) \ - $(DBUS_GLIB_LIBS) \ - $(LIBWNCK_LIBS) \ -+ $(SYSTEMD_LIBS) \ - $(XFCONF_LIBS) \ - -lm - -diff --git a/xfce4-session/xfsm-shutdown.c b/xfce4-session/xfsm-shutdown.c -index d8757a8..4c483a7 100644 ---- a/xfce4-session/xfsm-shutdown.c -+++ b/xfce4-session/xfsm-shutdown.c -@@ -66,10 +66,13 @@ - #include <xfce4-session/xfsm-fadeout.h> - #include <xfce4-session/xfsm-global.h> - #include <xfce4-session/xfsm-legacy.h> --#include <xfce4-session/xfsm-consolekit.h> - #include <xfce4-session/xfsm-upower.h> - -- -+#ifdef HAVE_SYSTEMD -+#include <xfce4-session/xfsm-systemd.h> -+#else -+#include <xfce4-session/xfsm-consolekit.h> -+#endif - - static void xfsm_shutdown_finalize (GObject *object); - static void xfsm_shutdown_sudo_free (XfsmShutdown *shutdown); -@@ -93,7 +96,11 @@ struct _XfsmShutdown - { - GObject __parent__; - -+#ifdef HAVE_SYSTEMD -+ XfsmSystemd *systemd; -+#else - XfsmConsolekit *consolekit; -+#endif - XfsmUPower *upower; - - /* kiosk settings */ -@@ -131,7 +138,11 @@ xfsm_shutdown_init (XfsmShutdown *shutdown) - { - XfceKiosk *kiosk; - -+#ifdef HAVE_SYSTEMD -+ shutdown->systemd = xfsm_systemd_get (); -+#else - shutdown->consolekit = xfsm_consolekit_get (); -+#endif - shutdown->upower = xfsm_upower_get (); - shutdown->helper_state = SUDO_NOT_INITIAZED; - shutdown->helper_require_password = FALSE; -@@ -150,7 +161,11 @@ xfsm_shutdown_finalize (GObject *object) - { - XfsmShutdown *shutdown = XFSM_SHUTDOWN (object); - -+#ifdef HAVE_SYSTEMD -+ g_object_unref (G_OBJECT (shutdown->systemd)); -+#else - g_object_unref (G_OBJECT (shutdown->consolekit)); -+#endif - g_object_unref (G_OBJECT (shutdown->upower)); - - /* close down helper */ -@@ -641,7 +656,11 @@ xfsm_shutdown_try_restart (XfsmShutdown *shutdown, - if (shutdown->helper_state == SUDO_AVAILABLE) - return xfsm_shutdown_sudo_try_action (shutdown, XFSM_SHUTDOWN_RESTART, error); - else -+#ifdef HAVE_SYSTEMD -+ return xfsm_systemd_try_restart (shutdown->systemd, error); -+#else - return xfsm_consolekit_try_restart (shutdown->consolekit, error); -+#endif - } - - -@@ -658,7 +677,11 @@ xfsm_shutdown_try_shutdown (XfsmShutdown *shutdown, - if (shutdown->helper_state == SUDO_AVAILABLE) - return xfsm_shutdown_sudo_try_action (shutdown, XFSM_SHUTDOWN_SHUTDOWN, error); - else -+#ifdef HAVE_SYSTEMD -+ return xfsm_systemd_try_shutdown (shutdown->systemd, error); -+#else - return xfsm_consolekit_try_shutdown (shutdown->consolekit, error); -+#endif - } - - -@@ -698,7 +721,11 @@ xfsm_shutdown_can_restart (XfsmShutdown *shutdown, - return TRUE; - } - -+#ifdef HAVE_SYSTEMD -+ if (xfsm_systemd_can_restart (shutdown->systemd, can_restart, error)) -+#else - if (xfsm_consolekit_can_restart (shutdown->consolekit, can_restart, error)) -+#endif - return TRUE; - - if (xfsm_shutdown_sudo_init (shutdown, error)) -@@ -725,7 +752,11 @@ xfsm_shutdown_can_shutdown (XfsmShutdown *shutdown, - return TRUE; - } - -+#ifdef HAVE_SYSTEMD -+ if (xfsm_systemd_can_shutdown (shutdown->systemd, can_shutdown, error)) -+#else - if (xfsm_consolekit_can_shutdown (shutdown->consolekit, can_shutdown, error)) -+#endif - return TRUE; - - if (xfsm_shutdown_sudo_init (shutdown, error)) -diff --git a/xfce4-session/xfsm-systemd.c b/xfce4-session/xfsm-systemd.c -new file mode 100644 -index 0000000..7bdd39d ---- /dev/null -+++ b/xfce4-session/xfsm-systemd.c -@@ -0,0 +1,229 @@ -+/*- -+ * Copyright (C) 2012 Christian Hesse -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License as published by -+ * the Free Software Foundation; either version 2, or (at your option) -+ * any later version. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program; if not, write to the Free Software -+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -+ * MA 02110-1301 USA. -+ */ -+ -+#include <config.h> -+ -+#include <gio/gio.h> -+#include <polkit/polkit.h> -+#include <dbus/dbus-glib.h> -+#include <dbus/dbus-glib-lowlevel.h> -+ -+#include <xfce4-session/xfsm-systemd.h> -+ -+ -+ -+#define SYSTEMD_DBUS_NAME "org.freedesktop.login1" -+#define SYSTEMD_DBUS_PATH "/org/freedesktop/login1" -+#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.login1.Manager" -+#define SYSTEMD_REBOOT_ACTION "Reboot" -+#define SYSTEMD_POWEROFF_ACTION "PowerOff" -+#define SYSTEMD_REBOOT_TEST "org.freedesktop.login1.reboot" -+#define SYSTEMD_POWEROFF_TEST "org.freedesktop.login1.power-off" -+ -+ -+ -+static void xfsm_systemd_finalize (GObject *object); -+ -+ -+ -+struct _XfsmSystemdClass -+{ -+ GObjectClass __parent__; -+}; -+ -+struct _XfsmSystemd -+{ -+ GObject __parent__; -+ -+ PolkitAuthority *authority; -+ PolkitSubject *subject; -+}; -+ -+ -+ -+G_DEFINE_TYPE (XfsmSystemd, xfsm_systemd, G_TYPE_OBJECT) -+ -+ -+ -+static void -+xfsm_systemd_class_init (XfsmSystemdClass *klass) -+{ -+ GObjectClass *gobject_class; -+ -+ gobject_class = G_OBJECT_CLASS (klass); -+ gobject_class->finalize = xfsm_systemd_finalize; -+} -+ -+ -+ -+static void -+xfsm_systemd_init (XfsmSystemd *systemd) -+{ -+ systemd->authority = polkit_authority_get_sync (NULL, NULL); -+ systemd->subject = polkit_unix_process_new (getpid()); -+} -+ -+ -+ -+static void -+xfsm_systemd_finalize (GObject *object) -+{ -+ XfsmSystemd *systemd = XFSM_SYSTEMD (object); -+ -+ g_object_unref (G_OBJECT (systemd->authority)); -+ g_object_unref (G_OBJECT (systemd->subject)); -+ -+ (*G_OBJECT_CLASS (xfsm_systemd_parent_class)->finalize) (object); -+} -+ -+ -+static gboolean -+xfsm_systemd_can_method (XfsmSystemd *systemd, -+ gboolean *can_method, -+ const gchar *method, -+ GError **error) -+{ -+ PolkitAuthorizationResult *res; -+ GError *local_error = NULL; -+ -+ *can_method = FALSE; -+ -+ res = polkit_authority_check_authorization_sync (systemd->authority, -+ systemd->subject, -+ method, -+ NULL, -+ POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE, -+ NULL, -+ &local_error); -+ -+ if (res == NULL) -+ { -+ g_propagate_error (error, local_error); -+ return FALSE; -+ } -+ -+ *can_method = polkit_authorization_result_get_is_authorized (res) -+ || polkit_authorization_result_get_is_challenge (res); -+ -+ g_object_unref (G_OBJECT (res)); -+ -+ return TRUE; -+} -+ -+ -+ -+static gboolean -+xfsm_systemd_try_method (XfsmSystemd *systemd, -+ const gchar *method, -+ GError **error) -+{ -+ GDBusConnection *bus; -+ GError *local_error = NULL; -+ -+ bus = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, error); -+ if (G_UNLIKELY (bus == NULL)) -+ return FALSE; -+ -+ g_dbus_connection_call_sync (bus, -+ SYSTEMD_DBUS_NAME, -+ SYSTEMD_DBUS_PATH, -+ SYSTEMD_DBUS_INTERFACE, -+ method, -+ g_variant_new ("(b)", TRUE), -+ NULL, 0, G_MAXINT, NULL, -+ &local_error); -+ -+ g_object_unref (G_OBJECT (bus)); -+ -+ if (local_error != NULL) -+ { -+ g_propagate_error (error, local_error); -+ return FALSE; -+ } -+ -+ return TRUE; -+} -+ -+ -+ -+XfsmSystemd * -+xfsm_systemd_get (void) -+{ -+ static XfsmSystemd *object = NULL; -+ -+ if (G_LIKELY (object != NULL)) -+ { -+ g_object_ref (G_OBJECT (object)); -+ } -+ else -+ { -+ object = g_object_new (XFSM_TYPE_SYSTEMD, NULL); -+ g_object_add_weak_pointer (G_OBJECT (object), (gpointer) &object); -+ } -+ -+ return object; -+} -+ -+ -+ -+gboolean -+xfsm_systemd_try_restart (XfsmSystemd *systemd, -+ GError **error) -+{ -+ return xfsm_systemd_try_method (systemd, -+ SYSTEMD_REBOOT_ACTION, -+ error); -+} -+ -+ -+ -+gboolean -+xfsm_systemd_try_shutdown (XfsmSystemd *systemd, -+ GError **error) -+{ -+ return xfsm_systemd_try_method (systemd, -+ SYSTEMD_POWEROFF_ACTION, -+ error); -+} -+ -+ -+ -+gboolean -+xfsm_systemd_can_restart (XfsmSystemd *systemd, -+ gboolean *can_restart, -+ GError **error) -+{ -+ return xfsm_systemd_can_method (systemd, -+ can_restart, -+ SYSTEMD_REBOOT_TEST, -+ error); -+} -+ -+ -+ -+gboolean -+xfsm_systemd_can_shutdown (XfsmSystemd *systemd, -+ gboolean *can_shutdown, -+ GError **error) -+{ -+ return xfsm_systemd_can_method (systemd, -+ can_shutdown, -+ SYSTEMD_POWEROFF_TEST, -+ error); -+} -diff --git a/xfce4-session/xfsm-systemd.h b/xfce4-session/xfsm-systemd.h -new file mode 100644 -index 0000000..8223622 ---- /dev/null -+++ b/xfce4-session/xfsm-systemd.h -@@ -0,0 +1,55 @@ -+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- -+ * -+ * Copyright (C) 2012 Christian Hesse -+ * -+ * Licensed under the GNU General Public License Version 2 -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License as published by -+ * the Free Software Foundation; either version 2 of the License, or -+ * (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program; if not, write to the Free Software -+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -+ */ -+ -+#ifndef __XFSM_SYSTEMD_H__ -+#define __XFSM_SYSTEMD_H__ -+ -+typedef struct _XfsmSystemdClass XfsmSystemdClass; -+typedef struct _XfsmSystemd XfsmSystemd; -+ -+#define XFSM_TYPE_SYSTEMD (xfsm_systemd_get_type ()) -+#define XFSM_SYSTEMD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFSM_TYPE_SYSTEMD, XfsmSystemd)) -+#define XFSM_SYSTEMD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XFSM_TYPE_SYSTEMD, XfsmSystemdClass)) -+#define XFSM_IS_SYSTEMD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFSM_TYPE_SYSTEMD)) -+#define XFSM_IS_SYSTEMD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFSM_TYPE_SYSTEMD)) -+#define XFSM_SYSTEMD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFSM_TYPE_SYSTEMD, XfsmSystemdClass)) -+ -+GType xfsm_systemd_get_type (void) G_GNUC_CONST; -+ -+XfsmSystemd *xfsm_systemd_get (void); -+ -+gboolean xfsm_systemd_try_restart (XfsmSystemd *systemd, -+ GError **error); -+ -+gboolean xfsm_systemd_try_shutdown (XfsmSystemd *systemd, -+ GError **error); -+ -+gboolean xfsm_systemd_can_restart (XfsmSystemd *systemd, -+ gboolean *can_restart, -+ GError **error); -+ -+gboolean xfsm_systemd_can_shutdown (XfsmSystemd *systemd, -+ gboolean *can_shutdown, -+ GError **error); -+ -+G_END_DECLS -+ -+#endif /* __XFSM_SYSTEMD_H__ */ --- -1.7.4.4 -
meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-Handle-multiple-interactive-session-save-bug-5379.patch deleted +0 -152
152 lines not on this page · raw message
meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-configure.in-hard-code-path-to-iceauth.patch renamed from meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0003-configure.in-hard-code-path-to-iceauth.patch +5 -5
@@ -1,7 +1,7 @@ From a629b051f4e5462150c77b95574bbc7a33bc9666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> Date: Mon, 31 Dec 2012 16:35:29 +0100 -Subject: [PATCH] configure.in: hard code path to iceauth +Subject: [PATCH] configure.ac: hard code path to iceauth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
@@ -13,13 +13,13 @@ Upstream-Status: Inappropriate [config] Signed-off-by: Andreas Müller <[email protected]> --- - configure.in | 8 +------- + configure.ac | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) -diff --git a/configure.in b/configure.in +diff --git a/configure.ac b/configure.ac index 3cf3510..505e744 100644 ---- a/configure.in -+++ b/configure.in +--- a/configure.ac ++++ b/configure.ac @@ -111,13 +111,7 @@ XDT_FEATURE_DEBUG([xfsm_debug_default]) dnl Check for linker optimizations XDT_FEATURE_LINKER_OPTS()
meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0002-Remove-gnome-keyring-remains.patch deleted +0 -82
82 lines not on this page · raw message
meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb renamed from meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb +4 -7
@@ -4,16 +4,13 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88" DEPENDS = "virtual/libx11 libsm libxfce4util libxfce4ui gtk+ libwnck dbus dbus-glib xfconf" RDEPENDS_${PN} = "netbase xinit dbus-x11 iceauth upower" -PR = "r7" inherit xfce update-alternatives -SRC_URI[md5sum] = "4768e1a41a0287af6aad18b329a0f230" -SRC_URI[sha256sum] = "bb8aa9a74c3d382840596fb4875144d66c7f3f47c8e9ee81d31e3428a72c46ce" -SRC_URI += "file://0001-Handle-multiple-interactive-session-save-bug-5379.patch \ - file://0002-Remove-gnome-keyring-remains.patch \ - file://0003-configure.in-hard-code-path-to-iceauth.patch \ - file://0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch \ +SRC_URI[md5sum] = "1757657c1d590aa6274b7b7cbba33352" +SRC_URI[sha256sum] = "0154fabdc398798c3445374ccc52a2f5bcb2d867fc94bc54114395b24f9cfc83" +SRC_URI += " \ + file://0001-configure.in-hard-code-path-to-iceauth.patch \ " ALTERNATIVE_${PN} = "x-session-manager"
Signature · 1 line
1.7.6.5
PATCH 14/14 xfce4-appfinder: update to 4.10.1
In reply to Andreas Müller---
...pfinder_4.10.0.bb => xfce4-appfinder_4.10.1.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta-xfce/recipes-xfce/xfce4-appfinder/{xfce4-appfinder_4.10.0.bb => xfce4-appfinder_4.10.1.bb} (62%)meta-xfce/recipes-xfce/xfce4-appfinder/xfce4-appfinder_4.10.1.bb renamed from meta-xfce/recipes-xfce/xfce4-appfinder/xfce4-appfinder_4.10.0.bb +2 -2
@@ -6,5 +6,5 @@ DEPENDS="glib-2.0 gtk+ libxfce4util libxfce4ui garcon dbus-glib xfconf" inherit xfce -SRC_URI[md5sum] = "799f70a9ad67b450da67810a5107e623" -SRC_URI[sha256sum] = "042aae7e366428a6a92b6353b3f2727d64823076a7752b8e0a15f1f8f3645439" +SRC_URI[md5sum] = "bea253956638e2df2dd950343b3b1b7b" +SRC_URI[sha256sum] = "65ee74ffa76334d273e4c9ae501ec7f81f7de028813849f7d1441cbf7788eb77"
Signature · 1 line
1.7.6.5