summaryrefslogtreecommitdiff
path: root/community/cinnamon-settings-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'community/cinnamon-settings-daemon')
-rw-r--r--community/cinnamon-settings-daemon/PKGBUILD15
-rw-r--r--community/cinnamon-settings-daemon/upower_lid.patch28
2 files changed, 5 insertions, 38 deletions
diff --git a/community/cinnamon-settings-daemon/PKGBUILD b/community/cinnamon-settings-daemon/PKGBUILD
index a4ef7ea62..872bf1b07 100644
--- a/community/cinnamon-settings-daemon/PKGBUILD
+++ b/community/cinnamon-settings-daemon/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 110375 2014-04-28 15:11:33Z jgc $
+# $Id: PKGBUILD 110557 2014-05-03 17:35:24Z faidoc $
# Maintainer: Alexandre Filgueira (faidoc) <alexfilgueira@antergos.com>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=cinnamon-settings-daemon
-pkgver=2.2.1
-pkgrel=3
+pkgver=2.2.2
+pkgrel=1
pkgdesc="The Cinnamon Settings daemon"
arch=('i686' 'x86_64')
license=('GPL')
@@ -14,16 +14,11 @@ makedepends=('intltool' 'docbook-xsl' 'gnome-common' 'xf86-input-wacom')
options=('!emptydirs')
install=cinnamon-settings-daemon.install
url="https://github.com/linuxmint/cinnamon-settings-daemon"
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-settings-daemon/archive/${pkgver}.tar.gz"
- "upower_lid.patch")
-sha256sums=('89798977ad44fa4cfaff26d93e21b29f1a9a6a68a1c57c30e5414ad2159a849e'
- '4a94ab880a903c88929ecbfc465cb46aadf30ee14930274fa0eefb7a12f4e3b8')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-settings-daemon/archive/${pkgver}.tar.gz")
+sha256sums=('4a7f7fdb1ce7d889634bf0f5f5a3391b4209400262037dae899fb5071d3fee61')
prepare() {
cd $pkgname-$pkgver
-
- # Fix close lid action with upower 0.99
- patch -Np1 -i ../upower_lid.patch
}
build() {
diff --git a/community/cinnamon-settings-daemon/upower_lid.patch b/community/cinnamon-settings-daemon/upower_lid.patch
deleted file mode 100644
index a8f44dae5..000000000
--- a/community/cinnamon-settings-daemon/upower_lid.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/plugins/power/csd-power-manager.c
-+++ b/plugins/power/csd-power-manager.c
-@@ -2215,7 +2215,11 @@ do_lid_closed_action (CsdPowerManager *m
-
-
- static void
-+#if UP_CHECK_VERSION(0,99,0)
-+lid_state_changed_cb (UpClient *client, GParamSpec *pspec, CsdPowerManager *manager)
-+#else
- up_client_changed_cb (UpClient *client, CsdPowerManager *manager)
-+#endif
- {
- gboolean tmp;
-
-@@ -3967,8 +3971,13 @@ csd_power_manager_start (CsdPowerManager
- G_CALLBACK (engine_device_removed_cb), manager);
- g_signal_connect (manager->priv->up_client, "device-changed",
- G_CALLBACK (engine_device_changed_cb), manager);
-+#if UP_CHECK_VERSION(0,99,0)
-+ g_signal_connect_after (manager->priv->up_client, "notify::lid-is-closed",
-+ G_CALLBACK (lid_state_changed_cb), manager);
-+#else
- g_signal_connect_after (manager->priv->up_client, "changed",
- G_CALLBACK (up_client_changed_cb), manager);
-+#endif
-
- /* use the fallback name from gnome-power-manager so the shell
- * blocks this, and uses the power extension instead */