Author: beathovn-guest
Date: 2009-05-04 20:39:46 + (Mon, 04 May 2009)
New Revision: 3364
Added:
trunk/packages/gwyddion/trunk/debian/patches/gwyddion-2.14-browser-invalid-iter.patch
Modified:
trunk/packages/gwyddion/trunk/debian/changelog
trunk/packages/gwyddion/trunk/debian/control
trunk/packages/gwyddion/trunk/debian/patches/series
Log:
Upstream published a patch. Additionally, I changed the FFTW3 build-dependency
slightly for the sake of backporters.
Modified: trunk/packages/gwyddion/trunk/debian/changelog
===
--- trunk/packages/gwyddion/trunk/debian/changelog 2009-05-04 08:52:29 UTC
(rev 3363)
+++ trunk/packages/gwyddion/trunk/debian/changelog 2009-05-04 20:39:46 UTC
(rev 3364)
@@ -1,3 +1,12 @@
+gwyddion (2.14-2) unstable; urgency=low
+
+ * Incorporating an upstream patch to fix critical warnings on creation of
+new channels or graphs, which may lead to a shutdown of gwyddion.
+ * Make backporter's life easier by adjusting build-dependency for FFTW3 to
+libfftw3 | fftw3.
+
+ -- Jan Beyer Mon, 04 May 2009 22:13:28 +0200
+
gwyddion (2.14-1) unstable; urgency=low
* New upstream release.
Modified: trunk/packages/gwyddion/trunk/debian/control
===
--- trunk/packages/gwyddion/trunk/debian/control2009-05-04 08:52:29 UTC
(rev 3363)
+++ trunk/packages/gwyddion/trunk/debian/control2009-05-04 20:39:46 UTC
(rev 3364)
@@ -5,8 +5,8 @@
DM-Upload-Allowed: yes
Uploaders: Jan Beyer
Build-Depends: cdbs, debhelper (>= 5), autotools-dev, pkg-config (>= 0.16),
- libgtk2.0-dev (>= 2.8), libgtkglext1-dev, libtiff4-dev, libfftw3-dev, libxmu6,
- python-gtk2-dev, libgtksourceview2.0-dev, python, ruby, libgconf2-dev,
libxml2-dev, chrpath, quilt
+ libgtk2.0-dev (>= 2.8), libgtkglext1-dev, libtiff4-dev,
libfftw3-dev|fftw3-dev,
+ libxmu6, python-gtk2-dev, libgtksourceview2.0-dev, python, ruby,
libgconf2-dev, libxml2-dev, chrpath, quilt
Standards-Version: 3.8.1
Vcs-Browser:
http://svn.debian.org/wsvn/debian-med/trunk/packages/gwyddion/trunk/?rev=0&sc=0
Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/gwyddion/trunk/
Added:
trunk/packages/gwyddion/trunk/debian/patches/gwyddion-2.14-browser-invalid-iter.patch
===
---
trunk/packages/gwyddion/trunk/debian/patches/gwyddion-2.14-browser-invalid-iter.patch
(rev 0)
+++
trunk/packages/gwyddion/trunk/debian/patches/gwyddion-2.14-browser-invalid-iter.patch
2009-05-04 20:39:46 UTC (rev 3364)
@@ -0,0 +1,129 @@
+Author: upstream
+Copyright: the same as gwyddion
+License: the same as gwyddion
+Description: Fixes Critical warnings when a new channel or graph is created,
+ depending on your runtime Gtk+ environment Gwyddion might abort on such
+ warning.
+--- gwyddion-2.14.orig/app/data-browser.c
gwyddion-2.14/app/data-browser.c
+@@ -497,11 +497,10 @@
+ static void
+ gwy_app_data_proxy_add_object(GwyAppDataList *list,
+ gint i,
++ GtkTreeIter *iter,
+ GObject *object)
+ {
+-GtkTreeIter iter;
+-
+-gtk_list_store_insert_with_values(list->store, &iter, G_MAXINT,
++gtk_list_store_insert_with_values(list->store, iter, G_MAXINT,
+ MODEL_ID, i,
+ MODEL_OBJECT, object,
+ MODEL_WIDGET, NULL,
+@@ -584,12 +583,14 @@
+ static void
+ gwy_app_data_proxy_connect_channel(GwyAppDataProxy *proxy,
+gint i,
++ GtkTreeIter *iter,
+GObject *object)
+ {
+ gchar key[24];
+ GQuark quark;
+
+-gwy_app_data_proxy_add_object(&proxy->lists[PAGE_CHANNELS], i, object);
++gwy_app_data_proxy_add_object(&proxy->lists[PAGE_CHANNELS], i, iter,
++ object);
+ g_snprintf(key, sizeof(key), "/%d/data", i);
+ gwy_debug("%p: %d in %p", object, i, proxy->container);
+ quark = g_quark_from_string(key);
+@@ -700,11 +701,13 @@
+ static void
+ gwy_app_data_proxy_connect_graph(GwyAppDataProxy *proxy,
+ gint i,
++ GtkTreeIter *iter,
+ GObject *object)
+ {
+ GQuark quark;
+
+-gwy_app_data_proxy_add_object(&proxy->lists[PAGE_GRAPHS], i, object);
++gwy_app_data_proxy_add_object(&proxy->lists[PAGE_GRAPHS], i, iter,
++ object);
+ gwy_debug("%p: %d in %p", object, i, proxy->container);
+ quark = gwy_app_get_graph_key_for_id(i);
+ g_object_set_qdata(object, container_quark, proxy->container);
+@@ -813,11 +816,12 @@
+ static void
+ gwy_app_data_proxy_connect_spectra(GwyAppDataProxy *proxy,
+