Skip to contentSkip to conversation

meta-xfce updates

PATCH In review Andreas Müller 2 participants 18 messages Dec 23, 2012 – Dec 26, 2012

lore
Share & tools
lore
#0 lore raw

cover meta-xfce updates

The following changes since commit a623fd942f6561a425278cf9f114d212d06e5982:

samba: disable avahi and build without acl (2012-12-21 16:45:28 +0100)

are available in the git repository at:
git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded.git patches

Andreas Müller (12):
icon-slicer: initial add 0.3
xcursorgen: initial add 1.0.5
openzone: Initial add 1.2.3
xfce4-settings: add garcon to DEPENDS
xfce4-settings: add a 'Touchscreen pointer' option in mouse settings
xfce4-settings: Remember the settings manager window size
xfce4-settings: update to 4.11.0
xfce4-session: remove gnome-keyring dependency
xfce4-session: Add shutdown/reboot functionality for systemd
lxdm: disable keyboard selection
samba: add new package libwbclient to avoid libsmbclient dragging in samba
gvfs: reenable gvfs-smb

 .../gvfs/gvfs-gdu-volume-monitor_1.8.2.bb          |    3 +-
 meta-gnome/recipes-gnome/gvfs/gvfs.inc             |    5 +-
 meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb        |    2 +-
 meta-oe/recipes-connectivity/samba/samba-basic.inc |    3 +-
 .../files/0001-Makefile.am-no-examples.patch       |   27 +
 .../icon-slicer/icon-slicer_0.3.bb                 |   13 +
 meta-oe/recipes-graphics/lxdm/lxdm_git.bb          |    3 +-
 .../xcursorgen/xcursorgen_1.0.5.bb                 |   12 +
 ...n-reboot-functionality-for-systemd-bug-87.patch |  482 ++++++++
 .../xfce4-session/xfce4-session_4.10.0.bbappend    |    8 +
 .../recipes-art/cursor-themes/openzone_1.2.3.bb    |   29 +
 .../files/0002-Remove-gnome-keyring-remains.patch  |   82 ++
 .../xfce4-session/xfce4-session_4.10.0.bb          |    6 +-
 ...the-settings-manager-window-size-bug-9384.patch |  155 +++
 .../0001-add-cursor-theme-xfce-invisible.patch     |  248 ++++
 ...ngs-dialog-add-touchscreen-pointer-option.patch | 1233 ++++++++++++++++++++
 ...sHelper-gets-a-pointer-to-XfceXSettingsHe.patch |  137 +++
 ...gsHelper-gets-a-property-touchscreen-poin.patch |  249 ++++
 ...tect-a-change-of-pointer-device-used-and-.patch |  582 +++++++++
 .../xfce4-settings/touchscreen/invisible           |  Bin 0 -> 4160 bytes
 .../xfce4-settings/xfce4-settings/touchscreen/wait |  Bin 0 -> 126096 bytes
 .../xfce4-settings/xfce4-settings_4.10.0.bb        |   16 -
 .../xfce4-settings/xfce4-settings_4.11.0.bb        |   31 +
 23 files changed, 3300 insertions(+), 26 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/icon-slicer/files/0001-Makefile.am-no-examples.patch
 create mode 100644 meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb
 create mode 100644 meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.5.bb
 create mode 100644 meta-systemd/meta-xfce/recipes-xfce/xfce4-session/files/0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch
 create mode 100644 meta-systemd/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bbappend
 create mode 100644 meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb
 create mode 100644 meta-xfce/recipes-xfce/xfce4-session/files/0002-Remove-gnome-keyring-remains.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/0003-Remember-the-settings-manager-window-size-bug-9384.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0001-add-cursor-theme-xfce-invisible.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0002-mouse-settings-dialog-add-touchscreen-pointer-option.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0003-XfcePointersHelper-gets-a-pointer-to-XfceXSettingsHe.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0004-XfceXSettingsHelper-gets-a-property-touchscreen-poin.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0005-pointers-detect-a-change-of-pointer-device-used-and-.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/invisible
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/wait
 delete mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.10.0.bb
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.11.0.bb
#1 lore raw

PATCH 1/12 icon-slicer: initial add 0.3

---
 .../files/0001-Makefile.am-no-examples.patch       |   27 ++++++++++++++++++++
 .../icon-slicer/icon-slicer_0.3.bb                 |   13 +++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/icon-slicer/files/0001-Makefile.am-no-examples.patch
 create mode 100644 meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb
meta-oe/recipes-devtools/icon-slicer/files/0001-Makefile.am-no-examples.patch new file +27 -0
new file mode 100644
index 0000000..5d83818
@@ -0,0 +1,27 @@
+From e6d53086524a94d27920614e38966020e0b2b3ef Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Mon, 5 Nov 2012 11:25:02 +0100
+Subject: [PATCH] Makefile.am: no examples
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Andreas Müller <[email protected]>
+
+---
+ Makefile.am |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 28ee7eb..af437a6 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1 +1 @@
+-SUBDIRS = src examples
+\ No newline at end of file
++SUBDIRS = src
+-- 
+1.7.6.5
+
meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb new file +13 -0
new file mode 100644
index 0000000..b9a2909
@@ -0,0 +1,13 @@
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+DEPENDS = "gtk+ popt"
+
+SRC_URI = "http://freedesktop.org/software/${BPN}/releases/${BPN}-${PV}.tar.gz \
+           file://0001-Makefile.am-no-examples.patch"
+SRC_URI[md5sum] = "5c5374d4f265b0abe4daef1d03f87104"
+SRC_URI[sha256sum] = "05f0216dd0c25a17859de66357f64da5033375b6fbf5f31ca54867311160b64d"
+
+inherit autotools
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.4.4
#2 lore raw

PATCH 2/12 xcursorgen: initial add 1.0.5

In reply to Andreas Müller
---
 .../xcursorgen/xcursorgen_1.0.5.bb                 |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.5.bb
meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.5.bb new file +12 -0
new file mode 100644
index 0000000..e5ece21
@@ -0,0 +1,12 @@
+LICENSE = "ManishSingh"
+LIC_FILES_CHKSUM = "file://COPYING;md5=bd1fb9ee90eead85f7b171807b3ab4f2"
+
+DEPENDS = "libpng libxcursor"
+
+SRC_URI = "http://xorg.freedesktop.org/archive/individual/app/${BPN}-${PV}.tar.bz2"
+SRC_URI[md5sum] = "09f56978a62854534deacc8aa8ff3031"
+SRC_URI[sha256sum] = "bc7171a0fa212da866fca2301241630e2009aea8c4ddb75f21b51a31c2e4c581"
+
+inherit autotools
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.4.4
#3 lore raw

PATCH 3/12 openzone: Initial add 1.2.3

In reply to Andreas Müller
---
 .../recipes-art/cursor-themes/openzone_1.2.3.bb    |   29 ++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb
meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb new file +29 -0
new file mode 100644
index 0000000..2e19d89
@@ -0,0 +1,29 @@
+DESCRIPTION = "X11 Mouse Theme"
+HOMEPAGE = "http://xfce-look.org/content/show.php/OpenZone?content=111343"
+SECTION = "x11/wm"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a2f562fb8fb1e138b810d69521c4bcd7"
+DEPENDS = "icon-slicer-native xcursorgen-native"
+
+inherit allarch
+
+SRC_URI = "http://xfce-look.org/CONTENT/content-files/111343-OpenZone-${PV}.tar.xz"
+SRC_URI[md5sum] = "4dae968cbd525072664ef7a4fc7c4154"
+SRC_URI[sha256sum] = "dc20f97a49e1ff1becf7853ef5f137ed30a4c27490540e755021d78d339efd92"
+
+S = "${WORKDIR}/OpenZone"
+
+do_install() {
+	install -d ${D}${datadir}/icons
+	for theme in `find -name '*.tar.xz'`; do
+		tar -Jxf ${theme} -C ${D}${datadir}/icons
+	done
+}
+
+python populate_packages_prepend () {
+    icondir = bb.data.expand('${datadir}/icons', d)
+    do_split_packages(d, icondir, '^(.*)', '%s', 'Open Zone cursors %s', allow_dirs=True)
+}
+
+PACKAGES_DYNAMIC += "^openzone-.*"
+ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
1.7.4.4
#4 lore raw

