Hello community, here is the log from the commit of package gnucash for openSUSE:Factory checked in at 2012-03-09 21:22:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnucash (Old) and /work/SRC/openSUSE:Factory/.gnucash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnucash", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/gnucash/gnucash.changes 2012-01-09 15:17:03.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gnucash.new/gnucash.changes 2012-03-09 21:22:57.000000000 +0100 @@ -1,0 +2,77 @@ +Fri Feb 24 09:37:45 UTC 2012 - [email protected] + +- Update to version 2.4.10: + + Update txf.scm to reflect changes to US Income Tax Forms and + Schedules for 2011. + + Turn on AQBAnking 5. + + Various code changes. + + Windows-specific fixes. + + Build fixes. + + Bugs fixed: bgo#666849, bgo#667417, bgo#667900. + + Updated translations. +- Drop gnucash-glib-2.31.patch: fixed upstream. +- On 12.1 and later, change back guile1 Requires to + libguile1-devel: this is apparently still needed for some weird + reason. +- After discussion in bnc#743565, update license from GPL-2.0+ to + SUSE-GPL-2.0-with-openssl-exception or + SUSE-GPL-3.0-with-openssl-exception. + +------------------------------------------------------------------- +Sun Feb 12 16:38:32 UTC 2012 - [email protected] + +- Support building on openSUSE < 12.1 by conditionally changing: + + libguile1-devel BuildRequires to guile-devel + + guile1 Requires to guile + + libguile1-devel Requires in the -devel package to guile-devel. + + Don't do the hackery in %build to switch to guile1. + +------------------------------------------------------------------- +Wed Jan 25 12:21:21 UTC 2012 - [email protected] + +- Change libguile1-devel Requires to guile1: I don't think we need + the devel package. + +------------------------------------------------------------------- +Mon Jan 23 11:59:02 UTC 2012 - [email protected] + +- Fuild against guile1 [bnc#724917]: + + Drop gnucash-guile-2.0.patch: stop trying to port to guile 2.0. + + Change guile-devel BuildRequires to libguile1-devel. + + Change guile Requires to libguile1-devel. + + Change guile-devel Requires in devel subpackage to + libguile1-devel. + + In %build, use some sed hacks and export GUILE environment + variable to force the use of guile 1.x. + +------------------------------------------------------------------- +Wed Jan 18 15:18:46 UTC 2012 - [email protected] + +- Update to version 2.4.9: + + Various code changes. + + Don't install a script that is only used for building and + testing. This fixes Secunia Advisory SA42048. + + Bugs fixed: + - bgo#457401: Enable printing for unposted invoices. + - bgo#664764: Added Swedish chart of accounts for small + businesses. + - bgo#664862: Added new line chart report for assets. + - bgo#630804, bgo#639082, bgo#642276, bgo#649362, bgo#658247, + bgo#661383, bgo#662477, bgo#663368, bgo#663638, bgo#665202, + bgo#665998, bgo#666329, bgo#667105, bgo#667276. +- Drop gnucash-desktop.patch: fixed upstream. +- Build python bindings: + + Add python-devel BuildRequires. + + Pass --enable-python-bindings to configure. + + Create python-gnucash subpackage for the python bindings. + + Add gnucash-fix-python-install.patch: correctly install the + bindings so that they work. + + Add call to autoreconf for the patch. +- Add gtkmm support for plugins: + + Add gcc-c++ and pkgconfig(gtkmm-2.4) BuildRequires. + + Pass --enable-gtkmm to configure. +- Remove %install_info_prereq PreReq and use of + %install_info/%install_info_delete in scriptlets, following + removal of an info page. + +------------------------------------------------------------------- Old: ---- gnucash-2.4.8.tar.bz2 gnucash-desktop.patch gnucash-glib-2.31.patch gnucash-guile-2.0.patch New: ---- gnucash-2.4.10.tar.bz2 gnucash-fix-python-install.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnucash.spec ++++++ --- /var/tmp/diff_new_pack.8zla0z/_old 2012-03-09 21:22:59.000000000 +0100 +++ /var/tmp/diff_new_pack.8zla0z/_new 2012-03-09 21:22:59.000000000 +0100 @@ -17,30 +17,32 @@ Name: gnucash -Version: 2.4.8 +Version: 2.4.10 Release: 0 Summary: Personal Finance Manager -License: GPL-2.0+ +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.4.8/%{name}-%{version}.tar.bz2 +Source: http://downloads.sourceforge.net/project/gnucash/gnucash%20%28stable%29/2.4.10/%{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches -Patch: gnucash-desktop.patch +# PATCH-FIX-UPSTREAM gnucash-fix-python-install.patch bgo#668196 [email protected] -- Fix installation of python bindings +Patch0: gnucash-fix-python-install.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches Patch3: gnucash-cpan-warning.patch -# PATCH-FIX-UPSTREAM gnucash-guile-2.0.patch bgo#655901 [email protected] -- Fix build with guile 2.0 -Patch4: gnucash-guile-2.0.patch -# PATCH-FIX-UPSTREAM gnucash-glib-2.31.patch bgo#667417 [email protected] -- Fix build with glib 2.31 (single include) -Patch5: gnucash-glib-2.31.patch BuildRequires: automake BuildRequires: doxygen BuildRequires: fdupes -BuildRequires: guile-devel +BuildRequires: gcc-c++ BuildRequires: intltool BuildRequires: libdbi-devel +%if 0%{?suse_version} >= 1210 +BuildRequires: libguile1-devel +%else +BuildRequires: guile-devel +%endif BuildRequires: libofx-devel BuildRequires: libtool +BuildRequires: python-devel >= 2.4 BuildRequires: slib BuildRequires: update-desktop-files BuildRequires: pkgconfig(aqbanking) @@ -48,6 +50,7 @@ BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gnome-keyring-1) BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(gtkmm-2.4) >= 2.16 BuildRequires: pkgconfig(gwengui-gtk2) BuildRequires: pkgconfig(gwenhywfar) BuildRequires: pkgconfig(libglade-2.0) @@ -57,8 +60,14 @@ BuildRequires: pkgconfig(webkit-1.0) #BuildRequires: callgrind # tested but unused BuildRequires: readline-devel qt3-devel termcap -PreReq: %install_info_prereq +%if %{?suse_version} >= 1210 +# FIXME: guile1 should be enough, but: +# ERROR: In procedure dynamic-link: +# ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found" +Requires: libguile1-devel +%else Requires: guile +%endif # Required to make quotes working. Gnucash can run without quotes support: Requires: perl-Crypt-SSLeay Requires: perl-Date-Manip @@ -80,13 +89,31 @@ use, but is backed with double-entry accounting principles to ensure balanced books. +%package -n python-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. + %package devel Summary: Personal Finance Manager Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: gconf2-devel Requires: gtk2-devel +%if %{?suse_version} >= 1210 +Requires: libguile1-devel +%else Requires: guile-devel +%endif Requires: libglade2-devel Requires: libgnomeui-devel @@ -101,13 +128,18 @@ %lang_package %prep %setup -q -%patch +%patch0 -p1 # This patch must be applied: %patch3 -%patch4 -p1 -%patch5 -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 %configure\ --disable-schemas-install\ --libexecdir=%{_libexecdir}\ @@ -116,7 +148,9 @@ --enable-locale-specific-tax\ --enable-html-docs\ --with-html-engine=webkit\ - --enable-dbi + --enable-dbi\ + --enable-gtkmm\ + --enable-python-bindings make %{?_smp_mflags} %install @@ -128,6 +162,7 @@ %find_gconf_schemas cat %{name}.schemas_list %fdupes %{buildroot}%{_datadir} +%fdupes %{buildroot}%{python_sitearch} %clean rm -rf %{buildroot} @@ -136,7 +171,6 @@ %post /sbin/ldconfig -%install_info --info-dir=%{_infodir} %{_infodir}/gnucash-design.info.gz %if 0%{?suse_version} > 1130 %desktop_database_post %icon_theme_cache_post @@ -148,7 +182,6 @@ %postun /sbin/ldconfig -%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnucash-design.info.gz %if 0%{?suse_version} > 1130 %desktop_database_postun %icon_theme_cache_postun @@ -156,8 +189,8 @@ %files -f %{name}.schemas_list %defattr (-, root, root) +%doc AUTHORS COPYING LICENSE README %{_bindir}/gnc-fq-* -%{_bindir}/gnc-test-env %{_bindir}/gnucash %{_bindir}/gnucash-env %{_bindir}/gnucash-make-guids @@ -172,7 +205,6 @@ # NOTE: .la files are required by ltdl in the main package (skip-check-libtool-deps) %{_libdir}/*.la %{_libdir}/gnucash -%doc %{_infodir}/gnucash-design.info* %doc %{_mandir}/man?/*.* %if "%{_libdir}" != "%{_libexecdir}" %{_libexecdir}/gnucash @@ -181,10 +213,14 @@ %config %{_sysconfdir}/gnucash/config %config %{_sysconfdir}/gnucash/environment -%files lang -f %{name}.lang +%files -n python-gnucash +%defattr (-, root, root) +%{python_sitearch}/gnucash/ %files devel %defattr (-, root, root) %{_includedir}/gnucash/ +%files lang -f %{name}.lang + %changelog ++++++ gnucash-2.4.8.tar.bz2 -> gnucash-2.4.10.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/gnucash/gnucash-2.4.8.tar.bz2 /work/SRC/openSUSE:Factory/.gnucash.new/gnucash-2.4.10.tar.bz2 differ: char 11, line 1 ++++++ gnucash-fix-python-install.patch ++++++ Index: gnucash-2.4.9/src/optional/python-bindings/Makefile.am =================================================================== --- gnucash-2.4.9.orig/src/optional/python-bindings/Makefile.am +++ gnucash-2.4.9/src/optional/python-bindings/Makefile.am @@ -2,7 +2,7 @@ SUBDIRS = . tests SWIG_FILES = gnucash_core.i timespec.i -pkgpython_PYTHON = \ +pkgpyexec_DATA = \ __init__.py \ function_class.py \ gnucash_core.py \ @@ -85,6 +85,7 @@ gnucash_core_c.py: gnucash_core.c $(SWIG endif EXTRA_DIST = \ + $(pkgpyexec_DATA) \ $(SWIG_FILES) \ example_scripts/simple_book.py \ example_scripts/simple_session.py \ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
