summaryrefslogtreecommitdiff
path: root/community/cinnamon-control-center
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-08 01:04:35 -0700
committerroot <root@rshg054.dnsready.net>2013-05-08 01:04:35 -0700
commitd6413cd6dac778aa64e48046ce7110000997ff61 (patch)
treeea1f6355efa7d2bf83845e79d14d30c2760897e5 /community/cinnamon-control-center
parentda0a0d88caa1bf934ebf314ef86e15928dbb027b (diff)
Wed May 8 01:04:33 PDT 2013
Diffstat (limited to 'community/cinnamon-control-center')
-rw-r--r--community/cinnamon-control-center/PKGBUILD8
-rw-r--r--community/cinnamon-control-center/gnomerrlabeler.patch31
2 files changed, 14 insertions, 25 deletions
diff --git a/community/cinnamon-control-center/PKGBUILD b/community/cinnamon-control-center/PKGBUILD
index fcde00b2b..5ec28c926 100644
--- a/community/cinnamon-control-center/PKGBUILD
+++ b/community/cinnamon-control-center/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 89868 2013-05-03 19:53:33Z faidoc $
+# $Id: PKGBUILD 90134 2013-05-06 22:58:48Z faidoc $
# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com
# Based on gnome-control-center:
# Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Jan de Groot <jgc@archlinux.org>
pkgname=cinnamon-control-center
-pkgver=1.7.5
+pkgver=1.8.0
pkgrel=1
pkgdesc="The Control Center for Cinnamon"
arch=('i686' 'x86_64')
@@ -19,8 +19,8 @@ options=('!libtool' '!emptydirs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz"
"gnomerrlabeler.patch"
"idle-delay.patch")
-sha256sums=('50192b279bd2d6c9a0cb686144d5cf8195e33fbe1e107baeca6da03a638e1f8d'
- '826de61fa60349a99c6895f2ffb0ea1c7f71031b17dd80bb245e3834b30b6ff6'
+sha256sums=('7230d509f5837906b5497279cfbd96180e5c8dad89777fb31a81fd0c73354fa9'
+ '604f0a30369d0380a0c5634f1fd50f3f44a89c0b3caec66b60d9e2648b569b90'
'42ea92628dc234d65e582592a66c0011d5bb2c2eac14854a06f7a9dc923c8d67')
build() {
diff --git a/community/cinnamon-control-center/gnomerrlabeler.patch b/community/cinnamon-control-center/gnomerrlabeler.patch
index b763078ba..b263613c4 100644
--- a/community/cinnamon-control-center/gnomerrlabeler.patch
+++ b/community/cinnamon-control-center/gnomerrlabeler.patch
@@ -1,6 +1,5 @@
-diff -Naur cinnamon-control-center-1.7.3.orig/panels/display/cc-display-panel.c cinnamon-control-center-1.7.3/panels/display/cc-display-panel.c
---- cinnamon-control-center-1.7.3.orig/panels/display/cc-display-panel.c 2013-04-15 16:04:38.000000000 +0200
-+++ cinnamon-control-center-1.7.3/panels/display/cc-display-panel.c 2013-04-22 03:46:53.499944701 +0200
+--- cinnamon-control-center-1.8.0.orig/panels/display/cc-display-panel.c 2013-05-05 13:12:28.000000000 +0200
++++ cinnamon-control-center-1.8.0/panels/display/cc-display-panel.c 2013-05-07 00:27:44.901035877 +0200
@@ -31,12 +31,13 @@
#define GNOME_DESKTOP_USE_UNSTABLE_API
#include <libgnome-desktop/gnome-rr.h>
@@ -8,7 +7,7 @@ diff -Naur cinnamon-control-center-1.7.3.orig/panels/display/cc-display-panel.c
-#include <libgnome-desktop/gnome-rr-labeler.h>
#include <gdk/gdkx.h>
#include <X11/Xlib.h>
- #include <glib/gi18n.h>
+ #include <glib/gi18n-lib.h>
#include <gdesktop-enums.h>
+#include "cc-rr-labeler.h"
@@ -34,7 +33,7 @@ diff -Naur cinnamon-control-center-1.7.3.orig/panels/display/cc-display-panel.c
g_object_unref (self->priv->labeler);
G_OBJECT_CLASS (cc_display_panel_parent_class)->finalize (object);
-@@ -293,16 +294,16 @@
+@@ -293,14 +294,14 @@
self->priv->current_output = NULL;
if (self->priv->labeler) {
@@ -43,36 +42,26 @@ diff -Naur cinnamon-control-center-1.7.3.orig/panels/display/cc-display-panel.c
g_object_unref (self->priv->labeler);
}
-- self->priv->labeler = gnome_rr_labeler_new (self->priv->current_configuration);
-+ self->priv->labeler = cc_rr_labeler_new (self->priv->current_configuration);
+ self->priv->labeler = gnome_rr_labeler_new (self->priv->current_configuration);
if (cc_panel_get_shell (CC_PANEL (self)) == NULL)
- gnome_rr_labeler_hide (self->priv->labeler);
+ cc_rr_labeler_hide (self->priv->labeler);
else
-- gnome_rr_labeler_show (self->priv->labeler);
-+ cc_rr_labeler_show (self->priv->labeler);
+ gnome_rr_labeler_show (self->priv->labeler);
- select_current_output_from_dialog_position (self);
-
-@@ -2594,9 +2595,9 @@
- if (self->priv->labeler == NULL)
- return;
+@@ -2596,7 +2597,7 @@
if (gtk_window_has_toplevel_focus (window))
-- gnome_rr_labeler_show (self->priv->labeler);
-+ cc_rr_labeler_show (self->priv->labeler);
+ gnome_rr_labeler_show (self->priv->labeler);
else
- gnome_rr_labeler_hide (self->priv->labeler);
+ cc_rr_labeler_hide (self->priv->labeler);
}
static void
-@@ -2606,9 +2607,9 @@
- if (CC_DISPLAY_PANEL(widget)->priv->labeler == NULL)
- return;
+@@ -2608,7 +2609,7 @@
if (gtk_widget_get_visible (widget)) {
-- gnome_rr_labeler_show (CC_DISPLAY_PANEL (widget)->priv->labeler);
-+ cc_rr_labeler_show (CC_DISPLAY_PANEL (widget)->priv->labeler);
+ gnome_rr_labeler_show (CC_DISPLAY_PANEL (widget)->priv->labeler);
} else {
- gnome_rr_labeler_hide (CC_DISPLAY_PANEL (widget)->priv->labeler);
+ cc_rr_labeler_hide (CC_DISPLAY_PANEL (widget)->priv->labeler);