diff --git a/gnucash-3.7.tar.bz2 b/gnucash-3.7.tar.bz2 deleted file mode 100644 index a8f21f6..0000000 --- a/gnucash-3.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b8eb09f3980531509bcb3a589ab0334d827c32f860ce8a209aa2fe0ed8858b4 -size 13896595 diff --git a/gnucash-3.8b.tar.bz2 b/gnucash-3.8b.tar.bz2 new file mode 100644 index 0000000..ff02777 --- /dev/null +++ b/gnucash-3.8b.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f5eca83d8836a325d9a02c6ed7b4d53e59abcff974e5d90914c9e15d7a87f37 +size 14285584 diff --git a/gnucash-libm.patch b/gnucash-libm.patch new file mode 100644 index 0000000..01d9c2b --- /dev/null +++ b/gnucash-libm.patch @@ -0,0 +1,13 @@ +Index: gnucash-3.8/libgnucash/app-utils/CMakeLists.txt +=================================================================== +--- gnucash-3.8.orig/libgnucash/app-utils/CMakeLists.txt ++++ gnucash-3.8/libgnucash/app-utils/CMakeLists.txt +@@ -78,7 +78,7 @@ set (app_utils_SOURCES + set_source_files_properties (${app_utils_SOURCES} PROPERTIES OBJECT_DEPENDS ${CONFIG_H}) + + set(app_utils_ALL_SOURCES ${app_utils_SOURCES} ${app_utils_HEADERS} ${app_utils_noinst_HEADERS}) +-set(app_utils_ALL_LIBRARIES gncmod-engine gnc-module ${GIO_LDFLAGS} ${LIBXML2_LDFLAGS} ${LIBXSLT_LDFLAGS}) ++set(app_utils_ALL_LIBRARIES gncmod-engine gnc-module ${GIO_LDFLAGS} ${LIBXML2_LDFLAGS} ${LIBXSLT_LDFLAGS} -lm) + set(app_utils_ALL_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/calculation ${GIO_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIRS} + ${LIBXSLT_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/libgnucash/backend ${CMAKE_SOURCE_DIR}/libgnucash/engine) + diff --git a/gnucash.changes b/gnucash.changes index 5b52c3e..23085ab 100644 --- a/gnucash.changes +++ b/gnucash.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri Jan 10 10:39:58 UTC 2020 - Dominique Leuenberger + +- Update to version 3.8b: + + New Scheme Functions: + - gnc:html-markup-ol: creates an HTML ordered list. + - gnc:multiline-to-html-textt: creates html-text with + elements. + - gnc:make-html-table-cell/min-width: Create a table-cell with + min-width style attribute gnc:collector+ and gnc:collector + + API Deprecations: + - gnc:html-table-append-ruler/at! + - gnc:html-table-remove-last-row! + + Updated translations. +- Add gnucash-libm.patch: fix build by linking against libm. +- Unconditionally BuildRequire pkgconfig(gwengui-gtk3): all + supported distros ship it. +- No longer recommend gnucash-lang: the lang package has relevant + supplements which pulls it in whenever needed. + ------------------------------------------------------------------- Fri Sep 20 19:19:23 UTC 2019 - Bjørn Lie diff --git a/gnucash.spec b/gnucash.spec index 01b7359..44fc2ab 100644 --- a/gnucash.spec +++ b/gnucash.spec @@ -1,7 +1,7 @@ # # spec file for package gnucash # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define __builder ninja Name: gnucash -Version: 3.7 +Version: 3.8b Release: 0 Summary: Personal Finance Manager License: SUSE-GPL-2.0-with-openssl-exception OR SUSE-GPL-3.0-with-openssl-exception @@ -30,6 +30,8 @@ Source1: %{name}-rpmlintrc ## 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 +# PATCH-FIX-UPSTREAM gnucash-libm.patch gh#gnucash/gnucash#632 dimstar@opensuse.org -- Link libm: gnucash uses e.g. log10 without explicitly requesting libm +Patch1: gnucash-libm.patch BuildRequires: cmake >= 3.5 BuildRequires: doxygen @@ -60,9 +62,6 @@ 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 -%if 0%{?suse_version} > 1500 -BuildRequires: pkgconfig(gwengui-gtk3) -%endif BuildRequires: pkgconfig(gwenhywfar) >= 3.99.20 BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(icu-uc) @@ -74,13 +73,13 @@ BuildRequires: pkgconfig(libxml-2.0) >= 2.7.0 BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(webkit2gtk-4.0) Recommends: %{name}-docs -Recommends: %{name}-lang # 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) +BuildRequires: pkgconfig(gwengui-gtk3) %description GnuCash is a personal finance manager. A check book-like register GUI @@ -118,7 +117,7 @@ a personal finance manager. %lang_package %prep -%autosetup -p1 +%autosetup -p1 -n %{name}-3.8 %build export CFLAGS="-Wno-error"