Accepting request 762822 from GNOME:Apps

OBS-URL: https://build.opensuse.org/request/show/762822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=83
This commit is contained in:
2020-01-10 16:50:24 +00:00
committed by Git OBS Bridge
parent dff635a3ed
commit a24d38d77c
5 changed files with 42 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b8eb09f3980531509bcb3a589ab0334d827c32f860ce8a209aa2fe0ed8858b4
size 13896595

3
gnucash-3.8b.tar.bz2 Normal file
View File

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

13
gnucash-libm.patch Normal file
View File

@@ -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)

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Jan 10 10:39:58 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <bjorn.lie@gmail.com>

View File

@@ -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"