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
This commit is contained in:
Dominique Leuenberger 2016-11-04 20:01:59 +00:00 committed by Git OBS Bridge
parent e30cd0f236
commit 3cac87d446
5 changed files with 48 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9582b60ce8de0b329c4aff6955a47cedf84c5292839a5b29204d78cbe3d0fd15
size 19117148

3
gnucash-2.6.14.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:958f658c1ce5cbf2cf6d21afd8c618acfc76fe99f9d204e4e40cf58e2e2d1b14
size 18909920

View File

@ -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(&copy) - dtx->utc_offset;
(void)g_value_init( value, G_TYPE_INT64 );
g_value_set_int64 (value, time);
}

View File

@ -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 Tue Jun 21 21:08:16 UTC 2016 - zaitor@opensuse.org

View File

@ -17,18 +17,16 @@
Name: gnucash Name: gnucash
Version: 2.6.12 Version: 2.6.14
Release: 0 Release: 0
Summary: Personal Finance Manager Summary: Personal Finance Manager
License: SUSE-GPL-2.0-with-openssl-exception or SUSE-GPL-3.0-with-openssl-exception License: SUSE-GPL-2.0-with-openssl-exception or SUSE-GPL-3.0-with-openssl-exception
Group: Productivity/Office/Finance Group: Productivity/Office/Finance
Url: http://www.gnucash.org/ 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 Source1: %{name}-rpmlintrc
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
Patch0: gnucash-cpan-warning.patch 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: automake
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes BuildRequires: fdupes
@ -118,11 +116,6 @@ balanced books.
%setup -q %setup -q
# This patch must be applied: # This patch must be applied:
%patch0 %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 %build
autoreconf -fiv autoreconf -fiv