PATCH 4/12 xfce4-settings: add garcon to DEPENDS

In reply to Andreas Müller

error message was:
checking for garcon-1 >= 0.1.10... not found
*** The required package garcon-1 was not found on your system. *** Please install garcon-1 (atleast version 0.1.10) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
Configure failed. The contents of all config.log files follows to aid debugging

---
 .../xfce4-settings/xfce4-settings_4.10.0.bb        |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.10.0.bb +2 -1
index fb9083d..7075e2a 100644
@@ -2,7 +2,8 @@ DESCRIPTION = "Xfce4 settings"
 SECTION = "x11/wm"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-DEPENDS = "exo gtk+ libxfce4util libxfce4ui xfconf dbus-glib libxi virtual/libx11 xrandr libnotify libxcursor libxklavier"
+DEPENDS = "exo garcon gtk+ libxfce4util libxfce4ui xfconf dbus-glib libxi virtual/libx11 xrandr libnotify libxcursor libxklavier"
+PR = "r1"
 
 inherit xfce
 
Signature · 1 line
1.7.4.4
#5 lore raw

PATCH 5/12 xfce4-settings: add a 'Touchscreen pointer' option in mouse settings

In reply to Andreas Müller

'Touchscreen pointer' can be set per pointer device. If the pointer device gets active (Press/Move/Plugin) and this option is set:

* Mouse cursor is hidden during normal operation
* When waiting for startup-notification a wait cursor is displayed
* The gtk2 setting TouchscreenMode is set to e.g disable prelighting buttons on mouse over

The changes are in use for a while now on my devices help using XFCE on touchsreen devices.

The git-version of this patch series was sent to
https://bugzilla.xfce.org/show_bug.cgi?id=9474 but no response was received yet. In the patch series attached here the binary cursor files 'invisible' and 'wait' were taken out of patch 0001.. because the files were not created by do_patch.

