Skip to contentSkip to conversation

xfwm4 bugfixes

PATCH New Andreas Müller 1 participant 3 messages Aug 27, 2012

lore
Share & tools
lore
#0 lore raw

cover xfwm4 bugfixes

This is my last bugfix for xfce 4.8 before updating to 4.10. It fixes the following items:
* undeprecate update-alternatives
* the beloved missing window frames when starting a xfce session for the first time are history.

Andreas Müller (2):
xfwm4: cleanup update-alternatives deprecated code
libxfce4ui: fix xfwm4 crash (no window borders) on first start

 ...-private-xfce4-keyboard-shortcuts.xml-fix.patch |   31 ++++++++++++++++++++
 .../recipes-xfce/libxfce4ui/libxfce4ui_4.8.1.bb    |    3 ++
 meta-xfce/recipes-xfce/xfwm4/xfwm4_4.8.3.bb        |    8 ++--
 3 files changed, 38 insertions(+), 4 deletions(-)
 create mode 100644 meta-xfce/recipes-xfce/libxfce4ui/files/0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch
Signature · 1 line
1.7.6.5
#1 lore raw

PATCH 1/2 xfwm4: cleanup update-alternatives deprecated code

---
 meta-xfce/recipes-xfce/xfwm4/xfwm4_4.8.3.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
meta-xfce/recipes-xfce/xfwm4/xfwm4_4.8.3.bb +4 -4
index 299c7ad..304ff66 100644
@@ -3,6 +3,7 @@ SECTION = "x11/wm"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d791728a073bc009b4ffaf00b7599855"
 DEPENDS = "virtual/libx11 libxpm gtk+ libxfce4util libxfce4ui xfconf libwnck dbus-glib startup-notification"
+PR = "r1"
 
 inherit xfce update-alternatives
 
@@ -18,10 +19,9 @@ python populate_packages_prepend () {
 
 PACKAGES_DYNAMIC += "xfwm4-theme-*"
 
-ALTERNATIVE_NAME = "x-window-manager"
-ALTERNATIVE_LINK = "${bindir}/x-window-manager"
-ALTERNATIVE_PATH = "${bindir}/xfce4-session"
-ALTERNATIVE_PRIORITY = "30"
+ALTERNATIVE_${PN} = "x-window-manager"
+ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4"
+ALTERNATIVE_PRIORITY[x-window-manager] = "30"
 
 RDEPENDS_${PN} = "xfwm4-theme-default"
 FILES_${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \
Signature · 1 line
1.7.6.5
#2 lore raw

PATCH 2/2 libxfce4ui: fix xfwm4 crash (no window borders) on first start

In reply to Andreas Müller
---
 ...-private-xfce4-keyboard-shortcuts.xml-fix.patch |   31 ++++++++++++++++++++
 .../recipes-xfce/libxfce4ui/libxfce4ui_4.8.1.bb    |    3 ++
 2 files changed, 34 insertions(+), 0 deletions(-)
 create mode 100644 meta-xfce/recipes-xfce/libxfce4ui/files/0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch
meta-xfce/recipes-xfce/libxfce4ui/files/0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch new file +31 -0
new file mode 100644
index 0000000..b8c9178
@@ -0,0 +1,31 @@
+From 708e59caaf1c0c271a96a4d1fe46b122aff45e34 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Mon, 27 Aug 2012 09:16:29 +0200
+Subject: [PATCH] libxfce4kbd-private/xfce4-keyboard-shortcuts.xml: fix xfwm4
+ crash on first start
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Pending
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ libxfce4kbd-private/xfce4-keyboard-shortcuts.xml |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml b/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml
+index 723a10d..e6502f3 100644
+--- a/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml
++++ b/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml
+@@ -66,4 +66,8 @@
+       <property name="&lt;Control&gt;F12" type="string" value="workspace_12_key"/>
+     </property>
+   </property>
++  <property name="providers" type="array">
++    <value type="string" value="commands"/>
++    <value type="string" value="xfwm4"/>
++  </property>
+ </channel>
+-- 
+1.7.6.5
+
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.8.1.bb +3 -0
index ae9dddf..e2bc81e 100644
@@ -3,9 +3,12 @@ SECTION = "x11/libs"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475"
 DEPENDS = "gtk+ intltool libxfce4util startup-notification xfconf"
+PR = "r1"
 
 inherit xfce
 
+SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch"
+
 FILES_${PN} += "${libdir}/xfce4/modules ${libdir}/libglade/2.0/*.so ${datadir}/xfce4/mime ${datadir}/icons/hicolor"
 
 SRC_URI[md5sum] = "30bd432dd0f19305e846a122d4c7c6fe"
Signature · 1 line
1.7.6.5