Accepting request 253932 from GNOME:Apps
- Update gnucash-libdbi-0.9.patch: fix usage of internal function _gnucash-libdbi-0.9.patch (boo#898974). - Update to version 2.6.4: + Add business lot scrubbing to Check & Repair->All/This transaction(s). + Add context to generic translatable string. + Add scrub function to reduce the amount of lot links used. + Add some date format checking and make sure generated dates are the correct user selected format, not always locale format. + Allow the ability to skip rows when importing transactions. + Always use the price we display to calculate the current value of an account. + Better period totals formatting in Invoices. + CSV Export: factor out function to generate regular expression. + CSV Import transform macro into function. + Convert ISO-8859-1 account chart templates to UTF-8. + Correct txf output to use a minus sign, rather than parenthesis. + Fix document type dispay for credit notes on owner report. + Fix test-backend-dbi segfault with libdbi-0.9.0. + Handle the case of scrubbing a lot link between two non-document lots. + Lots of refactoring. + Chart-of-Account Templates Updated. + Bugs fixed: bgo#120199, bgo#434462, bgo#509263, bgo#610202, bgo#630638, bgo#671615, bgo#688965, bgo#692249, bgo#695240, bgo#707243, bgo#711440, bgo#711567, bgo#719457, bgo#719457, bgo#720427, bgo#720934, bgo#722140, bgo#722200, bgo#723145, bgo#723442, bgo#725054, bgo#725366, bgo#726449, bgo#726888, OBS-URL: https://build.opensuse.org/request/show/253932 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=57
This commit is contained in:
parent
dd0588dde4
commit
155a8d0223
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:02104c1d6a563d1209e2116dcca7fa9e28445b0e3335bedbcae85c834b17d93f
|
||||
size 10822437
|
3
gnucash-2.6.4.tar.gz
Normal file
3
gnucash-2.6.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7223d0cf3d472b49414a5619e1b99b4b84835488e12744dd5ecdb5c00fe04653
|
||||
size 17100362
|
@ -32,6 +32,6 @@ Index: src/quotes/gnc-fq-update.in
|
||||
+
|
||||
+exit 0 if ($input ne "n");
|
||||
+
|
||||
CPAN::Shell->install('LWP');
|
||||
CPAN::Shell->install('Date::Manip');
|
||||
CPAN::Shell->install('Mozilla::CA');
|
||||
CPAN::Shell->install('HTML::TableExtract');
|
||||
CPAN::Shell->install('HTTP::Request::Common');
|
||||
|
13
gnucash-guile1.patch
Normal file
13
gnucash-guile1.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- gnucash-2.6.4/configure.ac 2014-09-28 02:11:31.000000000 +0200
|
||||
+++ gnucash-2.6.4.patche/configure.ac 2014-10-01 23:55:11.095602881 +0200
|
||||
@@ -463,7 +463,9 @@
|
||||
[guile-1.8 >= 1.8.5],
|
||||
[m4_ifdef([GUILE1_8_PROGS],
|
||||
[ GUILE1_8_PROGS ],
|
||||
- [ GUILE_PROGS ])
|
||||
+ [ m4_ifdef([GUILE1_PROGS],
|
||||
+ [ GUILE1_PROGS ],
|
||||
+ [ GUILE_PROGS ])])
|
||||
], [
|
||||
PKG_CHECK_MODULES(GUILE,
|
||||
[guile-2.0 >= 2.0.0],
|
@ -1,13 +1,15 @@
|
||||
Index: gnucash-2.6.3/src/backend/dbi/gnc-backend-dbi.c
|
||||
Index: gnucash-2.6.4/src/backend/dbi/gnc-backend-dbi.c
|
||||
===================================================================
|
||||
--- gnucash-2.6.3.orig/src/backend/dbi/gnc-backend-dbi.c
|
||||
+++ gnucash-2.6.3/src/backend/dbi/gnc-backend-dbi.c
|
||||
@@ -2039,7 +2039,7 @@ row_get_value_at_col_name( GncSqlRow* ro
|
||||
--- 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;
|
||||
+ time64 time = _dbi_make_datetime(result->rows[row]->field_values[idx].d_datetimex);
|
||||
+ 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);
|
||||
}
|
||||
|
@ -1,3 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 4 17:42:21 UTC 2014 - novell@whamra.com
|
||||
|
||||
- Update gnucash-libdbi-0.9.patch: fix usage of internal function
|
||||
_gnucash-libdbi-0.9.patch (boo#898974).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 30 19:30:33 UTC 2014 - dimstar@opensuse.org
|
||||
|
||||
- Update to version 2.6.4:
|
||||
+ Add business lot scrubbing to Check & Repair->All/This
|
||||
transaction(s).
|
||||
+ Add context to generic translatable string.
|
||||
+ Add scrub function to reduce the amount of lot links used.
|
||||
+ Add some date format checking and make sure generated dates are
|
||||
the correct user selected format, not always locale format.
|
||||
+ Allow the ability to skip rows when importing transactions.
|
||||
+ Always use the price we display to calculate the current value
|
||||
of an account.
|
||||
+ Better period totals formatting in Invoices.
|
||||
+ CSV Export: factor out function to generate regular expression.
|
||||
+ CSV Import transform macro into function.
|
||||
+ Convert ISO-8859-1 account chart templates to UTF-8.
|
||||
+ Correct txf output to use a minus sign, rather than
|
||||
parenthesis.
|
||||
+ Fix document type dispay for credit notes on owner report.
|
||||
+ Fix test-backend-dbi segfault with libdbi-0.9.0.
|
||||
+ Handle the case of scrubbing a lot link between two
|
||||
non-document lots.
|
||||
+ Lots of refactoring.
|
||||
+ Chart-of-Account Templates Updated.
|
||||
+ Bugs fixed: bgo#120199, bgo#434462, bgo#509263, bgo#610202,
|
||||
bgo#630638, bgo#671615, bgo#688965, bgo#692249, bgo#695240,
|
||||
bgo#707243, bgo#711440, bgo#711567, bgo#719457, bgo#719457,
|
||||
bgo#720427, bgo#720934, bgo#722140, bgo#722200, bgo#723145,
|
||||
bgo#723442, bgo#725054, bgo#725366, bgo#726449, bgo#726888,
|
||||
bgo#727130, bgo#727338, bgo#728103, bgo#728717, bgo#728841,
|
||||
bgo#729157, bgo#729497, bgo#730255, bgo#731519, bgo#732545,
|
||||
bgo#733107, bgo#733283, bgo#733506, bgo#734183, bgo#736703.
|
||||
+ Updated translations.
|
||||
- Rebase gnucash-cpan-warning.patch and gnucash-libdbi-0.9.patch.
|
||||
- Add gnucash-guile1.patch: properly detect GUILE1 on openSUSE.
|
||||
This patch replaces the sed hacks injecting GUILE1 into
|
||||
configure, but has a chance to land upstream.
|
||||
- Unconditionally run autoreconf now, as above patch is applied
|
||||
for all versions of openSUSE.
|
||||
- No longer export GUILE for configure: the patch above makes this
|
||||
work without hacks.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 10 15:04:46 UTC 2014 - dimstar@opensuse.org
|
||||
|
||||
|
15
gnucash.spec
15
gnucash.spec
@ -17,18 +17,20 @@
|
||||
|
||||
|
||||
Name: gnucash
|
||||
Version: 2.6.3
|
||||
Version: 2.6.4
|
||||
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/2.6.3/%{name}-%{version}.tar.bz2
|
||||
Source: http://downloads.sourceforge.net/project/gnucash/gnucash%20%28stable%29/%{version}/%{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
|
||||
# PATCH-FIX-UPSTREAM gnucash-guile1.patch dimstar@opensuse.org -- Properly detect GUILE1 on openSUSE
|
||||
Patch2: gnucash-guile1.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
@ -143,15 +145,10 @@ balanced books.
|
||||
# SLE12 contains libdbi 0.9.0, before this API change.
|
||||
%patch1 -p1
|
||||
%endif
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%if %{?suse_version} >= 1210
|
||||
# needed for patch0 and use of guile1
|
||||
sed -i "s:GUILE_MODULE_AVAILABLE:GUILE1_MODULE_AVAILABLE:" configure.ac
|
||||
autoreconf -fi
|
||||
sed -i "s:guile-config:guile1-config:" configure
|
||||
export GUILE=/usr/bin/guile1
|
||||
%endif
|
||||
autoreconf -fiv
|
||||
%configure\
|
||||
--libexecdir=%{_libexecdir}\
|
||||
--enable-ofx\
|
||||
|
Loading…
x
Reference in New Issue
Block a user