[drwright/f18] Update to 3.5.0

Kalev Lember kalev at fedoraproject.org
Wed Sep 19 21:16:00 UTC 2012


commit 254f616a7763b5b40f143ce243ff82ccc6b41306
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Wed Sep 19 23:14:37 2012 +0200

    Update to 3.5.0
    
    - Fix the build with new gnome-settings-daemon

 drwright-gsd-register.patch |   17 +++++++++++++++++
 drwright.spec               |   15 +++++++++++----
 sources                     |    2 +-
 3 files changed, 29 insertions(+), 5 deletions(-)
---
diff --git a/drwright-gsd-register.patch b/drwright-gsd-register.patch
new file mode 100644
index 0000000..ae4abf3
--- /dev/null
+++ b/drwright-gsd-register.patch
@@ -0,0 +1,17 @@
+--- a/src/gsd-typing-break-plugin.c
++++ b/src/gsd-typing-break-plugin.c
+@@ -35,11 +35,6 @@ struct GsdTypingBreakPluginPrivate {
+ GNOME_SETTINGS_PLUGIN_REGISTER (GsdTypingBreakPlugin, gsd_typing_break_plugin)
+ 
+ static void
+-gsd_typing_break_plugin_class_finalize (GsdTypingBreakPluginClass *klass)
+-{
+-}
+-
+-static void
+ gsd_typing_break_plugin_init (GsdTypingBreakPlugin *plugin)
+ {
+         plugin->priv = GSD_TYPING_BREAK_PLUGIN_GET_PRIVATE (plugin);
+-- 
+1.7.12
+
diff --git a/drwright.spec b/drwright.spec
index 57e369e..a4bca26 100644
--- a/drwright.spec
+++ b/drwright.spec
@@ -1,11 +1,14 @@
 Name:           drwright
-Version:        3.2.5
-Release:        2%{?dist}
+Version:        3.5.0
+Release:        1%{?dist}
 Summary:        Typing monitor to force typing breaks
 
 License:        GPLv2+
 URL:            http://www.gnome.org/
-Source0:        http://download.gnome.org/sources/%{name}/3.2/%{name}-%{version}.tar.xz
+Source0:        http://download.gnome.org/sources/%{name}/3.5/%{name}-%{version}.tar.xz
+# Build fix with new gnome-settings-daemon, backported from upstream
+# commit 6fb8014c
+Patch0:         drwright-gsd-register.patch
 
 BuildRequires:  glib2-devel >= 2.26.0
 BuildRequires:  gtk3-devel >= 3.0.0
@@ -23,6 +26,7 @@ BuildRequires:  intltool
 
 %prep
 %setup -q
+%patch0 -p1 -b .gsd_register
 
 %build
 %configure --disable-static
@@ -54,7 +58,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 %files -f %{name}.lang
 %doc AUTHORS COPYING NEWS
-%{_datadir}/%{name}
 %{_libexecdir}/%{name}
 %{_datadir}/glib-2.0/schemas/*.xml
 %{_datadir}/applications/gnome-typing-break-panel.desktop
@@ -65,6 +68,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %{_libdir}/gnome-settings-daemon-3.0/typing-break.gnome-settings-plugin
 
 %changelog
+* Wed Sep 19 2012 Kalev Lember <kalevlember at gmail.com> - 3.5.0-1
+- Update to 3.5.0
+- Fix the build with new gnome-settings-daemon
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.5-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index ec7129a..b43d5e7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c23d1b9aefdbf31268b888f50826c164  drwright-3.2.5.tar.xz
+b4029505db14801a3f79ad39df7d4561  drwright-3.5.0.tar.xz


More information about the scm-commits mailing list