diff -Nru gnucash-2.6.17/debian/changelog gnucash-2.6.17/debian/changelog --- gnucash-2.6.17/debian/changelog 2017-07-08 13:22:48.000000000 +0000 +++ gnucash-2.6.17/debian/changelog 2017-09-20 18:43:43.000000000 +0000 @@ -1,3 +1,10 @@ +gnucash (1:2.6.17-1ubuntu1) artful; urgency=medium + + * debian/patches/fix-test-for-gobject-messages.patch: fix test case to + work with newer gobject. + + -- Steve Langasek Wed, 20 Sep 2017 11:43:43 -0700 + gnucash (1:2.6.17-1) unstable; urgency=medium * New upstream release [July 2017]. diff -Nru gnucash-2.6.17/debian/control gnucash-2.6.17/debian/control --- gnucash-2.6.17/debian/control 2017-07-08 13:20:55.000000000 +0000 +++ gnucash-2.6.17/debian/control 2017-09-20 18:43:43.000000000 +0000 @@ -1,7 +1,8 @@ Source: gnucash Section: gnome Priority: optional -Maintainer: Dmitry Smirnov +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Dmitry Smirnov Standards-Version: 4.0.0 Build-Depends: debhelper (>= 10), intltool, pkg-config, dh-autoreconf, dh-python, guile-2.0-dev, diff -Nru gnucash-2.6.17/debian/patches/fix-test-for-gobject-messages.patch gnucash-2.6.17/debian/patches/fix-test-for-gobject-messages.patch --- gnucash-2.6.17/debian/patches/fix-test-for-gobject-messages.patch 1970-01-01 00:00:00.000000000 +0000 +++ gnucash-2.6.17/debian/patches/fix-test-for-gobject-messages.patch 2017-09-20 18:43:37.000000000 +0000 @@ -0,0 +1,31 @@ +Description: fix test case to work with newer gobject + glib 2.54 changes the error string returned by a particular wrong call + to g_object_set(). gnucash's testsuite relies on matching the exact + text of this error string. This is a wrong thing for the testsuite to do + - nothing in gnucash outside of the testsuite relies on this behavior, and + it's testing behavior of glib not of gnucash - but for the moment, here is + a patch that updates the expected string to match current glib. +Author: Steve Langasek + +Index: gnucash-2.6.17/src/engine/test/utest-Transaction.c +=================================================================== +--- gnucash-2.6.17.orig/src/engine/test/utest-Transaction.c ++++ gnucash-2.6.17/src/engine/test/utest-Transaction.c +@@ -412,7 +412,7 @@ + "GNR", "", 240), *t_curr = NULL; + Timespec now = timespec_now (), *t_entered = NULL, *t_posted = NULL; + time_t secs = (time_t)now.tv_sec; +- gchar *msg1 = "g_object_set_valist: object class " _Q "Transaction' has no property named " _Q "bogus'"; ++ gchar *msg1 = "g_object_set_is_valid_property: object class " _Q "Transaction' has no property named " _Q "bogus'"; + gchar *msg2 = g_strdup_printf ("[xaccTransSetDateInternal] addr=%p set date to %" G_GUINT64_FORMAT ".%09ld %s", + txn, now.tv_sec, now.tv_nsec, ctime (&secs)); + GLogLevelFlags loglevel1 = G_LOG_LEVEL_WARNING | G_LOG_FLAG_FATAL; +@@ -453,7 +453,7 @@ + g_assert_cmpint (check2->hits, ==, 2); + + g_free (check1->msg); +- check1->msg = g_strdup ("g_object_get_valist: object class " _Q "Transaction' has no property named " _Q "bogus'"); ++ check1->msg = g_strdup ("g_object_get_is_valid_property: object class " _Q "Transaction' has no property named " _Q "bogus'"); + g_object_get (G_OBJECT (txn), + "num", &t_num, + "description", &t_desc, diff -Nru gnucash-2.6.17/debian/patches/series gnucash-2.6.17/debian/patches/series --- gnucash-2.6.17/debian/patches/series 2016-12-21 21:24:42.000000000 +0000 +++ gnucash-2.6.17/debian/patches/series 2017-09-20 18:19:43.000000000 +0000 @@ -1 +1,2 @@ hardening-fortify.patch +fix-test-for-gobject-messages.patch