Hello community, here is the log from the commit of package gnucash for openSUSE:Factory checked in at 2018-04-10 10:54:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnucash (Old) and /work/SRC/openSUSE:Factory/.gnucash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnucash" Tue Apr 10 10:54:25 2018 rev:72 rq:594077 version:3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnucash/gnucash.changes 2017-12-23 12:21:29.621710809 +0100 +++ /work/SRC/openSUSE:Factory/.gnucash.new/gnucash.changes 2018-04-10 10:54:31.521544861 +0200 @@ -1,0 +2,295 @@ +Wed Apr 4 00:52:58 UTC 2018 - [email protected] + +- Update to version 3.0: + + New Features: + - New editors to remove outdated or incorrect match data from + the import maps, a new user interfacs for managing files + associated with transactions, an improved facility for + removing old prices from the price database, and a way to + remove deleted files from the history list in the file menu. + - New Reports: A Reconciliation Report based on the Transaction + Report, an Income GST Report, and a Cashflow Barchart report. + - A new CSV importer largely rewritten in C++, adding new + features including the ability to re-import CSV files + exported from GnuCash, along with a separate CSV price + importer. + - A new preference panel for the Alphavantage API key so that + Finance::Quote users need not edit /etc/gnucash/environment. + - Data file directories are now located appropriately to the + operating system's conventions by default: + $XDG_CONFIG_HOME/gnucash (or the default $HOME/.config/\ + gnucash). + - Accounts in the Bayes import map are now linked by GUID + instead of names so that the matcher won't have to be + retrained if you rename an account. + - MySQL and SQLite3 date storage has changed a bit. Once + converted, MySQL and SQLite3 database will be loadable only + by GnuCash 2.6.19 and later. + - Numerics are rewritten to allow for more significant digits. + The old 6-digit-maximum fraction is now 9-digits, and prices + may have up to 18 digit precision. + - Transaction Report improvements, including regular expression + filtering and many more options and features. + - The About dialog box layout is improved and now includes the + detected Finance::Quote version. + +------------------------------------------------------------------- +Tue Mar 27 02:44:09 UTC 2018 - [email protected] + +- Update to version 2.7.8: + + Bugs fixed: + - Segmentation Fault in Transfer dialog after clearing Date + field and pressing escape (bgo#787439). + - Remove keep above setting for assistant hierarchy + (bgo#794242). + + Other fixes: + - Test for Key_file not being NULL before trying to free it. + - Stop critical error due to testing null filename + g_filename_from_uri returns NULL if it is not a file uri so + test for the file:// prefix before doing g_file_test. + - More transient-parent fixes. + - Add missing response section to the account picker dialog. + - Glade 3.20 adds surplus padding option to action area. + When glade files are saved which have GtkAssistants defined + a packing section is added to the assistant action area which + then causes a warning so remove them. + - Add XML namespaces for all Account Hierarchy Templates. + - Increase default options dialog size: The old 400x400 was + woefully inadequate for most options especially options + involving account trees. +- Changes from version 2.7.7: + + Bugs fixed: + - Segmentation Fault in Transfer dialog after clearing Date + field and pressing escape (bgo#787439). + - Add python3 support (bgo#791831). + - Remove keep above setting for assistant hierarchy + (bgo#794242). + + Other fixes: + - Fix date corruption in SQL load. Four date elements were + affected: GncEntry::date, GncEntry::date_entered, + GncInvoice::opened, and GncInvoice::posted. This does not + affect the stored values of the dates. + - Fix lost Bayesian matches in SQL backend. The + import-map-bayes uses a three-part key that uses the same + delimiter as a path and the SQL backend was throwing away + everything except the account guid. + - More transient-window fixes and other Gtk3 cleanups. + - Add xmlns namespace declarations to all of the accounts + templates that lacked it and remove the emacs mode-setting + comments at the end of them. + + Updated translations. +- Pass COMPILE_GSCHEMAS=OFF to cmake to disable gschemas + compilation as this is delegated to Glib's RPM file triggers. +- Add python3-devel BuildRequires, readd Python bindings now + that Python 3 support is provided and Recommend the subpackage. +- Update package summaries and description to show more explicitly + their contents. + +------------------------------------------------------------------- +Thu Mar 15 04:29:31 UTC 2018 - [email protected] + +- Pass CMAKE_BUILD_WITH_INSTALL_RPATH to cmake since GnuCash won't + be ran from the build tree, and to avoid occasionally relinking + failures. + +------------------------------------------------------------------- +Mon Mar 12 23:17:23 UTC 2018 - [email protected] + +- Update to version 2.7.6: + + New Features: + - Modernise chart colours from the dated CSS defaults to modern + colours as suggested by http://clrs.cc/. + - Add "Subtotal Summary Grid" to the Transaction Report. + + Bugs fixed: bgo#764245, bgo#793460, bgo#793467, bgo#793699, + bgo#793900, bgo#793941, bgo#793947, bgo#794031, bgo#794083 and + bgo#794137. + + Other fixes: + - Csv imp settings - internalize prefix handling. + - Csv import - improve memory handling in the assistant class. + - Add some background info on memory management in CSV + importers. As the assistant code combines multiple memory + management models care should be taken not to mix them up. + The notes should give some insights in how to do this. + - Lots of transient parent warnings fixed. + - Fix Segmentation fault when going to File->New. + - Speed up GUID equality comparison. + - With register obscured the sheet kept being redrawn. + + Updated translations. +- Add libboost_system-devel BuildRequires: new dependency. +- Drop intltool BuildRequires following upstream migration to + Gettext. + +------------------------------------------------------------------- +Wed Feb 28 16:30:27 UTC 2018 - [email protected] + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Wed Feb 28 12:58:44 UTC 2018 - [email protected] + +- Update to version 2.7.5: + + Locate all user data and configuration files to + platform-dependent standard locations ($XDG_CONFIG_HOME/gnucash + (or the default $HOME/.config/gnucash)) + - GnuCash currently uses the following files in this directory: + . log.conf (to set what gets logged to gnucash.trace). + . config-user.scm (to add custom scheme code like custom + reports; replaces config.user and config-.user). + . gtk-3.0.css (For theming) + + Further improvements to the Transaction and + Income-GST-statement reports. + + Transaction Report: omit display of $0 in subtotals in other + currencies. Previously in dual-subtotal columns, the + dual-subtotal would attempt to print all commodities in the + row. This meant if user chose common-currency thereby + triggering additional commodities, the dual-subtotal would + attempt to add amounts in other commodities which would be 0, + and display the 0 amount. + +------------------------------------------------------------------- +Sun Dec 24 23:31:46 UTC 2017 - [email protected] + +- Update to version 2.7.4: + + New Features For Users: + - A new preference panel for the Alphavantage API key so that + Finance::Quote users need not edit /etc/gnucash/environment. + - The detected Finance::Quote version is displayed in the About + box. + - Removed all references to the various Yahoo! quote sources + and made Alphavantage the default. + + Bugs fixed: bgo#787497, bgo#790526, bgo#790845, bgo#792106, + bgo#792809 and bgo#792947. + + Other fixes: + - Some Guile 2.2 issues are resolved. + - Some bugs in the new Transaction Report. + - Correct setting of WebKit version during configuration when + the version is cached. + - The change to the Average Cost calulation introduced in + 2.6.12 is reverted (bgo#775368). + - Fix appstream id as per the appstream recommendation. + - Fix incorrect minimum dates in the net-linechart and + net-barchart reports. + - Fix a report crash if the Account Depth is too low. + + Updated translations. +- Changes from version 2.7.3: + + New Features For Users: + - A greatly enhanced Transaction report with many new options + and features. + - Removed 6-figure rounding from price calculations, allowing + prices to have up to 18 digit precision. + - A flatter storage scheme for Bayes account-matching scores. + - A CSV Price importer. + - Enhanced python bindings exposing more GnuCash API. + + Bugs fixed: bgo#616709, bgo#771667, bgo#787497, bgo#790526, + bgo#791848, bgo#787497, bgo#789928 and bgo#790620. + + Other fixes: + - More dialogs are made "transient for" so that they pop up + centered on the main Gnucash window. + - Added a framework for migrating preferences. + - Make the splash/lock screen the transient parent for dialog + boxes if the main window is not yet mapped. + - Adapter for new flat KVP scheme for bayes import maps to be + introduced in 3.0. + - A better way to handle MySQL's 0000-00-00 invalid date + indicator. + - Improve type of bank accounts in SKR03. + + Updated translations. +- Update to version 2.7.2: ++++ 98 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/gnucash/gnucash.changes ++++ and /work/SRC/openSUSE:Factory/.gnucash.new/gnucash.changes Old: ---- gnucash-2.6.19.tar.gz New: ---- gnucash-3.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnucash.spec ++++++ --- /var/tmp/diff_new_pack.U4ldD7/_old 2018-04-10 10:54:33.189484621 +0200 +++ /var/tmp/diff_new_pack.U4ldD7/_new 2018-04-10 10:54:33.193484477 +0200 @@ -1,7 +1,7 @@ # # spec file for package gnucash # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,155 +16,132 @@ # +%define __builder ninja Name: gnucash -Version: 2.6.19 +Version: 3.0 Release: 0 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 -Url: http://www.gnucash.org/ -Source: https://download.sourceforge.net/gnucash/%{name}-%{version}.tar.gz +URL: http://www.gnucash.org/ +Source: https://github.com/Gnucash/gnucash/releases/download/%{version}/%{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches +## Cpan-warning patch must always be applied. +# PATCH-FIX-UPSTREAM gnucash-cpan-warning.patch -- Add a warning about the danger of using gnc-fq-update to update the perl modules used by GnuCash. Patch0: gnucash-cpan-warning.patch -BuildRequires: automake +BuildRequires: cmake >= 3.0 BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: intltool -BuildRequires: libdbi-devel +BuildRequires: gmock >= 1.8.0 +BuildRequires: gtest >= 1.8.0 +BuildRequires: guile-devel >= 2.0.0 +BuildRequires: libboost_date_time-devel >= 1.54.0 +BuildRequires: libboost_filesystem-devel >= 1.54.0 +BuildRequires: libboost_headers-devel >= 1.54.0 +BuildRequires: libboost_locale-devel >= 1.54.0 +BuildRequires: libboost_regex-devel >= 1.54.0 +BuildRequires: libboost_system-devel >= 1.54.0 BuildRequires: libdbi-drivers-dbd-sqlite3 -BuildRequires: libofx-devel -BuildRequires: libtool -BuildRequires: python-devel >= 2.4 -BuildRequires: slib -BuildRequires: update-desktop-files -BuildRequires: pkgconfig(aqbanking) -BuildRequires: pkgconfig(gconf-2.0) +BuildRequires: makeinfo +BuildRequires: ninja +BuildRequires: pkgconfig +BuildRequires: python3-devel +BuildRequires: xsltproc +BuildRequires: pkgconfig(aqbanking) >= 4.0.0 +BuildRequires: pkgconfig(dbi) >= 0.8.3 BuildRequires: pkgconfig(gdk-pixbuf-2.0) -BuildRequires: pkgconfig(gnome-keyring-1) -BuildRequires: pkgconfig(gtk+-2.0) -BuildRequires: pkgconfig(gtkmm-2.4) >= 2.24 -BuildRequires: pkgconfig(guile-2.0) >= 2.0.0 -BuildRequires: pkgconfig(gwengui-gtk2) -BuildRequires: pkgconfig(gwenhywfar) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(glib-2.0) >= 2.40 +BuildRequires: pkgconfig(gmodule-2.0) >= 2.40 +BuildRequires: pkgconfig(gnome-keyring-1) >= 0.6 +BuildRequires: pkgconfig(gobject-2.0) >= 2.40 +BuildRequires: pkgconfig(gthread-2.0) >= 2.40 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.10.0 +BuildRequires: pkgconfig(gwenhywfar) >= 3.99.20 +BuildRequires: pkgconfig(icu-i18n) +BuildRequires: pkgconfig(icu-uc) +BuildRequires: pkgconfig(ktoblzcheck) BuildRequires: pkgconfig(libglade-2.0) -BuildRequires: pkgconfig(libgnomeui-2.0) BuildRequires: pkgconfig(libgoffice-0.8) >= 0.7.0 -BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libofx) >= 0.9.0 +BuildRequires: pkgconfig(libxml-2.0) >= 2.7.0 BuildRequires: pkgconfig(libxslt) -BuildRequires: pkgconfig(webkit-1.0) -#BuildRequires: callgrind -# tested but unused BuildRequires: readline-devel qt3-devel termcap -Requires: guile -# Required to make quotes working. Gnucash can run without quotes support: -Requires: perl-Crypt-SSLeay -Requires: perl-Date-Manip -Requires: perl-Finance-Quote -Requires: perl-HTML-Parser -Requires: perl-HTML-TableExtract -Requires: perl-libwww-perl -# the python bindings are split out for potential other consumers -Requires: python-gnucash >= %{version} -Requires: slib +BuildRequires: pkgconfig(webkit2gtk-4.0) +Recommends: %{name}-docs Recommends: %{name}-lang -Recommends: gnucash-docs -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%glib2_gsettings_schema_requires +# For translation of currency names +Recommends: iso-codes +Recommends: python3-gnucash = %{version} +# Optional perl modules for online price retrieval +Recommends: perl(Date::Manip) +Recommends: perl(Finance::Quote) %description GnuCash is a personal finance manager. A check book-like register GUI allows you to enter and track bank accounts, stocks, income, and even -currency trades. A full set of reports allows you to see the state -of your finances. The interface is designed to be simple and easy to -use, but is backed with double-entry accounting principles to -ensure balanced books. +currency trades. -%package -n python-gnucash +Feature Highlights: + + * Double-Entry Accounting; + * Stock/Bond/Mutual Fund Accounts; + * Small-Business Accounting; + * Reports, Graphs; + * QIF/OFX/HBCI Import, Transaction Matching; + * Scheduled Transactions; + * Financial Calculations. + +%package -n python3-gnucash Summary: Python bindings for GnuCash Group: Development/Libraries/Python Requires: %{name} = %{version} -%py_requires -%description -n python-gnucash -GnuCash is a personal finance manager. A check-book like register GUI -allows you to enter and track bank accounts, stocks, income and even -currency trades. A full set of reports allow you to see the state of -your finances. The interface is designed to be simple and easy to use, -but is backed with double-entry accounting principles to ensure -balanced books. +%description -n python3-gnucash +This package provides the Python bindings for development of GnuCash, +a personal finance manager, in Python 3. %package devel -Summary: Personal Finance Manager +Summary: Development files for GnuCash Group: Development/Libraries/C and C++ Requires: %{name} = %{version} -Requires: gtk2-devel -Requires: guile-devel -Requires: libglade2-devel -Requires: libgnomeui-devel %description devel -GnuCash is a personal finance manager. A check-book like register GUI -allows you to enter and track bank accounts, stocks, income and even -currency trades. A full set of reports allow you to see the state of -your finances. The interface is designed to be simple and easy to use, -but is backed with double-entry accounting principles to ensure -balanced books. +This package provides all the necessary files for development of GnuCash, +a personal finance manager. %lang_package + %prep -%setup -q -# This patch must be applied: -%patch0 +%autosetup -p1 %build -autoreconf -fiv -%configure\ - --libexecdir=%{_libexecdir}\ - --docdir=%{_docdir}/%{name} \ - --enable-ofx\ - --enable-aqbanking\ - --enable-locale-specific-tax\ - --enable-html-docs\ - --with-html-engine=webkit\ - --enable-dbi\ - --enable-gtkmm\ - --enable-python -make %{?_smp_mflags} +%cmake \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ + -DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \ + -DGMOCK_ROOT=%{_includedir}/gmock \ + -DGTEST_ROOT=%{_includedir}/gtest \ + -DWITH_PYTHON=ON \ + -DCOMPILE_GSCHEMAS=OFF +%make_jobs %install -%make_install -%suse_update_desktop_file gnucash -%find_lang gnucash %{?no_lang_C} +%cmake_install +%find_lang %{name} %{?no_lang_C} +%fdupes %{buildroot}%{_libdir} %fdupes %{buildroot}%{_datadir} -%fdupes %{buildroot}%{python_sitearch} - -%clean -rm -rf %{buildroot} +# Remove MS-Windows-related files and auto-installed LICENSE file +rm %{buildroot}%{_docdir}/%{name}/README*win32-bin.txt +rm %{buildroot}%{_docdir}/%{name}/LICENSE -%post -/sbin/ldconfig -%glib2_gsettings_schema_post -%if 0%{?suse_version} > 1130 -%desktop_database_post -%icon_theme_cache_post -%endif - -%postun -/sbin/ldconfig -%glib2_gsettings_schema_postun -%if 0%{?suse_version} > 1130 -%desktop_database_postun -%icon_theme_cache_postun -%endif +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files -%defattr (-, root, root) -%doc AUTHORS COPYING LICENSE README +%license LICENSE %{_bindir}/gnc-fq-* %{_bindir}/gnucash -%{_bindir}/gnucash-env -%{_bindir}/gnucash-make-guids %{_bindir}/gnucash-valgrind %dir %{_datadir}/appdata %{_datadir}/appdata/gnucash.appdata.xml @@ -173,27 +150,21 @@ %{_datadir}/gnucash/ %{_datadir}/icons/hicolor/*/apps/gnucash-icon.png %{_datadir}/icons/hicolor/scalable/apps/gnucash-icon.svg -%{_docdir}/%{name} -%{_libdir}/*.so.* -# Required by slib for many libraries: +%doc %{_docdir}/%{name} %{_libdir}/*.so -# NOTE: .la files are required by ltdl in the main package (skip-check-libtool-deps) -%{_libdir}/*.la %{_libdir}/gnucash -%doc %{_mandir}/man?/*.* -%if "%{_libdir}" != "%{_libexecdir}" -%{_libexecdir}/gnucash -%endif +%{_mandir}/man?/*%{?ext_man} %dir %{_sysconfdir}/gnucash -%config %{_sysconfdir}/gnucash/config %config %{_sysconfdir}/gnucash/environment +%exclude %{_datadir}/gnucash/python -%files -n python-gnucash -%defattr (-, root, root) -%{python_sitearch}/gnucash/ +%files -n python3-gnucash +%{_datadir}/gnucash/python +%dir %{python3_sitearch}/gnucash +%{python3_sitearch}/gnucash %files devel -%defattr (-, root, root) +%doc ChangeLog README %{_includedir}/gnucash/ %files lang -f %{name}.lang ++++++ gnucash-2.6.19.tar.gz -> gnucash-3.0.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/gnucash/gnucash-2.6.19.tar.gz /work/SRC/openSUSE:Factory/.gnucash.new/gnucash-3.0.tar.bz2 differ: char 1, line 1 ++++++ gnucash-cpan-warning.patch ++++++ --- /var/tmp/diff_new_pack.U4ldD7/_old 2018-04-10 10:54:33.237482888 +0200 +++ /var/tmp/diff_new_pack.U4ldD7/_new 2018-04-10 10:54:33.237482888 +0200 @@ -1,8 +1,8 @@ -Index: src/quotes/gnc-fq-update.in +Index: libgnucash/quotes/gnc-fq-update.in =================================================================== ---- src/quotes/gnc-fq-update.in.orig -+++ src/quotes/gnc-fq-update.in -@@ -24,11 +24,36 @@ +--- a/libgnucash/quotes/gnc-fq-update.in ++++ b/libgnucash/quotes/gnc-fq-update.in +@@ -24,11 +24,39 @@ use strict; use CPAN; @@ -13,6 +13,8 @@ +print "\n"; +print "It is strongly recommended NOT TO USE this program and report possible\n"; +print "problems with parsing of stock quotes to http://bugzilla.novell.com/\n"; ++print "\n"; ++print "Please use the Perl packages provided by the distribution instead!\n"; +print "\n\n"; + +print "Do you want to continue? (y/n) "; @@ -31,6 +33,7 @@ + +exit 0 if ($input ne "n"); + ++ if ($( != 0) { print "\n"; print "You probably need to be root before running gnc-fq-update."; ++++++ gnucash-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.U4ldD7/_old 2018-04-10 10:54:33.253482310 +0200 +++ /var/tmp/diff_new_pack.U4ldD7/_new 2018-04-10 10:54:33.253482310 +0200 @@ -1,4 +1,7 @@ # This line is mandatory to access the configuration functions from Config import * -addFilter("gnucash devel-file-in-non-devel-package .*/lib.*.so") +addFilter("gnucash.* devel-file-in-non-devel-package .*/usr/lib.*\.so") +addFilter("gnucash.* non-executable-script .*/usr/share/gnucash/python/pycons/.*\.py") +# Splitting the shared libs is not desired at the moment +addFilter("gnucash.* shlib-policy-missing-suffix") \ No newline at end of file
