From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/muffin/PKGBUILD | 40 ++++++++++++++++++++++++++++++ community/muffin/muffin.install | 10 ++++++++ community/muffin/switch-applications.patch | 20 +++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 community/muffin/PKGBUILD create mode 100644 community/muffin/muffin.install create mode 100644 community/muffin/switch-applications.patch (limited to 'community/muffin') diff --git a/community/muffin/PKGBUILD b/community/muffin/PKGBUILD new file mode 100644 index 000000000..a577edb80 --- /dev/null +++ b/community/muffin/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 91466 2013-05-23 00:58:44Z faidoc $ +# Maintainer: Alexandre Filgueira +# Contributor: Adam Hani Schakaki +# Contributor: Ner0 + +pkgname=muffin +pkgver=1.8.2 +pkgrel=1 +pkgdesc="Cinnamon window manager based on Mutter" +arch=('i686' 'x86_64') +url="https://github.com/linuxmint/muffin" +license=('GPL') +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/archive/$pkgver.tar.gz" + "switch-applications.patch") +sha256sums=('903c6ab5e228c8a1b8e05f460ba34c111e8a92ce9382ebd0b014416af4dd7049' + '206eefac342b08e061c4eedfb6b9e0c96e2eae8fb9535f52f20bf50464381a96') + +build() { + cd ${pkgname}-${pkgver} + + # 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 +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/muffin/muffin.install b/community/muffin/muffin.install new file mode 100644 index 000000000..2daef58d5 --- /dev/null +++ b/community/muffin/muffin.install @@ -0,0 +1,10 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} +post_remove() { + post_install +} diff --git a/community/muffin/switch-applications.patch b/community/muffin/switch-applications.patch new file mode 100644 index 000000000..61b727b57 --- /dev/null +++ b/community/muffin/switch-applications.patch @@ -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, -- cgit v1.2.3-54-g00ecf