[cinnamon] update to 2.4.5

leigh123linux leigh123linux at fedoraproject.org
Tue Dec 2 10:39:50 UTC 2014


commit c7732937d35ce061a797558bbcc2310f9a640642
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Tue Dec 2 10:39:47 2014 +0000

    update to 2.4.5

 .gitignore                |    1 +
 cinnamon.spec             |   11 ++++++++---
 show_brightness_fix.patch |   11 +++++++++++
 sources                   |    2 +-
 4 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 32e8fea..b64cf74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,3 +45,4 @@
 /Cinnamon-2.4.1.tar.gz
 /Cinnamon-2.4.2.tar.gz
 /Cinnamon-2.4.4.tar.gz
+/Cinnamon-2.4.5.tar.gz
diff --git a/cinnamon.spec b/cinnamon.spec
index a4facab..feb9fcf 100644
--- a/cinnamon.spec
+++ b/cinnamon.spec
@@ -1,8 +1,8 @@
 #global _internal_version  ea748a2
 
 Name:           cinnamon
-Version:        2.4.4
-Release:        2%{?dist}
+Version:        2.4.5
+Release:        1%{?dist}
 Summary:        Window management and application launching for GNOME
 License:        GPLv2+ and LGPLv2+
 URL:            http://cinnamon.linuxmint.com 
@@ -28,6 +28,7 @@ Patch6:         cinnamon-gtk-3.14.patch
 %endif
 Patch7:         default_panal_launcher.patch
 Patch8:         remove_session_bits.patch
+Patch9:         show_brightness_fix.patch
 
 %global clutter_version 1.12.2
 %global cjs_version 2.3.1
@@ -104,7 +105,6 @@ Requires:       pygobject2
 Requires:       dbus-python
 Requires:       python-lxml
 Requires:       gnome-python2-gconf
-Requires:       gstreamer-python
 Requires:       python-pillow
 Requires:       PyPAM
 Requires:       mintlocale
@@ -253,6 +253,11 @@ fi
 %{_mandir}/man1/*
 
 %changelog
+* Tue Dec 02 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.4.5-1
+- update to 2.4.5
+- attempt to fix brightness control detection
+- drop requires gstreamer-python
+
 * Wed Nov 26 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.4.4-2
 - remove session timeout settings from general
 
diff --git a/show_brightness_fix.patch b/show_brightness_fix.patch
new file mode 100644
index 0000000..fbfabfa
--- /dev/null
+++ b/show_brightness_fix.patch
@@ -0,0 +1,11 @@
+--- a/files/usr/lib/cinnamon-settings/modules/cs_power.py	2014-11-26 10:02:59.000000000 +0000
++++ b/files/usr/lib/cinnamon-settings/modules/cs_power.py	2014-12-02 10:20:08.218282012 +0000
+@@ -57,7 +57,7 @@ class Module:
+                 screen = CinnamonDesktop.RRScreen.new(Gdk.Screen.get_default())
+                 outputs = CinnamonDesktop.RRScreen.list_outputs(screen)
+                 for output in outputs:
+-                    if (output.is_connected() and output.is_laptop() and output.get_backlight_min() >= 0 and output.get_backlight_max() > 0):
++                    if (output.is_connected() and output.is_laptop()):
+                         primary_output = output
+                         break
+             except Exception, detail:
diff --git a/sources b/sources
index 3f97752..f698317 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-88b26ebe971837531d8beedcc164873e  Cinnamon-2.4.4.tar.gz
+6b48bf816a71fab9ba7296447660ecb1  Cinnamon-2.4.5.tar.gz


More information about the scm-commits mailing list