From 3cac87d446c6597898f6404518e67a0ba1d762c68096d7ea1116121e8dfdc9ca Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 4 Nov 2016 20:01:59 +0000 Subject: [PATCH] Accepting request 438612 from GNOME:Apps 1 OBS-URL: https://build.opensuse.org/request/show/438612 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=65 --- gnucash-2.6.12.tar.gz | 3 --- gnucash-2.6.14.tar.gz | 3 +++ gnucash-libdbi-0.9.patch | 15 -------------- gnucash.changes | 43 ++++++++++++++++++++++++++++++++++++++++ gnucash.spec | 11 ++-------- 5 files changed, 48 insertions(+), 27 deletions(-) delete mode 100644 gnucash-2.6.12.tar.gz create mode 100644 gnucash-2.6.14.tar.gz delete mode 100644 gnucash-libdbi-0.9.patch diff --git a/gnucash-2.6.12.tar.gz b/gnucash-2.6.12.tar.gz deleted file mode 100644 index 063c206..0000000 --- a/gnucash-2.6.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9582b60ce8de0b329c4aff6955a47cedf84c5292839a5b29204d78cbe3d0fd15 -size 19117148 diff --git a/gnucash-2.6.14.tar.gz b/gnucash-2.6.14.tar.gz new file mode 100644 index 0000000..3c7e4d6 --- /dev/null +++ b/gnucash-2.6.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:958f658c1ce5cbf2cf6d21afd8c618acfc76fe99f9d204e4e40cf58e2e2d1b14 +size 18909920 diff --git a/gnucash-libdbi-0.9.patch b/gnucash-libdbi-0.9.patch deleted file mode 100644 index f1cd2cd..0000000 --- a/gnucash-libdbi-0.9.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: gnucash-2.6.4/src/backend/dbi/gnc-backend-dbi.c -=================================================================== ---- gnucash-2.6.4.orig/src/backend/dbi/gnc-backend-dbi.c -+++ gnucash-2.6.4/src/backend/dbi/gnc-backend-dbi.c -@@ -2106,7 +2106,9 @@ row_get_value_at_col_name( GncSqlRow* ro - dbi_result_t *result = (dbi_result_t*)(dbi_row->result); - guint64 row = dbi_result_get_currow (result); - guint idx = dbi_result_get_field_idx (result, col_name) - 1; -- time64 time = result->rows[row]->field_values[idx].d_datetime; -+ const dbi_datetimex *dtx = &result->rows[row]->field_values[idx].d_datetimex; -+ struct tm copy = dtx->tm; -+ time64 time = timegm(©) - dtx->utc_offset; - (void)g_value_init( value, G_TYPE_INT64 ); - g_value_set_int64 (value, time); - } diff --git a/gnucash.changes b/gnucash.changes index 1e403ba..e641dbe 100644 --- a/gnucash.changes +++ b/gnucash.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Wed Nov 2 17:30:43 UTC 2016 - dimstar@opensuse.org + +- Update to version 2.6.14: + + Build improvements with CMake, accomodation for Guile-2.0.12 on + Gentoo. + + Change the date_posted timestamp from midnight local to + 11:00 AM GMT, which will be the same date in nearly all + timezones. + + SX - Recalculate all occurrences of all SX if the calendar is + updated to start on another month. + + SX Window: correctly show first sx on calendar when it is moved + to next weekday. + + Work around libofx bug which caused OFX imports to have the + wrong date_posted when in an eastern-hemisphere timezone and + not daylight time. + + Indicate in the register when a transaction has an associated + file or URI. The indicator will appear in the "reconciled" + column in the second transaction line (enable double-line view + to see it). + + Bugs fixed: bgo#643025, bgo#733153, bgo#742461, bgo#756416, + bgo#761667, bgo#762901, bgo#769730, bgo#769746, bgo#770113, + bgo#770136, bgo#770181, bgo#770196, bgo#770303, bgo#771246, + bgo#771379. +- Changes from version 2.6.13: + + Check printing: make logic easier to follow. + + Fix adjust_sql_option_string test on Windows. + + Don't try to compile test_adjust_sql_options on windows, it + won't link. + + Fix the CMake build by linking gnc-backend-dbi for + test-backend-dbi. + + Improved adjust_sql_options_string, added tests. + + Improve quickfill performance on huge registers. + + Mac Localization: Prefer the country to the language for + fall-back locales. + + Update README to refer to wiki Submitting_Patches and regarding + pull request policy. + + Bugs fixed: bgo#637004, bgo#736352, bgo#748983, bgo#760021, + bgo#761672, bgo#764248, bgo#764871, bgo#765859, bgo#766028, + bgo#766200, bgo#766688, bgo#766960, bgo#767824. + + Updated translations. +- Drop gnucash-libdbi-0.9.patch: fixed upstream. + ------------------------------------------------------------------- Tue Jun 21 21:08:16 UTC 2016 - zaitor@opensuse.org diff --git a/gnucash.spec b/gnucash.spec index 0190397..0c17e44 100644 --- a/gnucash.spec +++ b/gnucash.spec @@ -17,18 +17,16 @@ Name: gnucash -Version: 2.6.12 +Version: 2.6.14 Release: 0 Summary: Personal Finance Manager License: SUSE-GPL-2.0-with-openssl-exception or SUSE-GPL-3.0-with-openssl-exception Group: Productivity/Office/Finance Url: http://www.gnucash.org/ -Source: http://downloads.sourceforge.net/project/gnucash/gnucash%20%28stable%29/%{version}/%{name}-%{version}.tar.gz +Source: https://sourceforge.net/projects/gnucash/files/gnucash%20%28stable%29/2.6.14/gnucash-2.6.14.tar.gz/download#/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches Patch0: gnucash-cpan-warning.patch -# PATCH-FIX-UPSTREAM gnucash-libdbi-0.9.patch dimstar@opensuse.org -- Fix build with libdbi-0.9.0+git23 and newer -Patch1: gnucash-libdbi-0.9.patch BuildRequires: automake BuildRequires: doxygen BuildRequires: fdupes @@ -118,11 +116,6 @@ balanced books. %setup -q # This patch must be applied: %patch0 -%if (0%{?suse_version} == 1315 && %{is_opensuse}) || 0%{suse_version} > 1315 -# in openSUSE Factory, we have libdbi 0.9.0+git23, which changed the API a bit -# SLE12 contains libdbi 0.9.0, before this API change. -%patch1 -p1 -%endif %build autoreconf -fiv