diff -Nru gramps-4.0.3+dfsg/debian/changelog gramps-4.0.3+dfsg/debian/changelog --- gramps-4.0.3+dfsg/debian/changelog 2014-02-04 18:39:36.000000000 +0000 +++ gramps-4.0.3+dfsg/debian/changelog 2014-02-09 08:22:23.000000000 +0000 @@ -1,3 +1,10 @@ +gramps (4.0.3+dfsg-2) unstable; urgency=low + + * Correct gtkspell dependency (Closes: #737715) + * Apply patch from upstream to fix empty string bug (Closes: #738104) + + -- Ross Gammon Wed, 05 Feb 2014 23:47:46 +0100 + gramps (4.0.3+dfsg-1) unstable; urgency=low * New upstream release (Closes: #720858) diff -Nru gramps-4.0.3+dfsg/debian/control gramps-4.0.3+dfsg/debian/control --- gramps-4.0.3+dfsg/debian/control 2014-02-04 18:39:36.000000000 +0000 +++ gramps-4.0.3+dfsg/debian/control 2014-02-09 08:22:23.000000000 +0000 @@ -34,7 +34,7 @@ Suggests: fonts-freefont-ttf, gir1.2-gexiv2-0.4, - gir1.2-gtk-gtkspell3-3.0, + gir1.2-gtkspell3-3.0, python-pil, rcs Description: Genealogical research program diff -Nru gramps-4.0.3+dfsg/debian/patches/0003-7429-Fix-bug-when-an-empty-string-is-used-as-custom-.patch gramps-4.0.3+dfsg/debian/patches/0003-7429-Fix-bug-when-an-empty-string-is-used-as-custom-.patch --- gramps-4.0.3+dfsg/debian/patches/0003-7429-Fix-bug-when-an-empty-string-is-used-as-custom-.patch 1970-01-01 00:00:00.000000000 +0000 +++ gramps-4.0.3+dfsg/debian/patches/0003-7429-Fix-bug-when-an-empty-string-is-used-as-custom-.patch 2014-02-09 08:22:23.000000000 +0000 @@ -0,0 +1,30 @@ +From: Nick Hall +Date: Sun, 2 Feb 2014 15:42:45 +0000 +Subject: 7429: Fix bug when an empty string is used as custom type + +From: Nick Hall +Subject: Fix bug when an empty string is used as custom type + + * gramps/gui/autocomp.py: Minor patch + +Origin: upstream, http://sourceforge.net/p/gramps/source/ci/4c51f7d033b42bf1f4faa8a6875a9794fed99547/ +Bug: https://gramps-project.org/bugs/view.php?id=7429 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738104 +--- + gramps/gui/autocomp.py | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/gramps/gui/autocomp.py b/gramps/gui/autocomp.py +index ef748e3..bcfdc1e 100644 +--- a/gramps/gui/autocomp.py ++++ b/gramps/gui/autocomp.py +@@ -276,8 +276,7 @@ class StandardCustomSelector(object): + instance. + """ + if isinstance(event_type, STRTYPE): +- if event_type: +- return (self.custom_key, event_type) ++ return (self.custom_key, event_type) + elif isinstance(event_type, tuple): + if event_type[1]: + return (event_type[0], event_type[1]) diff -Nru gramps-4.0.3+dfsg/debian/patches/series gramps-4.0.3+dfsg/debian/patches/series --- gramps-4.0.3+dfsg/debian/patches/series 2014-02-04 18:39:36.000000000 +0000 +++ gramps-4.0.3+dfsg/debian/patches/series 2014-02-09 08:22:23.000000000 +0000 @@ -1,2 +1,3 @@ 0001-Correct-resource-path-in-setup.py.patch 0002-Disable-HTML-View.patch +0003-7429-Fix-bug-when-an-empty-string-is-used-as-custom-.patch