---
 .../0001-add-cursor-theme-xfce-invisible.patch     |  248 ++++
 ...ngs-dialog-add-touchscreen-pointer-option.patch | 1236 ++++++++++++++++++++
 ...sHelper-gets-a-pointer-to-XfceXSettingsHe.patch |  137 +++
 ...gsHelper-gets-a-property-touchscreen-poin.patch |  251 ++++
 ...tect-a-change-of-pointer-device-used-and-.patch |  582 +++++++++
 .../xfce4-settings/touchscreen/invisible           |  Bin 0 -> 4160 bytes
 .../xfce4-settings/xfce4-settings/touchscreen/wait |  Bin 0 -> 126096 bytes
 .../xfce4-settings/xfce4-settings_4.10.0.bb        |   18 +-
 8 files changed, 2470 insertions(+), 2 deletions(-)
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0001-add-cursor-theme-xfce-invisible.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0002-mouse-settings-dialog-add-touchscreen-pointer-option.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0003-XfcePointersHelper-gets-a-pointer-to-XfceXSettingsHe.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0004-XfceXSettingsHelper-gets-a-property-touchscreen-poin.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0005-pointers-detect-a-change-of-pointer-device-used-and-.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/invisible
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/wait
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0001-add-cursor-theme-xfce-invisible.patch new file +248 -0
new file mode 100644
index 0000000..9272081
@@ -0,0 +1,248 @@
+From 4be18d7c8f2ac72b402dcbe8385922638fcd0a89 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Tue, 30 Oct 2012 13:14:11 +0100
+Subject: [PATCH 1/5] add cursor-theme "xfce-invisible"
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Andreas Müller <[email protected]>
+Upstream-Status: Submitted [1]
+[1] https://bugzilla.xfce.org/show_bug.cgi?id=9474
+---
+ Makefile.am         |    1 +
+ configure.ac        |    2 +
+ cursors/Makefile.am |  178 +++++++++++++++++++++++++++++++++++++++++++++++++++
+ cursors/index.theme |    3 +
+ 6 files changed, 184 insertions(+), 0 deletions(-)
+ create mode 100644 cursors/Makefile.am
+ create mode 100644 cursors/index.theme
+
+diff --git a/Makefile.am b/Makefile.am
+index 3060bac..3f0dd1d 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,6 +1,7 @@
+ # $Id$
+ 
+ SUBDIRS = \
++	cursors \
+ 	dialogs \
+ 	xfce4-settings-manager \
+ 	xfce4-settings-editor \
+diff --git a/configure.ac b/configure.ac
+index 0e7907d..1378049 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -157,6 +157,7 @@ dnl *** Optional support for Xcursor ***
+ dnl ************************************
+ XDT_CHECK_OPTIONAL_PACKAGE([XCURSOR], [xcursor], [1.1.0],
+                            [xcursor], [Cursor themes support])
++AC_SUBST(cursordir, "\${datadir}/icons/xfce-invisible/cursors")
+ 
+ dnl ****************************************
+ dnl *** Optional support for Libxklavier ***
+@@ -232,6 +233,7 @@ AC_SUBST([PLATFORM_LDFLAGS])
+ AC_OUTPUT([
+ Makefile
+ po/Makefile.in
++cursors/Makefile
+ dialogs/Makefile
+ dialogs/appearance-settings/Makefile
+ dialogs/accessibility-settings/Makefile
+diff --git a/cursors/Makefile.am b/cursors/Makefile.am
+new file mode 100644
+index 0000000..c9e5a9f
+--- /dev/null
++++ b/cursors/Makefile.am
+@@ -0,0 +1,178 @@
++CURSOR_NAMES_INVISIBLE = \
++	00008160000006810000408080010102 \
++	028006030e0e7ebffc7f7070c0600140 \
++	2870a09082c103050810ffdffffe0204 \
++	03b6e0fcb3499374a867c041f52298f0 \
++	0876e1c15ff2fc01f906f1c363074c0f \
++	08ffe1cb5fe6fc01f906f1c063814ccf \
++	08ffe1e65f80fcfdf9fff11263e74c48 \
++	1001208387f90000800003000700f6ff \
++	1081e37283d90000800003c07f3ef6bf \
++	14fef782d02440884392942c11205230 \
++	208530c400c041818281048008011002 \
++	3085a0e285430894940527032f8b26df \
++	4498f0e0c1937ffe01fd06f973665830 \
++	5aca4d189052212118709018842178c0 \
++	5c6cd98b3f3ebcb1f9c7f1c204630408 \
++	6407b0e94181790501fd1e167b474872 \
++	640fb0e74195791501fd1ed57b41487f \
++	9081237383d90e509aa00f00170e968f \
++	9d800788f1b08800ae810202380a0822 \
++	a2a266d0498c3104214a47bd64ab0fc8 \
++	b66166c04f8c3109214a4fbd64a50fc8 \
++	c7088f0f3e6c8088236ef8e1e3e70000 \
++	d9ce0ab605698f320427677b458ad60b \
++	e29285e634086352946a0e7090d73106 \
++	f41c0e382c94c0958e07017e42b00462 \
++	f41c0e382c97c0938e07017e42800402 \
++	fcf1c3c7cd4491d801f1e1c78f100000 \
++	fcf21c00b30f7e3f83fe0dfd12e71cff \
++	alias \
++	all-scroll \
++	arrow \
++	base_arrow_down \
++	base_arrow_up \
++	based_arrow_down \
++	based_arrow_up \
++	bd_double_arrow \
++	boat \
++	bottom_left_corner \
++	bottom_right_corner \
++	bottom_side \
++	bottom_tee \
++	cell \
++	center_ptr \
++	circle \
++	closedhand \
++	color-picker \
++	col-resize \
++	copy \
++	cross \
++	cross_reverse \
++	crossed_circle \
++	crosshair \
++	default \
++	diamond_cross \
++	dnd-ask \
++	dnd-copy \
++	dnd-link \
++	dnd-move \
++	dnd-no-drop \
++	dnd-none \
++	dot \
++	dot_box_mask \
++	dotbox \
++	double_arrow \
++	down_arrow \
++	draft_large  \
++	draft_small  \
++	draped_box   \
++	e-resize \
++	ew-resize \
++	exchange     \
++	fd_double_arrow \
++	fleur \
++	forbidden \
++	grab \
++	grabbing \
++	gumby \
++	h_double_arrow \
++	hand \
++	hand1 \
++	hand2 \
++	help \
++	ibeam \
++	icon \
++	left_arrow \
++	left_ptr \
++	left_side \
++	left_tee  \
++	link \
++	ll_angle  \
++	lr_angle  \
++	move      \
++	ne-resize \
++	nesw-resize \
++	no-drop \
++	not-allowed \
++	n-resize \
++	ns-resize \
++	nw-resize \
++	nwse-resize \
++	openhand \
++	pencil    \
++	pirate    \
++	plus      \
++	pointer \
++	pointing_hand \
++	question_arrow \
++	right_arrow \
++	right_ptr      \
++	right_side     \
++	right_tee      \
++	row-resize \
++	sailboat       \
++	sb_down_arrow \
++	sb_h_double_arrow \
++	sb_left_arrow \
++	sb_right_arrow \
++	sb_up_arrow \
++	sb_v_double_arrow \
++	se-resize \
++	size_all \
++	size_bdiag \
++	size_fdiag \
++	size_hor \
++	size_ver \
++	sizing \
++	shuttle \
++	split_h \
++	split_v \
++	s-resize \
++	sw-resize \
++	target  \
++	tcross  \
++	text \
++	top_left_arrow  \
++	top_left_corner \
++	top_right_corner \
++	top_side \
++	top_tee \
++	trek \
++	ul_angle \
++	up_arrow \
++	ur_angle \
++	vertical-text \
++	v_double_arrow \
++	whats_this \
++	w-resize \
++	X_cursor \
++	xterm \
++	zoom-in \
++	zoom-out
++
++CURSOR_NAMES = \
++	3ecb610c1bf2410f44200f48c40d3599 \
++	08e8e1c95fe2fc01f976f1e063a24ccd \
++	00000000000000020006000e7e9ffc3f \
++	half-busy \
++	left_ptr_watch \
++	progress \
++	watch
++
++
++EXTRA_DIST = invisible wait index.theme
++
++install-data-local:
++	$(mkinstalldirs) $(DESTDIR)@cursordir@;
++	$(INSTALL_DATA) index.theme $(DESTDIR)/@cursordir@/..
++	$(INSTALL_DATA) invisible wait $(DESTDIR)@cursordir@/
++	for CURSOR in $(CURSOR_NAMES_INVISIBLE); do \
++		echo '-- Installing invisible cursor '$$CURSOR; \
++		ln -s invisible $(DESTDIR)@cursordir@/$$CURSOR; \
++	done
++	for CURSOR in $(CURSOR_NAMES); do \
++		echo '-- Installing visible cursor '$$CURSOR; \
++		ln -s wait $(DESTDIR)@cursordir@/$$CURSOR; \
++	done
++
+diff --git a/cursors/index.theme b/cursors/index.theme
+new file mode 100644
+index 0000000..0c48458
+--- /dev/null
++++ b/cursors/index.theme
+@@ -0,0 +1,3 @@
++[Icon Theme]
++Name=xfce-invisible
++Example=invisible
+-- 
+1.7.6.5
+
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0002-mouse-settings-dialog-add-touchscreen-pointer-option.patch new file +1236 -0

1,236 lines not on this page · raw message

meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0003-XfcePointersHelper-gets-a-pointer-to-XfceXSettingsHe.patch new file +137 -0

137 lines not on this page · raw message

meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0004-XfceXSettingsHelper-gets-a-property-touchscreen-poin.patch new file +251 -0

251 lines not on this page · raw message

meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0005-pointers-detect-a-change-of-pointer-device-used-and-.patch new file +582 -0

582 lines not on this page · raw message

meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/invisible new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..ef4d9aadb6dfdd7fd2eec07e4d57babd900e6ad9
GIT binary patch
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/wait new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..8b9ac7e20af7855968bc96c1b64cf8eb14539545
GIT binary patch
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.10.0.bb +16 -2
index 7075e2a..9b6205b 100644
@@ -3,15 +3,29 @@ SECTION = "x11/wm"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 DEPENDS = "exo garcon gtk+ libxfce4util libxfce4ui xfconf dbus-glib libxi virtual/libx11 xrandr libnotify libxcursor libxklavier"
-PR = "r1"
+PR = "r2"
 
 inherit xfce
 
 SRC_URI += "file://0001-xsettings.xml-remove-trouble-causing-comment.patch \
-            file://0002-xsettings.xml-Set-default-themes.patch"
+            file://0002-xsettings.xml-Set-default-themes.patch \
+            file://touchscreen/invisible \
+            file://touchscreen/wait \
+            file://touchscreen/0001-add-cursor-theme-xfce-invisible.patch \
+            file://touchscreen/0002-mouse-settings-dialog-add-touchscreen-pointer-option.patch \
+            file://touchscreen/0003-XfcePointersHelper-gets-a-pointer-to-XfceXSettingsHe.patch \
+            file://touchscreen/0004-XfceXSettingsHelper-gets-a-property-touchscreen-poin.patch \
+            file://touchscreen/0005-pointers-detect-a-change-of-pointer-device-used-and-.patch \
+"
 SRC_URI[md5sum] = "cc4dd9179ead9046c056431f01a12000"
 SRC_URI[sha256sum] = "0843f09ba9673f1d1b5df8dce4a17b63c183a9ba3be75fb6ef99a67fc8c1f77e"
 
 FILES_${PN} += "${libdir}/xfce4"
 
+do_install_prepend() {
+	# somehow binary files are not patched correctly by oe-patch - so copy them
+	cp ${WORKDIR}/touchscreen/invisible ${S}/cursors
+	cp ${WORKDIR}/touchscreen/wait ${S}/cursors
+}
+
 RRECOMMENDS_${PN} += "gnome-icon-theme"
Signature · 1 line
1.7.4.4
#6 lore raw

PATCH 6/12 xfce4-settings: Remember the settings manager window size

In reply to Andreas Müller
---
 ...the-settings-manager-window-size-bug-9384.patch |  155 ++++++++++++++++++++
 .../xfce4-settings/xfce4-settings_4.10.0.bb        |    3 +-
 2 files changed, 157 insertions(+), 1 deletions(-)
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/0003-Remember-the-settings-manager-window-size-bug-9384.patch
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/0003-Remember-the-settings-manager-window-size-bug-9384.patch new file +155 -0
new file mode 100644
index 0000000..8c1d1d9
@@ -0,0 +1,155 @@
+From b3b1986327b9b42ac6f9442443ff103f6565a323 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Guelfucci?= <[email protected]>
+Date: Wed, 19 Dec 2012 09:53:58 +0100
+Subject: [PATCH] Remember the settings manager window size (bug #9384).
+
+Handy with pluggable dialogs, allows the user to get rid of most of the
+scrollbars.
+
+Upstream-Status: applied
+---
+ xfce4-settings-manager/Makefile.am                 |    2 +
+ xfce4-settings-manager/main.c                      |   13 +++++++
+ .../xfce-settings-manager-dialog.c                 |   38 +++++++++++++++-----
+ 3 files changed, 44 insertions(+), 9 deletions(-)
+
+diff --git a/xfce4-settings-manager/Makefile.am b/xfce4-settings-manager/Makefile.am
+index c6bdc2d..99f9b3f 100644
+--- a/xfce4-settings-manager/Makefile.am
++++ b/xfce4-settings-manager/Makefile.am
+@@ -20,6 +20,7 @@ xfce4_settings_manager_CFLAGS = \
+ 	$(LIBXFCE4UTIL_CFLAGS) \
+ 	$(LIBXFCE4UI_CFLAGS) \
+ 	$(GARCON_CFLAGS) \
++	$(XFCONF_CFLAGS) \
+ 	$(EXO_CFLAGS) \
+ 	$(PLATFORM_CFLAGS)
+ 
+@@ -31,6 +32,7 @@ xfce4_settings_manager_LDADD = \
+ 	$(GTK_LIBS) \
+ 	$(LIBXFCE4UTIL_LIBS) \
+ 	$(LIBXFCE4UI_LIBS) \
++	$(XFCONF_LIBS) \
+ 	$(EXO_LIBS) \
+ 	$(GARCON_LIBS)
+ 
+diff --git a/xfce4-settings-manager/main.c b/xfce4-settings-manager/main.c
+index 3a65879..42bec66 100644
+--- a/xfce4-settings-manager/main.c
++++ b/xfce4-settings-manager/main.c
+@@ -28,6 +28,7 @@
+ #include <gtk/gtk.h>
+ #include <libxfce4util/libxfce4util.h>
+ #include <garcon/garcon.h>
++#include <xfconf/xfconf.h>
+ 
+ #include "xfce-settings-manager-dialog.h"
+ 
+@@ -79,6 +80,16 @@ main(int argc,
+         return EXIT_SUCCESS;
+     }
+ 
++    /* initialize xfconf */
++    if (G_UNLIKELY (!xfconf_init (&error)))
++    {
++        /* print error and leave */
++        g_critical ("Failed to connect to Xfconf daemon: %s", error->message);
++        g_error_free (error);
++
++        return EXIT_FAILURE;
++    }
++
+     garcon_set_environment ("XFCE");
+ 
+     dialog = xfce_settings_manager_dialog_new ();
+@@ -95,5 +106,7 @@ main(int argc,
+ 
+     gtk_main();
+ 
++    xfconf_shutdown ();
++
+     return EXIT_SUCCESS;
+ }
+diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c
+index 043b143..39e33ff 100644
+--- a/xfce4-settings-manager/xfce-settings-manager-dialog.c
++++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c
+@@ -35,6 +35,7 @@
+ 
+ #include <libxfce4util/libxfce4util.h>
+ #include <libxfce4ui/libxfce4ui.h>
++#include <xfconf/xfconf.h>
+ #include <garcon/garcon.h>
+ #include <exo/exo.h>
+ 
+@@ -55,6 +56,7 @@ struct _XfceSettingsManagerDialog
+ {
+     XfceTitledDialog __parent__;
+ 
++    XfconfChannel  *channel;
+     GarconMenu     *menu;
+ 
+     GtkListStore   *store;
+@@ -156,17 +158,19 @@ xfce_settings_manager_dialog_class_init (XfceSettingsManagerDialogClass *klass)
+ static void
+ xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog)
+ {
+-    GtkWidget *scroll;
++    GtkWidget *align;
++    GtkWidget *bbox;
+     GtkWidget *dialog_vbox;
+-    GtkWidget *viewport;
+-    gchar     *path;
+-    GtkWidget *hbox;
++    GtkWidget *ebox;
+     GtkWidget *entry;
+-    GtkWidget *align;
+-    GList     *children;
++    GtkWidget *hbox;
+     GtkWidget *header;
+-    GtkWidget *ebox;
+-    GtkWidget *bbox;
++    GtkWidget *scroll;
++    GtkWidget *viewport;
++    GList     *children;
++    gchar     *path;
++
++    dialog->channel = xfconf_channel_get ("xfce4-settings-manager");
+ 
+     dialog->store = gtk_list_store_new (N_COLUMNS,
+                                         G_TYPE_STRING,
+@@ -180,7 +184,9 @@ xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog)
+     dialog->menu = garcon_menu_new_for_path (path != NULL ? path : MENUFILE);
+     g_free (path);
+ 
+-    gtk_window_set_default_size (GTK_WINDOW (dialog), 640, 500);
++    gtk_window_set_default_size (GTK_WINDOW (dialog),
++      xfconf_channel_get_int (dialog->channel, "/last/window-width", 640),
++      xfconf_channel_get_int (dialog->channel, "/last/window-height", 500));
+     xfce_settings_manager_dialog_set_title (dialog, NULL, NULL, NULL);
+ 
+     dialog->button_back = xfce_gtk_button_new_mixed (GTK_STOCK_GO_BACK, _("All _Settings"));
+@@ -334,6 +340,20 @@ xfce_settings_manager_dialog_response (GtkDialog *widget,
+     }
+     else
+     {
++        GdkWindowState state;
++        gint           width, height;
++
++        /* Don't save the state for full-screen windows */
++        state = gdk_window_get_state (GTK_WIDGET (widget)->window);
++
++        if ((state & (GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN)) == 0)
++        {
++            /* Save window size */
++            gtk_window_get_size (GTK_WINDOW (widget), &width, &height);
++            xfconf_channel_set_int (dialog->channel, "/last/window-width", width),
++            xfconf_channel_set_int (dialog->channel, "/last/window-height", height);
++        }
++
+         gtk_widget_destroy (GTK_WIDGET (widget));
+         gtk_main_quit ();
+     }
+-- 
+1.7.4.4
+
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.10.0.bb +2 -1
index 9b6205b..aa878ae 100644
@@ -3,12 +3,13 @@ SECTION = "x11/wm"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 DEPENDS = "exo garcon gtk+ libxfce4util libxfce4ui xfconf dbus-glib libxi virtual/libx11 xrandr libnotify libxcursor libxklavier"
-PR = "r2"
+PR = "r3"
 
 inherit xfce
 
 SRC_URI += "file://0001-xsettings.xml-remove-trouble-causing-comment.patch \
             file://0002-xsettings.xml-Set-default-themes.patch \
+            file://0003-Remember-the-settings-manager-window-size-bug-9384.patch \
             file://touchscreen/invisible \
             file://touchscreen/wait \
             file://touchscreen/0001-add-cursor-theme-xfce-invisible.patch \
Signature · 1 line
1.7.4.4
#7 lore raw

PATCH 7/12 xfce4-settings: update to 4.11.0

In reply to Andreas Müller

this is a development release:
* tests did not show errors
* the new option to store default keyboard layout makes it worth to update

---
 ...ngs-dialog-add-touchscreen-pointer-option.patch |  117 ++++++++++----------
 ...gsHelper-gets-a-property-touchscreen-poin.patch |    8 +-
 ...settings_4.10.0.bb => xfce4-settings_4.11.0.bb} |    5 +-
 3 files changed, 62 insertions(+), 68 deletions(-)
 rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.10.0.bb => xfce4-settings_4.11.0.bb} (89%)
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0002-mouse-settings-dialog-add-touchscreen-pointer-option.patch +57 -60
index 4151c3d..d5a1f2c 100644
@@ -149,10 +149,10 @@ index d3aab0d..573c551 100644
                                  </child>
                                </object>
 diff --git a/dialogs/mouse-settings/mouse-dialog_ui.h b/dialogs/mouse-settings/mouse-dialog_ui.h
-index 9e0c267..8a68c3b 100644
+index 59806a2..8a68c3b 100644
 --- a/dialogs/mouse-settings/mouse-dialog_ui.h
 +++ b/dialogs/mouse-settings/mouse-dialog_ui.h
-@@ -31,545 +31,555 @@ static const char mouse_dialog_ui[] =
+@@ -31,540 +31,555 @@ static const char mouse_dialog_ui[] =
    "</property></object><object class=\"GtkImage\" id=\"image5\"><property "
    "name=\"visible\">True</property><property name=\"can_focus\">False</pro"
    "perty><property name=\"stock\">gtk-revert-to-saved</property></object><"
@@ -479,51 +479,21 @@ index 9e0c267..8a68c3b 100644
 -  "operty name=\"spacing\">6</property><child><object class=\"GtkHBox\" id"
 -  "=\"hbox4\"><property name=\"visible\">True</property><property name=\"c"
 -  "an_focus\">False</property><property name=\"spacing\">12</property><chi"
--  "ld><object class=\"GtkRadioButton\" id=\"synaptics-scroll-no\"><propert"
--  "y name=\"label\" translatable=\"yes\">Di_sabled</property><property nam"
--  "e=\"visible\">True</property><property name=\"can_focus\">True</propert"
--  "y><property name=\"receives_default\">False</property><property name=\""
--  "use_action_appearance\">False</property><property name=\"use_underline\""
--  ">True</property><property name=\"active\">True</property><property name"
--  "=\"draw_indicator\">True</property></object><packing><property name=\"e"
--  "xpand\">False</property><property name=\"fill\">True</property><propert"
-+  "efault\">False</property><property name=\"use_underline\">True</propert"
-+  "y><property name=\"active\">True</property><property name=\"draw_indica"
-+  "tor\">True</property></object><packing><property name=\"expand\">False<"
-+  "/property><property name=\"fill\">True</property><property name=\"posit"
-+  "ion\">0</property></packing></child><child><object class=\"GtkRadioButt"
-+  "on\" id=\"device-left-handed\"><property name=\"label\" translatable=\""
-+  "yes\">Le_ft-handed</property><property name=\"use_action_appearance\">F"
-+  "alse</property><property name=\"visible\">True</property><property name"
-+  "=\"can_focus\">True</property><property name=\"receives_default\">False"
-+  "</property><property name=\"use_underline\">True</property><property na"
-+  "me=\"draw_indicator\">True</property><property name=\"group\">device-ri"
-+  "ght-handed</property></object><packing><property name=\"expand\">False<"
-+  "/property><property name=\"fill\">True</property><property name=\"posit"
-+  "ion\">1</property></packing></child></object><packing><property name=\""
-+  "expand\">True</property><property name=\"fill\">True</property><propert"
-   "y name=\"position\">0</property></packing></child><child><object class="
--  "\"GtkRadioButton\" id=\"synaptics-scroll-edge\"><property name=\"label\""
--  " translatable=\"yes\">Edge scro_lling</property><property name=\"visibl"
-+  "\"GtkCheckButton\" id=\"device-reverse-scrolling\"><property name=\"lab"
-+  "el\" translatable=\"yes\">Reverse scroll d_irection</property><property"
-+  " name=\"use_action_appearance\">False</property><property name=\"visibl"
-   "e\">True</property><property name=\"can_focus\">True</property><propert"
--  "y name=\"receives_default\">False</property><property name=\"use_action"
--  "_appearance\">False</property><property name=\"use_underline\">True</pr"
--  "operty><property name=\"draw_indicator\">True</property><property name="
--  "\"group\">synaptics-scroll-no</property></object><packing><property nam"
--  "e=\"expand\">False</property><property name=\"fill\">True</property><pr"
--  "operty name=\"position\">1</property></packing></child><child><object c"
--  "lass=\"GtkRadioButton\" id=\"synaptics-scroll-two\"><property name=\"la"
--  "bel\" translatable=\"yes\">Two-_finger scrolling</property><property na"
--  "me=\"visible\">True</property><property name=\"can_focus\">True</proper"
--  "ty><property name=\"receives_default\">False</property><property name=\""
--  "use_action_appearance\">False</property><property name=\"use_underline\""
--  ">True</property><property name=\"draw_indicator\">True</property><prope"
--  "rty name=\"group\">synaptics-scroll-no</property></object><packing><pro"
+-  "ld><object class=\"GtkLabel\" id=\"label23\"><property name=\"visible\""
+-  ">True</property><property name=\"can_focus\">False</property><property "
+-  "name=\"xalign\">0</property><property name=\"label\" translatable=\"yes"
+-  "\">Scro_lling mode:</property><property name=\"use_underline\">True</pr"
+-  "operty><property name=\"mnemonic_widget\">synaptics-scroll</property></"
+-  "object><packing><property name=\"expand\">False</property><property nam"
+-  "e=\"fill\">True</property><property name=\"position\">0</property></pac"
+-  "king></child><child><object class=\"GtkComboBox\" id=\"synaptics-scroll"
+-  "\"><property name=\"visible\">True</property><property name=\"can_focus"
+-  "\">False</property><property name=\"model\">synaptics-scroll-store</pro"
+-  "perty><child><object class=\"GtkCellRendererText\" id=\"cellrenderertex"
+-  "t3\"/><attributes><attribute name=\"text\">0</attribute><attribute name"
+-  "=\"sensitive\">1</attribute></attributes></child></object><packing><pro"
 -  "perty name=\"expand\">True</property><property name=\"fill\">True</prop"
--  "erty><property name=\"position\">2</property></packing></child></object"
+-  "erty><property name=\"position\">1</property></packing></child></object"
 -  "><packing><property name=\"expand\">True</property><property name=\"fil"
 -  "l\">True</property><property name=\"position\">0</property></packing></"
 -  "child><child><object class=\"GtkCheckButton\" id=\"synaptics-scroll-hor"
@@ -550,6 +520,26 @@ index 9e0c267..8a68c3b 100644
 -  "ty></object><packing><property name=\"position\">1</property><property "
 -  "name=\"tab_fill\">False</property></packing></child><child><object clas"
 -  "s=\"GtkVBox\" id=\"wacom-tab\"><property name=\"visible\">True</propert"
++  "efault\">False</property><property name=\"use_underline\">True</propert"
++  "y><property name=\"active\">True</property><property name=\"draw_indica"
++  "tor\">True</property></object><packing><property name=\"expand\">False<"
++  "/property><property name=\"fill\">True</property><property name=\"posit"
++  "ion\">0</property></packing></child><child><object class=\"GtkRadioButt"
++  "on\" id=\"device-left-handed\"><property name=\"label\" translatable=\""
++  "yes\">Le_ft-handed</property><property name=\"use_action_appearance\">F"
++  "alse</property><property name=\"visible\">True</property><property name"
++  "=\"can_focus\">True</property><property name=\"receives_default\">False"
++  "</property><property name=\"use_underline\">True</property><property na"
++  "me=\"draw_indicator\">True</property><property name=\"group\">device-ri"
++  "ght-handed</property></object><packing><property name=\"expand\">False<"
++  "/property><property name=\"fill\">True</property><property name=\"posit"
++  "ion\">1</property></packing></child></object><packing><property name=\""
++  "expand\">True</property><property name=\"fill\">True</property><propert"
++  "y name=\"position\">0</property></packing></child><child><object class="
++  "\"GtkCheckButton\" id=\"device-reverse-scrolling\"><property name=\"lab"
++  "el\" translatable=\"yes\">Reverse scroll d_irection</property><property"
++  " name=\"use_action_appearance\">False</property><property name=\"visibl"
++  "e\">True</property><property name=\"can_focus\">True</property><propert"
 +  "y name=\"receives_default\">False</property><property name=\"tooltip_te"
 +  "xt\" translatable=\"yes\">When selected, the scroll wheel will work in "
 +  "the opposite direction</property><property name=\"use_underline\">True<"
@@ -1116,19 +1106,26 @@ index 9e0c267..8a68c3b 100644
 -  "roperty name=\"lower\">16</property><property name=\"upper\">48</proper"
 -  "ty><property name=\"value\">24</property><property name=\"step_incremen"
 -  "t\">1</property><property name=\"page_increment\">11</property></object"
--  "><object class=\"GtkListStore\" id=\"wacom-mode-store\"><columns><colum"
--  "n type=\"gchararray\"/><column type=\"gchararray\"/></columns><data><ro"
--  "w><col id=\"0\">ABSOLUTE</col><col id=\"1\" translatable=\"yes\">Pen (a"
--  "bsolute)</col></row><row><col id=\"0\">RELATIVE</col><col id=\"1\" tran"
--  "slatable=\"yes\">Mouse (relative)</col></row></data></object><object cl"
--  "ass=\"GtkListStore\" id=\"wacom-rotation-store\"><columns><column type="
--  "\"gint\"/><column type=\"gchararray\"/></columns><data><row><col id=\"0"
--  "\">0</col><col id=\"1\" translatable=\"yes\">None (right-handed)</col><"
--  "/row><row><col id=\"0\">3</col><col id=\"1\" translatable=\"yes\">Half "
--  "(left-handed)</col></row><row><col id=\"0\">1</col><col id=\"1\" transl"
--  "atable=\"yes\">Clockwise</col></row><row><col id=\"0\">2</col><col id=\""
--  "1\" translatable=\"yes\">Counterclockwise</col></row></data></object></"
--  "interface>"
+-  "><object class=\"GtkListStore\" id=\"synaptics-scroll-store\"><columns>"
+-  "<column type=\"gchararray\"/><column type=\"gboolean\"/></columns><data"
+-  "><row><col id=\"0\" translatable=\"yes\">Disabled</col><col id=\"1\">Tr"
+-  "ue</col></row><row><col id=\"0\" translatable=\"yes\">Edge scrolling</c"
+-  "ol><col id=\"1\">True</col></row><row><col id=\"0\" translatable=\"yes\""
+-  ">Two-finger scrolling</col><col id=\"1\">True</col></row><row><col id=\""
+-  "0\" translatable=\"yes\">Circular scrolling</col><col id=\"1\">True</co"
+-  "l></row></data></object><object class=\"GtkListStore\" id=\"wacom-mode-"
+-  "store\"><columns><column type=\"gchararray\"/><column type=\"gchararray"
+-  "\"/></columns><data><row><col id=\"0\">ABSOLUTE</col><col id=\"1\" tran"
+-  "slatable=\"yes\">Pen (absolute)</col></row><row><col id=\"0\">RELATIVE<"
+-  "/col><col id=\"1\" translatable=\"yes\">Mouse (relative)</col></row></d"
+-  "ata></object><object class=\"GtkListStore\" id=\"wacom-rotation-store\""
+-  "><columns><column type=\"gint\"/><column type=\"gchararray\"/></columns"
+-  "><data><row><col id=\"0\">0</col><col id=\"1\" translatable=\"yes\">Non"
+-  "e (right-handed)</col></row><row><col id=\"0\">3</col><col id=\"1\" tra"
+-  "nslatable=\"yes\">Half (left-handed)</col></row><row><col id=\"0\">1</c"
+-  "ol><col id=\"1\" translatable=\"yes\">Clockwise</col></row><row><col id"
+-  "=\"0\">2</col><col id=\"1\" translatable=\"yes\">Counterclockwise</col>"
+-  "</row></data></object></interface>"
 +  "l\" translatable=\"yes\">_Behavior</property><property name=\"use_under"
 +  "line\">True</property></object><packing><property name=\"position\">1</"
 +  "property><property name=\"tab_fill\">False</property></packing></child>"
@@ -1228,7 +1225,7 @@ index 9e0c267..8a68c3b 100644
 +  "nterface>"
  };
  
--static const unsigned mouse_dialog_ui_length = 37918u;
+-static const unsigned mouse_dialog_ui_length = 37588u;
 +static const unsigned mouse_dialog_ui_length = 38582u;
  
 -- 
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0004-XfceXSettingsHelper-gets-a-property-touchscreen-poin.patch +3 -5
index 180ccfd..cacb5c3 100644
@@ -235,17 +235,15 @@ index 7657465..76bcea1 100644
      XCloseDisplay (xdisplay);
  
      if (gdk_error_trap_pop () != 0)
-diff --git a/xfsettingsd/xsettings.xml b/xfsettingsd/xsettings.xml
-index 0a579d6..baa413c 100644
 --- a/xfsettingsd/xsettings.xml
 +++ b/xfsettingsd/xsettings.xml
-@@ -41,5 +41,6 @@
+@@ -36,5 +36,6 @@
      <property name="MenuBarAccel" type="string" value="F10"/>
      <property name="CursorThemeName" type="string" value=""/>
      <property name="CursorThemeSize" type="int" value="0"/>
 +    <property name="TouchscreenMode" type="bool" value="false"/>
-     <property name="IMModule" type="string" value=""/>
    </property>
-</channel>-- 
+ </channel>
+-- 
 1.7.6.5
 
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.11.0.bb renamed from meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.10.0.bb +2 -3
similarity index 89%
rename from meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.10.0.bb
rename to meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.11.0.bb
index aa878ae..c5cb033 100644
@@ -3,7 +3,6 @@ SECTION = "x11/wm"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 DEPENDS = "exo garcon gtk+ libxfce4util libxfce4ui xfconf dbus-glib libxi virtual/libx11 xrandr libnotify libxcursor libxklavier"
-PR = "r3"
 
 inherit xfce
 
@@ -18,8 +17,8 @@ SRC_URI += "file://0001-xsettings.xml-remove-trouble-causing-comment.patch \
             file://touchscreen/0004-XfceXSettingsHelper-gets-a-property-touchscreen-poin.patch \
             file://touchscreen/0005-pointers-detect-a-change-of-pointer-device-used-and-.patch \
 "
-SRC_URI[md5sum] = "cc4dd9179ead9046c056431f01a12000"
-SRC_URI[sha256sum] = "0843f09ba9673f1d1b5df8dce4a17b63c183a9ba3be75fb6ef99a67fc8c1f77e"
+SRC_URI[md5sum] = "3bf42281b64b10b2691008cd693f7dbd"
+SRC_URI[sha256sum] = "4a4f1e79a58b524f3a6dd030b6fc687671b35566f847e6f516c6f84211191698"
 
 FILES_${PN} += "${libdir}/xfce4"
 
Signature · 1 line
1.7.4.4
#8 lore raw

PATCH 8/12 xfce4-session: remove gnome-keyring dependency

In reply to Andreas Müller
---
 .../files/0002-Remove-gnome-keyring-remains.patch  |   82 ++++++++++++++++++++
 .../xfce4-session/xfce4-session_4.10.0.bb          |    6 +-
 2 files changed, 86 insertions(+), 2 deletions(-)
 create mode 100644 meta-xfce/recipes-xfce/xfce4-session/files/0002-Remove-gnome-keyring-remains.patch
meta-xfce/recipes-xfce/xfce4-session/files/0002-Remove-gnome-keyring-remains.patch new file +82 -0
new file mode 100644
index 0000000..6d5e9c8
@@ -0,0 +1,82 @@
+From 7a75a8a0f7089b716e702e6bb0cf13fc3194e3db Mon Sep 17 00:00:00 2001
+From: Nick Schermer <[email protected]>
+Date: Sun, 29 Apr 2012 13:35:37 +0200
+Subject: [PATCH] Remove gnome-keyring remains.
+
+Not required anymore. gnome_keyring_daemon_prepare_environment_sync
+is a stub function that does nothing.
+
+Upstream-status: backport [1]
+
+[1] http://git.xfce.org/xfce/xfce4-session/commit/?id=7a75a8a0f7089b716e702e6bb0cf13fc3194e3db
+---
+ configure.in                   |    5 -----
+ xfce4-session/Makefile.am         |    2 --
+ xfce4-session/xfsm-compat-gnome.c |    8 --------
+ 3 files changed, 0 insertions(+), 15 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index f8684b3..9aa4f8f 100644
+--- a/configure.in
++++ b/configure.in
+@@ -96,11 +96,6 @@ 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 gnome support
+-XDT_CHECK_OPTIONAL_PACKAGE([GNOME_KEYRING], [gnome-keyring-1], [2.22],
+-                           [libgnome-keyring],
+-                           [Extra gnome-keyring compatibility support], [no])
+-
+ dnl Check for debugging support
+ XDT_FEATURE_DEBUG([xfsm_debug_default])
+ 
+diff --git a/xfce4-session/Makefile.am b/xfce4-session/Makefile.am
+index 5e8343a..c015154 100644
+--- a/xfce4-session/Makefile.am
++++ b/xfce4-session/Makefile.am
+@@ -66,7 +66,6 @@ xfce4_session_SOURCES =							\
+ 	xfsm-upower.h
+ 
+ xfce4_session_CFLAGS =							\
+-	$(GNOME_KEYRING_CFLAGS)						\
+ 	$(LIBSM_CFLAGS)							\
+ 	$(LIBX11_CFLAGS)						\
+ 	$(LIBXFCE4UI_CFLAGS)						\
+@@ -93,7 +92,6 @@ xfce4_session_LDADD =							\
+ 	$(DBUS_GLIB_LIBS)						\
+ 	$(LIBWNCK_LIBS)							\
+ 	$(XFCONF_LIBS)							\
+-	$(GNOME_KEYRING_LIBS)						\
+ 	-lm
+ 
+ xfce4_session_DEPENDENCIES =						\
+diff --git a/xfce4-session/xfsm-compat-gnome.c b/xfce4-session/xfsm-compat-gnome.c
+index b5b4a99..e1fa16f 100644
+--- a/xfce4-session/xfsm-compat-gnome.c
++++ b/xfce4-session/xfsm-compat-gnome.c
+@@ -59,10 +59,6 @@
+ 
+ #include <libxfce4util/libxfce4util.h>
+ 
+-#ifdef HAVE_GNOME_KEYRING
+-#include <gnome-keyring.h>
+-#endif
+-
+ #include <xfce4-session/xfsm-compat-gnome.h>
+ 
+ #define GNOME_KEYRING_DAEMON "gnome-keyring-daemon"
+@@ -154,10 +150,6 @@ gnome_keyring_daemon_startup (void)
+             }
+ 
+           g_strfreev (lines);
+-
+-#ifdef HAVE_GNOME_KEYRING
+-          gnome_keyring_daemon_prepare_environment_sync ();
+-#endif
+         }
+       else
+         {
+-- 
+1.7.4.4
+
meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb +4 -2
index 4df9894..3bd3743 100644
@@ -2,14 +2,16 @@ DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment
 SECTION = "x11"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88"
-DEPENDS = "virtual/libx11 libsm libxfce4util libxfce4ui gtk+ libwnck dbus dbus-glib xfconf gnome-keyring"
+DEPENDS = "virtual/libx11 libsm libxfce4util libxfce4ui gtk+ libwnck dbus dbus-glib xfconf"
 RDEPENDS_${PN} = "netbase xinit dbus-x11 iceauth consolekit upower"
+PR = "r1"
 
 inherit xfce
 
 SRC_URI[md5sum] = "4768e1a41a0287af6aad18b329a0f230"
 SRC_URI[sha256sum] = "bb8aa9a74c3d382840596fb4875144d66c7f3f47c8e9ee81d31e3428a72c46ce"
-SRC_URI += "file://0001-Handle-multiple-interactive-session-save-bug-5379.patch"
+SRC_URI += "file://0001-Handle-multiple-interactive-session-save-bug-5379.patch \
+            file://0002-Remove-gnome-keyring-remains.patch"
 
 # protect from frightening message that xfce might not work correctly
 pkg_postinst_${PN} () {
Signature · 1 line
1.7.4.4
#9 lore raw

PATCH 9/12 xfce4-session: Add shutdown/reboot functionality for systemd

In reply to Andreas Müller

can't wait for stable xfce 4.12 in 03/2013

---
 ...n-reboot-functionality-for-systemd-bug-87.patch |  482 ++++++++++++++++++++
 .../xfce4-session/xfce4-session_4.10.0.bbappend    |    8 +
 2 files changed, 490 insertions(+), 0 deletions(-)
 create mode 100644 meta-systemd/meta-xfce/recipes-xfce/xfce4-session/files/0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch
 create mode 100644 meta-systemd/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bbappend
meta-systemd/meta-xfce/recipes-xfce/xfce4-session/files/0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch new file +482 -0
new file mode 100644
index 0000000..eedbd6f
@@ -0,0 +1,482 @@
+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-systemd/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bbappend new file +8 -0
new file mode 100644
index 0000000..100f34b
@@ -0,0 +1,8 @@
+# look for files in the layer first
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+DEPENDS += "systemd"
+
+PRINC := "${@int(PRINC) + 1}"
+
+SRC_URI += "file://0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch"
Signature · 1 line
1.7.4.4
#10 lore raw

PATCH 10/12 lxdm: disable keyboard selection

In reply to Andreas Müller

Keyboard selection with lxdm is not very helpful:

* new keyboard connected get US layout independent of selection
* the selection is not persistent and has to be made on every login

---
 meta-oe/recipes-graphics/lxdm/lxdm_git.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
meta-oe/recipes-graphics/lxdm/lxdm_git.bb +1 -2
index f3d4eff..3308e26 100644
@@ -15,7 +15,7 @@ LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam
 SRCREV = "65e7cc8fdc150c2b925eb348ce82de17dee5eb0b"
 PV = "0.4.2+git${SRCPV}"
 PE = "1"
-PR = "r1"
+PR = "r2"
 
 DEPENDS = "cairo consolekit dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango"
 
@@ -33,7 +33,6 @@ do_compile_append() {
 	# default background configured not available / no password field available
 	sed -i 	-e 's,bg=,# bg=,g' \
 		-e 's,# skip_password=,skip_password=,g' \
-		-e 's,keyboard=0,keyboard=1,g' \
 		${S}/data/lxdm.conf.in
 	# add default configuration
 	oe_runmake -C ${S}/data lxdm.conf
Signature · 1 line
1.7.4.4
#11 lore raw

PATCH 11/12 samba: add new package libwbclient to avoid libsmbclient dragging in samba

In reply to Andreas Müller

To find which dependency dragged in samba in folder image readelf was performed:

Quoted 1 line

readelf -d usr/lib/libsmbclient.so

Dynamic section at offset 0x4bfec0 contains 36 entries:
Tag Type Name/Value

 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [libtalloc.so.2]
 0x00000001 (NEEDED)                     Shared library: [libtdb.so.1]
 0x00000001 (NEEDED)                     Shared library: [libwbclient.so.0]
 0x00000001 (NEEDED)                     Shared library: [libresolv.so.2]
 0x00000001 (NEEDED)                     Shared library: [libnsl.so.1]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [librt.so.1]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x0000000e (SONAME)                     Library soname: [libsmbclient.so.0]
---
 meta-oe/recipes-connectivity/samba/samba-basic.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta-oe/recipes-connectivity/samba/samba-basic.inc +2 -1
index d1b905a..af4e04e 100644
@@ -9,7 +9,7 @@ EXTRA_OECONF += "\
         --without-ldap \
         --without-krb5"
 
-PACKAGES =+ "libwinbind libwinbind-dbg winbind winbind-dbg libnetapi libtdb libsmbsharemodes libsmbclient libsmbclient-dev cifs cifs-doc swat"
+PACKAGES =+ "libwbclient libwinbind libwinbind-dbg winbind winbind-dbg libnetapi libtdb libsmbsharemodes libsmbclient libsmbclient-dev cifs cifs-doc swat"
 
 FILES_winbind-dbg = "${libdir}/idmap/.debug/*.so \
                      ${libdir}/security/.debug/pam_winbind.so \
@@ -28,6 +28,7 @@ FILES_${PN}-dbg += "${libdir}/vfs/.debug/*.so \
                     ${libdir}/security/.debug/pam_smbpass.so \
 "
 
+FILES_libwbclient = "${libdir}/libwbclient.so.*"
 FILES_libnetapi = "${libdir}/libnetapi.so.*"
 FILES_libsmbsharemodes = "${libdir}/libsmbsharemodes.so.*"
 FILES_libtdb = "${libdir}/libtdb.so.*"
Signature · 1 line
1.7.4.4
#12 lore raw

PATCH 12/12 gvfs: reenable gvfs-smb

In reply to Andreas Müller

samba was disabled in 12cf4fa8d23badbf55a018db0f821909294de34e because it caused OOM condition. This could not be reproduced any more. Likely reason for OOM wasmissing gdu-volume-monitor which is build by an own recipe nowadays.

---
 .../gvfs/gvfs-gdu-volume-monitor_1.8.2.bb          |    3 ++-
 meta-gnome/recipes-gnome/gvfs/gvfs.inc             |    5 ++---
 meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb        |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.8.2.bb +2 -1
index 1939f09..f2f354c 100644
@@ -7,7 +7,8 @@ DEPENDS = "gvfs gnome-disk-utility"
 PR = "${INC_PR}.3"
 
 # we need gdu files only: reduce files to delete in libexecdir
-EXTRA_OECONF += "--disable-gphoto2"
+EXTRA_OECONF += "--disable-samba \
+                 --disable-gphoto2"
 
 do_install_append() {
 	rm -rf ${D}${sysconfdir}
meta-gnome/recipes-gnome/gvfs/gvfs.inc +2 -3
index e86c93f..c69851c 100644
@@ -4,14 +4,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
 
 inherit gnome
 
-INC_PR = "r8"
+INC_PR = "r9"
 
 SRC_URI[archive.md5sum] = "402f94b187b197b403d25c85caeb9562"
 SRC_URI[archive.sha256sum] = "0895ac8f6d416e1b15433b6b6b68eb119c6e8b04fdb66db665d684355ef89345"
 SRC_URI += "file://0001-gvfsfusedaemon.c-fix-glib-build.patch"
 
-EXTRA_OECONF = "--disable-samba \
-                --with-samba-includes=${STAGING_INCDIR} \
+EXTRA_OECONF = "--with-samba-includes=${STAGING_INCDIR} \
                 --with-samba-libs=${STAGING_LIBDIR} \
                 --with-archive-includes=${STAGING_INCDIR} \
                 --with-archive-libs=${STAGING_LIBDIR} \
meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb +1 -1
index 1ee6d6d..85ffd4a 100644
@@ -1,6 +1,6 @@
 require gvfs.inc
 
-DEPENDS = "libsoup-2.4 gnome-keyring glib-2.0 fuse avahi fuse gconf libgphoto2"
+DEPENDS = "samba libsoup-2.4 gnome-keyring glib-2.0 fuse avahi fuse gconf libgphoto2"
 # optional: obexftp libcdio libimobiledevice 
 
 PR = "${INC_PR}.0"
Signature · 1 line
1.7.4.4
Acked-by on the v1 series
#13 lore raw
In reply to Andreas Müller
Quoted 3 lines · Andreas Müller

The following changes since commit a623fd942f6561a425278cf9f114d212d06e5982:

samba: disable avahi and build without acl (2012-12-21 16:45:28 +0100)

No new issues in world build with this patchset applied.

I've added PR bump to samba and rebase gvfs change to apply in master, I'll push this tomorrow if nobody objects.

Quoted 65 lines

are available in the git repository at:
git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded.git patches

Andreas Müller (12):
icon-slicer: initial add 0.3
xcursorgen: initial add 1.0.5
openzone: Initial add 1.2.3
xfce4-settings: add garcon to DEPENDS
xfce4-settings: add a 'Touchscreen pointer' option in mouse settings
xfce4-settings: Remember the settings manager window size
xfce4-settings: update to 4.11.0
xfce4-session: remove gnome-keyring dependency
xfce4-session: Add shutdown/reboot functionality for systemd
lxdm: disable keyboard selection
samba: add new package libwbclient to avoid libsmbclient dragging in samba
gvfs: reenable gvfs-smb

 .../gvfs/gvfs-gdu-volume-monitor_1.8.2.bb          |    3 +-
 meta-gnome/recipes-gnome/gvfs/gvfs.inc             |    5 +-
 meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb        |    2 +-
 meta-oe/recipes-connectivity/samba/samba-basic.inc |    3 +-
 .../files/0001-Makefile.am-no-examples.patch       |   27 +
 .../icon-slicer/icon-slicer_0.3.bb                 |   13 +
 meta-oe/recipes-graphics/lxdm/lxdm_git.bb          |    3 +-
 .../xcursorgen/xcursorgen_1.0.5.bb                 |   12 +
 ...n-reboot-functionality-for-systemd-bug-87.patch |  482 ++++++++
 .../xfce4-session/xfce4-session_4.10.0.bbappend    |    8 +
 .../recipes-art/cursor-themes/openzone_1.2.3.bb    |   29 +
 .../files/0002-Remove-gnome-keyring-remains.patch  |   82 ++
 .../xfce4-session/xfce4-session_4.10.0.bb          |    6 +-
 ...the-settings-manager-window-size-bug-9384.patch |  155 +++
 .../0001-add-cursor-theme-xfce-invisible.patch     |  248 ++++
 ...ngs-dialog-add-touchscreen-pointer-option.patch | 1233 ++++++++++++++++++++
 ...sHelper-gets-a-pointer-to-XfceXSettingsHe.patch |  137 +++
 ...gsHelper-gets-a-property-touchscreen-poin.patch |  249 ++++
 ...tect-a-change-of-pointer-device-used-and-.patch |  582 +++++++++
 .../xfce4-settings/touchscreen/invisible           |  Bin 0 -> 4160 bytes
 .../xfce4-settings/xfce4-settings/touchscreen/wait |  Bin 0 -> 126096 bytes
 .../xfce4-settings/xfce4-settings_4.10.0.bb        |   16 -
 .../xfce4-settings/xfce4-settings_4.11.0.bb        |   31 +
 23 files changed, 3300 insertions(+), 26 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/icon-slicer/files/0001-Makefile.am-no-examples.patch
 create mode 100644 meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb
 create mode 100644 meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.5.bb
 create mode 100644 meta-systemd/meta-xfce/recipes-xfce/xfce4-session/files/0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch
 create mode 100644 meta-systemd/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bbappend
 create mode 100644 meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb
 create mode 100644 meta-xfce/recipes-xfce/xfce4-session/files/0002-Remove-gnome-keyring-remains.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/0003-Remember-the-settings-manager-window-size-bug-9384.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0001-add-cursor-theme-xfce-invisible.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0002-mouse-settings-dialog-add-touchscreen-pointer-option.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0003-XfcePointersHelper-gets-a-pointer-to-XfceXSettingsHe.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0004-XfceXSettingsHelper-gets-a-property-touchscreen-poin.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0005-pointers-detect-a-change-of-pointer-device-used-and-.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/invisible
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/wait
 delete mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.10.0.bb
 create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.11.0.bb

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

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#14 lore raw
Quoted 7 lines · Martin Jansa
Quoted 3 lines · Andreas Müller

The following changes since commit a623fd942f6561a425278cf9f114d212d06e5982:

samba: disable avahi and build without acl (2012-12-21 16:45:28 +0100)

No new issues in world build with this patchset applied.

I know - these patches just add some functionality for xfce. I check for the gnome/libnotify problem next days. My assumption is that host-headers are dragged in somewhere but I need to check that.

'Unfortunately' I got a raspberry-pi for Christmas so I need to take care first :-)

Andreas

#15 lore raw
Quoted 6 lines · Andreas Müller
Quoted 5 lines · Martin Jansa
Quoted 3 lines · Andreas Müller

The following changes since commit a623fd942f6561a425278cf9f114d212d06e5982:

samba: disable avahi and build without acl (2012-12-21 16:45:28 +0100)

Quoted 9 lines
Quoted 2 lines

No new issues in world build with this patchset applied.

I know - these patches just add some functionality for xfce. I check for the gnome/libnotify problem next days. My assumption is that host-headers are dragged in somewhere but I need to check that.

'Unfortunately' I got a raspberry-pi for Christmas so I need to take care first :-)

I just checked: the gvfs patch dos not apply any more since the latest update. I'll rebase the git repo.

Andreas

#16 lore raw
Quoted 14 lines · Andreas Müller
Quoted 12 lines · Andreas Müller
Quoted 7 lines · Martin Jansa
Quoted 3 lines · Andreas Müller

The following changes since commit a623fd942f6561a425278cf9f114d212d06e5982:

samba: disable avahi and build without acl (2012-12-21 16:45:28 +0100)

No new issues in world build with this patchset applied.

I know - these patches just add some functionality for xfce. I check for the gnome/libnotify problem next days. My assumption is that host-headers are dragged in somewhere but I need to check that.

Quoted 5 lines
Quoted 3 lines

'Unfortunately' I got a raspberry-pi for Christmas so I need to take care first :-)

I just checked: the gvfs patch dos not apply any more since the latest update. I'll rebase the git repo.

I already did (and said that in previous reply), see contrib/jansa/pull.

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#17 lore raw
Quoted 18 lines · Martin Jansa
Quoted 17 lines · Andreas Müller
Quoted 15 lines · Andreas Müller
Quoted 7 lines · Martin Jansa
Quoted 3 lines · Andreas Müller

The following changes since commit a623fd942f6561a425278cf9f114d212d06e5982:

samba: disable avahi and build without acl (2012-12-21 16:45:28 +0100)

No new issues in world build with this patchset applied.

I know - these patches just add some functionality for xfce. I check for the gnome/libnotify problem next days. My assumption is that host-headers are dragged in somewhere but I need to check that.

'Unfortunately' I got a raspberry-pi for Christmas so I need to take care first :-)

Quoted 9 lines
Quoted 2 lines

I just checked: the gvfs patch dos not apply any more since the latest update. I'll rebase the git repo.

I already did (and said that in previous reply), see contrib/jansa/pull.

Cheers,
--
Martin 'JaMa' Jansa jabber: [email protected]

OK thanks.

Andreas