[arch-commits] Commit in muffin/trunk (PKGBUILD switch-applications.patch)

Balló György bgyorgy at nymeria.archlinux.org
Wed Apr 24 17:11:57 UTC 2013


    Date: Wednesday, April 24, 2013 @ 19:11:57
  Author: bgyorgy
Revision: 88908

upgpkg: muffin 1.7.3-2

Fix Alt-Tab switcher with default settings

Added:
  muffin/trunk/switch-applications.patch
Modified:
  muffin/trunk/PKGBUILD

---------------------------+
 PKGBUILD                  |   14 ++++++++++----
 switch-applications.patch |   20 ++++++++++++++++++++
 2 files changed, 30 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-24 16:44:35 UTC (rev 88907)
+++ PKGBUILD	2013-04-24 17:11:57 UTC (rev 88908)
@@ -1,25 +1,31 @@
 # $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
 # Contributor: Adam Hani Schakaki <adam at schakaki.net>
 # Contributor: Ner0
 
 pkgname=muffin
 pkgver=1.7.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Cinnamon window manager based on Mutter"
 arch=('i686' 'x86_64')
 url="https://github.com/linuxmint/muffin"
 license=('GPL')
-depends=('libsm' 'clutter' 'gobject-introspection' 'gsettings-desktop-schemas' \
+depends=('clutter' 'gobject-introspection' 'gsettings-desktop-schemas' \
 		 'libcanberra' 'startup-notification' 'zenity' 'dconf')
 makedepends=('intltool' 'gnome-doc-utils' 'gnome-common')
 options=('!libtool' '!emptydirs')
 install=$pkgname.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/muffin/tarball/$pkgver")
-md5sums=('30e329da6af10e825dace490f13e445f')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/muffin/tarball/$pkgver"
+        "switch-applications.patch")
+md5sums=('30e329da6af10e825dace490f13e445f'
+         'a5d5d76dc281277a8afc83d7affdcc7b')
 
 build() {
   cd linuxmint-muffin-*
 
+  # Fix windows switcher keybinding with default settings in GNOME 3.8
+  patch -Np1 -i ../switch-applications.patch
+
   PYTHON=python2 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/muffin \
   				 			 --localstatedir=/var --disable-static --disable-schemas-compile
   make

Added: switch-applications.patch
===================================================================
--- switch-applications.patch	                        (rev 0)
+++ switch-applications.patch	2013-04-24 17:11:57 UTC (rev 88908)
@@ -0,0 +1,20 @@
+diff -Naur linuxmint-muffin-1ad6bd4.orig/src/core/keybindings.c linuxmint-muffin-1ad6bd4/src/core/keybindings.c
+--- linuxmint-muffin-1ad6bd4.orig/src/core/keybindings.c	2013-04-15 15:53:35.000000000 +0200
++++ linuxmint-muffin-1ad6bd4/src/core/keybindings.c	2013-04-24 18:37:54.028549911 +0200
+@@ -3774,14 +3774,14 @@
+                           handle_switch, META_TAB_LIST_GROUP);
+ 
+   add_builtin_keybinding (display,
+-                          "switch-windows",
++                          "switch-applications",
+                           SCHEMA_COMMON_KEYBINDINGS,
+                           META_KEY_BINDING_REVERSES,
+                           META_KEYBINDING_ACTION_SWITCH_WINDOWS,
+                           handle_switch, META_TAB_LIST_NORMAL);
+ 
+   add_builtin_keybinding (display,
+-                          "switch-windows-backward",
++                          "switch-applications-backward",
+                           SCHEMA_COMMON_KEYBINDINGS,
+                           REVERSES_AND_REVERSED,
+                           META_KEYBINDING_ACTION_SWITCH_WINDOWS_BACKWARD,




More information about the arch-commits mailing list