Date: Tuesday, April 23, 2013 @ 03:21:13 Author: bgyorgy Revision: 88819
upgpkg: metacity 2.34.13-5 Fix Alt+Tab switcher Added: metacity/trunk/application-switcher.patch Modified: metacity/trunk/PKGBUILD ----------------------------+ PKGBUILD | 11 ++++++++--- application-switcher.patch | 26 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-04-23 01:19:34 UTC (rev 88818) +++ PKGBUILD 2013-04-23 01:21:13 UTC (rev 88819) @@ -4,7 +4,7 @@ pkgname=metacity pkgver=2.34.13 -pkgrel=4 +pkgrel=5 pkgdesc="Legacy GNOME window manager" arch=('i686' 'x86_64') license=('GPL') @@ -17,12 +17,14 @@ fix_compositing_startup.patch fix_force_quit.patch fix_shadows.patch - enable_compositing.patch) + enable_compositing.patch + application-switcher.patch) sha256sums=('8cf4dbf0da0a6f36357ce7db7f829ec685908a7792453c662fb8184572b91075' '5094a0ffe3eb8289ed752829877c2e1b743eddf938ad3fc92fb4574b42765ae2' '917760ac3375894ebb4052dfc7c8dff1ac556fb81033d7a7caf02123ceede50d' 'a0981477e9b3fd108fd03b7637bfd1f17a1f6cb13ec703d86b424b55076096f3' - 'e53c1c20e19cd3d94d05d08045c7a9a373ce52051928ccc69bf3068081f30f9a') + 'e53c1c20e19cd3d94d05d08045c7a9a373ce52051928ccc69bf3068081f30f9a' + '177ded8203c3ff25f59a24445145cb54da9aba4216a0014c34979b7c12f3c099') build() { cd "$pkgname-$pkgver" @@ -39,6 +41,9 @@ # Enable compositing by default (required for the desktop rendering feature of nautilus) patch -Np1 -i "$srcdir/enable_compositing.patch" + # Rename switch-windows to switch-applications (required for GNOME 3.8 compatibility) + patch -Np1 -i "$srcdir/application-switcher.patch" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \ --disable-static --disable-schemas-compile make Added: application-switcher.patch =================================================================== --- application-switcher.patch (rev 0) +++ application-switcher.patch 2013-04-23 01:21:13 UTC (rev 88819) @@ -0,0 +1,26 @@ +diff -Naur metacity-2.34.13.orig/src/50-metacity-navigation.xml.in metacity-2.34.13/src/50-metacity-navigation.xml.in +--- metacity-2.34.13.orig/src/50-metacity-navigation.xml.in 2012-10-15 20:06:27.000000000 +0200 ++++ metacity-2.34.13/src/50-metacity-navigation.xml.in 2013-04-23 02:35:18.000734619 +0200 +@@ -29,7 +29,7 @@ + <KeyListEntry name="move-to-workspace-down" + _description="Move window one workspace down" /> + +- <KeyListEntry name="switch-windows" ++ <KeyListEntry name="switch-applications" + _description="Switch applications"/> + + <KeyListEntry name="switch-group" +diff -Naur metacity-2.34.13.orig/src/include/all-keybindings.h metacity-2.34.13/src/include/all-keybindings.h +--- metacity-2.34.13.orig/src/include/all-keybindings.h 2012-02-09 19:07:40.000000000 +0100 ++++ metacity-2.34.13/src/include/all-keybindings.h 2013-04-23 02:34:22.632775305 +0200 +@@ -126,8 +126,8 @@ + keybind (switch-group, handle_switch, META_TAB_LIST_GROUP, BINDING_REVERSES) + keybind (switch-group-backward, handle_switch, META_TAB_LIST_GROUP, + REVERSES_AND_REVERSED) +-keybind (switch-windows, handle_switch, META_TAB_LIST_NORMAL, BINDING_REVERSES) +-keybind (switch-windows-backward, handle_switch, META_TAB_LIST_NORMAL, ++keybind (switch-applications, handle_switch, META_TAB_LIST_NORMAL, BINDING_REVERSES) ++keybind (switch-applications-backward, handle_switch, META_TAB_LIST_NORMAL, + REVERSES_AND_REVERSED) + keybind (switch-panels, handle_switch, META_TAB_LIST_DOCKS, BINDING_REVERSES) + keybind (switch-panels-backward, handle_switch, META_TAB_LIST_DOCKS,