diff --git a/0001-Initialize-error-pointer-for-gdk_pixbuf_new_from_fil.patch b/0001-Initialize-error-pointer-for-gdk_pixbuf_new_from_fil.patch new file mode 100644 index 0000000..586193a --- /dev/null +++ b/0001-Initialize-error-pointer-for-gdk_pixbuf_new_from_fil.patch @@ -0,0 +1,27 @@ +From e0c575ea768f2f5bb01cfc02908ddd48e691999d Mon Sep 17 00:00:00 2001 +From: Michael Hamann +Date: Mon, 3 Oct 2011 00:49:55 +0200 +Subject: [PATCH] Initialize error pointer for + gdk_pixbuf_new_from_file_at_size properly + +Signed-off-by: Richard Hughes +--- + src/gcm-calibrate-main.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c +index b8ef50a..cdf25ac 100644 +--- a/src/gcm-calibrate-main.c ++++ b/src/gcm-calibrate-main.c +@@ -2072,7 +2072,7 @@ gcm_calib_image_changed_cb (GcmCalibrate *calibrate, + { + gchar *path; + GdkPixbuf *pixbuf; +- GError *error; ++ GError *error = NULL; + + if (filename != NULL) { + path = g_build_filename (GCM_DATA, "icons", filename, NULL); +-- +1.7.6.4 + diff --git a/gnome-color-manager.spec b/gnome-color-manager.spec index 20c0868..37cde44 100644 --- a/gnome-color-manager.spec +++ b/gnome-color-manager.spec @@ -1,11 +1,12 @@ Summary: Color management tools for GNOME Name: gnome-color-manager Version: 3.2.0 -Release: 1%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: Applications/System URL: http://projects.gnome.org/gnome-color-manager/ Source0: http://download.gnome.org/sources/gnome-color-manager/3.2/%{name}-%{version}.tar.xz +Patch0: 0001-Initialize-error-pointer-for-gdk_pixbuf_new_from_fil.patch Requires: color-filesystem >= 1-7 Requires: gnome-icon-theme @@ -49,6 +50,7 @@ and generate color profiles in the GNOME desktop. %prep %setup -q +%patch0 -p1 -b .rui %build %configure --disable-scrollkeeper --disable-schemas-install @@ -102,18 +104,29 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/dbus-1/services/org.gnome.ColorManager.service %changelog +* Thu Oct 06 2011 Adam Jackson 3.2.0-3 +- 0001-Initialize-error-pointer-for-gdk_pixbuf_new_from_fil.patch: Backport + a crash fix from mainline. + +* Mon Sep 26 2011 Richard Hughes - 3.2.0-2 +- Rebuild for libmash API update. + * Mon Sep 26 2011 Richard Hughes - 3.2.0-1 - New upstream version. -* Tue Sep 20 2011 Matthias Clasen - 3.1.92-2 -- Rebuild against newer clutter - * Mon Sep 19 2011 Richard Hughes - 3.1.92-1 - New upstream version. +* Fri Sep 16 2011 Richard Hughes - 3.1.91-3 +- Rebuild for libmash soname update (which for the moment will disable + the 3D renderer code). + * Mon Sep 05 2011 Richard Hughes - 3.1.91-1 - New upstream version. +* Tue Aug 30 2011 Richard Hughes - 3.1.90-2 +- BR a high enough colord. + * Tue Aug 30 2011 Richard Hughes - 3.1.90-1 - New upstream version.