[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2024-05-29 Thread Arthur Zamarin
commit: 872517a59f4f36b7ae3b5d46b973504ee854de38
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed May 29 19:47:50 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed May 29 19:47:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=872517a5

app-office/gnucash: Stabilize 5.6 x86, #932925

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-office/gnucash/gnucash-5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-5.6.ebuild 
b/app-office/gnucash/gnucash-5.6.ebuild
index 4f5b8ee13eec..ba216f490d8f 100644
--- a/app-office/gnucash/gnucash-5.6.ebuild
+++ b/app-office/gnucash/gnucash-5.6.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes smartcard sqlite test"
 



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2024-05-11 Thread Aaron W. Swenson
commit: eefab580e7c489fff39e6a0aafd2ed520d510328
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat May 11 19:02:06 2024 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sat May 11 19:02:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eefab580

app-office/gnucash: Add 5.6

Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest|   1 +
 .../gnucash/files/gnucash-5.6-no-werror.patch  |  29 +++
 app-office/gnucash/gnucash-5.6.ebuild  | 232 +
 3 files changed, 262 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 945337cc426c..0b21b3a849c4 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -3,3 +3,4 @@ DIST gnucash-5.1.tar.bz2 14794000 BLAKE2B 
dd9465277e9df82cc4029b95b2c8488fcb382a
 DIST gnucash-5.3.tar.bz2 14928584 BLAKE2B 
9778efa9b77f16f784eaffe1f4338a20cc42e4e767e3dcb3b29e8dc011e538912d59c21e23d3d63e031a1b558c9faaa8bc5853141ae4d2764de4c9ae949668ff
 SHA512 
f811ed66144f8689255970c6d925047eeb8d47dbefc862f42ab54ff3342e4710d822288a2d34ed1e7e873c7a7c5db0f95bdaa233787cd6828ff448af0eea325e
 DIST gnucash-5.4-1.tar.bz2 14928988 BLAKE2B 
389996058e2d452f7e0a9ee088a56254c56546f363291d92c02db0ff06d21f6aa4c99f2fc3ee56a13cbb8ea122f57ba391992bb670496471bb3c0e2583be7ca9
 SHA512 
25e221c6926594ca86097f1d34a4b035fd6853b7b6324809a0e9927e9b0958fd896deefdc8b4346717e3068bb8895697a5e3cd65e6cc02f8bc2fb19d8a8bb103
 DIST gnucash-5.5.tar.bz2 14986561 BLAKE2B 
b5c4d8b0340d26e67c95d478f9f0aceb905688fe8024cf2664215e93c869046d727561d0efb64ebdc1e3bae2bc4e987cb6d919ff03e14c55482e9aa216d9780b
 SHA512 
06ee099d5cb4c24ff0b53f5788db36599240c0b6392d6fcc548b8d6f5c3aebef26d13fae80083b7676e80e739e386eb197bfb1ecf204995c77f60493a7c8c735
+DIST gnucash-5.6.tar.bz2 15110621 BLAKE2B 
9ee514ed158512ac6121a0e51457f68696e3eaf9fdfad7e8c8e7cf0523e8a900d2e3786146ad459bc8fc871eb5aec754e30d40130370c4e8d497e0496e3c793f
 SHA512 
5ae0994a3f358bbf5ee6aeffc7a7237f6869e72c34cd551e5243e0c966dbbccfe8cdea65b7d31e016657b97175d6e5d94f5797b5adec5f94bc0b627c7a4dd435

diff --git a/app-office/gnucash/files/gnucash-5.6-no-werror.patch 
b/app-office/gnucash/files/gnucash-5.6-no-werror.patch
new file mode 100644
index ..0cf9cc5b396d
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-5.6-no-werror.patch
@@ -0,0 +1,29 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -604,12 +604,12 @@
+ set(CMAKE_C_EXTENSIONS ON)
+ 
+ if (UNIX)
+-  set( CMAKE_C_FLAGS "-Werror -Wall -Wmissing-prototypes 
-Wmissing-declarations ${CMAKE_C_FLAGS}")
+-  set( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations 
${CMAKE_CXX_FLAGS}")
++  set( CMAKE_C_FLAGS "-Wall -Wmissing-prototypes -Wmissing-declarations 
${CMAKE_C_FLAGS}")
++  set( CMAKE_CXX_FLAGS "-Wall -Wmissing-declarations ${CMAKE_CXX_FLAGS}")
+   set( CMAKE_C_FLAGS_RELEASE "-O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 
${CMAKE_C_FLAGS}")
+ endif()
+ if (MINGW)
+-  set( CMAKE_C_FLAGS "-Werror -Wall -Wmissing-prototypes 
-Wmissing-declarations ${CMAKE_C_FLAGS}")
++  set( CMAKE_C_FLAGS "-Wall -Wmissing-prototypes -Wmissing-declarations 
${CMAKE_C_FLAGS}")
+   set( CMAKE_CXX_FLAGS "-DWINVER=0x0500 -D_EMULATE_GLIBC=0 
${CMAKE_CXX_FLAGS}") # Workaround for bug in gtest on mingw, see 
https://github.com/google/googletest/issues/893 and 
https://github.com/google/googletest/issues/920
+ endif()
+ 
+--- a/common/cmake_modules/GncAddSwigCommand.cmake
 b/common/cmake_modules/GncAddSwigCommand.cmake
+@@ -73,7 +73,7 @@
+ endif()
+ set (DEFAULT_SWIG_PYTHON_FLAGS
+ -python ${SWIG_EXTRA_OPT}
+--Wall -Werror
++-Wall
+ ${SWIG_ARGS}
+ )
+ set (DEFAULT_SWIG_PYTHON_C_INCLUDES

diff --git a/app-office/gnucash/gnucash-5.6.ebuild 
b/app-office/gnucash/gnucash-5.6.ebuild
new file mode 100644
index ..86774b42defb
--- /dev/null
+++ b/app-office/gnucash/gnucash-5.6.ebuild
@@ -0,0 +1,232 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit cmake gnome2-utils python-single-r1
+
+# Please bump with app-doc/gnucash-docs
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes smartcard sqlite test"
+
+# Currently restricting due to the following:
+# https://bugs.gnucash.org/show_bug.cgi?id=799159#c1
+#
+# Tests can be run but must first unmerge any existing GnuCash installation.
+RESTRICT="test"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )
+"
+
+# dev-libs/boost must always be 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2024-01-20 Thread Aaron W. Swenson
commit: 616683500d8fb9aaa4c5da64700cc6ae717982bc
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat Jan 20 14:49:07 2024 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sat Jan 20 14:49:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61668350

app-office/gnucash: Bump to 5.5

Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-5.5.ebuild | 232 ++
 2 files changed, 233 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index e153ed485b83..945337cc426c 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -2,3 +2,4 @@ DIST gnucash-4.13.tar.bz2 14658572 BLAKE2B 
027151a800194b854ad8bbe5175b24c99e924
 DIST gnucash-5.1.tar.bz2 14794000 BLAKE2B 
dd9465277e9df82cc4029b95b2c8488fcb382a38e850ac7a3644bcdf5f423fafe522fcf22b996abed035465e54c1326859cd7c434df0569dffa11a8c911f1267
 SHA512 
c7e336d4d54407ea14bd8c10bbb7cedf9d1fdb13e2bda214169d1755b8103e4c37550b9c75244b91cf151ee30299664e8655d3c6fc4119241b7a97abcfd2e8e6
 DIST gnucash-5.3.tar.bz2 14928584 BLAKE2B 
9778efa9b77f16f784eaffe1f4338a20cc42e4e767e3dcb3b29e8dc011e538912d59c21e23d3d63e031a1b558c9faaa8bc5853141ae4d2764de4c9ae949668ff
 SHA512 
f811ed66144f8689255970c6d925047eeb8d47dbefc862f42ab54ff3342e4710d822288a2d34ed1e7e873c7a7c5db0f95bdaa233787cd6828ff448af0eea325e
 DIST gnucash-5.4-1.tar.bz2 14928988 BLAKE2B 
389996058e2d452f7e0a9ee088a56254c56546f363291d92c02db0ff06d21f6aa4c99f2fc3ee56a13cbb8ea122f57ba391992bb670496471bb3c0e2583be7ca9
 SHA512 
25e221c6926594ca86097f1d34a4b035fd6853b7b6324809a0e9927e9b0958fd896deefdc8b4346717e3068bb8895697a5e3cd65e6cc02f8bc2fb19d8a8bb103
+DIST gnucash-5.5.tar.bz2 14986561 BLAKE2B 
b5c4d8b0340d26e67c95d478f9f0aceb905688fe8024cf2664215e93c869046d727561d0efb64ebdc1e3bae2bc4e987cb6d919ff03e14c55482e9aa216d9780b
 SHA512 
06ee099d5cb4c24ff0b53f5788db36599240c0b6392d6fcc548b8d6f5c3aebef26d13fae80083b7676e80e739e386eb197bfb1ecf204995c77f60493a7c8c735

diff --git a/app-office/gnucash/gnucash-5.5.ebuild 
b/app-office/gnucash/gnucash-5.5.ebuild
new file mode 100644
index ..60b9ed8bc1d9
--- /dev/null
+++ b/app-office/gnucash/gnucash-5.5.ebuild
@@ -0,0 +1,232 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit cmake gnome2-utils python-single-r1
+
+# Please bump with app-doc/gnucash-docs
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes smartcard sqlite test"
+
+# Currently restricting due to the following:
+# https://bugs.gnucash.org/show_bug.cgi?id=799159#c1
+#
+# Tests can be run but must first unmerge any existing GnuCash installation.
+RESTRICT="test"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )
+"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+# dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   >=sys-libs/gwenhywfar-5.6.0:=
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4.1=
+   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.12:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+   )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/JSON-Parse
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+# gtest is a required dep
+# see https://bugs.gnucash.org/show_bug.cgi?id=795250
+DEPEND="
+   ${RDEPEND}
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   dev-perl/XML-Parser
+   dev-build/libtool
+ 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2024-01-20 Thread Sam James
commit: e85be751c4ed80c056dfe7e1bde1441bcea07d5d
Author: Christopher Fore  posteo  net>
AuthorDate: Wed Dec  6 15:09:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 20 11:48:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e85be751

app-office/gnucash: add algorithm patch to 5.3

GCC 14 no longer includes  by default, this will add a patch
that will include it.

Upstream's already accepted it and the patch should no longer be needed
in 5.5.

Upstream bug: https://bugs.gnucash.org/show_bug.cgi?id=799134

Closes: https://bugs.gentoo.org/917598
Signed-off-by: Christopher Fore  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/34013
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/files/gnucash-5.3-include-algorithm.patch | 12 
 app-office/gnucash/gnucash-5.3.ebuild|  3 +++
 2 files changed, 15 insertions(+)

diff --git a/app-office/gnucash/files/gnucash-5.3-include-algorithm.patch 
b/app-office/gnucash/files/gnucash-5.3-include-algorithm.patch
new file mode 100644
index ..d9998c8c66ed
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-5.3-include-algorithm.patch
@@ -0,0 +1,12 @@
+diff --git a/libgnucash/engine/gnc-option-impl.hpp 
b/libgnucash/engine/gnc-option-impl.hpp
+index 4ebaa36..4d157d5 100644
+--- a/libgnucash/engine/gnc-option-impl.hpp
 b/libgnucash/engine/gnc-option-impl.hpp
+@@ -49,6 +49,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include "gnc-option-uitype.hpp"
+ 

diff --git a/app-office/gnucash/gnucash-5.3.ebuild 
b/app-office/gnucash/gnucash-5.3.ebuild
index 9767e2a6665a..e8c2e7d7026e 100644
--- a/app-office/gnucash/gnucash-5.3.ebuild
+++ b/app-office/gnucash/gnucash-5.3.ebuild
@@ -108,6 +108,9 @@ PATCHES=(
# This is only to prevent webkit2gtk-4 from being selected.
# https://bugs.gentoo.org/893676
"${FILESDIR}/${PN}-5.0-webkit2gtk-4.1.patch"
+
+   # GCC 14 no longer includes  by default, this is fixed in 5.5
+   "${FILESDIR}/${PN}-5.3-include-algorithm.patch"
 )
 
 # guile generates ELF files without use of C or machine code



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2023-12-14 Thread Sam James
commit: d1e624948a832c4c6518a90ed33d9b5ba4be44f1
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Dec 14 07:40:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 14 07:55:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e62494

app-office/gnucash: fix python finding

* Also require dev-python/setuptools with python3.12 due to distutils
  getting removed.

Closes: https://bugs.gentoo.org/919859
Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34282
Signed-off-by: Sam James  gentoo.org>

 .../files/gnucash-5.4-fix-python-finding.patch | 49 ++
 .../{gnucash-5.4.ebuild => gnucash-5.4-r1.ebuild}  |  9 
 2 files changed, 58 insertions(+)

diff --git a/app-office/gnucash/files/gnucash-5.4-fix-python-finding.patch 
b/app-office/gnucash/files/gnucash-5.4-fix-python-finding.patch
new file mode 100644
index ..26de7a7ad154
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-5.4-fix-python-finding.patch
@@ -0,0 +1,49 @@
+https://bugs.gentoo.org/919859
+https://github.com/Gnucash/gnucash/commit/3782eed56785adaca02cf2bd4766d3825a6f6ca7
+
+From 3782eed56785adaca02cf2bd4766d3825a6f6ca7 Mon Sep 17 00:00:00 2001
+From: Simon Arlott 
+Date: Wed, 4 Oct 2023 21:15:11 +0100
+Subject: [PATCH] Use the default version of Python 3
+
+Python scripts that run with the default version of Python 3 by executing
+with /usr/bin/python3 that try to import gnucash can't find it if it has
+been built for a different version.
+
+Instead of using other installed versions of Python 3 that happen to be
+present, default to using the default "unversioned" version.
+
+It doesn't look like CMake are going to fix the default behaviour, so every
+project has to do this:
+https://gitlab.kitware.com/cmake/cmake/-/issues/24878
+https://gitlab.kitware.com/cmake/cmake/-/issues/24126
+https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8287
+
+This is only supported on CMake 3.20 or newer, so users of older versions
+will still get the broken behaviour.
+
+Use the newer default Python3_FIND_STRATEGY=LOCATION (CMP0094).
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -2,6 +2,11 @@
+ 
+ cmake_minimum_required (VERSION 3.14.5)
+ 
++# CMake 3.15+ Python3_FIND_STRATEGY=LOCATION
++if (POLICY CMP0094)
++  cmake_policy(SET CMP0094 NEW)
++endif()
++
+ project (gnucash
+ VERSION 5.4
+ )
+@@ -492,6 +497,9 @@ endif()
+ 
+ if (WITH_PYTHON)
+   set (PYTHON_MIN_VERSION 3.6.0)
++  if (NOT DEFINED Python3_FIND_UNVERSIONED_NAMES)
++set (Python3_FIND_UNVERSIONED_NAMES FIRST)
++  endif()
+   find_package (Python3 ${PYTHON_MIN_VERSION} COMPONENTS Interpreter 
Development)
+   if (NOT Python3_FOUND)
+ message(SEND_ERROR "Python support enabled, but Python3 interpreter 
and/or libaries not found.")

diff --git a/app-office/gnucash/gnucash-5.4.ebuild 
b/app-office/gnucash/gnucash-5.4-r1.ebuild
similarity index 95%
rename from app-office/gnucash/gnucash-5.4.ebuild
rename to app-office/gnucash/gnucash-5.4-r1.ebuild
index af69f8b7f715..f3e77efe5302 100644
--- a/app-office/gnucash/gnucash-5.4.ebuild
+++ b/app-office/gnucash/gnucash-5.4-r1.ebuild
@@ -90,10 +90,16 @@ DEPEND="
sys-devel/libtool
>=dev-cpp/gtest-1.8.0
 "
+# distutils is not available in python3.12, but it is still in setuptools
 BDEPEND="
dev-lang/swig
>=dev-util/cmake-3.10
virtual/pkgconfig
+   python? (
+   $(python_gen_cond_dep '
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   ')
+   )
 "
 
 PDEPEND="
@@ -111,6 +117,9 @@ PATCHES=(
# This is only to prevent webkit2gtk-4 from being selected.
# https://bugs.gentoo.org/893676
"${FILESDIR}/${PN}-5.0-webkit2gtk-4.1.patch"
+
+   # bug #919859
+   "${FILESDIR}/${PN}-5.4-fix-python-finding.patch"
 )
 
 # guile generates ELF files without use of C or machine code



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2023-12-13 Thread Aaron W. Swenson
commit: 28489b1a00ab51a5162fdbfe736050fd0a31517b
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Dec 13 13:40:07 2023 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Dec 13 13:42:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28489b1a

app-office/gnucash: Add 5.4

Temporarily restrict tests until we can get it working reliably with an
installation in place.

Closes: https://bugs.gentoo.org/916122
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-5.4.ebuild | 226 ++
 2 files changed, 227 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 68256c619a2f..e153ed485b83 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,3 +1,4 @@
 DIST gnucash-4.13.tar.bz2 14658572 BLAKE2B 
027151a800194b854ad8bbe5175b24c99e924331f2b0a35745870542c2ade1e7347d2cbc3e400f621c6b5c1bb708633609a1891e729f8923d0c717537f884ca9
 SHA512 
7f1f5a6c6e537aca7e88c806461c58e90256954842026d801dba48586fa5817519220f532b9e460bc34751c94e6be4a80aac06325b7bada716616a735e2de3d3
 DIST gnucash-5.1.tar.bz2 14794000 BLAKE2B 
dd9465277e9df82cc4029b95b2c8488fcb382a38e850ac7a3644bcdf5f423fafe522fcf22b996abed035465e54c1326859cd7c434df0569dffa11a8c911f1267
 SHA512 
c7e336d4d54407ea14bd8c10bbb7cedf9d1fdb13e2bda214169d1755b8103e4c37550b9c75244b91cf151ee30299664e8655d3c6fc4119241b7a97abcfd2e8e6
 DIST gnucash-5.3.tar.bz2 14928584 BLAKE2B 
9778efa9b77f16f784eaffe1f4338a20cc42e4e767e3dcb3b29e8dc011e538912d59c21e23d3d63e031a1b558c9faaa8bc5853141ae4d2764de4c9ae949668ff
 SHA512 
f811ed66144f8689255970c6d925047eeb8d47dbefc862f42ab54ff3342e4710d822288a2d34ed1e7e873c7a7c5db0f95bdaa233787cd6828ff448af0eea325e
+DIST gnucash-5.4-1.tar.bz2 14928988 BLAKE2B 
389996058e2d452f7e0a9ee088a56254c56546f363291d92c02db0ff06d21f6aa4c99f2fc3ee56a13cbb8ea122f57ba391992bb670496471bb3c0e2583be7ca9
 SHA512 
25e221c6926594ca86097f1d34a4b035fd6853b7b6324809a0e9927e9b0958fd896deefdc8b4346717e3068bb8895697a5e3cd65e6cc02f8bc2fb19d8a8bb103

diff --git a/app-office/gnucash/gnucash-5.4.ebuild 
b/app-office/gnucash/gnucash-5.4.ebuild
new file mode 100644
index ..af69f8b7f715
--- /dev/null
+++ b/app-office/gnucash/gnucash-5.4.ebuild
@@ -0,0 +1,226 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit cmake gnome2-utils python-single-r1
+
+# Please bump with app-doc/gnucash-docs
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}-1.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes smartcard sqlite test"
+
+# Currently restricting due to the following:
+# https://bugs.gnucash.org/show_bug.cgi?id=799159#c1
+#
+# Tests can be run but must first unmerge any existing GnuCash installation.
+RESTRICT="test"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )
+"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+# dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   >=sys-libs/gwenhywfar-5.6.0:=
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4.1=
+   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.12:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+   )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/JSON-Parse
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+# gtest is a required dep
+# see https://bugs.gnucash.org/show_bug.cgi?id=795250
+DEPEND="
+   ${RDEPEND}
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2023-09-23 Thread Aaron W. Swenson
commit: 6c5bb6f8f954e3164ffdb615ed6cf6d7975defea
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat Sep 23 21:08:12 2023 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sat Sep 23 21:08:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5bb6f8

app-office/gnucash: add 5.3

Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest|   1 +
 .../gnucash/files/gnucash-5.3-no-werror.patch  |  29 +++
 app-office/gnucash/gnucash-5.3.ebuild  | 223 +
 app-office/gnucash/metadata.xml|   2 +-
 4 files changed, 254 insertions(+), 1 deletion(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index c677c031322f..68256c619a2f 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,2 +1,3 @@
 DIST gnucash-4.13.tar.bz2 14658572 BLAKE2B 
027151a800194b854ad8bbe5175b24c99e924331f2b0a35745870542c2ade1e7347d2cbc3e400f621c6b5c1bb708633609a1891e729f8923d0c717537f884ca9
 SHA512 
7f1f5a6c6e537aca7e88c806461c58e90256954842026d801dba48586fa5817519220f532b9e460bc34751c94e6be4a80aac06325b7bada716616a735e2de3d3
 DIST gnucash-5.1.tar.bz2 14794000 BLAKE2B 
dd9465277e9df82cc4029b95b2c8488fcb382a38e850ac7a3644bcdf5f423fafe522fcf22b996abed035465e54c1326859cd7c434df0569dffa11a8c911f1267
 SHA512 
c7e336d4d54407ea14bd8c10bbb7cedf9d1fdb13e2bda214169d1755b8103e4c37550b9c75244b91cf151ee30299664e8655d3c6fc4119241b7a97abcfd2e8e6
+DIST gnucash-5.3.tar.bz2 14928584 BLAKE2B 
9778efa9b77f16f784eaffe1f4338a20cc42e4e767e3dcb3b29e8dc011e538912d59c21e23d3d63e031a1b558c9faaa8bc5853141ae4d2764de4c9ae949668ff
 SHA512 
f811ed66144f8689255970c6d925047eeb8d47dbefc862f42ab54ff3342e4710d822288a2d34ed1e7e873c7a7c5db0f95bdaa233787cd6828ff448af0eea325e

diff --git a/app-office/gnucash/files/gnucash-5.3-no-werror.patch 
b/app-office/gnucash/files/gnucash-5.3-no-werror.patch
new file mode 100644
index ..896a41f1284d
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-5.3-no-werror.patch
@@ -0,0 +1,29 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -603,12 +603,12 @@
+ set(CMAKE_C_EXTENSIONS ON)
+ 
+ if (UNIX)
+-  set( CMAKE_C_FLAGS "-Werror -Wall -Wmissing-prototypes 
-Wmissing-declarations ${CMAKE_C_FLAGS}")
+-  set( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations 
${CMAKE_CXX_FLAGS}")
++  set( CMAKE_C_FLAGS "-Wall -Wmissing-prototypes -Wmissing-declarations 
${CMAKE_C_FLAGS}")
++  set( CMAKE_CXX_FLAGS "-Wall -Wmissing-declarations ${CMAKE_CXX_FLAGS}")
+   set( CMAKE_C_FLAGS_RELEASE "-O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 
${CMAKE_C_FLAGS}")
+ endif()
+ if (MINGW)
+-  set( CMAKE_C_FLAGS "-Werror -Wall -Wmissing-prototypes 
-Wmissing-declarations ${CMAKE_C_FLAGS}")
++  set( CMAKE_C_FLAGS "-Wall -Wmissing-prototypes -Wmissing-declarations 
${CMAKE_C_FLAGS}")
+   set( CMAKE_CXX_FLAGS "-DWINVER=0x0500 -D_EMULATE_GLIBC=0 
${CMAKE_CXX_FLAGS}") # Workaround for bug in gtest on mingw, see 
https://github.com/google/googletest/issues/893 and 
https://github.com/google/googletest/issues/920
+ endif()
+ 
+--- a/common/cmake_modules/GncAddSwigCommand.cmake
 b/common/cmake_modules/GncAddSwigCommand.cmake
+@@ -70,7 +70,7 @@
+ 
+ set (DEFAULT_SWIG_PYTHON_FLAGS
+ -python -py3
+--Wall -Werror
++-Wall
+ ${SWIG_ARGS}
+ )
+ set (DEFAULT_SWIG_PYTHON_C_INCLUDES

diff --git a/app-office/gnucash/gnucash-5.3.ebuild 
b/app-office/gnucash/gnucash-5.3.ebuild
new file mode 100644
index ..cb0d6819a793
--- /dev/null
+++ b/app-office/gnucash/gnucash-5.3.ebuild
@@ -0,0 +1,223 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Please bump with app-doc/gnucash-docs
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit cmake gnome2-utils python-single-r1
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )
+"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+# dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   >=sys-libs/gwenhywfar-5.6.0:=
+   smartcard? ( sys-libs/libchipcard )
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2023-07-28 Thread Thomas Raschbacher
commit: 962a45b560b121833f18321db1f702f8e3f31353
Author: Thomas Raschbacher  gentoo  org>
AuthorDate: Fri Jul 28 13:12:01 2023 +
Commit: Thomas Raschbacher  gentoo  org>
CommitDate: Fri Jul 28 13:12:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962a45b5

app-office/gnucash: fix dependency

Closes: https://bugs.gentoo.org/911122
Signed-off-by: Thomas Raschbacher  gentoo.org>

 app-office/gnucash/gnucash-5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-5.1.ebuild 
b/app-office/gnucash/gnucash-5.1.ebuild
index 26c5d06278eb..cdfba0b0536b 100644
--- a/app-office/gnucash/gnucash-5.1.ebuild
+++ b/app-office/gnucash/gnucash-5.1.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/libxslt
aqbanking? (
>=net-libs/aqbanking-6[ofx?]
-   >=sys-libs/gwenhywfar-4.20.0:=
+   >=sys-libs/gwenhywfar-5.6.0:=
smartcard? ( sys-libs/libchipcard )
)
gnome-keyring? ( >=app-crypt/libsecret-0.18 )



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2023-06-20 Thread Aaron W. Swenson
commit: e5e3d2adb1fd78f86cab61f83c60664002db646c
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Tue Jun 20 10:52:30 2023 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Tue Jun 20 10:52:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5e3d2ad

app-office/gnucash: add 5.1

Closes: https://bugs.gentoo.org/904824
Closes: https://bugs.gentoo.org/908563
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest|   1 +
 .../files/gnucash-5.0-exclude-license.patch|  32 +++
 .../gnucash/files/gnucash-5.0-webkit2gtk-4.1.patch |  14 ++
 app-office/gnucash/gnucash-5.1.ebuild  | 221 +
 4 files changed, 268 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 55cde8404d6d..c677c031322f 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1 +1,2 @@
 DIST gnucash-4.13.tar.bz2 14658572 BLAKE2B 
027151a800194b854ad8bbe5175b24c99e924331f2b0a35745870542c2ade1e7347d2cbc3e400f621c6b5c1bb708633609a1891e729f8923d0c717537f884ca9
 SHA512 
7f1f5a6c6e537aca7e88c806461c58e90256954842026d801dba48586fa5817519220f532b9e460bc34751c94e6be4a80aac06325b7bada716616a735e2de3d3
+DIST gnucash-5.1.tar.bz2 14794000 BLAKE2B 
dd9465277e9df82cc4029b95b2c8488fcb382a38e850ac7a3644bcdf5f423fafe522fcf22b996abed035465e54c1326859cd7c434df0569dffa11a8c911f1267
 SHA512 
c7e336d4d54407ea14bd8c10bbb7cedf9d1fdb13e2bda214169d1755b8103e4c37550b9c75244b91cf151ee30299664e8655d3c6fc4119241b7a97abcfd2e8e6

diff --git a/app-office/gnucash/files/gnucash-5.0-exclude-license.patch 
b/app-office/gnucash/files/gnucash-5.0-exclude-license.patch
new file mode 100644
index ..4a1fd9944fad
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-5.0-exclude-license.patch
@@ -0,0 +1,32 @@
+diff -Naruw gnucash-5.0.orig/CMakeLists.txt gnucash-5.0/CMakeLists.txt
+--- gnucash-5.0.orig/CMakeLists.txt2023-04-13 10:23:18.271128349 -0400
 gnucash-5.0/CMakeLists.txt 2023-04-13 10:25:38.531172952 -0400
+@@ -665,7 +665,6 @@
+ ChangeLog.2022
+ DOCUMENTERS
+ HACKING
+-LICENSE
+ NEWS
+ README.dependencies
+ )
+@@ -928,20 +927,7 @@
+   )
+ endif()
+ 
+-#Link LICENSE to COPYING so that people expecting to find it,
+-#will. COPYING is normally linked by autogen.sh to the latest
+-#automake-provided version.
+-set (_CMD create_symlink)
+-if (WIN32)
+-  set(_CMD copy)
+-endif()
+ 
+-install(CODE
+-" execute_process(
+-  COMMAND ${CMAKE_COMMAND} -E ${_CMD} LICENSE COPYING
+-  WORKING_DIRECTORY ${CMAKE_INSTALL_DOCDIR}
+-  )"
+-)
+ 
+ #For windows, copy in some DLLs from Mingw
+ 

diff --git a/app-office/gnucash/files/gnucash-5.0-webkit2gtk-4.1.patch 
b/app-office/gnucash/files/gnucash-5.0-webkit2gtk-4.1.patch
new file mode 100644
index ..e2312f531825
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-5.0-webkit2gtk-4.1.patch
@@ -0,0 +1,14 @@
+diff -Naruw a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -210,10 +210,7 @@
+ pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkitgtk-3.0)
+ set(WEBKIT1 1 CACHE INTERNAL "WebKitGtk")
+   else()
+-pkg_check_modules (WEBKIT IMPORTED_TARGET webkit2gtk-4.0>=2.14.0)
+-if (NOT WEBKIT_FOUND)
+   pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.1)
+-endif()
+ set(WEBKIT2 1 CACHE INTERNAL "WebKit2Gtk4")
+   endif()
+ 

diff --git a/app-office/gnucash/gnucash-5.1.ebuild 
b/app-office/gnucash/gnucash-5.1.ebuild
new file mode 100644
index ..26c5d06278eb
--- /dev/null
+++ b/app-office/gnucash/gnucash-5.1.ebuild
@@ -0,0 +1,221 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Please bump with app-doc/gnucash-docs
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit cmake gnome2-utils python-single-r1
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )
+"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+# dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   >=sys-libs/gwenhywfar-4.20.0:=
+

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2023-05-18 Thread Andreas Sturmlechner
commit: 00a7d74929f29ec364527cbe45090277c779b578
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun May 14 12:15:32 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu May 18 12:09:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a7d749

app-office/gnucash: Rename USE=gnome-keyring -> keyring

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-4.13.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-4.13.ebuild 
b/app-office/gnucash/gnucash-4.13.ebuild
index 8884898fdd53..61dd25b006c9 100644
--- a/app-office/gnucash/gnucash-4.13.ebuild
+++ b/app-office/gnucash/gnucash-4.13.ebuild
@@ -17,7 +17,7 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
 
-IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes register2 smartcard sqlite test"
+IUSE="aqbanking debug doc examples keyring +gui mysql nls ofx postgres python 
quotes register2 smartcard sqlite test"
 RESTRICT="!test? ( test )"
 
 # Examples doesn't build unless GUI is also built
@@ -43,7 +43,7 @@ RDEPEND="
>=sys-libs/gwenhywfar-4.20.0:=
smartcard? ( sys-libs/libchipcard )
)
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   keyring? ( >=app-crypt/libsecret-0.18 )
gui? (
>=x11-libs/gtk+-3.22.30:3
gnome-base/dconf



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2023-05-12 Thread Sam James
commit: dea7bdd29ddd599e91c31b6be2aeb09d2fc7a375
Author: Sam James  gentoo  org>
AuthorDate: Fri May 12 23:57:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 12 23:57:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea7bdd2

app-office/gnucash: drop 4.12-r1

Bug: https://bugs.gentoo.org/893676
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/Manifest|   1 -
 .../files/gnucash-3.8-examples-subdir.patch|  10 -
 .../gnucash/files/gnucash-4.12-fix-test.patch  |  20 --
 app-office/gnucash/gnucash-4.12-r1.ebuild  | 223 -
 4 files changed, 254 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index f9528018322d..55cde8404d6d 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,2 +1 @@
-DIST gnucash-4.12.tar.bz2 14552115 BLAKE2B 
6d5faf2fa1d096315bd6c346e0291109669fd9df4bc0404f4dbc2fc56c8a361aeff57e3535fea862f21ff59391319010b7f28c9bd7df658a1b0c518894862585
 SHA512 
4c930dfc9a10dfd06d3c52874a61e533ddc39deb1c334162dc3a096d998dbdfcac61520ae94dedbc6742b7807e250ff92d26067a70c4ab156e46bed333bbfd37
 DIST gnucash-4.13.tar.bz2 14658572 BLAKE2B 
027151a800194b854ad8bbe5175b24c99e924331f2b0a35745870542c2ade1e7347d2cbc3e400f621c6b5c1bb708633609a1891e729f8923d0c717537f884ca9
 SHA512 
7f1f5a6c6e537aca7e88c806461c58e90256954842026d801dba48586fa5817519220f532b9e460bc34751c94e6be4a80aac06325b7bada716616a735e2de3d3

diff --git a/app-office/gnucash/files/gnucash-3.8-examples-subdir.patch 
b/app-office/gnucash/files/gnucash-3.8-examples-subdir.patch
deleted file mode 100644
index b271be896c03..
--- a/app-office/gnucash/files/gnucash-3.8-examples-subdir.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/doc/examples/CMakeLists.txt
-+++ b/doc/examples/CMakeLists.txt
-@@ -21,6 +21,6 @@
-   web.qif
- )
- 
--install(FILES ${examples_DATA} DESTINATION  ${CMAKE_INSTALL_DOCDIR})
-+install(FILES ${examples_DATA} DESTINATION  ${CMAKE_INSTALL_DOCDIR}/examples)
- 
- set_dist_list(examples_DIST ${examples_DATA} CMakeLists.txt )

diff --git a/app-office/gnucash/files/gnucash-4.12-fix-test.patch 
b/app-office/gnucash/files/gnucash-4.12-fix-test.patch
deleted file mode 100644
index 03b4bba29c24..
--- a/app-office/gnucash/files/gnucash-4.12-fix-test.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://github.com/Gnucash/gnucash/pull/1472
-
-From 6fe2028bca49f455b7841d178a712baec8f72919 Mon Sep 17 00:00:00 2001
-From: Marco Scardovi 
-Date: Thu, 24 Nov 2022 23:20:07 +0100
-Subject: [PATCH] Fix test
-
-Signed-off-by: Marco Scardovi 
 a/libgnucash/engine/mocks/fake-qofquery.cpp
-+++ b/libgnucash/engine/mocks/fake-qofquery.cpp
-@@ -59,8 +59,8 @@ static class QofFakeQueryPool
- {
- ASSERT_TRUE(query_used((QofQuery*)query));
- auto it = std::find(m_queriesUsed.begin(), m_queriesUsed.end(), 
query);
--m_queriesUsed.erase(it);
- m_queriesConsumed.push_back(*it);
-+m_queriesUsed.erase(it);
- }
- 
- /* Remove a formerly added QofFakeQueryObject from the pool */

diff --git a/app-office/gnucash/gnucash-4.12-r1.ebuild 
b/app-office/gnucash/gnucash-4.12-r1.ebuild
deleted file mode 100644
index b6ca92039c22..
--- a/app-office/gnucash/gnucash-4.12-r1.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Please bump with app-doc/gnucash-docs
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake gnome2-utils python-single-r1 xdg-utils
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="https://www.gnucash.org/;
-SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
-
-IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes register2 smartcard sqlite test"
-RESTRICT="!test? ( test )"
-
-# Examples doesn't build unless GUI is also built
-REQUIRED_USE="
-   examples? ( gui )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   smartcard? ( aqbanking )
-"
-
-# dev-libs/boost must always be built with nls enabled.
-# net-libs/aqbanking dropped gtk with v6. So, to simplify the
-# dependency, we just rely on that.
-RDEPEND="
-   >=dev-libs/glib-2.56.1:2
-   >=dev-scheme/guile-2.2.0:=[regex]
-   >=sys-libs/zlib-1.1.4
-   dev-libs/boost:=[icu,nls]
-   dev-libs/icu:=
-   dev-libs/libxml2:2
-   dev-libs/libxslt
-   aqbanking? (
-   >=net-libs/aqbanking-6[ofx?]
-   >=sys-libs/gwenhywfar-4.20.0:=
-   smartcard? ( sys-libs/libchipcard )
-   )
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   gui? (
-   >=x11-libs/gtk+-3.22.30:3
-   gnome-base/dconf
-   net-libs/webkit-gtk:4=
-   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
-   )
- 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2023-05-03 Thread Sam James
commit: 1f69c913b47069b7868e0ae0e5b6ea58292f4547
Author: Sam James  gentoo  org>
AuthorDate: Wed May  3 23:02:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  3 23:02:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f69c913

app-office/gnucash: Stabilize 4.13 amd64, #905638

Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/gnucash-4.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.13.ebuild 
b/app-office/gnucash/gnucash-4.13.ebuild
index 29ff09093247..8884898fdd53 100644
--- a/app-office/gnucash/gnucash-4.13.ebuild
+++ b/app-office/gnucash/gnucash-4.13.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes register2 smartcard sqlite test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2023-05-03 Thread Arthur Zamarin
commit: 70d3ac1db807b3780660c63e171b8a6964424ea2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed May  3 18:54:49 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed May  3 18:54:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d3ac1d

app-office/gnucash: Stabilize 4.13 x86, #905638

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-office/gnucash/gnucash-4.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.13.ebuild 
b/app-office/gnucash/gnucash-4.13.ebuild
index 42de933a3330..29ff09093247 100644
--- a/app-office/gnucash/gnucash-4.13.ebuild
+++ b/app-office/gnucash/gnucash-4.13.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes register2 smartcard sqlite test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2023-03-17 Thread Sam James
commit: bb04b47145e309e8f7950900cd0c378d4ba66771
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 17 16:02:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 17 16:03:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb04b471

app-office/gnucash: drop -Werror

Closes: https://bugs.gentoo.org/901485
Signed-off-by: Sam James  gentoo.org>

 .../gnucash/files/gnucash-4.13-no-werror.patch   | 20 
 app-office/gnucash/gnucash-4.13.ebuild   |  1 +
 2 files changed, 21 insertions(+)

diff --git a/app-office/gnucash/files/gnucash-4.13-no-werror.patch 
b/app-office/gnucash/files/gnucash-4.13-no-werror.patch
new file mode 100644
index ..5b45898eacc1
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-4.13-no-werror.patch
@@ -0,0 +1,20 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -578,14 +578,14 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
+ set(CMAKE_C_EXTENSIONS ON)
+ 
+ if (UNIX)
+-  set( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign 
-Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}")
++  set( CMAKE_C_FLAGS "-Wdeclaration-after-statement -Wno-pointer-sign -Wall 
-Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}")
+   set( CMAKE_C_FLAGS "-Wno-error=deprecated-declarations 
-Wno-error=parentheses ${CMAKE_C_FLAGS}")
+-  set( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations -Wno-unused 
-Wno-error=parentheses ${CMAKE_CXX_FLAGS}")
++  set( CMAKE_CXX_FLAGS "-Wall -Wmissing-declarations -Wno-unused 
-Wno-error=parentheses ${CMAKE_CXX_FLAGS}")
+   set( CMAKE_CXX_FLAGS "-Wno-error=deprecated-declarations 
${REGISTER_CXXFLAG} ${CMAKE_CXX_FLAGS}")
+   set( CMAKE_C_FLAGS_RELEASE "-O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 
${CMAKE_C_FLAGS}")
+ endif()
+ if (MINGW)
+-  set( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign 
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused 
-Wno-error=deprecated-declarations ${CMAKE_C_FLAGS}")
++  set( CMAKE_C_FLAGS "-Wdeclaration-after-statement -Wno-pointer-sign -Wall 
-Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused 
-Wno-error=deprecated-declarations ${CMAKE_C_FLAGS}")
+   set( CMAKE_CXX_FLAGS "-DWINVER=0x0500 -D_EMULATE_GLIBC=0 
${CMAKE_CXX_FLAGS}") # Workaround for bug in gtest on mingw, see 
https://github.com/google/googletest/issues/893 and 
https://github.com/google/googletest/issues/920
+ endif()
+ 

diff --git a/app-office/gnucash/gnucash-4.13.ebuild 
b/app-office/gnucash/gnucash-4.13.ebuild
index f1335eb5330f..42de933a3330 100644
--- a/app-office/gnucash/gnucash-4.13.ebuild
+++ b/app-office/gnucash/gnucash-4.13.ebuild
@@ -101,6 +101,7 @@ PDEPEND="
 PATCHES=(
"${FILESDIR}/${PN}-3.8-exclude-license.patch"
"${FILESDIR}/${PN}-4.12-drop-broken-test.patch"
+   "${FILESDIR}/${PN}-4.13-no-werror.patch"
 
# This is only to prevent webkit2gtk-4 from being selected.
# https://bugs.gentoo.org/893676



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2023-03-16 Thread Aaron W. Swenson
commit: 6715bfa117329c514519522bce6804eddfb2cef6
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Mar 16 12:43:48 2023 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Mar 16 12:44:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6715bfa1

app-office/gnucash: add 4.13

Drops detecting 4.0 and only looks for 4.1 to satisfy webkit-gtk requirement.

Bug: https://bugs.gentoo.org/893676

Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest|   1 +
 .../files/gnucash-4.13-webkit2gtk-4.1.patch|  16 ++
 app-office/gnucash/gnucash-4.13.ebuild | 221 +
 3 files changed, 238 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 7cd1d60f1a24..f9528018322d 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1 +1,2 @@
 DIST gnucash-4.12.tar.bz2 14552115 BLAKE2B 
6d5faf2fa1d096315bd6c346e0291109669fd9df4bc0404f4dbc2fc56c8a361aeff57e3535fea862f21ff59391319010b7f28c9bd7df658a1b0c518894862585
 SHA512 
4c930dfc9a10dfd06d3c52874a61e533ddc39deb1c334162dc3a096d998dbdfcac61520ae94dedbc6742b7807e250ff92d26067a70c4ab156e46bed333bbfd37
+DIST gnucash-4.13.tar.bz2 14658572 BLAKE2B 
027151a800194b854ad8bbe5175b24c99e924331f2b0a35745870542c2ade1e7347d2cbc3e400f621c6b5c1bb708633609a1891e729f8923d0c717537f884ca9
 SHA512 
7f1f5a6c6e537aca7e88c806461c58e90256954842026d801dba48586fa5817519220f532b9e460bc34751c94e6be4a80aac06325b7bada716616a735e2de3d3

diff --git a/app-office/gnucash/files/gnucash-4.13-webkit2gtk-4.1.patch 
b/app-office/gnucash/files/gnucash-4.13-webkit2gtk-4.1.patch
new file mode 100644
index ..1e2197737613
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-4.13-webkit2gtk-4.1.patch
@@ -0,0 +1,16 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -211,10 +211,7 @@
+ pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkitgtk-3.0)
+ set(WEBKIT1 1 CACHE INTERNAL "WebKitGtk")
+   else()
+-pkg_check_modules (WEBKIT IMPORTED_TARGET webkit2gtk-4.0>=2.14.0)
+-if (NOT WEBKIT_FOUND)
+-  pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.1)
+-endif()
++pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.1)
+ set(WEBKIT2 1 CACHE INTERNAL "WebKit2Gtk4")
+   endif()
+ 
+
+Diff finished.  Thu Mar  9 08:21:53 2023

diff --git a/app-office/gnucash/gnucash-4.13.ebuild 
b/app-office/gnucash/gnucash-4.13.ebuild
new file mode 100644
index ..f1335eb5330f
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.13.ebuild
@@ -0,0 +1,221 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Please bump with app-doc/gnucash-docs
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )
+"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+# dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   >=sys-libs/gwenhywfar-4.20.0:=
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4.1=
+   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.12:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject[${PYTHON_USEDEP}]
+   ')
+   )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+# gtest is a required dep
+# see 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2023-01-04 Thread Andreas Sturmlechner
commit: 05567b28dad116a88d9261142b9880b14e99d9cc
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Jan  4 20:36:27 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jan  4 20:59:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05567b28

app-office/gnucash: drop 4.8, 4.10

Closes: https://bugs.gentoo.org/888469
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/Manifest|   2 -
 app-office/gnucash/gnucash-4.10.ebuild | 221 -
 app-office/gnucash/gnucash-4.8.ebuild  | 217 
 3 files changed, 440 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 071d3cb5b78d..7cd1d60f1a24 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,3 +1 @@
-DIST gnucash-4.10.tar.bz2 14768016 BLAKE2B 
645caedc342508290bac1ed4c8745ddc84f9634887cacc49246b3b1470e1d4c34b55af5b79c23747c8e223096e2b57876635fd07bc1e9153331abd11e4e249c2
 SHA512 
6898edff50af360bc7112a6d8eab3cde808a127df603f2eb5dca166a8f2ea079c3d37859fcb4ea22fa3a137f71792402dbff2d3ef4d0d93b0f2c980f5b1c2a62
 DIST gnucash-4.12.tar.bz2 14552115 BLAKE2B 
6d5faf2fa1d096315bd6c346e0291109669fd9df4bc0404f4dbc2fc56c8a361aeff57e3535fea862f21ff59391319010b7f28c9bd7df658a1b0c518894862585
 SHA512 
4c930dfc9a10dfd06d3c52874a61e533ddc39deb1c334162dc3a096d998dbdfcac61520ae94dedbc6742b7807e250ff92d26067a70c4ab156e46bed333bbfd37
-DIST gnucash-4.8.tar.bz2 14679619 BLAKE2B 
ef0790dcf823631b3a9764d60a49a55f35614d31117b1921ad5621d8b5298928555725b4d376e4b782437f8874b438496c3fd5b610df480fcc17f5d049a07511
 SHA512 
5fbafabe7ddbafe5e275b058758637011712934aec875b97085b7d068ab556ae5041b2cfa83f9a735eec877fac5158b701c2255be129e8ce883acf668fadefb5

diff --git a/app-office/gnucash/gnucash-4.10.ebuild 
b/app-office/gnucash/gnucash-4.10.ebuild
deleted file mode 100644
index 1889940ce48b..
--- a/app-office/gnucash/gnucash-4.10.ebuild
+++ /dev/null
@@ -1,221 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Please bump with app-doc/gnucash-docs
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit cmake gnome2-utils python-single-r1 xdg-utils
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="https://www.gnucash.org/;
-SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
-
-IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
- python quotes register2 smartcard sqlite test"
-RESTRICT="!test? ( test )"
-
-# Examples doesn't build unless GUI is also built
-REQUIRED_USE="
-   examples? ( gui )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   smartcard? ( aqbanking )"
-
-# dev-libs/boost must always be built with nls enabled.
-# net-libs/aqbanking dropped gtk with v6. So, to simplify the
-#   dependency, we just rely on that.
-RDEPEND="
-   >=dev-libs/glib-2.56.1:2
-   >=dev-scheme/guile-2.2.0:=[regex]
-   >=sys-libs/zlib-1.1.4
-   dev-libs/boost:=[icu,nls]
-   dev-libs/icu:=
-   dev-libs/libxml2:2
-   dev-libs/libxslt
-   aqbanking? (
-   >=net-libs/aqbanking-6[ofx?]
-   sys-libs/gwenhywfar:=
-   smartcard? ( sys-libs/libchipcard )
-   )
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   gui? (
-   >=x11-libs/gtk+-3.22.30:3
-   gnome-base/dconf
-   net-libs/webkit-gtk:4=
-   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
-   )
-   mysql? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[mysql]
-   )
-   ofx? ( >=dev-libs/libofx-0.9.1:= )
-   postgres? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[postgres]
-   )
-   python? (
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/pygobject[${PYTHON_USEDEP}]
-   ')
-   )
-   quotes? (
-   >=dev-perl/Finance-Quote-1.11
-   dev-perl/Date-Manip
-   dev-perl/HTML-TableExtract
-   )
-   sqlite? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[sqlite]
-   )
-"
-
-DEPEND="${RDEPEND}
-   >=dev-cpp/gtest-1.8.0
-   >=sys-devel/gettext-0.20
-   dev-lang/perl
-   dev-perl/XML-Parser
-   sys-devel/libtool
-"
-
-BDEPEND="
-   dev-lang/swig
-   dev-util/cmake
-   virtual/pkgconfig
-   || (
-   >=sys-devel/gcc-8:*
-   >=sys-devel/clang-6:*
-   )
-"
-
-# For 4.10, they released gnucash-docs-4.10.1 to fix an issue.
-PDEPEND="doc? (
-   ~app-doc/gnucash-docs-${PV}.1
-   gnome-extra/yelp
-)"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
-   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
-)
-

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2023-01-03 Thread Arthur Zamarin
commit: b370ba1f231e0a949367d395c24b38ade74cbd4a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jan  4 06:31:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jan  4 06:31:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b370ba1f

app-office/gnucash: Stabilize 4.12-r1 x86, #888469

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-office/gnucash/gnucash-4.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.12-r1.ebuild 
b/app-office/gnucash/gnucash-4.12-r1.ebuild
index 339f3221a9af..b6ca92039c22 100644
--- a/app-office/gnucash/gnucash-4.12-r1.ebuild
+++ b/app-office/gnucash/gnucash-4.12-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes register2 smartcard sqlite test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2023-01-03 Thread Arthur Zamarin
commit: 99def4468a33ccb5883d1e7f0e336a2b21fff252
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jan  4 06:16:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jan  4 06:16:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99def446

app-office/gnucash: Stabilize 4.12-r1 amd64, #888469

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-office/gnucash/gnucash-4.12-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-4.12-r1.ebuild 
b/app-office/gnucash/gnucash-4.12-r1.ebuild
index 071a22d369b0..339f3221a9af 100644
--- a/app-office/gnucash/gnucash-4.12-r1.ebuild
+++ b/app-office/gnucash/gnucash-4.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes register2 smartcard sqlite test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2022-12-25 Thread Sam James
commit: 4c8f2d16fe7ca3b878db262dc1f5749d4e548023
Author: Marco Scardovi  icloud  com>
AuthorDate: Mon Dec 19 22:30:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 07:03:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8f2d16

app-office/gnucash: revbump, add unconditional gtest dep, fix bug 884755

Gnucash team adds gtest as unconditional dep.
We are gonna respect this requirement, adding it too.

See: https://bugs.gnucash.org/show_bug.cgi?id=795250
Closes: https://bugs.gentoo.org/884755
Signed-off-by: Marco Scardovi  icloud.com>
Signed-off-by: Sam James  gentoo.org>

 ...{gnucash-4.12.ebuild => gnucash-4.12-r1.ebuild} | 26 ++
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/app-office/gnucash/gnucash-4.12.ebuild 
b/app-office/gnucash/gnucash-4.12-r1.ebuild
similarity index 88%
rename from app-office/gnucash/gnucash-4.12.ebuild
rename to app-office/gnucash/gnucash-4.12-r1.ebuild
index 702eadfdd4b6..071a22d369b0 100644
--- a/app-office/gnucash/gnucash-4.12.ebuild
+++ b/app-office/gnucash/gnucash-4.12-r1.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/libxslt
aqbanking? (
>=net-libs/aqbanking-6[ofx?]
-   sys-libs/gwenhywfar:=
+   >=sys-libs/gwenhywfar-4.20.0:=
smartcard? ( sys-libs/libchipcard )
)
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
@@ -54,7 +54,7 @@ RDEPEND="
dev-db/libdbi
dev-db/libdbi-drivers[mysql]
)
-   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   ofx? ( >=dev-libs/libofx-0.9.12:= )
postgres? (
dev-db/libdbi
dev-db/libdbi-drivers[postgres]
@@ -75,17 +75,20 @@ RDEPEND="
dev-db/libdbi-drivers[sqlite]
)
 "
+
+# gtest is a required dep
+# see https://bugs.gnucash.org/show_bug.cgi?id=795250
 DEPEND="
${RDEPEND}
>=sys-devel/gettext-0.20
dev-lang/perl
dev-perl/XML-Parser
sys-devel/libtool
-   test? ( >=dev-cpp/gtest-1.8.0 )
+   >=dev-cpp/gtest-1.8.0
 "
 BDEPEND="
dev-lang/swig
-   dev-util/cmake
+   >=dev-util/cmake-3.10
virtual/pkgconfig
 "
 PDEPEND="
@@ -96,12 +99,12 @@ PDEPEND="
 "
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
-   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
-   "${FILESDIR}"/${P}-drop-broken-test.patch
+   "${FILESDIR}/${PN}-3.8-examples-subdir.patch"
+   "${FILESDIR}/${PN}-3.8-exclude-license.patch"
+   "${FILESDIR}/${P}-drop-broken-test.patch"
# will be fixed on future version, see
# https://github.com/Gnucash/gnucash/pull/1472
-   "${FILESDIR}"/${P}-fix-test.patch
+   "${FILESDIR}/${P}-fix-test.patch"
 )
 
 # guile generates ELF files without use of C or machine code
@@ -134,7 +137,7 @@ src_prepare() {
libgnucash/backend/xml/test/test-xml-pricedb.cpp
)
for x in "${fixtestfiles[@]}"; do
-   sed -i -e "s|\"/tmp/|\"${T}/|g" "${S}/${x}" || die "sed of 
"${S}/${x}" failed"
+   sed -i -e "s|\"/tmp/|\"${T}/|g" "${S}/${x}" || die "sed of 
${S}/${x} failed"
done
 }
 
@@ -208,11 +211,6 @@ pkg_postinst() {
fi
xdg_desktop_database_update
xdg_mimeinfo_database_update
-
-   ewarn "Backup all financial files or databases before using GnuCash 
>=2.7.0!"
-   ewarn
-   ewarn "GnuCash 2.7.0 introduced large changes in its file format and 
database"
-   ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
 }
 
 pkg_postrm() {



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2022-12-25 Thread Sam James
commit: a411a0e204acf0e12ffed70de519ff40a9c5
Author: Marco Scardovi  icloud  com>
AuthorDate: Wed Dec 21 21:28:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 07:03:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a411a0e2

app-office/gnucash: add more infos in metadata.xml

Signed-off-by: Marco Scardovi  icloud.com>
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/metadata.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-office/gnucash/metadata.xml b/app-office/gnucash/metadata.xml
index f4fdd26932f1..80150b2107fa 100644
--- a/app-office/gnucash/metadata.xml
+++ b/app-office/gnucash/metadata.xml
@@ -33,5 +33,7 @@

gnucash
Gnucash/gnucash
+   
https://github.com/Gnucash/gnucash/releases
+   https://bugs.gnucash.org/

 



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/

2022-12-25 Thread Sam James
commit: 74ed052dfe0650a5915ac26f50ff21d9dc03d279
Author: Marco Scardovi  icloud  com>
AuthorDate: Wed Dec 21 23:23:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 07:03:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ed052d

app-office/gnucash: drop unused patch

Closes: https://github.com/gentoo/gentoo/pull/28737

Signed-off-by: Marco Scardovi  icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/28712
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/files/gnucash-3.2-no-gui.patch | 14 --
 1 file changed, 14 deletions(-)

diff --git a/app-office/gnucash/files/gnucash-3.2-no-gui.patch 
b/app-office/gnucash/files/gnucash-3.2-no-gui.patch
deleted file mode 100644
index 896aafd17f15..
--- a/app-office/gnucash/files/gnucash-3.2-no-gui.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 5e10a09..cdbdb7a 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -770,7 +770,9 @@ set(SCHEME_INSTALLED_CACHE_DIR 
${PKGLIBDIR}/scm/ccache/${GUILE_EFFECTIVE_VERSION
- # The subdirectories
- add_subdirectory (borrowed)
- add_subdirectory (data)
-+if (WITH_GNUCASH)
- add_subdirectory (doc)
-+endif (WITH_GNUCASH)
- add_subdirectory (po)
- add_subdirectory (common)
- add_subdirectory (libgnucash)



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2022-12-06 Thread Sam James
commit: fc1fcad80e0f6d985094032de5e0ec1ce8e1981a
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  6 12:05:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  6 12:05:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc1fcad8

app-office/gnucash: add sourceforge upstream metadata

github is just a mirror, so it's useful to have, but sourceforge
is still an official upstream location.

Fixes: ab4e0efd3e35300b4e95997b7e92dd93ade647a0
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-office/gnucash/metadata.xml b/app-office/gnucash/metadata.xml
index 72fc4b5e6e74..f4fdd26932f1 100644
--- a/app-office/gnucash/metadata.xml
+++ b/app-office/gnucash/metadata.xml
@@ -31,6 +31,7 @@
Use the new register 
(Experimental)


+   gnucash
Gnucash/gnucash

 



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2022-12-06 Thread Sam James
commit: ab4e0efd3e35300b4e95997b7e92dd93ade647a0
Author: Marco Scardovi  icloud  com>
AuthorDate: Mon Nov 21 10:58:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  6 11:57:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4e0efd

app-office/gnucash: update upstream metadata

Signed-off-by: Marco Scardovi  icloud.com>
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/metadata.xml | 26 ++
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/app-office/gnucash/metadata.xml b/app-office/gnucash/metadata.xml
index d5d2365d04db..72fc4b5e6e74 100644
--- a/app-office/gnucash/metadata.xml
+++ b/app-office/gnucash/metadata.xml
@@ -5,14 +5,32 @@
titanof...@gentoo.org
Aaron W. Swenson

+   
+   GnuCash is personal and small-business financial-accounting 
software,
+   freely licensed under the GNU GPL and available for GNU/Linux, 
BSD,
+   Solaris, Mac OS X and Microsoft Windows.
+   Designed to be easy to use, yet powerful and flexible, GnuCash 
allows
+   you to track bank accounts, stocks, income and expenses. As 
quick and
+   intuitive to use as a checkbook register, it is based on 
professional
+   accounting principles to ensure balanced books and accurate 
reports.
+   
+   
+   GnuCash è un programma finanziario e di contabilità adatto 
all'utilizzo
+   in ambito famigliare o in una piccola impresa, rilasciato 
gratuitamente
+   con licenza GNU GPL e disponibile per GNU/Linux, BSD, Solaris, 
Mac OS X
+   e Microsoft Windows.
+   Progettato per essere di semplice utilizzo, ma comunque potente 
e flessibile,
+   GnuCash permette di tenere traccia dei conti bancari, delle 
azioni,
+   delle entrate e delle uscite. Intuitivo nell'utilizzo come il 
registro del
+   libretto degli assegni, si basa sui principi fondamentali della 
contabilitĂ 
+   per garantire l'equilibrio dei saldi e l'accuratezza dei 
resoconti.
+   

-   
-   Connect to some internet banks via AqBanking
-   
+   Connect to some internet banks via 
AqBanking
Enable Online Stock Quote retrieval
Use the new register 
(Experimental)


-   gnucash
+   Gnucash/gnucash

 



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2022-12-06 Thread Sam James
commit: c418a02ed3285e2c08c109e207ba9d48f005cac8
Author: Marco Scardovi  icloud  com>
AuthorDate: Thu Nov 24 23:10:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  6 11:57:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c418a02e

app-office/gnucash: make tests working

Signed-off-by: Marco Scardovi  icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/28349
Signed-off-by: Sam James  gentoo.org>

 .../files/gnucash-4.12-drop-broken-test.patch  | 30 ++
 .../gnucash/files/gnucash-4.12-fix-test.patch  | 24 +
 app-office/gnucash/gnucash-4.12.ebuild | 25 +-
 3 files changed, 67 insertions(+), 12 deletions(-)

diff --git a/app-office/gnucash/files/gnucash-4.12-drop-broken-test.patch 
b/app-office/gnucash/files/gnucash-4.12-drop-broken-test.patch
new file mode 100644
index ..c2b396bcf04f
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-4.12-drop-broken-test.patch
@@ -0,0 +1,30 @@
+From a52795b022e040d7a93bb4dc352780d832c55390 Mon Sep 17 00:00:00 2001
+From: Marco Scardovi 
+Date: Sat, 26 Nov 2022 22:38:02 +0100
+Subject: [PATCH] Fix test
+
+Signed-off-by: Marco Scardovi 
+---
+ libgnucash/core-utils/test/CMakeLists.txt | 5 +
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/libgnucash/core-utils/test/CMakeLists.txt 
b/libgnucash/core-utils/test/CMakeLists.txt
+index 3b724c7c632..07add8b8699 100644
+--- a/libgnucash/core-utils/test/CMakeLists.txt
 b/libgnucash/core-utils/test/CMakeLists.txt
+@@ -19,9 +19,6 @@ endmacro()
+ add_core_utils_test(test-gnc-glib-utils test-gnc-glib-utils.c)
+ add_core_utils_test(test-resolve-file-path test-resolve-file-path.c)
+ add_core_utils_test(test-userdata-dir test-userdata-dir.c)
+-if (NOT MAC_INTEGRATION AND NOT WIN32)
+-  add_core_utils_test(test-userdata-dir-invalid-home 
test-userdata-dir-invalid-home.c)
+-endif()
+ if (MAC_INTEGRATION)
+   target_compile_options(test-userdata-dir PRIVATE ${OSX_EXTRA_COMPILE_FLAGS})
+   target_compile_definitions(test-userdata-dir PRIVATE 
${GTK_MAC_CFLAGS_OTHER})
+@@ -53,4 +50,4 @@ gnc_add_test(test-gnc-path-util 
"${test_gnc_path_util_SOURCES}"
+ 
+ set_dist_list(test_core_utils_DIST CMakeLists.txt
+   test-gnc-glib-utils.c test-resolve-file-path.c test-userdata-dir.c
+-  test-userdata-dir-invalid-home.c gtest-path-utilities.cpp)
++  gtest-path-utilities.cpp)

diff --git a/app-office/gnucash/files/gnucash-4.12-fix-test.patch 
b/app-office/gnucash/files/gnucash-4.12-fix-test.patch
new file mode 100644
index ..e80c712214e6
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-4.12-fix-test.patch
@@ -0,0 +1,24 @@
+From 6fe2028bca49f455b7841d178a712baec8f72919 Mon Sep 17 00:00:00 2001
+From: Marco Scardovi 
+Date: Thu, 24 Nov 2022 23:20:07 +0100
+Subject: [PATCH] Fix test
+
+Signed-off-by: Marco Scardovi 
+---
+ libgnucash/engine/mocks/fake-qofquery.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libgnucash/engine/mocks/fake-qofquery.cpp 
b/libgnucash/engine/mocks/fake-qofquery.cpp
+index 15341189aa8..a82dadebf02 100644
+--- a/libgnucash/engine/mocks/fake-qofquery.cpp
 b/libgnucash/engine/mocks/fake-qofquery.cpp
+@@ -59,8 +59,8 @@ static class QofFakeQueryPool
+ {
+ ASSERT_TRUE(query_used((QofQuery*)query));
+ auto it = std::find(m_queriesUsed.begin(), m_queriesUsed.end(), 
query);
+-m_queriesUsed.erase(it);
+ m_queriesConsumed.push_back(*it);
++m_queriesUsed.erase(it);
+ }
+ 
+ /* Remove a formerly added QofFakeQueryObject from the pool */

diff --git a/app-office/gnucash/gnucash-4.12.ebuild 
b/app-office/gnucash/gnucash-4.12.ebuild
index 15c424472fbc..d19d9983eb5e 100644
--- a/app-office/gnucash/gnucash-4.12.ebuild
+++ b/app-office/gnucash/gnucash-4.12.ebuild
@@ -78,11 +78,11 @@ RDEPEND="
 
 DEPEND="
${RDEPEND}
-   >=dev-cpp/gtest-1.8.0
>=sys-devel/gettext-0.20
dev-lang/perl
dev-perl/XML-Parser
sys-devel/libtool
+   test? ( >=dev-cpp/gtest-1.8.0 )
 "
 
 BDEPEND="
@@ -106,16 +106,15 @@ PDEPEND="
 PATCHES=(
"${FILESDIR}/${PN}"-3.8-examples-subdir.patch
"${FILESDIR}/${PN}"-3.8-exclude-license.patch
+   "${FILESDIR}/${P}"-drop-broken-test.patch
+   # will be fixed on future version, see
+   # https://github.com/Gnucash/gnucash/pull/1472
+   "${FILESDIR}/${P}"-fix-test.patch
 )
 
-S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
-
-# scardracs: 2022-11-21
-# I don't like that solution but actually these QA warnings
-# are false positives. If You are able to find a better
-# solution feel free to fix it.
-# bugs #734044 #814134
-QA_FLAGS_IGNORED=".*"
+# guile generates ELF files without use of C or machine code
+# It's a portage's false positive. bug #677600
+QA_PREBUILT='*[.]go'
 
 pkg_setup() {
use python && python-single-r1_pkg_setup
@@ -124,6 +123,9 @@ pkg_setup() {
 src_prepare() {

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2022-12-06 Thread Sam James
commit: e8193b177eb10c32899f3819af0f5c6d48122453
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  6 12:01:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  6 12:02:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8193b17

app-office/gnucash: style fixes

Signed-off-by: Sam James  gentoo.org>

 .../files/gnucash-4.12-drop-broken-test.patch  |  8 ++-
 .../gnucash/files/gnucash-4.12-fix-test.patch  |  8 ++-
 app-office/gnucash/gnucash-4.12.ebuild | 26 --
 3 files changed, 13 insertions(+), 29 deletions(-)

diff --git a/app-office/gnucash/files/gnucash-4.12-drop-broken-test.patch 
b/app-office/gnucash/files/gnucash-4.12-drop-broken-test.patch
index c2b396bcf04f..970d423c7b31 100644
--- a/app-office/gnucash/files/gnucash-4.12-drop-broken-test.patch
+++ b/app-office/gnucash/files/gnucash-4.12-drop-broken-test.patch
@@ -1,15 +1,11 @@
+https://github.com/Gnucash/gnucash/pull/1472
+
 From a52795b022e040d7a93bb4dc352780d832c55390 Mon Sep 17 00:00:00 2001
 From: Marco Scardovi 
 Date: Sat, 26 Nov 2022 22:38:02 +0100
 Subject: [PATCH] Fix test
 
 Signed-off-by: Marco Scardovi 

- libgnucash/core-utils/test/CMakeLists.txt | 5 +
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/libgnucash/core-utils/test/CMakeLists.txt 
b/libgnucash/core-utils/test/CMakeLists.txt
-index 3b724c7c632..07add8b8699 100644
 --- a/libgnucash/core-utils/test/CMakeLists.txt
 +++ b/libgnucash/core-utils/test/CMakeLists.txt
 @@ -19,9 +19,6 @@ endmacro()

diff --git a/app-office/gnucash/files/gnucash-4.12-fix-test.patch 
b/app-office/gnucash/files/gnucash-4.12-fix-test.patch
index e80c712214e6..03b4bba29c24 100644
--- a/app-office/gnucash/files/gnucash-4.12-fix-test.patch
+++ b/app-office/gnucash/files/gnucash-4.12-fix-test.patch
@@ -1,15 +1,11 @@
+https://github.com/Gnucash/gnucash/pull/1472
+
 From 6fe2028bca49f455b7841d178a712baec8f72919 Mon Sep 17 00:00:00 2001
 From: Marco Scardovi 
 Date: Thu, 24 Nov 2022 23:20:07 +0100
 Subject: [PATCH] Fix test
 
 Signed-off-by: Marco Scardovi 

- libgnucash/engine/mocks/fake-qofquery.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libgnucash/engine/mocks/fake-qofquery.cpp 
b/libgnucash/engine/mocks/fake-qofquery.cpp
-index 15341189aa8..a82dadebf02 100644
 --- a/libgnucash/engine/mocks/fake-qofquery.cpp
 +++ b/libgnucash/engine/mocks/fake-qofquery.cpp
 @@ -59,8 +59,8 @@ static class QofFakeQueryPool

diff --git a/app-office/gnucash/gnucash-4.12.ebuild 
b/app-office/gnucash/gnucash-4.12.ebuild
index d19d9983eb5e..702eadfdd4b6 100644
--- a/app-office/gnucash/gnucash-4.12.ebuild
+++ b/app-office/gnucash/gnucash-4.12.ebuild
@@ -75,7 +75,6 @@ RDEPEND="
dev-db/libdbi-drivers[sqlite]
)
 "
-
 DEPEND="
${RDEPEND}
>=sys-devel/gettext-0.20
@@ -84,36 +83,29 @@ DEPEND="
sys-devel/libtool
test? ( >=dev-cpp/gtest-1.8.0 )
 "
-
 BDEPEND="
dev-lang/swig
dev-util/cmake
virtual/pkgconfig
-   || (
-   >=sys-devel/gcc-8:*
-   >=sys-devel/clang-6:*
-   )
 "
-
-# For 4.10, they released gnucash-docs-4.10.1 to fix an issue.
 PDEPEND="
doc? (
-   ~app-doc/gnucash-docs-"${PV}"
+   ~app-doc/gnucash-docs-${PV}
gnome-extra/yelp
)
 "
 
 PATCHES=(
-   "${FILESDIR}/${PN}"-3.8-examples-subdir.patch
-   "${FILESDIR}/${PN}"-3.8-exclude-license.patch
-   "${FILESDIR}/${P}"-drop-broken-test.patch
+   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
+   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
+   "${FILESDIR}"/${P}-drop-broken-test.patch
# will be fixed on future version, see
# https://github.com/Gnucash/gnucash/pull/1472
-   "${FILESDIR}/${P}"-fix-test.patch
+   "${FILESDIR}"/${P}-fix-test.patch
 )
 
 # guile generates ELF files without use of C or machine code
-# It's a portage's false positive. bug #677600
+# It's a portage false positive, bug #677600
 QA_PREBUILT='*[.]go'
 
 pkg_setup() {
@@ -161,7 +153,7 @@ src_configure() {
-DWITH_AQBANKING=$(usex aqbanking)
-DWITH_OFX=$(usex ofx)
-DWITH_PYTHON=$(usex python)
-   -DWITH_SQL="${sql_on_off}"
+   -DWITH_SQL=${sql_on_off}
-DWITH_GNUCASH=$(usex gui)
)
 
@@ -198,9 +190,9 @@ src_install() {
cmake_src_install
 
if use examples ; then
-   docompress -x /usr/share/doc/"${PF}"/examples
+   docompress -x /usr/share/doc/${PF}/examples
else
-   rm -r "${ED}"/usr/share/doc/"${PF}"/examples
+   rm -r "${ED}"/usr/share/doc/${PF}/examples
fi
 
if use python ; then



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2022-12-06 Thread Sam James
commit: 1de4ef9462be5496a0ddfe8f86b617bd388bd677
Author: Marco Scardovi  icloud  com>
AuthorDate: Sun Nov 20 13:17:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  6 11:57:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de4ef94

app-office/gnucash: drop 4.4, 4.5

Signed-off-by: Marco Scardovi  icloud.com>
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/Manifest   |   3 -
 app-office/gnucash/gnucash-4.4.ebuild | 220 -
 app-office/gnucash/gnucash-4.5.ebuild | 222 --
 3 files changed, 445 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index fc739aa482c2..071d3cb5b78d 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,6 +1,3 @@
 DIST gnucash-4.10.tar.bz2 14768016 BLAKE2B 
645caedc342508290bac1ed4c8745ddc84f9634887cacc49246b3b1470e1d4c34b55af5b79c23747c8e223096e2b57876635fd07bc1e9153331abd11e4e249c2
 SHA512 
6898edff50af360bc7112a6d8eab3cde808a127df603f2eb5dca166a8f2ea079c3d37859fcb4ea22fa3a137f71792402dbff2d3ef4d0d93b0f2c980f5b1c2a62
 DIST gnucash-4.12.tar.bz2 14552115 BLAKE2B 
6d5faf2fa1d096315bd6c346e0291109669fd9df4bc0404f4dbc2fc56c8a361aeff57e3535fea862f21ff59391319010b7f28c9bd7df658a1b0c518894862585
 SHA512 
4c930dfc9a10dfd06d3c52874a61e533ddc39deb1c334162dc3a096d998dbdfcac61520ae94dedbc6742b7807e250ff92d26067a70c4ab156e46bed333bbfd37
-DIST gnucash-4.4-Fix-build-with-glib-2.68.patch.xz 9120 BLAKE2B 
b04cc859ab2817b69e9a5b3b92d73dd16aa4b3264202d0d089c80251a9ead5f459c6918fc605fda50e98db01d81dc4691ae58d7ff2eb4dad8c805edb523e36eb
 SHA512 
3aea6195f47ed4c3ca395f10b7575bcabf8f5dcb185b938ece19a518de0f0bd18e9bbe19b84eca8ec99e3a076745e441f3d47d894049f0cfb88168723338fbf0
-DIST gnucash-4.4.tar.bz2 14430959 BLAKE2B 
7a9e04957919a99e083dd5c1ac04150f77ab64eef277c0cd63ef90ade4a82875447f291d4f14499a14e987a86a7b7615d4a3cbb79a980be7022cb4f511b71368
 SHA512 
5882e5a91081bb9279ac5dc8798352cb15ebb934d1d37c6d6639244602108e067ece5b7f51ba32c9c413c1469d08ca32a73369e6af34e41c3ef704033c71f336
-DIST gnucash-4.5.tar.bz2 14472274 BLAKE2B 
2cf9726fc241506867a49f796d2526c6a7524667dcf706f812d225deac146020f49dcdc7ac64b1c0b90d6e61941197dd8aec0f5166e474bc2f601fc8674abdc1
 SHA512 
5e6dfebae8845ab7ad8fcb95f38eb1d0907e789637f722fccf31486b05ee9ebbfb60b8c70e1cef1fc5913b73bfdc2251babed09b6f894c266b969874f3dff30b
 DIST gnucash-4.8.tar.bz2 14679619 BLAKE2B 
ef0790dcf823631b3a9764d60a49a55f35614d31117b1921ad5621d8b5298928555725b4d376e4b782437f8874b438496c3fd5b610df480fcc17f5d049a07511
 SHA512 
5fbafabe7ddbafe5e275b058758637011712934aec875b97085b7d068ab556ae5041b2cfa83f9a735eec877fac5158b701c2255be129e8ce883acf668fadefb5

diff --git a/app-office/gnucash/gnucash-4.4.ebuild 
b/app-office/gnucash/gnucash-4.4.ebuild
deleted file mode 100644
index 8f020d3cb3eb..
--- a/app-office/gnucash/gnucash-4.4.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="https://www.gnucash.org/;
-SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-Fix-build-with-glib-2.68.patch.xz;
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
-
-IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
- python quotes register2 smartcard sqlite test"
-RESTRICT="!test? ( test )"
-
-# Examples doesn't build unless GUI is also built
-REQUIRED_USE="
-   examples? ( gui )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   smartcard? ( aqbanking )"
-
-# dev-libs/boost must always be built with nls enabled.
-# net-libs/aqbanking dropped gtk with v6. So, to simplify the
-#   dependency, we just rely on that.
-RDEPEND="
-   >=dev-libs/glib-2.56.1:2
-   >=dev-scheme/guile-2.2.0:=[regex]
-   >=sys-libs/zlib-1.1.4
-   dev-libs/boost:=[icu,nls]
-   dev-libs/icu:=
-   dev-libs/libxml2:2
-   dev-libs/libxslt
-   aqbanking? (
-   >=net-libs/aqbanking-6[ofx?]
-   sys-libs/gwenhywfar:=
-   smartcard? ( sys-libs/libchipcard )
-   )
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   gui? (
-   >=x11-libs/gtk+-3.22.30:3
-   gnome-base/dconf
-   net-libs/webkit-gtk:4=
-   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
-   )
-   mysql? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[mysql]
-   )
-   ofx? ( >=dev-libs/libofx-0.9.1:= )
-   postgres? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[postgres]
-   )
-   python? ( ${PYTHON_DEPS} )
-   quotes? (
-   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2022-12-06 Thread Sam James
commit: dedab8c3269f978f11583d3ced6b7fa5fab5d1ee
Author: Marco Scardovi  icloud  com>
AuthorDate: Sun Nov 20 13:15:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  6 11:57:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dedab8c3

app-office/gnucash: bump to 4.12

Closes: https://bugs.gentoo.org/734044
Closes: https://bugs.gentoo.org/762661
Closes: https://bugs.gentoo.org/814134
Closes: https://bugs.gentoo.org/882147
Bug: https://bugs.gentoo.org/677600

Drop old versions 4.4 and 4.5

Signed-off-by: Marco Scardovi  icloud.com>
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/Manifest|   1 +
 app-office/gnucash/gnucash-4.12.ebuild | 232 +
 2 files changed, 233 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 3bfc4488d8fc..fc739aa482c2 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,4 +1,5 @@
 DIST gnucash-4.10.tar.bz2 14768016 BLAKE2B 
645caedc342508290bac1ed4c8745ddc84f9634887cacc49246b3b1470e1d4c34b55af5b79c23747c8e223096e2b57876635fd07bc1e9153331abd11e4e249c2
 SHA512 
6898edff50af360bc7112a6d8eab3cde808a127df603f2eb5dca166a8f2ea079c3d37859fcb4ea22fa3a137f71792402dbff2d3ef4d0d93b0f2c980f5b1c2a62
+DIST gnucash-4.12.tar.bz2 14552115 BLAKE2B 
6d5faf2fa1d096315bd6c346e0291109669fd9df4bc0404f4dbc2fc56c8a361aeff57e3535fea862f21ff59391319010b7f28c9bd7df658a1b0c518894862585
 SHA512 
4c930dfc9a10dfd06d3c52874a61e533ddc39deb1c334162dc3a096d998dbdfcac61520ae94dedbc6742b7807e250ff92d26067a70c4ab156e46bed333bbfd37
 DIST gnucash-4.4-Fix-build-with-glib-2.68.patch.xz 9120 BLAKE2B 
b04cc859ab2817b69e9a5b3b92d73dd16aa4b3264202d0d089c80251a9ead5f459c6918fc605fda50e98db01d81dc4691ae58d7ff2eb4dad8c805edb523e36eb
 SHA512 
3aea6195f47ed4c3ca395f10b7575bcabf8f5dcb185b938ece19a518de0f0bd18e9bbe19b84eca8ec99e3a076745e441f3d47d894049f0cfb88168723338fbf0
 DIST gnucash-4.4.tar.bz2 14430959 BLAKE2B 
7a9e04957919a99e083dd5c1ac04150f77ab64eef277c0cd63ef90ade4a82875447f291d4f14499a14e987a86a7b7615d4a3cbb79a980be7022cb4f511b71368
 SHA512 
5882e5a91081bb9279ac5dc8798352cb15ebb934d1d37c6d6639244602108e067ece5b7f51ba32c9c413c1469d08ca32a73369e6af34e41c3ef704033c71f336
 DIST gnucash-4.5.tar.bz2 14472274 BLAKE2B 
2cf9726fc241506867a49f796d2526c6a7524667dcf706f812d225deac146020f49dcdc7ac64b1c0b90d6e61941197dd8aec0f5166e474bc2f601fc8674abdc1
 SHA512 
5e6dfebae8845ab7ad8fcb95f38eb1d0907e789637f722fccf31486b05ee9ebbfb60b8c70e1cef1fc5913b73bfdc2251babed09b6f894c266b969874f3dff30b

diff --git a/app-office/gnucash/gnucash-4.12.ebuild 
b/app-office/gnucash/gnucash-4.12.ebuild
new file mode 100644
index ..15c424472fbc
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.12.ebuild
@@ -0,0 +1,232 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Please bump with app-doc/gnucash-docs
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres 
python quotes register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )
+"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+# dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar:=
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject[${PYTHON_USEDEP}]
+   ')
+   )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2022-05-16 Thread Sam James
commit: b4ab47a864c32b557ff605b950a168d02d54a773
Author: Sam James  gentoo  org>
AuthorDate: Tue May 17 01:48:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 17 05:33:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ab47a8

app-office/gnucash: [QA] drop (very) stale GCC version checks

Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/gnucash-4.4.ebuild | 18 +-
 app-office/gnucash/gnucash-4.5.ebuild | 18 +-
 app-office/gnucash/gnucash-4.8.ebuild | 16 
 3 files changed, 2 insertions(+), 50 deletions(-)

diff --git a/app-office/gnucash/gnucash-4.4.ebuild 
b/app-office/gnucash/gnucash-4.4.ebuild
index 09ce9038f1bf..8f020d3cb3eb 100644
--- a/app-office/gnucash/gnucash-4.4.ebuild
+++ b/app-office/gnucash/gnucash-4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -82,10 +82,6 @@ BDEPEND="
dev-lang/swig
dev-util/cmake
virtual/pkgconfig
-   || (
-   >=sys-devel/gcc-8:*
-   >=sys-devel/clang-6:*
-   )
 "
 
 PDEPEND="doc? (
@@ -102,18 +98,6 @@ PATCHES=(
 
 S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
 
-pkg_pretend() {
-   if tc-is-gcc; then
-   if [[ $(gcc-major-version) -lt 8 ]]; then
-   die "GnuCash needs at least GCC version 8."
-   fi
-   elif tc-is-clang; then
-   if [[ $(clang-major-version) -lt 6 ]]; then
-   die "GnuCash needs at least clang version 6."
-   fi
-   fi
-}
-
 pkg_setup() {
use python && python-single-r1_pkg_setup
xdg_environment_reset

diff --git a/app-office/gnucash/gnucash-4.5.ebuild 
b/app-office/gnucash/gnucash-4.5.ebuild
index 7c45aa93aa2c..11cdf2fabdfe 100644
--- a/app-office/gnucash/gnucash-4.5.ebuild
+++ b/app-office/gnucash/gnucash-4.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -86,10 +86,6 @@ BDEPEND="
dev-lang/swig
dev-util/cmake
virtual/pkgconfig
-   || (
-   >=sys-devel/gcc-8:*
-   >=sys-devel/clang-6:*
-   )
 "
 
 PDEPEND="doc? (
@@ -104,18 +100,6 @@ PATCHES=(
 
 S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
 
-pkg_pretend() {
-   if tc-is-gcc; then
-   if [[ $(gcc-major-version) -lt 8 ]]; then
-   die "GnuCash needs at least GCC version 8."
-   fi
-   elif tc-is-clang; then
-   if [[ $(clang-major-version) -lt 6 ]]; then
-   die "GnuCash needs at least clang version 6."
-   fi
-   fi
-}
-
 pkg_setup() {
use python && python-single-r1_pkg_setup
xdg_environment_reset

diff --git a/app-office/gnucash/gnucash-4.8.ebuild 
b/app-office/gnucash/gnucash-4.8.ebuild
index 9bfefda763d3..621b83ea81b0 100644
--- a/app-office/gnucash/gnucash-4.8.ebuild
+++ b/app-office/gnucash/gnucash-4.8.ebuild
@@ -86,10 +86,6 @@ BDEPEND="
dev-lang/swig
dev-util/cmake
virtual/pkgconfig
-   || (
-   >=sys-devel/gcc-8:*
-   >=sys-devel/clang-6:*
-   )
 "
 
 PDEPEND="doc? (
@@ -104,18 +100,6 @@ PATCHES=(
 
 S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
 
-pkg_pretend() {
-   if tc-is-gcc; then
-   if [[ $(gcc-major-version) -lt 8 ]]; then
-   die "GnuCash needs at least GCC version 8."
-   fi
-   elif tc-is-clang; then
-   if [[ $(clang-major-version) -lt 6 ]]; then
-   die "GnuCash needs at least clang version 6."
-   fi
-   fi
-}
-
 pkg_setup() {
use python && python-single-r1_pkg_setup
xdg_environment_reset



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2022-05-06 Thread Sam James
commit: 646c50780f6202a496f3e5d86f3a336d8ba24d6d
Author: Sam James  gentoo  org>
AuthorDate: Sat May  7 04:53:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  7 05:00:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=646c5078

app-office/gnucash: add 4.10

Closes: https://bugs.gentoo.org/840668
Closes: https://bugs.gentoo.org/836334
Closes: https://bugs.gentoo.org/833935
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/Manifest|   1 +
 app-office/gnucash/gnucash-4.10.ebuild | 221 +
 2 files changed, 222 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 5d767a1081b8..3bfc4488d8fc 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,3 +1,4 @@
+DIST gnucash-4.10.tar.bz2 14768016 BLAKE2B 
645caedc342508290bac1ed4c8745ddc84f9634887cacc49246b3b1470e1d4c34b55af5b79c23747c8e223096e2b57876635fd07bc1e9153331abd11e4e249c2
 SHA512 
6898edff50af360bc7112a6d8eab3cde808a127df603f2eb5dca166a8f2ea079c3d37859fcb4ea22fa3a137f71792402dbff2d3ef4d0d93b0f2c980f5b1c2a62
 DIST gnucash-4.4-Fix-build-with-glib-2.68.patch.xz 9120 BLAKE2B 
b04cc859ab2817b69e9a5b3b92d73dd16aa4b3264202d0d089c80251a9ead5f459c6918fc605fda50e98db01d81dc4691ae58d7ff2eb4dad8c805edb523e36eb
 SHA512 
3aea6195f47ed4c3ca395f10b7575bcabf8f5dcb185b938ece19a518de0f0bd18e9bbe19b84eca8ec99e3a076745e441f3d47d894049f0cfb88168723338fbf0
 DIST gnucash-4.4.tar.bz2 14430959 BLAKE2B 
7a9e04957919a99e083dd5c1ac04150f77ab64eef277c0cd63ef90ade4a82875447f291d4f14499a14e987a86a7b7615d4a3cbb79a980be7022cb4f511b71368
 SHA512 
5882e5a91081bb9279ac5dc8798352cb15ebb934d1d37c6d6639244602108e067ece5b7f51ba32c9c413c1469d08ca32a73369e6af34e41c3ef704033c71f336
 DIST gnucash-4.5.tar.bz2 14472274 BLAKE2B 
2cf9726fc241506867a49f796d2526c6a7524667dcf706f812d225deac146020f49dcdc7ac64b1c0b90d6e61941197dd8aec0f5166e474bc2f601fc8674abdc1
 SHA512 
5e6dfebae8845ab7ad8fcb95f38eb1d0907e789637f722fccf31486b05ee9ebbfb60b8c70e1cef1fc5913b73bfdc2251babed09b6f894c266b969874f3dff30b

diff --git a/app-office/gnucash/gnucash-4.10.ebuild 
b/app-office/gnucash/gnucash-4.10.ebuild
new file mode 100644
index ..1889940ce48b
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.10.ebuild
@@ -0,0 +1,221 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Please bump with app-doc/gnucash-docs
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit cmake gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+#   dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar:=
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject[${PYTHON_USEDEP}]
+   ')
+   )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=dev-cpp/gtest-1.8.0
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+"
+
+BDEPEND="
+   dev-lang/swig
+   dev-util/cmake
+   virtual/pkgconfig
+   || (
+   >=sys-devel/gcc-8:*
+   >=sys-devel/clang-6:*
+   )

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2022-03-30 Thread Yixun Lan
commit: 416e4816bd898b7f69949b6a72751a6ab89ce79a
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Mar 30 14:12:52 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Mar 30 14:12:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=416e4816

app-office/gnucash: Keyword 4.8 riscv, #836417

Signed-off-by: Yixun Lan  gentoo.org>

 app-office/gnucash/gnucash-4.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-4.8.ebuild 
b/app-office/gnucash/gnucash-4.8.ebuild
index 2fecc9c8bb62..9bfefda763d3 100644
--- a/app-office/gnucash/gnucash-4.8.ebuild
+++ b/app-office/gnucash/gnucash-4.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes register2 smartcard sqlite test"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2021-12-08 Thread Sam James
commit: 3bbf9fec020d532a7ba22608f02158299c5d3ebf
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec  9 06:38:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec  9 06:38:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bbf9fec

app-office/gnucash: Stabilize 4.8 amd64, #819195

Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/gnucash-4.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.8.ebuild 
b/app-office/gnucash/gnucash-4.8.ebuild
index 226626f1055e..2fecc9c8bb62 100644
--- a/app-office/gnucash/gnucash-4.8.ebuild
+++ b/app-office/gnucash/gnucash-4.8.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes register2 smartcard sqlite test"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2021-12-08 Thread Sam James
commit: b89caa690ae462ad0e63ee540472767f992d4bbd
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec  8 22:59:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec  8 22:59:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b89caa69

app-office/gnucash: Stabilize 4.8 x86, #819195

Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/gnucash-4.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.8.ebuild 
b/app-office/gnucash/gnucash-4.8.ebuild
index 6223a5c499fe..226626f1055e 100644
--- a/app-office/gnucash/gnucash-4.8.ebuild
+++ b/app-office/gnucash/gnucash-4.8.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes register2 smartcard sqlite test"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2021-11-18 Thread Aaron W. Swenson
commit: b40a6d4ba54b379f354a166163d279048d983c75
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Nov 18 14:46:16 2021 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Nov 18 14:46:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b40a6d4b

app-office/gnucash: Re-fix RDEPEND

Closes: https://bugs.gentoo.org/787419
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/gnucash-4.8.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.8.ebuild 
b/app-office/gnucash/gnucash-4.8.ebuild
index fb509d8f311a..6223a5c499fe 100644
--- a/app-office/gnucash/gnucash-4.8.ebuild
+++ b/app-office/gnucash/gnucash-4.8.ebuild
@@ -57,7 +57,12 @@ RDEPEND="
dev-db/libdbi
dev-db/libdbi-drivers[postgres]
)
-   python? ( ${PYTHON_DEPS} )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject[${PYTHON_USEDEP}]
+   ')
+   )
quotes? (
>=dev-perl/Finance-Quote-1.11
dev-perl/Date-Manip



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2021-11-18 Thread Aaron W. Swenson
commit: 0da89c7b22a762555a2abe5c7044aae7d66b2a7e
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Nov 18 14:34:39 2021 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Nov 18 14:37:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da89c7b

app-office/gnucash: Bump to 4.8

Closes: https://bugs.gentoo.org/812710
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-4.8.ebuild | 228 ++
 2 files changed, 229 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 8525d7e87277..5d767a1081b8 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,3 +1,4 @@
 DIST gnucash-4.4-Fix-build-with-glib-2.68.patch.xz 9120 BLAKE2B 
b04cc859ab2817b69e9a5b3b92d73dd16aa4b3264202d0d089c80251a9ead5f459c6918fc605fda50e98db01d81dc4691ae58d7ff2eb4dad8c805edb523e36eb
 SHA512 
3aea6195f47ed4c3ca395f10b7575bcabf8f5dcb185b938ece19a518de0f0bd18e9bbe19b84eca8ec99e3a076745e441f3d47d894049f0cfb88168723338fbf0
 DIST gnucash-4.4.tar.bz2 14430959 BLAKE2B 
7a9e04957919a99e083dd5c1ac04150f77ab64eef277c0cd63ef90ade4a82875447f291d4f14499a14e987a86a7b7615d4a3cbb79a980be7022cb4f511b71368
 SHA512 
5882e5a91081bb9279ac5dc8798352cb15ebb934d1d37c6d6639244602108e067ece5b7f51ba32c9c413c1469d08ca32a73369e6af34e41c3ef704033c71f336
 DIST gnucash-4.5.tar.bz2 14472274 BLAKE2B 
2cf9726fc241506867a49f796d2526c6a7524667dcf706f812d225deac146020f49dcdc7ac64b1c0b90d6e61941197dd8aec0f5166e474bc2f601fc8674abdc1
 SHA512 
5e6dfebae8845ab7ad8fcb95f38eb1d0907e789637f722fccf31486b05ee9ebbfb60b8c70e1cef1fc5913b73bfdc2251babed09b6f894c266b969874f3dff30b
+DIST gnucash-4.8.tar.bz2 14679619 BLAKE2B 
ef0790dcf823631b3a9764d60a49a55f35614d31117b1921ad5621d8b5298928555725b4d376e4b782437f8874b438496c3fd5b610df480fcc17f5d049a07511
 SHA512 
5fbafabe7ddbafe5e275b058758637011712934aec875b97085b7d068ab556ae5041b2cfa83f9a735eec877fac5158b701c2255be129e8ce883acf668fadefb5

diff --git a/app-office/gnucash/gnucash-4.8.ebuild 
b/app-office/gnucash/gnucash-4.8.ebuild
new file mode 100644
index ..fb509d8f311a
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.8.ebuild
@@ -0,0 +1,228 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+#   dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar:=
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=dev-cpp/gtest-1.8.0
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+"
+
+BDEPEND="
+   dev-lang/swig
+   dev-util/cmake
+   virtual/pkgconfig
+   || (
+   >=sys-devel/gcc-8:*
+   >=sys-devel/clang-6:*
+   )
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
+   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
+)
+

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2021-05-05 Thread Aaron W. Swenson
commit: 339984e5b6814d282362d2090491dc198480babb
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed May  5 10:16:54 2021 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed May  5 10:18:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=339984e5

app-office/gnucash: Bump to 4.5

Thanks to Giuseppe Foti and Adrian Bassett.

Closes: https://bugs.gentoo.org/780501
Bug: https://bugs.gentoo.org/787419
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-4.5.ebuild | 238 ++
 2 files changed, 239 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index d1579bd653d..8525d7e8727 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,2 +1,3 @@
 DIST gnucash-4.4-Fix-build-with-glib-2.68.patch.xz 9120 BLAKE2B 
b04cc859ab2817b69e9a5b3b92d73dd16aa4b3264202d0d089c80251a9ead5f459c6918fc605fda50e98db01d81dc4691ae58d7ff2eb4dad8c805edb523e36eb
 SHA512 
3aea6195f47ed4c3ca395f10b7575bcabf8f5dcb185b938ece19a518de0f0bd18e9bbe19b84eca8ec99e3a076745e441f3d47d894049f0cfb88168723338fbf0
 DIST gnucash-4.4.tar.bz2 14430959 BLAKE2B 
7a9e04957919a99e083dd5c1ac04150f77ab64eef277c0cd63ef90ade4a82875447f291d4f14499a14e987a86a7b7615d4a3cbb79a980be7022cb4f511b71368
 SHA512 
5882e5a91081bb9279ac5dc8798352cb15ebb934d1d37c6d6639244602108e067ece5b7f51ba32c9c413c1469d08ca32a73369e6af34e41c3ef704033c71f336
+DIST gnucash-4.5.tar.bz2 14472274 BLAKE2B 
2cf9726fc241506867a49f796d2526c6a7524667dcf706f812d225deac146020f49dcdc7ac64b1c0b90d6e61941197dd8aec0f5166e474bc2f601fc8674abdc1
 SHA512 
5e6dfebae8845ab7ad8fcb95f38eb1d0907e789637f722fccf31486b05ee9ebbfb60b8c70e1cef1fc5913b73bfdc2251babed09b6f894c266b969874f3dff30b

diff --git a/app-office/gnucash/gnucash-4.5.ebuild 
b/app-office/gnucash/gnucash-4.5.ebuild
new file mode 100644
index 000..d292141e0db
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.5.ebuild
@@ -0,0 +1,238 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes -register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+#   dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar:=
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject[${PYTHON_USEDEP}]
+   ')
+   )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=dev-cpp/gtest-1.8.0
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+"
+
+BDEPEND="
+   dev-lang/swig
+   dev-util/cmake
+   virtual/pkgconfig
+   || (
+   >=sys-devel/gcc-8:*
+   >=sys-devel/clang-6:*
+   )
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
+   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
+)
+
+S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
+
+pkg_pretend() {
+   if tc-is-gcc; then
+   if [[ 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2021-04-21 Thread Sam James
commit: 0201ab9e0d9fda7f8b440fc64f10849091fdd4c4
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 21 10:04:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 21 18:50:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0201ab9e

app-office/gnucash: move glib patch to devspace (fix SizeViolation)

Bug: https://bugs.gentoo.org/777693
Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/Manifest|1 +
 .../gnucash-4.4-Fix-build-with-glib-2.68.patch | 2372 
 app-office/gnucash/gnucash-4.4.ebuild  |3 +-
 3 files changed, 3 insertions(+), 2373 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index bb1d7607c5d..d1579bd653d 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1 +1,2 @@
+DIST gnucash-4.4-Fix-build-with-glib-2.68.patch.xz 9120 BLAKE2B 
b04cc859ab2817b69e9a5b3b92d73dd16aa4b3264202d0d089c80251a9ead5f459c6918fc605fda50e98db01d81dc4691ae58d7ff2eb4dad8c805edb523e36eb
 SHA512 
3aea6195f47ed4c3ca395f10b7575bcabf8f5dcb185b938ece19a518de0f0bd18e9bbe19b84eca8ec99e3a076745e441f3d47d894049f0cfb88168723338fbf0
 DIST gnucash-4.4.tar.bz2 14430959 BLAKE2B 
7a9e04957919a99e083dd5c1ac04150f77ab64eef277c0cd63ef90ade4a82875447f291d4f14499a14e987a86a7b7615d4a3cbb79a980be7022cb4f511b71368
 SHA512 
5882e5a91081bb9279ac5dc8798352cb15ebb934d1d37c6d6639244602108e067ece5b7f51ba32c9c413c1469d08ca32a73369e6af34e41c3ef704033c71f336

diff --git 
a/app-office/gnucash/files/gnucash-4.4-Fix-build-with-glib-2.68.patch 
b/app-office/gnucash/files/gnucash-4.4-Fix-build-with-glib-2.68.patch
deleted file mode 100644
index 1efa793db3a..000
--- a/app-office/gnucash/files/gnucash-4.4-Fix-build-with-glib-2.68.patch
+++ /dev/null
@@ -1,2372 +0,0 @@
-From ca76877e8e72a1e716e084eac6953e53ba1ed428 Mon Sep 17 00:00:00 2001
-From: Bill Nottingham 
-Date: Sat, 13 Feb 2021 16:35:27 -0500
-Subject: [PATCH] Fix build with glib 2.68
-
-c0f2c3ae2 ("Fix build with glib2 2.67.x.")
-7a7c26f87 ("Move glib and gtk includes out of extern C for tests.")
-1dd426e31 ("Potentially fix CI test on Arch related to glib and c++")
-cb0436501 ("More fixes for Arch ci failure")
-e9dfd0d9e ("Still more fixes for Arch ci failure")
-c49b45d8f ("Finish the glib 2.67 fixes for CI tests.")

- bindings/guile/test/test-scm-query.cpp|  4 ++--
- gnucash/gnome-utils/gnc-amount-edit.h |  2 ++
- gnucash/gnome-utils/gnc-tree-model-commodity.c|  1 +
- gnucash/gnome/assistant-loan.cpp  |  5 +++--
- gnucash/import-export/csv-imp/gnc-imp-props-price.cpp |  6 +++---
- gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp|  5 +++--
- .../test/test-import-pending-matches.cpp  |  5 +++--
- gnucash/register/register-gnome/datecell-gnome.c  |  1 +
- libgnucash/app-utils/gnc-sx-instance-model.c  |  1 +
- libgnucash/app-utils/gnc-ui-balances.c|  1 +
- libgnucash/app-utils/test/test-autoclear.cpp  |  2 +-
- libgnucash/app-utils/test/test-option-util.cpp|  7 ---
- libgnucash/app-utils/test/test-print-parse-amount.cpp |  5 +++--
- libgnucash/app-utils/test/test-print-queries.cpp  |  6 +++---
- libgnucash/app-utils/test/test-scm-query-string.cpp   |  7 +++
- libgnucash/app-utils/test/test-sx.cpp |  5 +++--
- libgnucash/backend/dbi/gnc-backend-dbi.cpp|  7 ---
- libgnucash/backend/dbi/test/test-backend-dbi.cpp  |  2 +-
- libgnucash/backend/sql/gnc-address-sql.cpp|  4 ++--
- libgnucash/backend/sql/gnc-book-sql.cpp   |  4 ++--
- libgnucash/backend/sql/gnc-customer-sql.cpp   |  3 ++-
- libgnucash/backend/sql/gnc-employee-sql.cpp   |  2 +-
- libgnucash/backend/sql/gnc-entry-sql.cpp  |  2 +-
- libgnucash/backend/sql/gnc-job-sql.cpp|  2 +-
- libgnucash/backend/sql/gnc-price-sql.cpp  |  3 +--
- libgnucash/backend/sql/gnc-recurrence-sql.cpp |  3 +--
- libgnucash/backend/sql/gnc-schedxaction-sql.cpp   |  4 ++--
- libgnucash/backend/sql/gnc-vendor-sql.cpp |  4 ++--
- libgnucash/backend/sql/test/test-sqlbe.cpp|  3 ++-
- libgnucash/backend/sql/test/utest-gnc-backend-sql.cpp |  3 ++-
- libgnucash/backend/xml/gnc-account-xml-v2.cpp |  4 ++--
- libgnucash/backend/xml/gnc-address-xml-v2.cpp |  4 ++--
- libgnucash/backend/xml/gnc-backend-xml.cpp|  7 ---
- libgnucash/backend/xml/gnc-bill-term-xml-v2.cpp   |  2 --
- libgnucash/backend/xml/gnc-book-xml-v2.cpp|  4 ++--
- libgnucash/backend/xml/gnc-budget-xml-v2.cpp  |  4 ++--
- libgnucash/backend/xml/gnc-commodity-xml-v2.cpp   |  4 ++--
- libgnucash/backend/xml/gnc-customer-xml-v2.cpp|  4 ++--
- libgnucash/backend/xml/gnc-employee-xml-v2.cpp|  3 +--
- libgnucash/backend/xml/gnc-entry-xml-v2.cpp   |  4 ++--
- 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2021-04-18 Thread Matt Turner
commit: 603653d08b40bbe57036455a5bf49911412d65a0
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Apr 19 03:27:31 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Apr 19 03:31:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603653d0

app-office/gnucash: Fix build with glib-2.68

Closes: https://bugs.gentoo.org/777693
Signed-off-by: Matt Turner  gentoo.org>

 .../gnucash-4.4-Fix-build-with-glib-2.68.patch | 2372 
 app-office/gnucash/gnucash-4.4.ebuild  |1 +
 2 files changed, 2373 insertions(+)

diff --git 
a/app-office/gnucash/files/gnucash-4.4-Fix-build-with-glib-2.68.patch 
b/app-office/gnucash/files/gnucash-4.4-Fix-build-with-glib-2.68.patch
new file mode 100644
index 000..1efa793db3a
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-4.4-Fix-build-with-glib-2.68.patch
@@ -0,0 +1,2372 @@
+From ca76877e8e72a1e716e084eac6953e53ba1ed428 Mon Sep 17 00:00:00 2001
+From: Bill Nottingham 
+Date: Sat, 13 Feb 2021 16:35:27 -0500
+Subject: [PATCH] Fix build with glib 2.68
+
+c0f2c3ae2 ("Fix build with glib2 2.67.x.")
+7a7c26f87 ("Move glib and gtk includes out of extern C for tests.")
+1dd426e31 ("Potentially fix CI test on Arch related to glib and c++")
+cb0436501 ("More fixes for Arch ci failure")
+e9dfd0d9e ("Still more fixes for Arch ci failure")
+c49b45d8f ("Finish the glib 2.67 fixes for CI tests.")
+---
+ bindings/guile/test/test-scm-query.cpp|  4 ++--
+ gnucash/gnome-utils/gnc-amount-edit.h |  2 ++
+ gnucash/gnome-utils/gnc-tree-model-commodity.c|  1 +
+ gnucash/gnome/assistant-loan.cpp  |  5 +++--
+ gnucash/import-export/csv-imp/gnc-imp-props-price.cpp |  6 +++---
+ gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp|  5 +++--
+ .../test/test-import-pending-matches.cpp  |  5 +++--
+ gnucash/register/register-gnome/datecell-gnome.c  |  1 +
+ libgnucash/app-utils/gnc-sx-instance-model.c  |  1 +
+ libgnucash/app-utils/gnc-ui-balances.c|  1 +
+ libgnucash/app-utils/test/test-autoclear.cpp  |  2 +-
+ libgnucash/app-utils/test/test-option-util.cpp|  7 ---
+ libgnucash/app-utils/test/test-print-parse-amount.cpp |  5 +++--
+ libgnucash/app-utils/test/test-print-queries.cpp  |  6 +++---
+ libgnucash/app-utils/test/test-scm-query-string.cpp   |  7 +++
+ libgnucash/app-utils/test/test-sx.cpp |  5 +++--
+ libgnucash/backend/dbi/gnc-backend-dbi.cpp|  7 ---
+ libgnucash/backend/dbi/test/test-backend-dbi.cpp  |  2 +-
+ libgnucash/backend/sql/gnc-address-sql.cpp|  4 ++--
+ libgnucash/backend/sql/gnc-book-sql.cpp   |  4 ++--
+ libgnucash/backend/sql/gnc-customer-sql.cpp   |  3 ++-
+ libgnucash/backend/sql/gnc-employee-sql.cpp   |  2 +-
+ libgnucash/backend/sql/gnc-entry-sql.cpp  |  2 +-
+ libgnucash/backend/sql/gnc-job-sql.cpp|  2 +-
+ libgnucash/backend/sql/gnc-price-sql.cpp  |  3 +--
+ libgnucash/backend/sql/gnc-recurrence-sql.cpp |  3 +--
+ libgnucash/backend/sql/gnc-schedxaction-sql.cpp   |  4 ++--
+ libgnucash/backend/sql/gnc-vendor-sql.cpp |  4 ++--
+ libgnucash/backend/sql/test/test-sqlbe.cpp|  3 ++-
+ libgnucash/backend/sql/test/utest-gnc-backend-sql.cpp |  3 ++-
+ libgnucash/backend/xml/gnc-account-xml-v2.cpp |  4 ++--
+ libgnucash/backend/xml/gnc-address-xml-v2.cpp |  4 ++--
+ libgnucash/backend/xml/gnc-backend-xml.cpp|  7 ---
+ libgnucash/backend/xml/gnc-bill-term-xml-v2.cpp   |  2 --
+ libgnucash/backend/xml/gnc-book-xml-v2.cpp|  4 ++--
+ libgnucash/backend/xml/gnc-budget-xml-v2.cpp  |  4 ++--
+ libgnucash/backend/xml/gnc-commodity-xml-v2.cpp   |  4 ++--
+ libgnucash/backend/xml/gnc-customer-xml-v2.cpp|  4 ++--
+ libgnucash/backend/xml/gnc-employee-xml-v2.cpp|  3 +--
+ libgnucash/backend/xml/gnc-entry-xml-v2.cpp   |  4 ++--
+ libgnucash/backend/xml/gnc-freqspec-xml-v2.cpp|  3 +--
+ libgnucash/backend/xml/gnc-invoice-xml-v2.cpp |  3 +--
+ libgnucash/backend/xml/gnc-job-xml-v2.cpp |  3 +--
+ libgnucash/backend/xml/gnc-lot-xml-v2.cpp |  3 +--
+ libgnucash/backend/xml/gnc-order-xml-v2.cpp   |  3 +--
+ libgnucash/backend/xml/gnc-owner-xml-v2.cpp   |  3 +--
+ libgnucash/backend/xml/gnc-recurrence-xml-v2.cpp  |  3 +--
+ libgnucash/backend/xml/gnc-schedxaction-xml-v2.cpp|  3 +--
+ libgnucash/backend/xml/gnc-tax-table-xml-v2.cpp   |  3 +--
+ libgnucash/backend/xml/gnc-transaction-xml-v2.cpp |  3 +--
+ libgnucash/backend/xml/gnc-vendor-xml-v2.cpp  |  3 +--
+ libgnucash/backend/xml/gnc-xml-backend.cpp|  4 ++--
+ libgnucash/backend/xml/gnc-xml-helper.cpp |  3 ---
+ libgnucash/backend/xml/gnc-xml-helper.h   |  3 +++
+ 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2021-03-09 Thread Aaron W. Swenson
commit: 63193d613711d566f70cff4b930abb2622f82359
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Tue Mar  9 18:01:17 2021 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Tue Mar  9 18:01:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63193d61

app-office/gnucash: Cleanup

Closes: https://bugs.gentoo.org/754927
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest  |   1 -
 app-office/gnucash/gnucash-4.2-r1.ebuild | 234 ---
 app-office/gnucash/gnucash-4.2.ebuild| 234 ---
 3 files changed, 469 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 074b589319e..bb1d7607c5d 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,2 +1 @@
-DIST gnucash-4.2.tar.bz2 14225695 BLAKE2B 
be77c5876cd1720e9b7422c6afbb05f0144a20cf45d7dac0e8bd3362139f4b4d18f47f0edcb6db9db7a2485263d6bff5e0546f5691fe097fe1d4912852bc0ce4
 SHA512 
f730d2ba5d6b310e0c467767aa4c4e6a153b441b6b9aed948344b9a9b9dee351f3cba9fac1d655385136f5ce4313f8f37ef305e9b93b0ea32c40525d9293b070
 DIST gnucash-4.4.tar.bz2 14430959 BLAKE2B 
7a9e04957919a99e083dd5c1ac04150f77ab64eef277c0cd63ef90ade4a82875447f291d4f14499a14e987a86a7b7615d4a3cbb79a980be7022cb4f511b71368
 SHA512 
5882e5a91081bb9279ac5dc8798352cb15ebb934d1d37c6d6639244602108e067ece5b7f51ba32c9c413c1469d08ca32a73369e6af34e41c3ef704033c71f336

diff --git a/app-office/gnucash/gnucash-4.2-r1.ebuild 
b/app-office/gnucash/gnucash-4.2-r1.ebuild
deleted file mode 100644
index 2726892030a..000
--- a/app-office/gnucash/gnucash-4.2-r1.ebuild
+++ /dev/null
@@ -1,234 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="https://www.gnucash.org/;
-SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
-
-IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
- python quotes -register2 smartcard sqlite test"
-RESTRICT="!test? ( test )"
-
-# Examples doesn't build unless GUI is also built
-REQUIRED_USE="
-   examples? ( gui )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   smartcard? ( aqbanking )"
-
-# dev-libs/boost must always be built with nls enabled.
-# net-libs/aqbanking dropped gtk with v6. So, to simplify the
-#   dependency, we just rely on that.
-RDEPEND="
-   >=dev-libs/glib-2.56.1:2
-   >=dev-scheme/guile-2.2.0:=[regex]
-   >=sys-libs/zlib-1.1.4
-   dev-libs/boost:=[icu,nls]
-   dev-libs/icu:=
-   dev-libs/libxml2:2
-   dev-libs/libxslt
-   aqbanking? (
-   >=net-libs/aqbanking-6[ofx?]
-   sys-libs/gwenhywfar:=
-   smartcard? ( sys-libs/libchipcard )
-   )
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   gui? (
-   >=x11-libs/gtk+-3.22.30:3
-   gnome-base/dconf
-   net-libs/webkit-gtk:4=
-   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
-   )
-   mysql? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[mysql]
-   )
-   ofx? ( >=dev-libs/libofx-0.9.1:= )
-   postgres? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[postgres]
-   )
-   python? ( ${PYTHON_DEPS} )
-   quotes? (
-   >=dev-perl/Finance-Quote-1.11
-   dev-perl/Date-Manip
-   dev-perl/HTML-TableExtract
-   )
-   sqlite? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[sqlite]
-   )
-"
-
-DEPEND="${RDEPEND}
-   >=dev-cpp/gtest-1.8.0
-   >=sys-devel/gettext-0.20
-   dev-lang/perl
-   dev-perl/XML-Parser
-   sys-devel/libtool
-"
-
-BDEPEND="
-   dev-lang/swig
-   dev-util/cmake
-   virtual/pkgconfig
-   || (
-   >=sys-devel/gcc-8:*
-   >=sys-devel/clang-6:*
-   )
-"
-
-PDEPEND="doc? (
-   ~app-doc/gnucash-docs-${PV}
-   gnome-extra/yelp
-)"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.2-no-gui.patch
-   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
-   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
-)
-
-S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
-
-pkg_pretend() {
-   if tc-is-gcc; then
-   if [[ $(gcc-major-version) -lt 8 ]]; then
-   die "GnuCash needs at least GCC version 8."
-   fi
-   elif tc-is-clang; then
-   if [[ $(clang-major-version) -lt 6 ]]; then
-   die "GnuCash needs at least clang version 6."
-   fi
-   fi
-}
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-   xdg_environment_reset
-}
-
-src_prepare() {

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2021-03-08 Thread Sam James
commit: f30aa6a150e1a1ff403d0b34b4f2b6bdd9115ad6
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  8 10:26:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  8 10:26:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30aa6a1

app-office/gnucash: Stabilize 4.4 x86, #774723

Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/gnucash-4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.4.ebuild 
b/app-office/gnucash/gnucash-4.4.ebuild
index fab821a60ed..1b028d8901f 100644
--- a/app-office/gnucash/gnucash-4.4.ebuild
+++ b/app-office/gnucash/gnucash-4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes -register2 smartcard sqlite test"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2021-03-08 Thread Sam James
commit: 10ac1d6b8125ef845b9dfe50400f65c102f98067
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  8 10:24:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  8 10:24:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10ac1d6b

app-office/gnucash: Stabilize 4.4 amd64, #774723

Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/gnucash-4.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-4.4.ebuild 
b/app-office/gnucash/gnucash-4.4.ebuild
index 2726892030a..fab821a60ed 100644
--- a/app-office/gnucash/gnucash-4.4.ebuild
+++ b/app-office/gnucash/gnucash-4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes -register2 smartcard sqlite test"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-12-30 Thread Aaron W. Swenson
commit: 3ddd0ac84fc07c6ad245da67f75911dd05b37b4f
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Dec 30 11:42:15 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Dec 30 11:42:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ddd0ac8

app-office/gnucash: Bump to 4.4

Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-4.4.ebuild | 234 ++
 2 files changed, 235 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 2ea7859d92f..074b589319e 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1 +1,2 @@
 DIST gnucash-4.2.tar.bz2 14225695 BLAKE2B 
be77c5876cd1720e9b7422c6afbb05f0144a20cf45d7dac0e8bd3362139f4b4d18f47f0edcb6db9db7a2485263d6bff5e0546f5691fe097fe1d4912852bc0ce4
 SHA512 
f730d2ba5d6b310e0c467767aa4c4e6a153b441b6b9aed948344b9a9b9dee351f3cba9fac1d655385136f5ce4313f8f37ef305e9b93b0ea32c40525d9293b070
+DIST gnucash-4.4.tar.bz2 14430959 BLAKE2B 
7a9e04957919a99e083dd5c1ac04150f77ab64eef277c0cd63ef90ade4a82875447f291d4f14499a14e987a86a7b7615d4a3cbb79a980be7022cb4f511b71368
 SHA512 
5882e5a91081bb9279ac5dc8798352cb15ebb934d1d37c6d6639244602108e067ece5b7f51ba32c9c413c1469d08ca32a73369e6af34e41c3ef704033c71f336

diff --git a/app-office/gnucash/gnucash-4.4.ebuild 
b/app-office/gnucash/gnucash-4.4.ebuild
new file mode 100644
index 000..db9eef24408
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.4.ebuild
@@ -0,0 +1,234 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="https://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes -register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+#   dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar:=
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=dev-cpp/gtest-1.8.0
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+"
+
+BDEPEND="
+   dev-lang/swig
+   dev-util/cmake
+   virtual/pkgconfig
+   || (
+   >=sys-devel/gcc-8:*
+   >=sys-devel/clang-6:*
+   )
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.2-no-gui.patch
+   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
+   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
+)
+
+S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
+
+pkg_pretend() {
+   if tc-is-gcc; then
+   if [[ $(gcc-major-version) -lt 8 ]]; then
+   die "GnuCash needs at least GCC version 8."
+   fi
+   elif tc-is-clang; then
+   if [[ $(clang-major-version) -lt 6 ]]; then
+   die "GnuCash needs at least clang version 6."
+   fi
+   fi
+}
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # Fix tests writing to /tmp
+   local fixtestfiles=(
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-12-06 Thread Aaron W. Swenson
commit: 36c982a3ba3dbeafa5d9e7e9e2ef57dba5d6e831
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Dec  6 14:05:47 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sun Dec  6 14:05:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c982a3

app-office/gnucash: Fix sys-libs/gwenhywfar dep

Bug: https://bugs.gentoo.org/754927
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/gnucash-4.2-r1.ebuild | 234 +++
 1 file changed, 234 insertions(+)

diff --git a/app-office/gnucash/gnucash-4.2-r1.ebuild 
b/app-office/gnucash/gnucash-4.2-r1.ebuild
new file mode 100644
index 000..18036d17b8d
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.2-r1.ebuild
@@ -0,0 +1,234 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes -register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+#   dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar:=
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar:=[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=dev-cpp/gtest-1.8.0
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+"
+
+BDEPEND="
+   dev-lang/swig
+   dev-util/cmake
+   virtual/pkgconfig
+   || (
+   >=sys-devel/gcc-8:*
+   >=sys-devel/clang-6:*
+   )
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.2-no-gui.patch
+   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
+   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
+)
+
+S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
+
+pkg_pretend() {
+   if tc-is-gcc; then
+   if [[ $(gcc-major-version) -lt 8 ]]; then
+   die "GnuCash needs at least GCC version 8."
+   fi
+   elif tc-is-clang; then
+   if [[ $(clang-major-version) -lt 6 ]]; then
+   die "GnuCash needs at least clang version 6."
+   fi
+   fi
+}
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # Fix tests writing to /tmp
+   local fixtestfiles=(
+   gnucash/report/test/test-report-html.scm
+   gnucash/report/reports/standard/test/test-invoice.scm
+   gnucash/report/reports/standard/test/test-new-owner-report.scm
+   gnucash/report/reports/standard/test/test-owner-report.scm
+   gnucash/report/reports/standard/test/test-transaction.scm
+   gnucash/report/reports/standard/test/test-portfolios.scm
+   gnucash/report/reports/standard/test/test-charts.scm
+   gnucash/report/test/test-report.scm
+   gnucash/report/test/test-commodity-utils.scm
+   gnucash/report/test/test-report-extras.scm
+   libgnucash/backend/dbi/test/test-backend-dbi-basic.cpp
+   libgnucash/backend/xml/test/test-xml-pricedb.cpp
+   )
+   for x in 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-12-06 Thread Aaron W. Swenson
commit: f9ee223f21eeab4234960489a754abd1cc861e21
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Dec  6 14:07:59 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sun Dec  6 14:07:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9ee223f

app-office/gnucash: HTTP -> HTTPS Homepage

Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/gnucash-4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.2-r1.ebuild 
b/app-office/gnucash/gnucash-4.2-r1.ebuild
index 18036d17b8d..db9eef24408 100644
--- a/app-office/gnucash/gnucash-4.2-r1.ebuild
+++ b/app-office/gnucash/gnucash-4.2-r1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{6,7,8,9} )
 inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
 
 DESCRIPTION="A personal finance manager"
-HOMEPAGE="http://www.gnucash.org/;
+HOMEPAGE="https://www.gnucash.org/;
 SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-11-20 Thread Aaron W. Swenson
commit: 921b1af897d0aa14cee93389cf03ff54a98940f7
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Nov 20 20:06:53 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Fri Nov 20 20:08:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921b1af8

app-office/gnucash: Cleanup old

Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   3 -
 app-office/gnucash/gnucash-3.8b-r1.ebuild | 212 ---
 app-office/gnucash/gnucash-3.8b.ebuild| 207 --
 app-office/gnucash/gnucash-4.0.ebuild | 235 --
 app-office/gnucash/gnucash-4.1.ebuild | 234 -
 5 files changed, 891 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 3693e01abc4..2ea7859d92f 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,4 +1 @@
-DIST gnucash-3.8b.tar.bz2 14285584 BLAKE2B 
304d73b04883b61b8a4e174f458206769483ca0f6d28d284c760397e0bc4061dbdb379ff3cca35e80d6736516549a8733bf36895a11c2202fb9f8f25e591e1d9
 SHA512 
e0529934e9ccafbef2b724f5fca9a0e300c78cf21596f0dcd4b5c11ff300c06a963b68eff1efe00834dc488ced604b86011075bb22480488ddf31d2d4c94ddca
-DIST gnucash-4.0.tar.bz2 13978744 BLAKE2B 
9718e365e1a3939357fabb98f43a95ed22d4d4ee13bb17a7dda5da8ed2c4fe6c4ec4951eb1b5a66bd71feb3f26a4e896d5cb7a177cd7d1b773ac26e643a24f0a
 SHA512 
29fd61352932ff0962e5c634711bc1ae09020e457bace5d2954b743976b607ad3632ddf6a7024148e989dc8e69769400cb7795eee097f8d88dea3ac8d6b7c7ee
-DIST gnucash-4.1.tar.bz2 13994973 BLAKE2B 
875ec0d9b2b6b8ec7144ad52f172f6727078746884d8d1d369a4b7535ebe5bcc0c70b4a25f1ba8e3f97d0603a8d511c9911e343f2610b557511b56eafbea8f39
 SHA512 
caf25d4ca0a950b1aa0c236c801938ff2235dc7c7710065a5b78fd3745904dd5e5103c6ed8abebfe3a4a68c8048372802f856c63cdde8aeaf71840daf2e9ec07
 DIST gnucash-4.2.tar.bz2 14225695 BLAKE2B 
be77c5876cd1720e9b7422c6afbb05f0144a20cf45d7dac0e8bd3362139f4b4d18f47f0edcb6db9db7a2485263d6bff5e0546f5691fe097fe1d4912852bc0ce4
 SHA512 
f730d2ba5d6b310e0c467767aa4c4e6a153b441b6b9aed948344b9a9b9dee351f3cba9fac1d655385136f5ce4313f8f37ef305e9b93b0ea32c40525d9293b070

diff --git a/app-office/gnucash/gnucash-3.8b-r1.ebuild 
b/app-office/gnucash/gnucash-3.8b-r1.ebuild
deleted file mode 100644
index d39ffce1160..000
--- a/app-office/gnucash/gnucash-3.8b-r1.ebuild
+++ /dev/null
@@ -1,212 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="http://www.gnucash.org/;
-SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
- python quotes -register2 smartcard sqlite test"
-RESTRICT="!test? ( test )"
-
-# Examples doesn't build unless GUI is also built
-REQUIRED_USE="
-   examples? ( gui )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   smartcard? ( aqbanking )"
-
-# libdbi version requirement for sqlite taken from bug #455134
-#
-# dev-libs/boost must always be built with nls enabled.
-# guile[deprecated] because of SCM_LIST*() use.
-# net-libs/aqbanking dropped gtk with v6, so to simplify the dependency,
-# we just rely on that.
-RDEPEND="
-   >=dev-libs/glib-2.46.0:2
-   >=dev-libs/libxml2-2.7.0:2
-   >=dev-scheme/guile-2.2.0:12=[deprecated,regex]
-   >=sys-libs/zlib-1.1.4
-   dev-libs/boost:=[icu,nls]
-   dev-libs/icu:=
-   dev-libs/libxslt
-   aqbanking? (
-   >=net-libs/aqbanking-6[ofx?]
-   sys-libs/gwenhywfar
-   smartcard? ( sys-libs/libchipcard )
-   )
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   gui? (
-   >=x11-libs/gtk+-3.14.0:3
-   gnome-base/dconf
-   net-libs/webkit-gtk:4=
-   aqbanking? ( sys-libs/gwenhywfar[gtk] )
-   )
-   mysql? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[mysql]
-   )
-   ofx? ( >=dev-libs/libofx-0.9.1:= )
-   postgres? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[postgres]
-   )
-   python? ( ${PYTHON_DEPS} )
-   quotes? (
-   >=dev-perl/Finance-Quote-1.11
-   dev-perl/Date-Manip
-   dev-perl/HTML-TableExtract
-   )
-   sqlite? (
-   >=dev-db/libdbi-0.9.0
-   >=dev-db/libdbi-drivers-0.9.0[sqlite]
-   )
-"
-
-DEPEND="${RDEPEND}
-   >=dev-cpp/gtest-1.8.0
-   >=sys-devel/gettext-0.19.6
-   dev-lang/perl
-   dev-perl/XML-Parser
-   sys-devel/libtool
-   virtual/pkgconfig
-"
-
-PDEPEND="doc? (
-   ~app-doc/gnucash-docs-${PV}
-   gnome-extra/yelp

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-11-11 Thread Sam James
commit: 3a0b191fbf3c961aab39800e0f0b181b3762d59c
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 11 18:49:20 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 11 18:51:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a0b191f

app-office/gnucash: Stabilize 4.2 amd64, #726804

Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/gnucash-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.2.ebuild 
b/app-office/gnucash/gnucash-4.2.ebuild
index 5aba7f54f2a..cbb08f82fa8 100644
--- a/app-office/gnucash/gnucash-4.2.ebuild
+++ b/app-office/gnucash/gnucash-4.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes -register2 smartcard sqlite test"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-09-27 Thread Aaron W. Swenson
commit: 1124ee57abc5f73bab4e5633d0d4a8e617d0bcc0
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Sep 28 01:38:48 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Mon Sep 28 01:39:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1124ee57

app-office/gnucash: Bump to 4.2

Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-4.2.ebuild | 234 ++
 2 files changed, 235 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index daceb7e1685..3693e01abc4 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,3 +1,4 @@
 DIST gnucash-3.8b.tar.bz2 14285584 BLAKE2B 
304d73b04883b61b8a4e174f458206769483ca0f6d28d284c760397e0bc4061dbdb379ff3cca35e80d6736516549a8733bf36895a11c2202fb9f8f25e591e1d9
 SHA512 
e0529934e9ccafbef2b724f5fca9a0e300c78cf21596f0dcd4b5c11ff300c06a963b68eff1efe00834dc488ced604b86011075bb22480488ddf31d2d4c94ddca
 DIST gnucash-4.0.tar.bz2 13978744 BLAKE2B 
9718e365e1a3939357fabb98f43a95ed22d4d4ee13bb17a7dda5da8ed2c4fe6c4ec4951eb1b5a66bd71feb3f26a4e896d5cb7a177cd7d1b773ac26e643a24f0a
 SHA512 
29fd61352932ff0962e5c634711bc1ae09020e457bace5d2954b743976b607ad3632ddf6a7024148e989dc8e69769400cb7795eee097f8d88dea3ac8d6b7c7ee
 DIST gnucash-4.1.tar.bz2 13994973 BLAKE2B 
875ec0d9b2b6b8ec7144ad52f172f6727078746884d8d1d369a4b7535ebe5bcc0c70b4a25f1ba8e3f97d0603a8d511c9911e343f2610b557511b56eafbea8f39
 SHA512 
caf25d4ca0a950b1aa0c236c801938ff2235dc7c7710065a5b78fd3745904dd5e5103c6ed8abebfe3a4a68c8048372802f856c63cdde8aeaf71840daf2e9ec07
+DIST gnucash-4.2.tar.bz2 14225695 BLAKE2B 
be77c5876cd1720e9b7422c6afbb05f0144a20cf45d7dac0e8bd3362139f4b4d18f47f0edcb6db9db7a2485263d6bff5e0546f5691fe097fe1d4912852bc0ce4
 SHA512 
f730d2ba5d6b310e0c467767aa4c4e6a153b441b6b9aed948344b9a9b9dee351f3cba9fac1d655385136f5ce4313f8f37ef305e9b93b0ea32c40525d9293b070

diff --git a/app-office/gnucash/gnucash-4.2.ebuild 
b/app-office/gnucash/gnucash-4.2.ebuild
new file mode 100644
index 000..5aba7f54f2a
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.2.ebuild
@@ -0,0 +1,234 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes -register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+#   dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=dev-cpp/gtest-1.8.0
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+"
+
+BDEPEND="
+   dev-lang/swig
+   dev-util/cmake
+   virtual/pkgconfig
+   || (
+   >=sys-devel/gcc-8:*
+   >=sys-devel/clang-6:*
+   )
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.2-no-gui.patch
+   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
+   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
+)
+
+S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
+

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-09-13 Thread MichaÅ‚ GĂ³rny
commit: df0b1694de3688c6fcc825b34024cd7ed27fac6e
Author: MichaÅ‚ GĂ³rny  gentoo  org>
AuthorDate: Mon Sep 14 03:01:21 2020 +
Commit: MichaÅ‚ GĂ³rny  gentoo  org>
CommitDate: Mon Sep 14 03:13:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df0b1694

app-office/gnucash: [QA] Fix MissingTestRestrict

Signed-off-by: MichaÅ‚ GĂ³rny  gentoo.org>

 app-office/gnucash/gnucash-3.8b-r1.ebuild | 1 +
 app-office/gnucash/gnucash-3.8b.ebuild| 1 +
 2 files changed, 2 insertions(+)

diff --git a/app-office/gnucash/gnucash-3.8b-r1.ebuild 
b/app-office/gnucash/gnucash-3.8b-r1.ebuild
index feb294a945d..d39ffce1160 100644
--- a/app-office/gnucash/gnucash-3.8b-r1.ebuild
+++ b/app-office/gnucash/gnucash-3.8b-r1.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes -register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
 
 # Examples doesn't build unless GUI is also built
 REQUIRED_USE="

diff --git a/app-office/gnucash/gnucash-3.8b.ebuild 
b/app-office/gnucash/gnucash-3.8b.ebuild
index 4527e335994..50214748c0a 100644
--- a/app-office/gnucash/gnucash-3.8b.ebuild
+++ b/app-office/gnucash/gnucash-3.8b.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="amd64 ~ppc ~ppc64 x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes -register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
 
 # Examples doesn't build unless GUI is also built
 REQUIRED_USE="



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-08-29 Thread Sam James
commit: a5d5fc571b59fe779a6744f8724e907c7b2b50d6
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 29 13:18:17 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 29 13:21:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5d5fc57

app-office/gnucash: Keyword 4.1 arm64, #734828

Signed-off-by: Sam James  gentoo.org>

 app-office/gnucash/gnucash-4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-4.1.ebuild 
b/app-office/gnucash/gnucash-4.1.ebuild
index 0b6edcc8409..f99092410b2 100644
--- a/app-office/gnucash/gnucash-4.1.ebuild
+++ b/app-office/gnucash/gnucash-4.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes -register2 smartcard sqlite test"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-07-26 Thread Aaron W. Swenson
commit: c7851e82f16dbd7adeb71874f7674e6c0e78bcce
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Jul 27 03:01:05 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Mon Jul 27 03:01:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7851e82

app-office/gnucash: Bump to 4.1

Now compatible with dev-scheme/guile-3.0. dev-scheme/guile[deprecated] no longer
needed now that all instances of SCM_LIST* have been dropped.

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-4.1.ebuild | 234 ++
 2 files changed, 235 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 036e488e97a..daceb7e1685 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,2 +1,3 @@
 DIST gnucash-3.8b.tar.bz2 14285584 BLAKE2B 
304d73b04883b61b8a4e174f458206769483ca0f6d28d284c760397e0bc4061dbdb379ff3cca35e80d6736516549a8733bf36895a11c2202fb9f8f25e591e1d9
 SHA512 
e0529934e9ccafbef2b724f5fca9a0e300c78cf21596f0dcd4b5c11ff300c06a963b68eff1efe00834dc488ced604b86011075bb22480488ddf31d2d4c94ddca
 DIST gnucash-4.0.tar.bz2 13978744 BLAKE2B 
9718e365e1a3939357fabb98f43a95ed22d4d4ee13bb17a7dda5da8ed2c4fe6c4ec4951eb1b5a66bd71feb3f26a4e896d5cb7a177cd7d1b773ac26e643a24f0a
 SHA512 
29fd61352932ff0962e5c634711bc1ae09020e457bace5d2954b743976b607ad3632ddf6a7024148e989dc8e69769400cb7795eee097f8d88dea3ac8d6b7c7ee
+DIST gnucash-4.1.tar.bz2 13994973 BLAKE2B 
875ec0d9b2b6b8ec7144ad52f172f6727078746884d8d1d369a4b7535ebe5bcc0c70b4a25f1ba8e3f97d0603a8d511c9911e343f2610b557511b56eafbea8f39
 SHA512 
caf25d4ca0a950b1aa0c236c801938ff2235dc7c7710065a5b78fd3745904dd5e5103c6ed8abebfe3a4a68c8048372802f856c63cdde8aeaf71840daf2e9ec07

diff --git a/app-office/gnucash/gnucash-4.1.ebuild 
b/app-office/gnucash/gnucash-4.1.ebuild
new file mode 100644
index 000..0b6edcc8409
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.1.ebuild
@@ -0,0 +1,234 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes -register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
+
+# dev-libs/boost must always be built with nls enabled.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+#   dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:=[regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=dev-cpp/gtest-1.8.0
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+"
+
+BDEPEND="
+   dev-lang/swig
+   dev-util/cmake
+   virtual/pkgconfig
+   || (
+   >=sys-devel/gcc-8:*
+   >=sys-devel/clang-6:*
+   )
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.2-no-gui.patch
+   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
+   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
+)
+
+S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
+
+pkg_pretend() {
+   if tc-is-gcc; then
+   if [[ $(gcc-major-version) -lt 8 ]]; then
+   die 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-07-21 Thread Aaron W. Swenson
commit: dd49805f4672f456ac5812b17e7f3590f9e4b714
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Tue Jul 21 12:08:38 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Tue Jul 21 12:08:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd49805f

app-office/gnucash: Bump to 4.0

Thanks to Jan Seeger for helping get this revision done.

Bug: https://bugs.gentoo.org/721804
Bug: https://bugs.gentoo.org/726804
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-4.0.ebuild | 235 ++
 2 files changed, 236 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 3db1c4417bb..036e488e97a 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1 +1,2 @@
 DIST gnucash-3.8b.tar.bz2 14285584 BLAKE2B 
304d73b04883b61b8a4e174f458206769483ca0f6d28d284c760397e0bc4061dbdb379ff3cca35e80d6736516549a8733bf36895a11c2202fb9f8f25e591e1d9
 SHA512 
e0529934e9ccafbef2b724f5fca9a0e300c78cf21596f0dcd4b5c11ff300c06a963b68eff1efe00834dc488ced604b86011075bb22480488ddf31d2d4c94ddca
+DIST gnucash-4.0.tar.bz2 13978744 BLAKE2B 
9718e365e1a3939357fabb98f43a95ed22d4d4ee13bb17a7dda5da8ed2c4fe6c4ec4951eb1b5a66bd71feb3f26a4e896d5cb7a177cd7d1b773ac26e643a24f0a
 SHA512 
29fd61352932ff0962e5c634711bc1ae09020e457bace5d2954b743976b607ad3632ddf6a7024148e989dc8e69769400cb7795eee097f8d88dea3ac8d6b7c7ee

diff --git a/app-office/gnucash/gnucash-4.0.ebuild 
b/app-office/gnucash/gnucash-4.0.ebuild
new file mode 100644
index 000..71a42926ae2
--- /dev/null
+++ b/app-office/gnucash/gnucash-4.0.ebuild
@@ -0,0 +1,235 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake gnome2-utils python-single-r1 toolchain-funcs xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes -register2 smartcard sqlite test"
+RESTRICT="!test? ( test )"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
+
+# dev-libs/boost must always be built with nls enabled.
+# dev-scheme/guile[deprecated] because of SCM_LIST*() use.
+# net-libs/aqbanking dropped gtk with v6. So, to simplify the
+#   dependency, we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.56.1:2
+   >=dev-scheme/guile-2.2.0:12=[deprecated,regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.22.30:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=dev-cpp/gtest-1.8.0
+   >=sys-devel/gettext-0.20
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+"
+
+BDEPEND="
+   dev-lang/swig
+   dev-util/cmake
+   virtual/pkgconfig
+   || (
+   >=sys-devel/gcc-8:*
+   >=sys-devel/clang-6:*
+   )
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.2-no-gui.patch
+   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
+   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
+)
+
+S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
+
+pkg_pretend() {
+   if tc-is-gcc; then
+   if [[ $(gcc-major-version) -lt 8 ]]; then
+   die "GnuCash needs at least GCC version 8."
+   fi
+   elif tc-is-clang; then
+   if [[ $(clang-major-version) -lt 6 ]]; then
+   die "GnuCash needs at least clang version 6."
+   fi
+   fi
+}
+

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2020-05-21 Thread Aaron W. Swenson
commit: 96db598922de37bc2871757aadf4e5f2179dfca4
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu May 21 11:13:21 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu May 21 11:13:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96db5989

app-office/gnucash: Cleanup

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest|   7 -
 .../files/gnucash-3.4-test-stress-options.scm  | 315 -
 .../files/gnucash-3.4-test-transaction.patch   |  25 --
 .../gnucash-3.7-include-checksymbolexists.patch|  12 -
 app-office/gnucash/gnucash-3.2-r2.ebuild   | 169 ---
 app-office/gnucash/gnucash-3.3-r1.ebuild   | 169 ---
 app-office/gnucash/gnucash-3.3.ebuild  | 171 ---
 app-office/gnucash/gnucash-3.4.ebuild  | 180 
 app-office/gnucash/gnucash-3.5.ebuild  | 176 
 app-office/gnucash/gnucash-3.6.ebuild  | 192 -
 app-office/gnucash/gnucash-3.7.ebuild  | 213 --
 app-office/gnucash/metadata.xml|   3 -
 12 files changed, 1632 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index d3dca297cfe..3db1c4417bb 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,8 +1 @@
-DIST gnucash-3.2.tar.bz2 13383942 BLAKE2B 
ce4beb9eab290bbc85c4b3bf68b205a8ebb274056bf10ef1721bce48ec18e4df4b488ce885dc767b4f1e951dabcdc2ba702cb5fe239f249ec50c8d2d1d12a434
 SHA512 
ef74cbf396096a71316e14500a5b4e57670f9e9c0c5d46f3afe051ccbae2e46a5f14edd8dd805dfb61276b934db286d48ae044160699df82689e2718ed2f7573
-DIST gnucash-3.3.tar.bz2 13440713 BLAKE2B 
a308af90d8a8e50eb732d29c7eadac1fb75b63006da5bbaa9044039c43c1c17976c6b6fdb1706a08a527b75b1300df3a8ed469151370097b0308a173a170e41b
 SHA512 
4bf0369ca9b3c91c98a0d916f0befc7e5675a246559a6a72dba6592b64f56f3cbd1885b0711e44e8d9cca290be742812763691ae2f639ea31ec534e52e17b3f9
-DIST gnucash-3.4.tar.bz2 13564432 BLAKE2B 
478d8e2e4acbd0725ceaf997a1e62ba3875e9d4a003e8a3e69111a9d29118447fb2da8ef3e5dd5274d83a3adef1ee9f4a153cdfd17cabe69864b53bab8c7e813
 SHA512 
4cebef0ba70e59a82d3b2b7b0b138ddb22e8866dc761e156ff1f15920145d12923719effef21ad4c65ccd62fbd14a1529cf0bfcaab70c5b33d103761d08062e0
-DIST gnucash-3.5.tar.bz2 13766397 BLAKE2B 
b840fa6af719e1d21daabd8e26f7026a12ca9cefe8c0f644a8382b42c34a6dec2dfc67350645437c2f12792518f289f446824a8c99ea83453e69d976c3cd5c9c
 SHA512 
76230d2fe1ba4cc605d0d58976ed3214b10a2549fc7eaa1e327bbf85c861baa082523c70ed088a59bb56deb6af9a7808752fc719eda0df3e9209cec05c9c8d13
-DIST gnucash-3.6.tar.bz2 13811045 BLAKE2B 
aa722755e168b6096a8ad0bb05d3c67be9525d5e9e6fcf076c0b6bdc3188815017c2b1bcb308a6f8a7581315f7d9ab67f85b24486214ebbe7ea5a0428e552ea7
 SHA512 
3d99235a6171e7189dbb15fed11e7f3acb4f49ef8dc6124b26807e74ce4326ac5ae6e23e693a34947604ecb0253ecbcd80f669803a629eb7d236fd3444dbfe82
-DIST gnucash-3.7.tar.bz2 13896595 BLAKE2B 
d0f0cc9d407677c8b09eab5c1613a0eec80bc54984aebd10915f2f2247ea30c26104cea57c87dd6e46ade9225c9df20c583da21de15f79d50509e63186b682fe
 SHA512 
41275b8d6abba54e95c00d746a2d50305fb7a0490b5486af1472a5d50d2de5973d1ec4de98dd10991325062e61498de020496b59d8548b5a4de9db9d23dee159
 DIST gnucash-3.8b.tar.bz2 14285584 BLAKE2B 
304d73b04883b61b8a4e174f458206769483ca0f6d28d284c760397e0bc4061dbdb379ff3cca35e80d6736516549a8733bf36895a11c2202fb9f8f25e591e1d9
 SHA512 
e0529934e9ccafbef2b724f5fca9a0e300c78cf21596f0dcd4b5c11ff300c06a963b68eff1efe00834dc488ced604b86011075bb22480488ddf31d2d4c94ddca
-DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/files/gnucash-3.4-test-stress-options.scm 
b/app-office/gnucash/files/gnucash-3.4-test-stress-options.scm
deleted file mode 100644
index e85cd61a8ef..000
--- a/app-office/gnucash/files/gnucash-3.4-test-stress-options.scm
+++ /dev/null
@@ -1,315 +0,0 @@
-(use-modules (ice-9 textual-ports))
-(use-modules (ice-9 popen))
-(use-modules (gnucash utilities))
-(use-modules (gnucash gnc-module))
-(gnc:module-begin-syntax (gnc:module-load "gnucash/app-utils" 0))
-(use-modules (gnucash engine test test-extras))
-(use-modules (gnucash report standard-reports))
-(use-modules (gnucash report business-reports))
-(use-modules (gnucash report view-column))
-(use-modules (gnucash report stylesheets))
-(use-modules (gnucash report taxinvoice))
-(use-modules (gnucash report report-system))
-(use-modules (gnucash report report-system test test-extras))
-(use-modules (srfi srfi-64))
-(use-modules (srfi srfi-98))
-(use-modules (gnucash engine test srfi64-extras))
-(use-modules (sxml simple))
-(use-modules 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-05-12 Thread Agostino Sarubbo
commit: f324cddf525b94f6334dc96ab95b76a538a45442
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May 12 06:30:57 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May 12 06:30:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f324cddf

app-office/gnucash: amd64 stable wrt bug #721748

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-office/gnucash/gnucash-3.8b.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-3.8b.ebuild 
b/app-office/gnucash/gnucash-3.8b.ebuild
index 2742a73f8ca..0c4611b5d6f 100644
--- a/app-office/gnucash/gnucash-3.8b.ebuild
+++ b/app-office/gnucash/gnucash-3.8b.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes -register2 smartcard sqlite test"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-04-03 Thread Aaron W. Swenson
commit: 28c81d28176d8f2e6a0ee96b8195a9ce7035b44a
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Apr  3 17:30:09 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Fri Apr  3 17:30:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c81d28

app-office/gnucash: Dep & python fix

Correct mistaken change on sys-libs/gwenhywfar dependency. It's only needed with
net-libs/aqbanking. Thanks to Karl-Johan Karlsson for spotting the error.

Also, address QA warning by optimizing Python code. Thanks to Chris Mayo for
submitting the fix.

Bug: https://bugs.gentoo.org/715344
Bug: https://bugs.gentoo.org/704632
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/gnucash-3.8b-r1.ebuild | 211 ++
 1 file changed, 211 insertions(+)

diff --git a/app-office/gnucash/gnucash-3.8b-r1.ebuild 
b/app-office/gnucash/gnucash-3.8b-r1.ebuild
new file mode 100644
index 000..feb294a945d
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.8b-r1.ebuild
@@ -0,0 +1,211 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes -register2 smartcard sqlite test"
+
+# Examples doesn't build unless GUI is also built
+REQUIRED_USE="
+   examples? ( gui )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+# guile[deprecated] because of SCM_LIST*() use.
+# net-libs/aqbanking dropped gtk with v6, so to simplify the dependency,
+# we just rely on that.
+RDEPEND="
+   >=dev-libs/glib-2.46.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=dev-scheme/guile-2.2.0:12=[deprecated,regex]
+   >=sys-libs/zlib-1.1.4
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-6[ofx?]
+   sys-libs/gwenhywfar
+   smartcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   >=x11-libs/gtk+-3.14.0:3
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? ( sys-libs/gwenhywfar[gtk] )
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1:= )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=dev-cpp/gtest-1.8.0
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.2-no-gui.patch
+   "${FILESDIR}"/${PN}-3.8-examples-subdir.patch
+   "${FILESDIR}"/${PN}-3.8-exclude-license.patch
+)
+
+S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   # Fix tests writing to /tmp
+   local fixtestfiles=(
+   
"${S}"/gnucash/report/report-system/test/test-commodity-utils.scm
+   "${S}"/gnucash/report/report-system/test/test-extras.scm
+   "${S}"/gnucash/report/report-system/test/test-report-html.scm
+   "${S}"/gnucash/report/report-system/test/test-report-system.scm
+   "${S}"/libgnucash/backend/xml/test/test-xml-pricedb.cpp
+   "${S}"/libgnucash/backend/dbi/test/test-backend-dbi-basic.cpp
+   )
+   for x in "${fixtestfiles[@]}"; do
+   sed -i -e "s|\"/tmp/|\"${T}/|g" "${x}" || die "sed of "${x}" 
failed"
+   done
+}
+
+src_configure() {
+   export GUILE_AUTO_COMPILE=0
+
+   local sql_on_off="OFF"
+   if use mysql || use postgres || use sqlite ; then
+   sql_on_off="ON"
+   fi
+
+   local mycmakeargs=(
+   -DCOMPILE_GSCHEMAS=OFF
+   -DDISABLE_NLS=$(usex !nls)
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2020-03-28 Thread Aaron W. Swenson
commit: 7a445dde57a57fd7eecd4ddf7939c541f2bba085
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat Mar 28 21:39:40 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sat Mar 28 21:46:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a445dde

app-office/gnucash: Bump to 3.8b

Bump to EAPI 7. Switch to ninja to run tests instead of GNU make.

Install example files into their own directory.

No longer install redundant license file. This also prevents a sandbox
violation.

Because net-libs/aqbanking dropped the gtk USE flag, we've increased the version
requirement, and trigger the gtk USE flag on sys-libs/gwenhywfar directly. Also,
make the >dev-libs/libofx dependent on the subslot as well.

Bug: https://bugs.gentoo.org/714920
Bug: https://bugs.gentoo.org/704632
Bug: https://bugs.gentoo.org/692626

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest|   1 +
 .../files/gnucash-3.8-examples-subdir.patch|  10 +
 .../files/gnucash-3.8-exclude-license.patch|  32 
 app-office/gnucash/gnucash-3.8b.ebuild | 206 +
 4 files changed, 249 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index d1c408c2e40..d3dca297cfe 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -4,4 +4,5 @@ DIST gnucash-3.4.tar.bz2 13564432 BLAKE2B 
478d8e2e4acbd0725ceaf997a1e62ba3875e9d
 DIST gnucash-3.5.tar.bz2 13766397 BLAKE2B 
b840fa6af719e1d21daabd8e26f7026a12ca9cefe8c0f644a8382b42c34a6dec2dfc67350645437c2f12792518f289f446824a8c99ea83453e69d976c3cd5c9c
 SHA512 
76230d2fe1ba4cc605d0d58976ed3214b10a2549fc7eaa1e327bbf85c861baa082523c70ed088a59bb56deb6af9a7808752fc719eda0df3e9209cec05c9c8d13
 DIST gnucash-3.6.tar.bz2 13811045 BLAKE2B 
aa722755e168b6096a8ad0bb05d3c67be9525d5e9e6fcf076c0b6bdc3188815017c2b1bcb308a6f8a7581315f7d9ab67f85b24486214ebbe7ea5a0428e552ea7
 SHA512 
3d99235a6171e7189dbb15fed11e7f3acb4f49ef8dc6124b26807e74ce4326ac5ae6e23e693a34947604ecb0253ecbcd80f669803a629eb7d236fd3444dbfe82
 DIST gnucash-3.7.tar.bz2 13896595 BLAKE2B 
d0f0cc9d407677c8b09eab5c1613a0eec80bc54984aebd10915f2f2247ea30c26104cea57c87dd6e46ade9225c9df20c583da21de15f79d50509e63186b682fe
 SHA512 
41275b8d6abba54e95c00d746a2d50305fb7a0490b5486af1472a5d50d2de5973d1ec4de98dd10991325062e61498de020496b59d8548b5a4de9db9d23dee159
+DIST gnucash-3.8b.tar.bz2 14285584 BLAKE2B 
304d73b04883b61b8a4e174f458206769483ca0f6d28d284c760397e0bc4061dbdb379ff3cca35e80d6736516549a8733bf36895a11c2202fb9f8f25e591e1d9
 SHA512 
e0529934e9ccafbef2b724f5fca9a0e300c78cf21596f0dcd4b5c11ff300c06a963b68eff1efe00834dc488ced604b86011075bb22480488ddf31d2d4c94ddca
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/files/gnucash-3.8-examples-subdir.patch 
b/app-office/gnucash/files/gnucash-3.8-examples-subdir.patch
new file mode 100644
index 000..b271be896c0
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-3.8-examples-subdir.patch
@@ -0,0 +1,10 @@
+--- a/doc/examples/CMakeLists.txt
 b/doc/examples/CMakeLists.txt
+@@ -21,6 +21,6 @@
+   web.qif
+ )
+ 
+-install(FILES ${examples_DATA} DESTINATION  ${CMAKE_INSTALL_DOCDIR})
++install(FILES ${examples_DATA} DESTINATION  ${CMAKE_INSTALL_DOCDIR}/examples)
+ 
+ set_dist_list(examples_DIST ${examples_DATA} CMakeLists.txt )

diff --git a/app-office/gnucash/files/gnucash-3.8-exclude-license.patch 
b/app-office/gnucash/files/gnucash-3.8-exclude-license.patch
new file mode 100644
index 000..553fb2a10f8
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-3.8-exclude-license.patch
@@ -0,0 +1,32 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -660,7 +660,6 @@
+ ChangeLog.2018
+ DOCUMENTERS
+ HACKING
+-LICENSE
+ NEWS
+ README.dependencies
+ )
+@@ -932,21 +931,6 @@
+   )
+ endif()
+ 
+-#Link LICENSE to COPYING so that people expecting to find it,
+-#will. COPYING is normally linked by autogen.sh to the latest
+-#automake-provided version.
+-set (_CMD create_symlink)
+-if (WIN32)
+-  set(_CMD copy)
+-endif()
+-
+-install(CODE
+-" execute_process(
+-  COMMAND ${CMAKE_COMMAND} -E ${_CMD} LICENSE COPYING
+-  WORKING_DIRECTORY ${CMAKE_INSTALL_DOCDIR}
+-  )"
+-)
+-
+ #For windows, copy in some DLLs from Mingw
+ 
+ if (WIN32)

diff --git a/app-office/gnucash/gnucash-3.8b.ebuild 
b/app-office/gnucash/gnucash-3.8b.ebuild
new file mode 100644
index 000..2742a73f8ca
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.8b.ebuild
@@ -0,0 +1,206 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2020-01-12 Thread David Seifert
commit: c8f137f372d594b100aa0fff9689247b8d27e907
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jan 12 11:13:07 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 12 11:13:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f137f3

app-office/gnucash: Remove local USE="gui"

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 app-office/gnucash/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/app-office/gnucash/metadata.xml b/app-office/gnucash/metadata.xml
index caf73319f78..545a0e372b3 100644
--- a/app-office/gnucash/metadata.xml
+++ b/app-office/gnucash/metadata.xml
@@ -12,10 +12,6 @@

Enable support for chipcard reading and processing.

-   
-   Enable graphic interface (needs net-libs/webkit-gtk:4
-   and x11-libs/gtk+:3)
-   
Enable Online Stock Quote retrieval
Use the new register 
(Experimental)




[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-12-12 Thread MichaÅ‚ GĂ³rny
commit: fa8f291a29c4f0b06eba297fd176e6175da34279
Author: MichaÅ‚ GĂ³rny  gentoo  org>
AuthorDate: Thu Dec 12 14:55:17 2019 +
Commit: MichaÅ‚ GĂ³rny  gentoo  org>
CommitDate: Thu Dec 12 14:58:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa8f291a

app-office/gnucash: Fix MissingTestRestrict

Signed-off-by: MichaÅ‚ GĂ³rny  gentoo.org>

 app-office/gnucash/gnucash-3.6.ebuild | 1 +
 app-office/gnucash/gnucash-3.7.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/app-office/gnucash/gnucash-3.6.ebuild 
b/app-office/gnucash/gnucash-3.6.ebuild
index ec42d91eaae..14c67d5d77f 100644
--- a/app-office/gnucash/gnucash-3.6.ebuild
+++ b/app-office/gnucash/gnucash-3.6.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
  postgres python quotes -register2 sqlite test"
 
+RESTRICT="!test? ( test )"
 REQUIRED_USE="
chipcard? ( aqbanking )
python? ( ${PYTHON_REQUIRED_USE} )"

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
index a78ec12c8fc..6700f7ef187 100644
--- a/app-office/gnucash/gnucash-3.7.ebuild
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
  python quotes -register2 smartcard sqlite test"
 
+RESTRICT="!test? ( test )"
 REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
smartcard? ( aqbanking )"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-11-27 Thread Agostino Sarubbo
commit: 38cc3f9101d1fde78e0aa22e52913fec74a47e78
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 27 08:16:11 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 27 08:16:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38cc3f91

app-office/gnucash: x86 stable wrt bug #677938

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-office/gnucash/gnucash-3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-3.5.ebuild 
b/app-office/gnucash/gnucash-3.5.ebuild
index 7713877e682..97eb65a78f2 100644
--- a/app-office/gnucash/gnucash-3.5.ebuild
+++ b/app-office/gnucash/gnucash-3.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 
 IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
  postgres python quotes -register2 sqlite"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-11-26 Thread Agostino Sarubbo
commit: 7940ed12bcdc97a5e37e54610d927aae6d63a8d0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 26 12:52:44 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 26 12:52:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7940ed12

app-office/gnucash: amd64 stable wrt bug #677938

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-office/gnucash/gnucash-3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-3.5.ebuild 
b/app-office/gnucash/gnucash-3.5.ebuild
index e7521d2945d..7713877e682 100644
--- a/app-office/gnucash/gnucash-3.5.ebuild
+++ b/app-office/gnucash/gnucash-3.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 
 IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
  postgres python quotes -register2 sqlite"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Mart Raudsepp
commit: 3cc6478c181b800f049a9427dc9766907665723b
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sun Oct 13 12:12:26 2019 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sun Oct 13 12:12:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc6478c

app-office/gnucash: drop gnome@ from maintainers

Seems to live its maintenance life without gnome@ being involved,
so just drop us from maintainers.

Package-Manager: Portage-2.3.69, Repoman-2.3.12
Signed-off-by: Mart Raudsepp  gentoo.org>

 app-office/gnucash/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/app-office/gnucash/metadata.xml b/app-office/gnucash/metadata.xml
index 3ce30180150..caf73319f78 100644
--- a/app-office/gnucash/metadata.xml
+++ b/app-office/gnucash/metadata.xml
@@ -5,10 +5,6 @@
titanof...@gentoo.org
Aaron W. Swenson

-   
-   gn...@gentoo.org
-   Gentoo GNOME Desktop
-   


Connect to some internet banks via AqBanking



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: 10bc08d434359547031d488a35bc721ad36d6b4e
Author: Peter Levine  gmail  com>
AuthorDate: Sun Sep 15 20:09:53 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10bc08d4

app-office/gnucash: Fix testcases that write to /tmp

Have testcases write to "${T}" instead of /tmp

Closes: https://github.com/gentoo/gentoo/pull/12792
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-3.7.ebuild | 17 +
 1 file changed, 17 insertions(+)

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
index 699125271a4..824af8b7d91 100644
--- a/app-office/gnucash/gnucash-3.7.ebuild
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -97,6 +97,23 @@ src_unpack() {
|| die "Failed copying scm"
 }
 
+src_prepare() {
+   cmake-utils_src_prepare
+
+   # Fix tests writing to /tmp
+   local fixtestfiles=(
+   
"${S}"/gnucash/report/report-system/test/test-commodity-utils.scm
+   "${S}"/gnucash/report/report-system/test/test-extras.scm
+   "${S}"/gnucash/report/report-system/test/test-report-html.scm
+   "${S}"/gnucash/report/report-system/test/test-report-system.scm
+   "${S}"/libgnucash/backend/xml/test/test-xml-pricedb.cpp
+   "${S}"/libgnucash/backend/dbi/test/test-backend-dbi-basic.cpp
+   )
+   for x in "${fixtestfiles[@]}"; do
+   sed -i -e "s|\"/tmp/|\"${T}/|g" "${x}" || die "sed of "${x}" 
failed"
+   done
+}
+
 src_configure() {
export GUILE_AUTO_COMPILE=0
 



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: 9f28590183fc5f09849aba01843951212bb80a9d
Author: Peter Levine  gmail  com>
AuthorDate: Sun Sep 22 20:28:47 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f285901

app-office/gnucash: Rename chipcard USE flag to smartcard

Closes: https://bugs.gentoo.org/682120
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-3.7.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
index c88c0aa803b..07e15ad8677 100644
--- a/app-office/gnucash/gnucash-3.7.ebuild
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -15,11 +15,11 @@ SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 
-IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
+IUSE="aqbanking smartcard debug doc examples gnome-keyring +gui mysql nls ofx
  postgres python quotes -register2 sqlite test"
 
 REQUIRED_USE="
-   chipcard? ( aqbanking )
+   smartcard? ( aqbanking )
python? ( ${PYTHON_REQUIRED_USE} )"
 
 # libdbi version requirement for sqlite taken from bug #455134
@@ -37,7 +37,7 @@ RDEPEND="
aqbanking? (
>=net-libs/aqbanking-5[ofx?]
sys-libs/gwenhywfar
-   chipcard? ( sys-libs/libchipcard )
+   smartcard? ( sys-libs/libchipcard )
)
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
gui? (



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: 4813cf4d608daced07623cdcd783fdc7b0a82186
Author: Peter Levine  gmail  com>
AuthorDate: Sun Aug 25 23:26:04 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4813cf4d

app-office/gnucash: Fix testcase failures

test-qof and test-gnc-numeric both depend on the existence of
en_US, en_GB, and fr_FR locales and fail if not installed.
Check the output of `locale -a` and disable the tests if not found.

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-3.6.ebuild | 20 
 1 file changed, 20 insertions(+)

diff --git a/app-office/gnucash/gnucash-3.6.ebuild 
b/app-office/gnucash/gnucash-3.6.ebuild
index 00c0d0fd915..ec42d91eaae 100644
--- a/app-office/gnucash/gnucash-3.6.ebuild
+++ b/app-office/gnucash/gnucash-3.6.ebuild
@@ -122,6 +122,26 @@ src_test() {
   "${BUILD_DIR}"/common/test-core/ || die
fi
 
+   LOCALE_TESTS=
+   if type locale >/dev/null 2>&1; then
+   MY_LOCALES="$(locale -a)"
+   if [[ "${MY_LOCALES}" != *en_US* ||
+   "${MY_LOCALES}" != *en_GB* ||
+   "${MY_LOCALES}" != *fr_FR* ]] ; then
+   ewarn "Missing one or more of en_US, en_GB, or fr_FR 
locales."
+   else
+   LOCALE_TESTS=true
+   fi
+   else
+   ewarn "'locale' not found."
+   fi
+
+   if [[ ! ${LOCALE_TESTS} ]]; then
+   ewarn "Disabling test-qof and test-gnc-numeric."
+   echo 'set(CTEST_CUSTOM_TESTS_IGNORE test-qof test-gnc-numeric)' 
\
+   > "${BUILD_DIR}"/CTestCustom.cmake || die
+   fi
+
cd "${BUILD_DIR}" || die
XDG_DATA_HOME="${T}/$(whoami)" emake check
 }



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: 709515028d84791ac669ccd9b2df8f919f8d4c20
Author: Peter Levine  gmail  com>
AuthorDate: Thu Sep 19 00:40:00 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70951502

app-office/gnucash: Fix sys-libs/gwenhywfar dependency

Building with aqbanking and gui flags relies on
>=sys-libs/gwenhywfar-4.20.2[gtk]. Without it, when building with gui
and aqbanking USE flags, gnucash tries to build bundled
libgwengui-gtk3.so.

Bug: https://bugs.gentoo.org/695386
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-3.7.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
index 824af8b7d91..c88c0aa803b 100644
--- a/app-office/gnucash/gnucash-3.7.ebuild
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -35,8 +35,8 @@ RDEPEND="
dev-libs/icu:=
dev-libs/libxslt
aqbanking? (
-   >=net-libs/aqbanking-5[gtk,ofx?]
-   sys-libs/gwenhywfar[gtk]
+   >=net-libs/aqbanking-5[ofx?]
+   sys-libs/gwenhywfar
chipcard? ( sys-libs/libchipcard )
)
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
@@ -44,6 +44,7 @@ RDEPEND="
gnome-base/dconf
net-libs/webkit-gtk:4=
>=x11-libs/gtk+-3.14.0:3
+   aqbanking? ( >=sys-libs/gwenhywfar-4.20.2[gtk] )
)
mysql? (
dev-db/libdbi



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: 866c47d7a8d2016dea78551a7018137ea902a89a
Author: Peter Levine  gmail  com>
AuthorDate: Sun Sep 15 19:48:47 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=866c47d7

app-office/gnucash: Bump gnucash-3.7

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-3.7.ebuild | 191 ++
 2 files changed, 192 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 910176d4776..d1c408c2e40 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -3,4 +3,5 @@ DIST gnucash-3.3.tar.bz2 13440713 BLAKE2B 
a308af90d8a8e50eb732d29c7eadac1fb75b63
 DIST gnucash-3.4.tar.bz2 13564432 BLAKE2B 
478d8e2e4acbd0725ceaf997a1e62ba3875e9d4a003e8a3e69111a9d29118447fb2da8ef3e5dd5274d83a3adef1ee9f4a153cdfd17cabe69864b53bab8c7e813
 SHA512 
4cebef0ba70e59a82d3b2b7b0b138ddb22e8866dc761e156ff1f15920145d12923719effef21ad4c65ccd62fbd14a1529cf0bfcaab70c5b33d103761d08062e0
 DIST gnucash-3.5.tar.bz2 13766397 BLAKE2B 
b840fa6af719e1d21daabd8e26f7026a12ca9cefe8c0f644a8382b42c34a6dec2dfc67350645437c2f12792518f289f446824a8c99ea83453e69d976c3cd5c9c
 SHA512 
76230d2fe1ba4cc605d0d58976ed3214b10a2549fc7eaa1e327bbf85c861baa082523c70ed088a59bb56deb6af9a7808752fc719eda0df3e9209cec05c9c8d13
 DIST gnucash-3.6.tar.bz2 13811045 BLAKE2B 
aa722755e168b6096a8ad0bb05d3c67be9525d5e9e6fcf076c0b6bdc3188815017c2b1bcb308a6f8a7581315f7d9ab67f85b24486214ebbe7ea5a0428e552ea7
 SHA512 
3d99235a6171e7189dbb15fed11e7f3acb4f49ef8dc6124b26807e74ce4326ac5ae6e23e693a34947604ecb0253ecbcd80f669803a629eb7d236fd3444dbfe82
+DIST gnucash-3.7.tar.bz2 13896595 BLAKE2B 
d0f0cc9d407677c8b09eab5c1613a0eec80bc54984aebd10915f2f2247ea30c26104cea57c87dd6e46ade9225c9df20c583da21de15f79d50509e63186b682fe
 SHA512 
41275b8d6abba54e95c00d746a2d50305fb7a0490b5486af1472a5d50d2de5973d1ec4de98dd10991325062e61498de020496b59d8548b5a4de9db9d23dee159
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
new file mode 100644
index 000..ec42d91eaae
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -0,0 +1,191 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
+ postgres python quotes -register2 sqlite test"
+
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+# guile[deprecated] because of SCM_LIST*() use
+RDEPEND="
+   >=dev-libs/glib-2.46.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=sys-libs/zlib-1.1.4
+   >=dev-scheme/guile-2.2.0:12=[deprecated,regex]
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   >=x11-libs/gtk+-3.14.0:3
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+   virtual/pkgconfig
+   test? ( >=dev-cpp/gtest-1.8.0 )
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: 23949ce99d48bdd95a22ad7905a3a8d4a6d4ab1c
Author: Peter Levine  gmail  com>
AuthorDate: Sun Aug 25 23:16:45 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23949ce9

app-office/gnucash: Don't build gtest from source

With gnucash-3.6, the build now looks for gtest headers and libraries
and uses them if found.

Closes: https://bugs.gentoo.org/691276
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12792
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-3.6.ebuild | 11 +++
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.6.ebuild 
b/app-office/gnucash/gnucash-3.6.ebuild
index 712e8bf..00c0d0fd915 100644
--- a/app-office/gnucash/gnucash-3.6.ebuild
+++ b/app-office/gnucash/gnucash-3.6.ebuild
@@ -3,23 +3,20 @@
 
 EAPI=6
 
-# google{test,mock} version
-GV="1.8.0"
 PYTHON_COMPAT=( python3_{4,5,6} )
 
 inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
 
 DESCRIPTION="A personal finance manager"
 HOMEPAGE="http://www.gnucash.org/;
-SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
-   https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2;
 
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 
 IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
- postgres python quotes -register2 sqlite"
+ postgres python quotes -register2 sqlite test"
 
 REQUIRED_USE="
chipcard? ( aqbanking )
@@ -70,12 +67,12 @@ RDEPEND="
 "
 
 DEPEND="${RDEPEND}
-   ~dev-cpp/gtest-${GV}
>=sys-devel/gettext-0.19.6
dev-lang/perl
dev-perl/XML-Parser
sys-devel/libtool
virtual/pkgconfig
+   test? ( >=dev-cpp/gtest-1.8.0 )
 "
 
 PDEPEND="doc? (
@@ -104,8 +101,6 @@ src_configure() {
fi
 
local mycmakeargs=(
-   -DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
-   -DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
# Disable fallback to guile-2.0
-DCMAKE_DISABLE_FIND_PACKAGE_GUILE2=ON
-DCOMPILE_GSCHEMAS=OFF



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: da0a2270a21b226a810dc29f055b4f0eb6cd9ad2
Author: Peter Levine  gmail  com>
AuthorDate: Sun Sep 15 20:03:19 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da0a2270

app-office/gnucash: Disable auto-compiling /usr/bin/guild

Stop the build from unnecessarily attempting to compile /usr/bin/guild.

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-3.7.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
index ade4521330f..699125271a4 100644
--- a/app-office/gnucash/gnucash-3.7.ebuild
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -98,6 +98,8 @@ src_unpack() {
 }
 
 src_configure() {
+   export GUILE_AUTO_COMPILE=0
+
local sql_on_off="OFF"
if use mysql || use postgres || use sqlite ; then
sql_on_off="ON"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: 73857cd0d08a0bd3e1eb1d2451b52fa8619839fc
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Oct  6 20:03:42 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73857cd0

app-office/gnucash: Sorting, drop python3_4

Move xdg_environment_reset into src_prepare
Keep variables and deps sorted

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-3.7.ebuild | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
index 8b7b5d799f5..a78ec12c8fc 100644
--- a/app-office/gnucash/gnucash-3.7.ebuild
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_COMPAT=( python3_{5,6} )
 
 inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
 
@@ -15,12 +15,12 @@ SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 
-IUSE="aqbanking smartcard debug doc examples gnome-keyring +gui mysql nls ofx
- postgres python quotes -register2 sqlite test"
+IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
+ python quotes -register2 smartcard sqlite test"
 
 REQUIRED_USE="
-   smartcard? ( aqbanking )
-   python? ( ${PYTHON_REQUIRED_USE} )"
+   python? ( ${PYTHON_REQUIRED_USE} )
+   smartcard? ( aqbanking )"
 
 # libdbi version requirement for sqlite taken from bug #455134
 #
@@ -29,11 +29,11 @@ REQUIRED_USE="
 RDEPEND="
>=dev-libs/glib-2.46.0:2
>=dev-libs/libxml2-2.7.0:2
-   >=sys-libs/zlib-1.1.4
-   >=dev-scheme/guile-2.2.0:12=[deprecated,regex]
dev-libs/boost:=[icu,nls]
dev-libs/icu:=
dev-libs/libxslt
+   >=dev-scheme/guile-2.2.0:12=[deprecated,regex]
+   >=sys-libs/zlib-1.1.4
aqbanking? (
>=net-libs/aqbanking-5[ofx?]
sys-libs/gwenhywfar
@@ -88,7 +88,6 @@ PATCHES=(
 
 pkg_setup() {
use python && python-single-r1_pkg_setup
-   xdg_environment_reset
 }
 
 src_unpack() {
@@ -100,6 +99,7 @@ src_unpack() {
 
 src_prepare() {
cmake-utils_src_prepare
+   xdg_environment_reset
 
# Fix tests writing to /tmp
local fixtestfiles=(



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2019-10-13 Thread Andreas Sturmlechner
commit: ff46a76b91b203f21ddc917a6486be6d2f73011d
Author: Peter Levine  gmail  com>
AuthorDate: Sun Sep 15 19:58:05 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff46a76b

app-office/gnucash: Fix check_symbol_exists error

Adds "include(CheckSymbolExists)" to avoid the error
"Unknown CMake command check_symbol_exists"

Closes: https://bugs.gentoo.org/690270
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/gnucash-3.7-include-checksymbolexists.patch| 12 
 app-office/gnucash/gnucash-3.7.ebuild|  5 -
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git 
a/app-office/gnucash/files/gnucash-3.7-include-checksymbolexists.patch 
b/app-office/gnucash/files/gnucash-3.7-include-checksymbolexists.patch
new file mode 100644
index 000..c0e1778164c
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-3.7-include-checksymbolexists.patch
@@ -0,0 +1,12 @@
+Bug: https://bugs.gentoo.org/690270
+
+--- a/gnucash/register/register-gnome/CMakeLists.txt
 b/gnucash/register/register-gnome/CMakeLists.txt
+@@ -1,5 +1,7 @@
+ add_subdirectory(test)
+ 
++include(CheckSymbolExists)
++
+ #GTK before 3.14 didn't have GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK
+ check_symbol_exists(GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK gdk/gdktypes.h 
have_mod_mask)
+ if (NOT have_mod_mask)

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
index ec42d91eaae..4b8e26a831c 100644
--- a/app-office/gnucash/gnucash-3.7.ebuild
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -80,7 +80,10 @@ PDEPEND="doc? (
gnome-extra/yelp
 )"
 
-PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.2-no-gui.patch
+   "${FILESDIR}"/${PN}-3.7-include-checksymbolexists.patch
+)
 
 pkg_setup() {
use python && python-single-r1_pkg_setup



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: 72b0d452a3d377f3c16ba45ef98cdcf915f0264c
Author: Peter Levine  gmail  com>
AuthorDate: Mon Oct  7 03:36:46 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72b0d452

app-office/gnucash: Replace gnome2_icon_cache_update

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-3.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
index 07e15ad8677..8b7b5d799f5 100644
--- a/app-office/gnucash/gnucash-3.7.ebuild
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -190,7 +190,7 @@ src_install() {
 
 pkg_postinst() {
if use gui ; then
-   gnome2_icon_cache_update
+   xdg_icon_cache_update
gnome2_schemas_update
fi
xdg_desktop_database_update
@@ -204,7 +204,7 @@ pkg_postinst() {
 
 pkg_postrm() {
if use gui ; then
-   gnome2_icon_cache_update
+   xdg_icon_cache_update
gnome2_schemas_update
fi
xdg_desktop_database_update



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-10-13 Thread Andreas Sturmlechner
commit: 0f2f96c8d4b6e400c60c84e30b9f9350f10435b0
Author: Peter Levine  gmail  com>
AuthorDate: Sun Sep 15 20:00:58 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 13 11:40:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f2f96c8

app-office/gnucash: Remove unused cmake variable

Closes: https://bugs.gentoo.org/689744
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-office/gnucash/gnucash-3.7.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.7.ebuild 
b/app-office/gnucash/gnucash-3.7.ebuild
index 4b8e26a831c..ade4521330f 100644
--- a/app-office/gnucash/gnucash-3.7.ebuild
+++ b/app-office/gnucash/gnucash-3.7.ebuild
@@ -104,8 +104,6 @@ src_configure() {
fi
 
local mycmakeargs=(
-   # Disable fallback to guile-2.0
-   -DCMAKE_DISABLE_FIND_PACKAGE_GUILE2=ON
-DCOMPILE_GSCHEMAS=OFF
-DDISABLE_NLS=$(usex !nls)
-DENABLE_REGISTER2=$(usex register2)



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-07-03 Thread Aaron W. Swenson
commit: eff0d514d816f4a62e2cf5819b893a5f5f529993
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Jul  3 09:37:18 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Jul  3 09:37:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff0d514

app-office/gnucash: Bump to 3.6

Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-3.6.ebuild | 176 ++
 2 files changed, 177 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 707c4a6c8c8..910176d4776 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -2,4 +2,5 @@ DIST gnucash-3.2.tar.bz2 13383942 BLAKE2B 
ce4beb9eab290bbc85c4b3bf68b205a8ebb274
 DIST gnucash-3.3.tar.bz2 13440713 BLAKE2B 
a308af90d8a8e50eb732d29c7eadac1fb75b63006da5bbaa9044039c43c1c17976c6b6fdb1706a08a527b75b1300df3a8ed469151370097b0308a173a170e41b
 SHA512 
4bf0369ca9b3c91c98a0d916f0befc7e5675a246559a6a72dba6592b64f56f3cbd1885b0711e44e8d9cca290be742812763691ae2f639ea31ec534e52e17b3f9
 DIST gnucash-3.4.tar.bz2 13564432 BLAKE2B 
478d8e2e4acbd0725ceaf997a1e62ba3875e9d4a003e8a3e69111a9d29118447fb2da8ef3e5dd5274d83a3adef1ee9f4a153cdfd17cabe69864b53bab8c7e813
 SHA512 
4cebef0ba70e59a82d3b2b7b0b138ddb22e8866dc761e156ff1f15920145d12923719effef21ad4c65ccd62fbd14a1529cf0bfcaab70c5b33d103761d08062e0
 DIST gnucash-3.5.tar.bz2 13766397 BLAKE2B 
b840fa6af719e1d21daabd8e26f7026a12ca9cefe8c0f644a8382b42c34a6dec2dfc67350645437c2f12792518f289f446824a8c99ea83453e69d976c3cd5c9c
 SHA512 
76230d2fe1ba4cc605d0d58976ed3214b10a2549fc7eaa1e327bbf85c861baa082523c70ed088a59bb56deb6af9a7808752fc719eda0df3e9209cec05c9c8d13
+DIST gnucash-3.6.tar.bz2 13811045 BLAKE2B 
aa722755e168b6096a8ad0bb05d3c67be9525d5e9e6fcf076c0b6bdc3188815017c2b1bcb308a6f8a7581315f7d9ab67f85b24486214ebbe7ea5a0428e552ea7
 SHA512 
3d99235a6171e7189dbb15fed11e7f3acb4f49ef8dc6124b26807e74ce4326ac5ae6e23e693a34947604ecb0253ecbcd80f669803a629eb7d236fd3444dbfe82
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-3.6.ebuild 
b/app-office/gnucash/gnucash-3.6.ebuild
new file mode 100644
index 000..712e8bf
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.6.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
+   https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
+ postgres python quotes -register2 sqlite"
+
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+# guile[deprecated] because of SCM_LIST*() use
+RDEPEND="
+   >=dev-libs/glib-2.46.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=sys-libs/zlib-1.1.4
+   >=dev-scheme/guile-2.2.0:12=[deprecated,regex]
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   >=x11-libs/gtk+-3.14.0:3
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-05-21 Thread Aaron W. Swenson
commit: d7c7ccd0f43b62f064d6d0bb57186db7cf6ddd18
Author: Alec Ten Harmsel  alectenharmsel  com>
AuthorDate: Wed Apr 24 18:30:21 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Tue May 21 13:52:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c7ccd0

app-office/gnucash: Append -Wno-error for 3.3+

GCC 8.3.0 issues some warnings for Gnucash 3.3+, causing build failures.

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Alec Ten Harmsel  alectenharmsel.com>
Closes: https://bugs.gentoo.org/684286
Closes: https://github.com/gentoo/gentoo/pull/11817
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/gnucash-3.3-r1.ebuild | 4 +++-
 app-office/gnucash/gnucash-3.3.ebuild| 4 +++-
 app-office/gnucash/gnucash-3.4.ebuild| 4 +++-
 app-office/gnucash/gnucash-3.5.ebuild| 2 +-
 4 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.3-r1.ebuild 
b/app-office/gnucash/gnucash-3.3-r1.ebuild
index 982eb4a9633..89dcc50498b 100644
--- a/app-office/gnucash/gnucash-3.3-r1.ebuild
+++ b/app-office/gnucash/gnucash-3.3-r1.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 GV="1.8.0"
 PYTHON_COMPAT=( python3_{5,6} )
 
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
 
 DESCRIPTION="A personal finance manager"
 HOMEPAGE="http://www.gnucash.org/;
@@ -109,6 +109,8 @@ src_configure() {
-DWITH_GNUCASH=$(usex gui)
)
 
+   append-cflags -Wno-error
+   append-cxxflags -Wno-error
cmake-utils_src_configure
 }
 

diff --git a/app-office/gnucash/gnucash-3.3.ebuild 
b/app-office/gnucash/gnucash-3.3.ebuild
index cdbe0c78c64..6d5c46b0c02 100644
--- a/app-office/gnucash/gnucash-3.3.ebuild
+++ b/app-office/gnucash/gnucash-3.3.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 GV="1.8.0"
 PYTHON_COMPAT=( python3_{5,6} )
 
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
 
 DESCRIPTION="A personal finance manager"
 HOMEPAGE="http://www.gnucash.org/;
@@ -107,6 +107,8 @@ src_configure() {
-DWITH_GNUCASH=$(usex gui)
)
 
+   append-cflags -Wno-error
+   append-cxxflags -Wno-error
cmake-utils_src_configure
 }
 

diff --git a/app-office/gnucash/gnucash-3.4.ebuild 
b/app-office/gnucash/gnucash-3.4.ebuild
index 85fac5c295a..b7de02ad0aa 100644
--- a/app-office/gnucash/gnucash-3.4.ebuild
+++ b/app-office/gnucash/gnucash-3.4.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 GV="1.8.0"
 PYTHON_COMPAT=( python3_{5,6} )
 
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
 
 DESCRIPTION="A personal finance manager"
 HOMEPAGE="http://www.gnucash.org/;
@@ -120,6 +120,8 @@ src_configure() {
-DWITH_GNUCASH=$(usex gui)
)
 
+   append-cflags -Wno-error
+   append-cxxflags -Wno-error
cmake-utils_src_configure
 }
 

diff --git a/app-office/gnucash/gnucash-3.5.ebuild 
b/app-office/gnucash/gnucash-3.5.ebuild
index ca794fbd46e..e7521d2945d 100644
--- a/app-office/gnucash/gnucash-3.5.ebuild
+++ b/app-office/gnucash/gnucash-3.5.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 GV="1.8.0"
 PYTHON_COMPAT=( python3_{5,6} )
 
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
 
 DESCRIPTION="A personal finance manager"
 HOMEPAGE="http://www.gnucash.org/;



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2019-04-10 Thread Aaron W. Swenson
commit: 4f6faf7d360769187bd65d98096d9a2a0b3c2943
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Apr 10 11:30:06 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Apr 10 11:30:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6faf7d

app-office/gnucash: Bump to 3.5

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-3.5.ebuild | 176 ++
 2 files changed, 177 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 6bd42515824..707c4a6c8c8 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,4 +1,5 @@
 DIST gnucash-3.2.tar.bz2 13383942 BLAKE2B 
ce4beb9eab290bbc85c4b3bf68b205a8ebb274056bf10ef1721bce48ec18e4df4b488ce885dc767b4f1e951dabcdc2ba702cb5fe239f249ec50c8d2d1d12a434
 SHA512 
ef74cbf396096a71316e14500a5b4e57670f9e9c0c5d46f3afe051ccbae2e46a5f14edd8dd805dfb61276b934db286d48ae044160699df82689e2718ed2f7573
 DIST gnucash-3.3.tar.bz2 13440713 BLAKE2B 
a308af90d8a8e50eb732d29c7eadac1fb75b63006da5bbaa9044039c43c1c17976c6b6fdb1706a08a527b75b1300df3a8ed469151370097b0308a173a170e41b
 SHA512 
4bf0369ca9b3c91c98a0d916f0befc7e5675a246559a6a72dba6592b64f56f3cbd1885b0711e44e8d9cca290be742812763691ae2f639ea31ec534e52e17b3f9
 DIST gnucash-3.4.tar.bz2 13564432 BLAKE2B 
478d8e2e4acbd0725ceaf997a1e62ba3875e9d4a003e8a3e69111a9d29118447fb2da8ef3e5dd5274d83a3adef1ee9f4a153cdfd17cabe69864b53bab8c7e813
 SHA512 
4cebef0ba70e59a82d3b2b7b0b138ddb22e8866dc761e156ff1f15920145d12923719effef21ad4c65ccd62fbd14a1529cf0bfcaab70c5b33d103761d08062e0
+DIST gnucash-3.5.tar.bz2 13766397 BLAKE2B 
b840fa6af719e1d21daabd8e26f7026a12ca9cefe8c0f644a8382b42c34a6dec2dfc67350645437c2f12792518f289f446824a8c99ea83453e69d976c3cd5c9c
 SHA512 
76230d2fe1ba4cc605d0d58976ed3214b10a2549fc7eaa1e327bbf85c861baa082523c70ed088a59bb56deb6af9a7808752fc719eda0df3e9209cec05c9c8d13
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-3.5.ebuild 
b/app-office/gnucash/gnucash-3.5.ebuild
new file mode 100644
index 000..712e8bf
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.5.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
+   https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
+ postgres python quotes -register2 sqlite"
+
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+# guile[deprecated] because of SCM_LIST*() use
+RDEPEND="
+   >=dev-libs/glib-2.46.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=sys-libs/zlib-1.1.4
+   >=dev-scheme/guile-2.2.0:12=[deprecated,regex]
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   >=x11-libs/gtk+-3.14.0:3
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=( 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2019-01-09 Thread Aaron W. Swenson
commit: 935fed447ee5a63e63e6a82ab5889be407de30b4
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Jan  9 13:05:16 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Jan  9 13:06:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=935fed44

app-office/gnucash: Bump to 3.4

Manually insert test-stress-options.scm as it is missing from the
source tarball, which causes the test-stress-options unit test to fail.

Add patch to fix test-transaction unit test failure.

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Aaron W. Swenson  gentoo.org>

 app-office/gnucash/Manifest|   1 +
 .../files/gnucash-3.4-test-stress-options.scm  | 315 +
 .../files/gnucash-3.4-test-transaction.patch   |  25 ++
 app-office/gnucash/gnucash-3.4.ebuild  | 178 
 4 files changed, 519 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index c2508be7720..6bd42515824 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,3 +1,4 @@
 DIST gnucash-3.2.tar.bz2 13383942 BLAKE2B 
ce4beb9eab290bbc85c4b3bf68b205a8ebb274056bf10ef1721bce48ec18e4df4b488ce885dc767b4f1e951dabcdc2ba702cb5fe239f249ec50c8d2d1d12a434
 SHA512 
ef74cbf396096a71316e14500a5b4e57670f9e9c0c5d46f3afe051ccbae2e46a5f14edd8dd805dfb61276b934db286d48ae044160699df82689e2718ed2f7573
 DIST gnucash-3.3.tar.bz2 13440713 BLAKE2B 
a308af90d8a8e50eb732d29c7eadac1fb75b63006da5bbaa9044039c43c1c17976c6b6fdb1706a08a527b75b1300df3a8ed469151370097b0308a173a170e41b
 SHA512 
4bf0369ca9b3c91c98a0d916f0befc7e5675a246559a6a72dba6592b64f56f3cbd1885b0711e44e8d9cca290be742812763691ae2f639ea31ec534e52e17b3f9
+DIST gnucash-3.4.tar.bz2 13564432 BLAKE2B 
478d8e2e4acbd0725ceaf997a1e62ba3875e9d4a003e8a3e69111a9d29118447fb2da8ef3e5dd5274d83a3adef1ee9f4a153cdfd17cabe69864b53bab8c7e813
 SHA512 
4cebef0ba70e59a82d3b2b7b0b138ddb22e8866dc761e156ff1f15920145d12923719effef21ad4c65ccd62fbd14a1529cf0bfcaab70c5b33d103761d08062e0
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/files/gnucash-3.4-test-stress-options.scm 
b/app-office/gnucash/files/gnucash-3.4-test-stress-options.scm
new file mode 100644
index 000..e85cd61a8ef
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-3.4-test-stress-options.scm
@@ -0,0 +1,315 @@
+(use-modules (ice-9 textual-ports))
+(use-modules (ice-9 popen))
+(use-modules (gnucash utilities))
+(use-modules (gnucash gnc-module))
+(gnc:module-begin-syntax (gnc:module-load "gnucash/app-utils" 0))
+(use-modules (gnucash engine test test-extras))
+(use-modules (gnucash report standard-reports))
+(use-modules (gnucash report business-reports))
+(use-modules (gnucash report view-column))
+(use-modules (gnucash report stylesheets))
+(use-modules (gnucash report taxinvoice))
+(use-modules (gnucash report report-system))
+(use-modules (gnucash report report-system test test-extras))
+(use-modules (srfi srfi-64))
+(use-modules (srfi srfi-98))
+(use-modules (gnucash engine test srfi64-extras))
+(use-modules (sxml simple))
+(use-modules (sxml xpath))
+
+;; NOTE
+;; 
+;; SIMPLE stress tests by default
+;;
+;; PAIRWISE COMBINATORICS are enabled by setting environment variable 
COMBINATORICS
+;; to the fullpath for the compiled jenny from 
http://burtleburtle.net/bob/math/jenny.html
+;;
+;; e.g. COMBINATORICS=/home/user/jenny/jenny ninja check
+
+(define optionslist '())
+
+(define (generate-optionslist)
+  (gnc:report-templates-for-each
+   (lambda (report-id template)
+ (let* ((options-generator (gnc:report-template-options-generator 
template))
+(name (gnc:report-template-name template))
+(options (options-generator)))
+   (set! optionslist
+ (cons (list (cons 'report-id report-id)
+ (cons 'report-name (gnc:report-template-name template))
+ (cons 'options (let ((report-options-tested '()))
+  (gnc:options-for-each
+   (lambda (option)
+ (when (memq (gnc:option-type option)
+ '(multichoice boolean))
+   (set! report-options-tested
+ (cons (vector
+(gnc:option-section option)
+(gnc:option-name option)
+(gnc:option-type option)
+(case (gnc:option-type 
option)
+  

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-11-28 Thread Gilles Dartiguelongue
commit: 466f52ea8f882f7c76996e8ead92d0d9fb6b287e
Author: Gilles Dartiguelongue  gentoo  org>
AuthorDate: Wed Nov 28 07:54:55 2018 +
Commit: Gilles Dartiguelongue  gentoo  org>
CommitDate: Wed Nov 28 13:59:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466f52ea

app-office/gnucash: revision bump to support guile-2.2

Use cmake variable to disable gschemas compilation at build time.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Gilles Dartiguelongue  gentoo.org>

 app-office/gnucash/gnucash-3.3-r1.ebuild | 167 +++
 1 file changed, 167 insertions(+)

diff --git a/app-office/gnucash/gnucash-3.3-r1.ebuild 
b/app-office/gnucash/gnucash-3.3-r1.ebuild
new file mode 100644
index 000..bbe27c66dd2
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.3-r1.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
+   https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres python quotes -register2 sqlite +gui"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+# guile[deprecated] because of SCM_LIST*() use
+RDEPEND="
+   >=dev-libs/glib-2.46.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=sys-libs/zlib-1.1.4
+   >=dev-scheme/guile-2.2.0:12=[deprecated,regex]
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   >=x11-libs/gtk+-3.14.0:3
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_configure() {
+   local sql_on_off="OFF"
+   if use mysql || use postgres || use sqlite ; then
+   sql_on_off="ON"
+   fi
+
+   local mycmakeargs=(
+   -DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
+   -DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
+   # Disable fallback to guile-2.0
+   -DCMAKE_DISABLE_FIND_PACKAGE_GUILE2=ON
+   -DCOMPILE_GSCHEMAS=OFF
+   -DDISABLE_NLS=$(usex !nls)
+   -DENABLE_REGISTER2=$(usex register2)
+   -DWITH_AQBANKING=$(usex aqbanking)
+   -DWITH_OFX=$(usex ofx)
+   -DWITH_PYTHON=$(usex python)
+   -DWITH_SQL=${sql_on_off}
+   -DWITH_GNUCASH=$(usex gui)
+   )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   if use python ; then
+   cp common/test-core/unittest_support.py \
+  "${BUILD_DIR}"/common/test-core/ || die
+   fi
+
+   cd "${BUILD_DIR}" || die
+   XDG_DATA_HOME="${T}/$(whoami)" emake check
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
+
+   if use examples ; then
+   mv "${ED%/}"/usr/share/doc/gnucash \
+  "${ED%/}"/usr/share/doc/${PF}/examples || die
+   pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
+   rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-11-10 Thread Mikle Kolyada
commit: a844d7cce8e2b1bd02f77be2745d360223e539fb
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Nov 10 12:03:37 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Nov 10 12:03:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a844d7cc

app-office/gnucash: amd64 stable wrt bug #670800

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-office/gnucash/gnucash-3.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.3.ebuild 
b/app-office/gnucash/gnucash-3.3.ebuild
index 52fda92ce40..404679c88be 100644
--- a/app-office/gnucash/gnucash-3.3.ebuild
+++ b/app-office/gnucash/gnucash-3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 
 IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
  python quotes -register2 sqlite +gui"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2018-10-07 Thread Aaron Swenson
commit: 271f77dca714091958915902161c731e1476ddba
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Oct  7 10:17:03 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun Oct  7 10:17:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=271f77dc

app-office/gnucash: Cleanup old

Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Aaron Swenson  gentoo.org>

 app-office/gnucash/Manifest|   1 -
 .../gnucash/files/gnucash-2.7.4-double_free.patch  |  12 --
 ...ucash-2.7.4-fix-tests-for-32bit-platforms.patch |  56 ---
 app-office/gnucash/gnucash-2.7.4-r1.ebuild | 165 -
 app-office/gnucash/gnucash-3.2.ebuild  | 160 
 5 files changed, 394 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 0cd972338cb..c2508be7720 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,4 +1,3 @@
-DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61
 SHA512 
d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
 DIST gnucash-3.2.tar.bz2 13383942 BLAKE2B 
ce4beb9eab290bbc85c4b3bf68b205a8ebb274056bf10ef1721bce48ec18e4df4b488ce885dc767b4f1e951dabcdc2ba702cb5fe239f249ec50c8d2d1d12a434
 SHA512 
ef74cbf396096a71316e14500a5b4e57670f9e9c0c5d46f3afe051ccbae2e46a5f14edd8dd805dfb61276b934db286d48ae044160699df82689e2718ed2f7573
 DIST gnucash-3.3.tar.bz2 13440713 BLAKE2B 
a308af90d8a8e50eb732d29c7eadac1fb75b63006da5bbaa9044039c43c1c17976c6b6fdb1706a08a527b75b1300df3a8ed469151370097b0308a173a170e41b
 SHA512 
4bf0369ca9b3c91c98a0d916f0befc7e5675a246559a6a72dba6592b64f56f3cbd1885b0711e44e8d9cca290be742812763691ae2f639ea31ec534e52e17b3f9
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/files/gnucash-2.7.4-double_free.patch 
b/app-office/gnucash/files/gnucash-2.7.4-double_free.patch
deleted file mode 100644
index 9d82e72f96b..000
--- a/app-office/gnucash/files/gnucash-2.7.4-double_free.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/libgnucash/core-utils/test/test-userdata-dir.c 
b/libgnucash/core-utils/test/test-userdata-dir.c
-index 5a8cd5c50..a702a56aa 100644
 a/libgnucash/core-utils/test/test-userdata-dir.c
-+++ b/libgnucash/core-utils/test/test-userdata-dir.c
-@@ -338,7 +338,6 @@ main(int argc, char **argv)
- 
- /* Clean up the temporaries that were created for the GNC_DATA_HOME test 
run */
- g_free (home_dir);
--g_free (tmp_dir);
- tmp_dir = g_build_filename(gnc_data_home_dir, "data", (gchar *)NULL);
- g_rmdir (tmp_dir);
- g_free (tmp_dir);

diff --git 
a/app-office/gnucash/files/gnucash-2.7.4-fix-tests-for-32bit-platforms.patch 
b/app-office/gnucash/files/gnucash-2.7.4-fix-tests-for-32bit-platforms.patch
deleted file mode 100644
index ec0e83a80bf..000
--- a/app-office/gnucash/files/gnucash-2.7.4-fix-tests-for-32bit-platforms.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 3a0d2009741cdf825492020acab7c85867a60589 Mon Sep 17 00:00:00 2001
-From: Thomas Deutschmann 
-Date: Thu, 22 Feb 2018 12:27:36 +0100
-Subject: [PATCH] tests: Skip tests for dates on 32-bit platforms which cannot
- be representated
-
-Tests "test_IANA_Perth_tz" and "test_IANA_Minsk_tz" are failing on 32-bit
-platforms because the earliest timestamp which can be representated on a
-32-bit platform is "1901-12-13 20:45:52" but the test ranges start before
-that date.
-
-To be safe, this commit will add code to skip tests before year 1902 on
-32-bit platforms.
-
-Bug: https://bugs.gentoo.org/647596

- libgnucash/engine/test/gtest-gnc-timezone.cpp | 16 
- 1 file changed, 16 insertions(+)
-
-diff --git a/libgnucash/engine/test/gtest-gnc-timezone.cpp 
b/libgnucash/engine/test/gtest-gnc-timezone.cpp
-index 5c46b2618..298220f6e 100644
 a/libgnucash/engine/test/gtest-gnc-timezone.cpp
-+++ b/libgnucash/engine/test/gtest-gnc-timezone.cpp
-@@ -154,6 +154,14 @@ TEST(gnc_timezone_constructors, test_IANA_Perth_tz)
- }
- else if (year < 1916)
- #else
-+if (year < 1902)
-+{
-+// Earliest timestamp which can be represented on a 32-bit
-+// system is "1901-12-13 20:45:52" -- so skip tests until we
-+// reach a year >1901 to be safe
-+continue;
-+}
-+
- if (year < 1916)
- #endif
- {
-@@ -216,6 +224,14 @@ TEST(gnc_timezone_constructors, test_IANA_Minsk_tz)
- }
- else if (year < 1924)
- #else
-+if (year < 1902)
-+

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-10-06 Thread Mikle Kolyada
commit: 1de2ae0458feddadd700b62d498b73baf4401873
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct  6 21:52:12 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct  6 21:52:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de2ae04

app-office/gnucash: amd64 stable wrt bug #667544

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 app-office/gnucash/gnucash-3.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-3.2-r2.ebuild 
b/app-office/gnucash/gnucash-3.2-r2.ebuild
index ae0b353b03d..d582a50930e 100644
--- a/app-office/gnucash/gnucash-3.2-r2.ebuild
+++ b/app-office/gnucash/gnucash-3.2-r2.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 
 IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
  python quotes -register2 sqlite +gui"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-10-04 Thread Thomas Deutschmann
commit: ac212308c312b723dac07bfb057dffc22e49af21
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct  5 03:46:24 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct  5 03:46:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac212308

app-office/gnucash: x86 stable (bug #667544)

Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-office/gnucash/gnucash-3.2-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.2-r2.ebuild 
b/app-office/gnucash/gnucash-3.2-r2.ebuild
index 52fda92ce40..ae0b353b03d 100644
--- a/app-office/gnucash/gnucash-3.2-r2.ebuild
+++ b/app-office/gnucash/gnucash-3.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 x86"
 
 IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
  python quotes -register2 sqlite +gui"



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-10-02 Thread Aaron Swenson
commit: 5aa690c75c7a818e5e37ab9078652ab328a7908e
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Oct  3 02:03:19 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Wed Oct  3 02:03:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa690c7

app-office/gnucash: Bump to 3.3

Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Aaron Swenson  gentoo.org>

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-3.3.ebuild | 169 ++
 2 files changed, 170 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 0b9b77c4e41..0cd972338cb 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,3 +1,4 @@
 DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61
 SHA512 
d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
 DIST gnucash-3.2.tar.bz2 13383942 BLAKE2B 
ce4beb9eab290bbc85c4b3bf68b205a8ebb274056bf10ef1721bce48ec18e4df4b488ce885dc767b4f1e951dabcdc2ba702cb5fe239f249ec50c8d2d1d12a434
 SHA512 
ef74cbf396096a71316e14500a5b4e57670f9e9c0c5d46f3afe051ccbae2e46a5f14edd8dd805dfb61276b934db286d48ae044160699df82689e2718ed2f7573
+DIST gnucash-3.3.tar.bz2 13440713 BLAKE2B 
a308af90d8a8e50eb732d29c7eadac1fb75b63006da5bbaa9044039c43c1c17976c6b6fdb1706a08a527b75b1300df3a8ed469151370097b0308a173a170e41b
 SHA512 
4bf0369ca9b3c91c98a0d916f0befc7e5675a246559a6a72dba6592b64f56f3cbd1885b0711e44e8d9cca290be742812763691ae2f639ea31ec534e52e17b3f9
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-3.3.ebuild 
b/app-office/gnucash/gnucash-3.3.ebuild
new file mode 100644
index 000..52fda92ce40
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.3.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
+ python quotes -register2 sqlite +gui"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=sys-libs/zlib-1.1.4
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+ gnome-base/dconf
+ net-libs/webkit-gtk:4=
+ >=x11-libs/gtk+-3.14.0:3
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_configure() {
+   local sql_on_off="OFF"
+   if use mysql || use postgres || use sqlite ; then
+   sql_on_off="ON"
+   fi
+
+   local mycmakeargs=(
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-09-02 Thread Aaron Swenson
commit: 7df2d9f1175af1c961d44801597311f104eb45d6
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Sep  2 11:00:08 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun Sep  2 11:00:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7df2d9f1

app-office/gnucash: Cleanup broken

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-office/gnucash/gnucash-3.2-r1.ebuild | 173 ---
 1 file changed, 173 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.2-r1.ebuild 
b/app-office/gnucash/gnucash-3.2-r1.ebuild
deleted file mode 100644
index 64b817987f9..000
--- a/app-office/gnucash/gnucash-3.2-r1.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# google{test,mock} version
-GV="1.8.0"
-PYTHON_COMPAT=( python3_{4,5,6} )
-
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="http://www.gnucash.org/;
-SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
-
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
- python quotes -register2 sqlite +gui"
-REQUIRED_USE="
-   chipcard? ( aqbanking )
-   python? ( ${PYTHON_REQUIRED_USE} )"
-
-# libdbi version requirement for sqlite taken from bug #455134
-#
-# dev-libs/boost must always be built with nls enabled.
-RDEPEND="
-   >=dev-libs/glib-2.40.0:2
-   >=dev-libs/libxml2-2.7.0:2
-   >=sys-libs/zlib-1.1.4
-   >=dev-scheme/guile-2.0.0:12=[regex]
-   gui? (
- gnome-base/dconf
- net-libs/webkit-gtk:4=
- >=x11-libs/gtk+-3.14.0:3
- )
-   dev-libs/boost:=[icu,nls]
-   dev-libs/icu:=
-   dev-libs/libxslt
-   aqbanking? (
-   >=net-libs/aqbanking-5[gtk,ofx?]
-   sys-libs/gwenhywfar[gtk]
-   chipcard? ( sys-libs/libchipcard )
-   )
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   mysql? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[mysql]
-   )
-   ofx? ( >=dev-libs/libofx-0.9.1 )
-   postgres? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[postgres]
-   )
-   python? ( ${PYTHON_DEPS} )
-   quotes? (
-   >=dev-perl/Finance-Quote-1.11
-   dev-perl/Date-Manip
-   dev-perl/HTML-TableExtract
-   )
-   sqlite? (
-   >=dev-db/libdbi-0.9.0
-   >=dev-db/libdbi-drivers-0.9.0[sqlite]
-   )
-"
-
-DEPEND="${RDEPEND}
-   ~dev-cpp/gtest-${GV}
-   >=sys-devel/gettext-0.19.6
-   dev-lang/perl
-   dev-perl/XML-Parser
-   gui? ( gnome-base/gnome-common )
-   sys-devel/libtool
-   virtual/pkgconfig
-"
-
-PDEPEND="doc? (
-   ~app-doc/gnucash-docs-${PV}
-   gnome-extra/yelp
-)"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-   xdg_environment_reset
-}
-
-src_prepare() {
-   use gui || eapply "${FILESDIR}"/${PN}-3.2-no-gui.patch
-   default
-}
-
-src_configure() {
-   local sql_on_off="OFF"
-   if use mysql || use postgres || use sqlite ; then
-   sql_on_off="ON"
-   fi
-
-   local mycmakeargs=(
-   -DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
-   -DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
-
-   -DDISABLE_NLS=$(usex !nls)
-   -DENABLE_REGISTER2=$(usex register2)
-   -DWITH_AQBANKING=$(usex aqbanking)
-   -DWITH_OFX=$(usex ofx)
-   -DWITH_PYTHON=$(usex python)
-   -DWITH_SQL=${sql_on_off}
-   -DWITH_GNUCASH=$(usex gui)
-   )
-
-   cmake-utils_src_configure
-}
-
-src_test() {
-   if use python ; then
-   cp common/test-core/unittest_support.py \
-  "${BUILD_DIR}"/common/test-core/ || die
-   fi
-
-   cd "${BUILD_DIR}" || die
-   XDG_DATA_HOME="${T}/$(whoami)" emake check
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
-
-   if use gui ; then
- rm "${ED%/}"/usr/share/glib-2.0/schemas/gschemas.compiled || die
-   fi
-
-   if use examples ; then
-   mv "${ED%/}"/usr/share/doc/gnucash \
-  "${ED%/}"/usr/share/doc/${PF}/examples || die
-   pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
-   rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
-  *win32-bin.txt || die
-   popd > /dev/null || die
-   docompress -x /usr/share/doc/${PF}/examples/
-   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-09-02 Thread Aaron Swenson
commit: a01091ba11a5bbb94aebcb04bfee6c8df7b7de22
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Sep  2 10:58:50 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun Sep  2 10:58:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a01091ba

app-office/gnucash: Drop gnome-common, src_prepare

The dependency on gnome-base/gnome-common turned out to be entirely
unnecessary. There are no functions from that package that are needed
by Gnucash’s build system.

Drop the src_prepare and apply the no-gui.patch
unconditionally. Whether it has an effect depends on the build flag
being enabled.

Bug: https://bugs.gentoo.org/651200
Closes: https://bugs.gentoo.org/664916
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-office/gnucash/gnucash-3.2-r2.ebuild | 169 +++
 1 file changed, 169 insertions(+)

diff --git a/app-office/gnucash/gnucash-3.2-r2.ebuild 
b/app-office/gnucash/gnucash-3.2-r2.ebuild
new file mode 100644
index 000..52fda92ce40
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.2-r2.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
+ python quotes -register2 sqlite +gui"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=sys-libs/zlib-1.1.4
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   gui? (
+ gnome-base/dconf
+ net-libs/webkit-gtk:4=
+ >=x11-libs/gtk+-3.14.0:3
+   )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_configure() {
+   local sql_on_off="OFF"
+   if use mysql || use postgres || use sqlite ; then
+   sql_on_off="ON"
+   fi
+
+   local mycmakeargs=(
+   -DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
+   -DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
+
+   -DDISABLE_NLS=$(usex !nls)
+   -DENABLE_REGISTER2=$(usex register2)
+   -DWITH_AQBANKING=$(usex aqbanking)
+   -DWITH_OFX=$(usex ofx)
+   -DWITH_PYTHON=$(usex python)
+   -DWITH_SQL=${sql_on_off}
+   -DWITH_GNUCASH=$(usex gui)
+   )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   if use python ; then
+   cp common/test-core/unittest_support.py \
+  "${BUILD_DIR}"/common/test-core/ || die
+   fi
+
+   cd "${BUILD_DIR}" || die
+   XDG_DATA_HOME="${T}/$(whoami)" emake check
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
+
+   if use gui ; then
+ rm "${ED%/}"/usr/share/glib-2.0/schemas/gschemas.compiled || die
+   fi
+
+   if use examples ; then
+   mv "${ED%/}"/usr/share/doc/gnucash \
+  "${ED%/}"/usr/share/doc/${PF}/examples || die
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-08-29 Thread Aaron Swenson
commit: 9c68791fdcd10e8291ed5b6a7630bcf59a1302d5
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Aug 29 10:50:48 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Wed Aug 29 10:54:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c68791f

app-office/gnucash: Cleanup

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-office/gnucash/Manifest|   4 -
 app-office/gnucash/gnucash-2.7.5.ebuild| 162 -
 app-office/gnucash/gnucash-2.7.7-r1.ebuild | 162 -
 app-office/gnucash/gnucash-3.0.ebuild  | 160 
 app-office/gnucash/gnucash-3.1.ebuild  | 160 
 5 files changed, 648 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index ccc954e31ab..0b9b77c4e41 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,7 +1,3 @@
 DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61
 SHA512 
d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
-DIST gnucash-2.7.5.tar.bz2 13330271 BLAKE2B 
e06328050a2dd8e80e224cf13f51c1c7151e73f9a1c9f14581f33bfcf8bf07b273962620b7281637101eab8c5eff67a3e5e8e34d81f0c8d263ac33bf6d1eb40c
 SHA512 
68cd6e6f61a43b8837e9efe693d22f62ebe10a8bb7d593814fb6a12d035d74ec1e444f53010ad53c6b1adf28c75aa482403c06052314a91636c2a8baa30e09af
-DIST gnucash-2.7.7.tar.bz2 13368946 BLAKE2B 
06e6815af713235ea31859532911303db4fa5e8dcd50b9111aa513795963eaca29a612eeced27399441f43563753d977468dfd901a49dfa689b5d36e7b985ebf
 SHA512 
b7d91e87c4bc4e604560f4502a86deaafa4f636e9fe2af26db53b11da9f48986c970ba0ed08cb7172ca08a5fb2da451d26976963241206c388a33555c80f28fe
-DIST gnucash-3.0.tar.bz2 13366724 BLAKE2B 
4c6e87d433f203cca73f1b4ee623a4bb260bdd6812aaf24af0045384cbe8fc24cc5215b4a4bbe4f7446bfd4626ef7cf09f67f2031f49c2563784528294aae8fb
 SHA512 
5ec13b8abe1520a7e614ceeca4c41d5dba3ebae4ec965918584963022ceb5cb3b85862289a85a72767db74a0c735214a78342a53c37e6da939ff850538174a87
-DIST gnucash-3.1-1.tar.bz2 13374530 BLAKE2B 
51dcdea6b91a72288a9e9583d50edbe88303b93fe0059ea3444a0965723bb29955227df5e6eda910638f28a3eacdf367fdca1783871258b8ce396598e2b5edc0
 SHA512 
34d675cf1434f280345c40e6f448b3c2ac5b3cde33b15e662bbda784660ad92168e4b0d14d4fbf190cdfa6a7954806520ab4b72a7460736c78f934f803b1d5e0
 DIST gnucash-3.2.tar.bz2 13383942 BLAKE2B 
ce4beb9eab290bbc85c4b3bf68b205a8ebb274056bf10ef1721bce48ec18e4df4b488ce885dc767b4f1e951dabcdc2ba702cb5fe239f249ec50c8d2d1d12a434
 SHA512 
ef74cbf396096a71316e14500a5b4e57670f9e9c0c5d46f3afe051ccbae2e46a5f14edd8dd805dfb61276b934db286d48ae044160699df82689e2718ed2f7573
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-2.7.5.ebuild 
b/app-office/gnucash/gnucash-2.7.5.ebuild
deleted file mode 100644
index 5b65c36fec6..000
--- a/app-office/gnucash/gnucash-2.7.5.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# google{test,mock} version
-GV="1.8.0"
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="http://www.gnucash.org/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
-
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-# Add doc back in for 3.0 and bump app-doc/gnucash-docs
-IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
- python quotes -register2 sqlite"
-REQUIRED_USE="
-   chipcard? ( aqbanking )
-   python? ( ${PYTHON_REQUIRED_USE} )"
-
-# libdbi version requirement for sqlite taken from bug #455134
-#
-# dev-libs/boost must always be built with nls enabled.
-RDEPEND="
-   >=dev-libs/glib-2.40.0:2
-   >=dev-libs/libxml2-2.7.0:2
-   >=dev-scheme/guile-2.0.0:12=[regex]
-   >=sys-libs/zlib-1.1.4
-   >=x11-libs/gtk+-3.14.0:3
-   dev-libs/boost:=[icu,nls]
-   dev-libs/icu:=
-   dev-libs/libxslt
-   gnome-base/dconf
-   net-libs/webkit-gtk:4=
-   aqbanking? (
-   >=net-libs/aqbanking-5[gtk,ofx?]
-   sys-libs/gwenhywfar[gtk]
-   chipcard? ( sys-libs/libchipcard )
-   )
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   mysql? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[mysql]
-   )
-

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2018-08-29 Thread Aaron Swenson
commit: 37c1feba2c76814bb66da36d7fd8916396a99037
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Aug 29 10:47:53 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Wed Aug 29 10:47:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c1feba

app-office/gnucash: Add option to disable GUI

Thanks to Reimundo Heluani for working on this.

Closes: https://bugs.gentoo.org/651200
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-office/gnucash/files/gnucash-3.2-no-gui.patch |  14 ++
 app-office/gnucash/gnucash-3.2-r1.ebuild  | 173 ++
 app-office/gnucash/metadata.xml   |   4 +
 3 files changed, 191 insertions(+)

diff --git a/app-office/gnucash/files/gnucash-3.2-no-gui.patch 
b/app-office/gnucash/files/gnucash-3.2-no-gui.patch
new file mode 100644
index 000..896aafd17f1
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-3.2-no-gui.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5e10a09..cdbdb7a 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -770,7 +770,9 @@ set(SCHEME_INSTALLED_CACHE_DIR 
${PKGLIBDIR}/scm/ccache/${GUILE_EFFECTIVE_VERSION
+ # The subdirectories
+ add_subdirectory (borrowed)
+ add_subdirectory (data)
++if (WITH_GNUCASH)
+ add_subdirectory (doc)
++endif (WITH_GNUCASH)
+ add_subdirectory (po)
+ add_subdirectory (common)
+ add_subdirectory (libgnucash)

diff --git a/app-office/gnucash/gnucash-3.2-r1.ebuild 
b/app-office/gnucash/gnucash-3.2-r1.ebuild
new file mode 100644
index 000..64b817987f9
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.2-r1.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
+ python quotes -register2 sqlite +gui"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=sys-libs/zlib-1.1.4
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   gui? (
+ gnome-base/dconf
+ net-libs/webkit-gtk:4=
+ >=x11-libs/gtk+-3.14.0:3
+ )
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   gui? ( gnome-base/gnome-common )
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_prepare() {
+   use gui || eapply "${FILESDIR}"/${PN}-3.2-no-gui.patch
+   default
+}
+
+src_configure() {
+   local sql_on_off="OFF"
+   if use mysql || use postgres || use sqlite ; then
+   sql_on_off="ON"
+   fi
+
+   local mycmakeargs=(
+   -DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
+   -DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
+
+   -DDISABLE_NLS=$(usex !nls)
+   -DENABLE_REGISTER2=$(usex register2)
+   -DWITH_AQBANKING=$(usex aqbanking)
+   -DWITH_OFX=$(usex ofx)
+   -DWITH_PYTHON=$(usex python)
+   -DWITH_SQL=${sql_on_off}
+   -DWITH_GNUCASH=$(usex gui)
+   )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   if use 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-08-11 Thread Aaron Swenson
commit: f8b4d93d8f1afdf6a7a1ce83dca0b670f2bfb15e
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat Aug 11 11:27:42 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sat Aug 11 11:27:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8b4d93d

app-office/gnucash: Bump to 3.2

Closes: https://bugs.gentoo.org/663140
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-3.2.ebuild | 160 ++
 2 files changed, 161 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index a7be4326270..ccc954e31ab 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -3,4 +3,5 @@ DIST gnucash-2.7.5.tar.bz2 13330271 BLAKE2B 
e06328050a2dd8e80e224cf13f51c1c7151e
 DIST gnucash-2.7.7.tar.bz2 13368946 BLAKE2B 
06e6815af713235ea31859532911303db4fa5e8dcd50b9111aa513795963eaca29a612eeced27399441f43563753d977468dfd901a49dfa689b5d36e7b985ebf
 SHA512 
b7d91e87c4bc4e604560f4502a86deaafa4f636e9fe2af26db53b11da9f48986c970ba0ed08cb7172ca08a5fb2da451d26976963241206c388a33555c80f28fe
 DIST gnucash-3.0.tar.bz2 13366724 BLAKE2B 
4c6e87d433f203cca73f1b4ee623a4bb260bdd6812aaf24af0045384cbe8fc24cc5215b4a4bbe4f7446bfd4626ef7cf09f67f2031f49c2563784528294aae8fb
 SHA512 
5ec13b8abe1520a7e614ceeca4c41d5dba3ebae4ec965918584963022ceb5cb3b85862289a85a72767db74a0c735214a78342a53c37e6da939ff850538174a87
 DIST gnucash-3.1-1.tar.bz2 13374530 BLAKE2B 
51dcdea6b91a72288a9e9583d50edbe88303b93fe0059ea3444a0965723bb29955227df5e6eda910638f28a3eacdf367fdca1783871258b8ce396598e2b5edc0
 SHA512 
34d675cf1434f280345c40e6f448b3c2ac5b3cde33b15e662bbda784660ad92168e4b0d14d4fbf190cdfa6a7954806520ab4b72a7460736c78f934f803b1d5e0
+DIST gnucash-3.2.tar.bz2 13383942 BLAKE2B 
ce4beb9eab290bbc85c4b3bf68b205a8ebb274056bf10ef1721bce48ec18e4df4b488ce885dc767b4f1e951dabcdc2ba702cb5fe239f249ec50c8d2d1d12a434
 SHA512 
ef74cbf396096a71316e14500a5b4e57670f9e9c0c5d46f3afe051ccbae2e46a5f14edd8dd805dfb61276b934db286d48ae044160699df82689e2718ed2f7573
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-3.2.ebuild 
b/app-office/gnucash/gnucash-3.2.ebuild
new file mode 100644
index 000..7d93329d001
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.2.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
+ python quotes -register2 sqlite"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   >=sys-libs/zlib-1.1.4
+   >=x11-libs/gtk+-3.14.0:3
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   gnome-base/gnome-common
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-05-13 Thread Aaron Swenson
commit: 99fdfd87fc71e949444727e1a5140d64e3530b1a
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun May 13 14:55:20 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun May 13 16:03:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99fdfd87

app-office/gnucash: Bump to 3.1

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-3.1.ebuild | 160 ++
 2 files changed, 161 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 968c7726d23..a7be4326270 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -2,4 +2,5 @@ DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2
 DIST gnucash-2.7.5.tar.bz2 13330271 BLAKE2B 
e06328050a2dd8e80e224cf13f51c1c7151e73f9a1c9f14581f33bfcf8bf07b273962620b7281637101eab8c5eff67a3e5e8e34d81f0c8d263ac33bf6d1eb40c
 SHA512 
68cd6e6f61a43b8837e9efe693d22f62ebe10a8bb7d593814fb6a12d035d74ec1e444f53010ad53c6b1adf28c75aa482403c06052314a91636c2a8baa30e09af
 DIST gnucash-2.7.7.tar.bz2 13368946 BLAKE2B 
06e6815af713235ea31859532911303db4fa5e8dcd50b9111aa513795963eaca29a612eeced27399441f43563753d977468dfd901a49dfa689b5d36e7b985ebf
 SHA512 
b7d91e87c4bc4e604560f4502a86deaafa4f636e9fe2af26db53b11da9f48986c970ba0ed08cb7172ca08a5fb2da451d26976963241206c388a33555c80f28fe
 DIST gnucash-3.0.tar.bz2 13366724 BLAKE2B 
4c6e87d433f203cca73f1b4ee623a4bb260bdd6812aaf24af0045384cbe8fc24cc5215b4a4bbe4f7446bfd4626ef7cf09f67f2031f49c2563784528294aae8fb
 SHA512 
5ec13b8abe1520a7e614ceeca4c41d5dba3ebae4ec965918584963022ceb5cb3b85862289a85a72767db74a0c735214a78342a53c37e6da939ff850538174a87
+DIST gnucash-3.1-1.tar.bz2 13374530 BLAKE2B 
51dcdea6b91a72288a9e9583d50edbe88303b93fe0059ea3444a0965723bb29955227df5e6eda910638f28a3eacdf367fdca1783871258b8ce396598e2b5edc0
 SHA512 
34d675cf1434f280345c40e6f448b3c2ac5b3cde33b15e662bbda784660ad92168e4b0d14d4fbf190cdfa6a7954806520ab4b72a7460736c78f934f803b1d5e0
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-3.1.ebuild 
b/app-office/gnucash/gnucash-3.1.ebuild
new file mode 100644
index 000..d75f0e734e3
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.1.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}-1.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
+ python quotes -register2 sqlite"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   >=sys-libs/zlib-1.1.4
+   >=x11-libs/gtk+-3.14.0:3
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   gnome-base/gnome-common
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
+
+#PATCHES=( 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-04-27 Thread Aaron Swenson
commit: 3f34044210fdd36e74aeb31e09ed9754bf41e505
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Apr 27 20:31:37 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Apr 27 20:31:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f340442

app-office/gnucash: Reactivate doc use flag on 3.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/gnucash/gnucash-3.0.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/app-office/gnucash/gnucash-3.0.ebuild 
b/app-office/gnucash/gnucash-3.0.ebuild
index 5b5dde99e04..bc347e50c6f 100644
--- a/app-office/gnucash/gnucash-3.0.ebuild
+++ b/app-office/gnucash/gnucash-3.0.ebuild
@@ -18,8 +18,7 @@ SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 
-# Add doc back in for 3.0 and bump app-doc/gnucash-docs
-IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
+IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx 
postgres
  python quotes -register2 sqlite"
 REQUIRED_USE="
chipcard? ( aqbanking )
@@ -76,11 +75,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
 "
 
-# Uncomment for 3.0
-# PDEPEND="doc? (
-#  ~app-doc/gnucash-docs-${PV}
-#  gnome-extra/yelp
-# )"
+PDEPEND="doc? (
+   ~app-doc/gnucash-docs-${PV}
+   gnome-extra/yelp
+)"
 
 #PATCHES=( "${FILESDIR}"/${PN}-2.7.4-fix-tests-for-32bit-platforms.patch )
 



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-04-05 Thread Aaron Swenson
commit: 25d4c39ed33bc414d5bf0833c91180467ee8c3d1
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Apr  5 11:22:05 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Thu Apr  5 11:22:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d4c39e

app-office/gnucash: Bump to 3.0

Closes: https://bugs.gentoo.org/651640
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/gnucash/Manifest   |   1 +
 app-office/gnucash/gnucash-3.0.ebuild | 162 ++
 2 files changed, 163 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 82edc37e306..968c7726d23 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,4 +1,5 @@
 DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61
 SHA512 
d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
 DIST gnucash-2.7.5.tar.bz2 13330271 BLAKE2B 
e06328050a2dd8e80e224cf13f51c1c7151e73f9a1c9f14581f33bfcf8bf07b273962620b7281637101eab8c5eff67a3e5e8e34d81f0c8d263ac33bf6d1eb40c
 SHA512 
68cd6e6f61a43b8837e9efe693d22f62ebe10a8bb7d593814fb6a12d035d74ec1e444f53010ad53c6b1adf28c75aa482403c06052314a91636c2a8baa30e09af
 DIST gnucash-2.7.7.tar.bz2 13368946 BLAKE2B 
06e6815af713235ea31859532911303db4fa5e8dcd50b9111aa513795963eaca29a612eeced27399441f43563753d977468dfd901a49dfa689b5d36e7b985ebf
 SHA512 
b7d91e87c4bc4e604560f4502a86deaafa4f636e9fe2af26db53b11da9f48986c970ba0ed08cb7172ca08a5fb2da451d26976963241206c388a33555c80f28fe
+DIST gnucash-3.0.tar.bz2 13366724 BLAKE2B 
4c6e87d433f203cca73f1b4ee623a4bb260bdd6812aaf24af0045384cbe8fc24cc5215b4a4bbe4f7446bfd4626ef7cf09f67f2031f49c2563784528294aae8fb
 SHA512 
5ec13b8abe1520a7e614ceeca4c41d5dba3ebae4ec965918584963022ceb5cb3b85862289a85a72767db74a0c735214a78342a53c37e6da939ff850538174a87
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-3.0.ebuild 
b/app-office/gnucash/gnucash-3.0.ebuild
new file mode 100644
index 000..5b5dde99e04
--- /dev/null
+++ b/app-office/gnucash/gnucash-3.0.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+# Add doc back in for 3.0 and bump app-doc/gnucash-docs
+IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
+ python quotes -register2 sqlite"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   >=sys-libs/zlib-1.1.4
+   >=x11-libs/gtk+-3.14.0:3
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   gnome-base/gnome-common
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+# Uncomment for 3.0
+# PDEPEND="doc? (
+#  ~app-doc/gnucash-docs-${PV}
+#  gnome-extra/yelp
+# )"
+
+#PATCHES=( 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-03-25 Thread Aaron Swenson
commit: 7882f1b8009fcad76af98f6f5e16d555de5b6349
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Mar 25 14:27:26 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun Mar 25 14:27:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7882f1b8

app-office/gnucash: Remove Security Susceptible

Drop last release the relies on obsolete and vulnerable net-libs/webkit-gtk:2.

Bug: https://bugs.gentoo.org/629114
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/gnucash/Manifest  |   1 -
 app-office/gnucash/gnucash-2.6.19.ebuild | 131 ---
 app-office/gnucash/metadata.xml  |  11 +--
 3 files changed, 6 insertions(+), 137 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 4ded7d909af..82edc37e306 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,4 +1,3 @@
-DIST gnucash-2.6.19.tar.bz2 13612124 BLAKE2B 
cc66e4d7994274bb2ad97437333dbe62b0e9228e20e05e01fc7861bc45a8f07bc56d2a69850eda301d5e7f679d96a9d28c24c56a4860cff6727b66867482deae
 SHA512 
0a979caf48ba96d6f37a929036e7172855cfb03af8832f479966bce72fad3400903925134d33aaa31eb6b36a2041f5e0d3f74b88e95b83c7d76e96b1503bec13
 DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61
 SHA512 
d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
 DIST gnucash-2.7.5.tar.bz2 13330271 BLAKE2B 
e06328050a2dd8e80e224cf13f51c1c7151e73f9a1c9f14581f33bfcf8bf07b273962620b7281637101eab8c5eff67a3e5e8e34d81f0c8d263ac33bf6d1eb40c
 SHA512 
68cd6e6f61a43b8837e9efe693d22f62ebe10a8bb7d593814fb6a12d035d74ec1e444f53010ad53c6b1adf28c75aa482403c06052314a91636c2a8baa30e09af
 DIST gnucash-2.7.7.tar.bz2 13368946 BLAKE2B 
06e6815af713235ea31859532911303db4fa5e8dcd50b9111aa513795963eaca29a612eeced27399441f43563753d977468dfd901a49dfa689b5d36e7b985ebf
 SHA512 
b7d91e87c4bc4e604560f4502a86deaafa4f636e9fe2af26db53b11da9f48986c970ba0ed08cb7172ca08a5fb2da451d26976963241206c388a33555c80f28fe

diff --git a/app-office/gnucash/gnucash-2.6.19.ebuild 
b/app-office/gnucash/gnucash-2.6.19.ebuild
deleted file mode 100644
index b9f08f0f1f4..000
--- a/app-office/gnucash/gnucash-2.6.19.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools gnome2 python-single-r1
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="http://www.gnucash.org/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="chipcard debug +doc gnome-keyring hbci mysql ofx postgres python quotes 
sqlite"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# README.dependencies mentions qof, but ${PN} has their own fork in the
-# source code that appears to have deviated from that project.
-#
-# libdbi version requirement for sqlite taken from bug #455134
-RDEPEND="
-   >=dev-libs/glib-2.32.0:2
-   >=dev-libs/libxml2-2.5.10:2
-   >=dev-libs/popt-1.5
-   >=dev-scheme/guile-1.8.5:12=[deprecated,regex]
-   =net-libs/webkit-gtk-1.2:2
-   >=sys-libs/zlib-1.1.4
-   >=x11-libs/goffice-0.7.0:0.8[gnome]
-   >=x11-libs/gtk+-2.24:2
-   dev-libs/libxslt
-   dev-scheme/guile-www
-   gnome-base/dconf
-   gnome-base/libgnomecanvas
-   x11-libs/pango
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   hbci? (
-   >=net-libs/aqbanking-5[gtk,ofx?]
-   sys-libs/gwenhywfar[gtk]
-   chipcard? ( sys-libs/libchipcard )
-   )
-   mysql? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[mysql]
-   )
-   ofx? ( >=dev-libs/libofx-0.9.1 )
-   postgres? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[postgres]
-   )
-   python? ( ${PYTHON_DEPS} )
-   quotes? (
-   >=dev-perl/Finance-Quote-1.11
-   dev-perl/Date-Manip
-   dev-perl/HTML-TableExtract
-   )
-   sqlite? (
-   >=dev-db/libdbi-0.9.0
-   >=dev-db/libdbi-drivers-0.9.0[sqlite]
-   )
-"
-
-DEPEND="${RDEPEND}
-   dev-util/intltool
-   gnome-base/gnome-common
-   sys-devel/libtool
-   virtual/pkgconfig
-"
-
-PDEPEND="doc? (
-   ~app-doc/gnucash-docs-${PV}
-   gnome-extra/yelp
-)"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   # Skip test that needs some locales to be present
-   sed -i -e '/test_suite_gnc_date/d' src/libqof/qof/test/test-qof.c || die
-
-   # We need to run eautoreconf to prevent linking against system libs,
-   # this can be noticed, for example, when updating an old 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-03-25 Thread Aaron Swenson
commit: 5b63feab6361c8076ac6d33b9d8b59568776ac58
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Mar 25 14:00:57 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun Mar 25 14:00:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b63feab

app-office/gnucash: Drop Incorrect PYTHON_COMPAT

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/gnucash/gnucash-2.7.7.ebuild | 162 
 1 file changed, 162 deletions(-)

diff --git a/app-office/gnucash/gnucash-2.7.7.ebuild 
b/app-office/gnucash/gnucash-2.7.7.ebuild
deleted file mode 100644
index 11fc957fcff..000
--- a/app-office/gnucash/gnucash-2.7.7.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# google{test,mock} version
-GV="1.8.0"
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="http://www.gnucash.org/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
-
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-# Add doc back in for 3.0 and bump app-doc/gnucash-docs
-IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
- python quotes -register2 sqlite"
-REQUIRED_USE="
-   chipcard? ( aqbanking )
-   python? ( ${PYTHON_REQUIRED_USE} )"
-
-# libdbi version requirement for sqlite taken from bug #455134
-#
-# dev-libs/boost must always be built with nls enabled.
-RDEPEND="
-   >=dev-libs/glib-2.40.0:2
-   >=dev-libs/libxml2-2.7.0:2
-   >=dev-scheme/guile-2.0.0:12=[regex]
-   >=sys-libs/zlib-1.1.4
-   >=x11-libs/gtk+-3.14.0:3
-   dev-libs/boost:=[icu,nls]
-   dev-libs/icu:=
-   dev-libs/libxslt
-   gnome-base/dconf
-   net-libs/webkit-gtk:4=
-   aqbanking? (
-   >=net-libs/aqbanking-5[gtk,ofx?]
-   sys-libs/gwenhywfar[gtk]
-   chipcard? ( sys-libs/libchipcard )
-   )
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   mysql? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[mysql]
-   )
-   ofx? ( >=dev-libs/libofx-0.9.1 )
-   postgres? (
-   dev-db/libdbi
-   dev-db/libdbi-drivers[postgres]
-   )
-   python? ( ${PYTHON_DEPS} )
-   quotes? (
-   >=dev-perl/Finance-Quote-1.11
-   dev-perl/Date-Manip
-   dev-perl/HTML-TableExtract
-   )
-   sqlite? (
-   >=dev-db/libdbi-0.9.0
-   >=dev-db/libdbi-drivers-0.9.0[sqlite]
-   )
-"
-
-DEPEND="${RDEPEND}
-   ~dev-cpp/gtest-${GV}
-   >=sys-devel/gettext-0.19.6
-   dev-lang/perl
-   dev-perl/XML-Parser
-   gnome-base/gnome-common
-   sys-devel/libtool
-   virtual/pkgconfig
-"
-
-# Uncomment for 3.0
-# PDEPEND="doc? (
-#  ~app-doc/gnucash-docs-${PV}
-#  gnome-extra/yelp
-# )"
-
-#PATCHES=( "${FILESDIR}"/${PN}-2.7.4-fix-tests-for-32bit-platforms.patch )
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-   xdg_environment_reset
-}
-
-src_configure() {
-   local sql_on_off="OFF"
-   if use mysql || use postgres || use sqlite ; then
-   sql_on_off="ON"
-   fi
-
-   local mycmakeargs=(
-   -DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
-   -DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
-
-   -DDISABLE_NLS=$(usex !nls)
-   -DENABLE_REGISTER2=$(usex register2)
-   -DWITH_AQBANKING=$(usex aqbanking)
-   -DWITH_OFX=$(usex ofx)
-   -DWITH_PYTHON=$(usex python)
-   -DWITH_SQL=${sql_on_off}
-   )
-
-   cmake-utils_src_configure
-}
-
-src_test() {
-   if use python ; then
-   cp common/test-core/unittest_support.py \
-  "${BUILD_DIR}"/common/test-core/ || die
-   fi
-
-   cd "${BUILD_DIR}" || die
-   XDG_DATA_HOME="${T}/$(whoami)" emake check
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
-   rm "${ED%/}"/usr/share/glib-2.0/schemas/gschemas.compiled || die
-
-   if use examples ; then
-   mv "${ED%/}"/usr/share/doc/gnucash \
-  "${ED%/}"/usr/share/doc/${PF}/examples || die
-   pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
-   rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
-  *win32-bin.txt || die
-   popd > /dev/null || die
-   docompress -x /usr/share/doc/${PF}/examples/
-   else
-   rm -r "${ED%/}"/usr/share/doc/gnucash || die
-   fi
-
-   use aqbanking && 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-03-25 Thread Aaron Swenson
commit: 42fdac46c10d92b6aeab2e549b9922418877a0ef
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Mar 25 13:58:43 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun Mar 25 13:58:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42fdac46

app-office/gnucash: Update PYTHON_COMPAT

Update PYTHON_COMPAT to 3.{4,5,6}. Support for 2.7 dropped by upstream.

Closes: https://bugs.gentoo.org/651282
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/gnucash/gnucash-2.7.7-r1.ebuild | 162 +
 1 file changed, 162 insertions(+)

diff --git a/app-office/gnucash/gnucash-2.7.7-r1.ebuild 
b/app-office/gnucash/gnucash-2.7.7-r1.ebuild
new file mode 100644
index 000..5b5dde99e04
--- /dev/null
+++ b/app-office/gnucash/gnucash-2.7.7-r1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+# Add doc back in for 3.0 and bump app-doc/gnucash-docs
+IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
+ python quotes -register2 sqlite"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   >=sys-libs/zlib-1.1.4
+   >=x11-libs/gtk+-3.14.0:3
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   gnome-base/gnome-common
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+# Uncomment for 3.0
+# PDEPEND="doc? (
+#  ~app-doc/gnucash-docs-${PV}
+#  gnome-extra/yelp
+# )"
+
+#PATCHES=( "${FILESDIR}"/${PN}-2.7.4-fix-tests-for-32bit-platforms.patch )
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_configure() {
+   local sql_on_off="OFF"
+   if use mysql || use postgres || use sqlite ; then
+   sql_on_off="ON"
+   fi
+
+   local mycmakeargs=(
+   -DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
+   -DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
+
+   -DDISABLE_NLS=$(usex !nls)
+   -DENABLE_REGISTER2=$(usex register2)
+   -DWITH_AQBANKING=$(usex aqbanking)
+   -DWITH_OFX=$(usex ofx)
+   -DWITH_PYTHON=$(usex python)
+   -DWITH_SQL=${sql_on_off}
+   )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   if use python ; then
+   cp common/test-core/unittest_support.py \
+  "${BUILD_DIR}"/common/test-core/ || die
+   fi
+
+   cd "${BUILD_DIR}" || die
+   XDG_DATA_HOME="${T}/$(whoami)" emake check
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
+   rm "${ED%/}"/usr/share/glib-2.0/schemas/gschemas.compiled || die
+
+   if use examples ; then
+   mv "${ED%/}"/usr/share/doc/gnucash \
+  "${ED%/}"/usr/share/doc/${PF}/examples || die
+   pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
+   rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
+  *win32-bin.txt || die
+   popd > /dev/null || die
+   docompress -x 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-03-22 Thread Aaron Swenson
commit: 6e0296de0c133a5fc994b8a1cdf21670e18b268c
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Mar 22 10:35:47 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Thu Mar 22 10:35:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0296de

app-office/gnucash: Bump to 2.7.7

Closes: https://bugs.gentoo.org/650996
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/gnucash/Manifest |   1 +
 app-office/gnucash/gnucash-2.7.7.ebuild | 162 
 2 files changed, 163 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index fbc3b471b75..4ded7d909af 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,4 +1,5 @@
 DIST gnucash-2.6.19.tar.bz2 13612124 BLAKE2B 
cc66e4d7994274bb2ad97437333dbe62b0e9228e20e05e01fc7861bc45a8f07bc56d2a69850eda301d5e7f679d96a9d28c24c56a4860cff6727b66867482deae
 SHA512 
0a979caf48ba96d6f37a929036e7172855cfb03af8832f479966bce72fad3400903925134d33aaa31eb6b36a2041f5e0d3f74b88e95b83c7d76e96b1503bec13
 DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61
 SHA512 
d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
 DIST gnucash-2.7.5.tar.bz2 13330271 BLAKE2B 
e06328050a2dd8e80e224cf13f51c1c7151e73f9a1c9f14581f33bfcf8bf07b273962620b7281637101eab8c5eff67a3e5e8e34d81f0c8d263ac33bf6d1eb40c
 SHA512 
68cd6e6f61a43b8837e9efe693d22f62ebe10a8bb7d593814fb6a12d035d74ec1e444f53010ad53c6b1adf28c75aa482403c06052314a91636c2a8baa30e09af
+DIST gnucash-2.7.7.tar.bz2 13368946 BLAKE2B 
06e6815af713235ea31859532911303db4fa5e8dcd50b9111aa513795963eaca29a612eeced27399441f43563753d977468dfd901a49dfa689b5d36e7b985ebf
 SHA512 
b7d91e87c4bc4e604560f4502a86deaafa4f636e9fe2af26db53b11da9f48986c970ba0ed08cb7172ca08a5fb2da451d26976963241206c388a33555c80f28fe
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-2.7.7.ebuild 
b/app-office/gnucash/gnucash-2.7.7.ebuild
new file mode 100644
index 000..11fc957fcff
--- /dev/null
+++ b/app-office/gnucash/gnucash-2.7.7.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+# Add doc back in for 3.0 and bump app-doc/gnucash-docs
+IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
+ python quotes -register2 sqlite"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   >=sys-libs/zlib-1.1.4
+   >=x11-libs/gtk+-3.14.0:3
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   >=sys-devel/gettext-0.19.6
+   dev-lang/perl
+   dev-perl/XML-Parser
+   gnome-base/gnome-common
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+# Uncomment for 3.0
+# PDEPEND="doc? (
+#  ~app-doc/gnucash-docs-${PV}
+#  gnome-extra/yelp
+# )"
+
+#PATCHES=( 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-02-28 Thread Aaron Swenson
commit: de02825419ad15f1261cacba2b5fa5e25ec6e04f
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Feb 28 13:13:49 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Wed Feb 28 13:13:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de028254

app-office/gnucash: Bump to 2.7.5

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-office/gnucash/Manifest |   1 +
 app-office/gnucash/gnucash-2.7.5.ebuild | 162 
 2 files changed, 163 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 346d1dee9a1..fbc3b471b75 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,3 +1,4 @@
 DIST gnucash-2.6.19.tar.bz2 13612124 BLAKE2B 
cc66e4d7994274bb2ad97437333dbe62b0e9228e20e05e01fc7861bc45a8f07bc56d2a69850eda301d5e7f679d96a9d28c24c56a4860cff6727b66867482deae
 SHA512 
0a979caf48ba96d6f37a929036e7172855cfb03af8832f479966bce72fad3400903925134d33aaa31eb6b36a2041f5e0d3f74b88e95b83c7d76e96b1503bec13
 DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61
 SHA512 
d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
+DIST gnucash-2.7.5.tar.bz2 13330271 BLAKE2B 
e06328050a2dd8e80e224cf13f51c1c7151e73f9a1c9f14581f33bfcf8bf07b273962620b7281637101eab8c5eff67a3e5e8e34d81f0c8d263ac33bf6d1eb40c
 SHA512 
68cd6e6f61a43b8837e9efe693d22f62ebe10a8bb7d593814fb6a12d035d74ec1e444f53010ad53c6b1adf28c75aa482403c06052314a91636c2a8baa30e09af
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-2.7.5.ebuild 
b/app-office/gnucash/gnucash-2.7.5.ebuild
new file mode 100644
index 000..5b65c36fec6
--- /dev/null
+++ b/app-office/gnucash/gnucash-2.7.5.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+# Add doc back in for 3.0 and bump app-doc/gnucash-docs
+IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
+ python quotes -register2 sqlite"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   >=sys-libs/zlib-1.1.4
+   >=x11-libs/gtk+-3.14.0:3
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   dev-lang/perl
+   dev-perl/XML-Parser
+   dev-util/intltool
+   gnome-base/gnome-common
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+# Uncomment for 3.0
+# PDEPEND="doc? (
+#  ~app-doc/gnucash-docs-${PV}
+#  gnome-extra/yelp
+# )"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.7.4-fix-tests-for-32bit-platforms.patch )
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_configure() {
+   local sql_on_off="OFF"
+   if use mysql || use postgres || use sqlite ; then
+   sql_on_off="ON"
+   fi
+
+   local mycmakeargs=(
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2018-02-23 Thread Aaron Swenson
commit: 0924e0af0e078bcca0a38df4b628acd7eb0a0b7e
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Feb 23 11:25:56 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Feb 23 11:25:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0924e0af

app-office/gnucash: Small cleanup

Closes: https://bugs.gentoo.org/643566
Closes: https://bugs.gentoo.org/627010
Closes: https://bugs.gentoo.org/639786
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-office/gnucash/Manifest|   2 -
 .../gnucash/files/gnucash-2.7.3-no-gtest-src.patch |  15 --
 app-office/gnucash/gnucash-2.6.15-r1.ebuild| 111 ---
 app-office/gnucash/gnucash-2.6.15.ebuild   | 112 ---
 app-office/gnucash/gnucash-2.7.3.ebuild| 153 
 app-office/gnucash/gnucash-2.7.4.ebuild| 155 -
 6 files changed, 548 deletions(-)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index 5492a6517aa..346d1dee9a1 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,5 +1,3 @@
-DIST gnucash-2.6.15.tar.bz2 13406483 BLAKE2B 
927838c5c9c11a19eb9f8e11726825458d5b414f4ef24baf1a7ae15c33825eeed2fd87892e728b37c43385360fd06a60df0bade4244b5c93dac5522f09849c92
 SHA512 
6ec0652565025ac8281152ed64f2f820ecdb17ead5f17738728e094d116e638a08af57a46c0d5b59679f30f142ce372a5f61bd164f68f6b608d09de37cec38c6
 DIST gnucash-2.6.19.tar.bz2 13612124 BLAKE2B 
cc66e4d7994274bb2ad97437333dbe62b0e9228e20e05e01fc7861bc45a8f07bc56d2a69850eda301d5e7f679d96a9d28c24c56a4860cff6727b66867482deae
 SHA512 
0a979caf48ba96d6f37a929036e7172855cfb03af8832f479966bce72fad3400903925134d33aaa31eb6b36a2041f5e0d3f74b88e95b83c7d76e96b1503bec13
-DIST gnucash-2.7.3.tar.bz2 13736166 BLAKE2B 
352c7bd9fe11b3b1b039acedb43be6f48960fac7ef6e4eaca5ca1ce944808d2d36c3a22b15b7150b8026bad10bfa0766fd19ac8d1b4f5f2cb2bcb8c112ee87bc
 SHA512 
78c482eb3146406d561320866c480101cf35c51d8ab789e8d2688c7f7e16d1870b33feb7bcdb3cd8feaca300ce9bcf9fa05ba8e1804b221526d181763dcea611
 DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61
 SHA512 
d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/files/gnucash-2.7.3-no-gtest-src.patch 
b/app-office/gnucash/files/gnucash-2.7.3-no-gtest-src.patch
deleted file mode 100644
index 66c1f9fec85..000
--- a/app-office/gnucash/files/gnucash-2.7.3-no-gtest-src.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Bug: https://bugs.gentoo.org/643566
-
 a/common/test-core/Makefile.am
-+++ b/common/test-core/Makefile.am
-@@ -80,9 +80,9 @@
- libgmock.a
- nodist_libgtest_a_SOURCES = ${GTEST_SRC}/src/gtest-all.cc
- libgtest_a_CPPFLAGS = ${AM_CPPFLAGS} -I${GTEST_HEADERS} -I${GTEST_SRC}
--endif
- nodist_libgmock_a_SOURCES = ${GMOCK_SRC_PATH}/gmock-all.cc
- libgmock_a_CPPFLAGS = ${libgtest_a_CPPFLAGS} -I${GMOCK_HEADERS} -I${GMOCK_SRC}
-+endif
- 
- gncscmmoddir = ${GNC_SCM_INSTALL_DIR}/gnucash
- gncscmmod_DATA = unittest-support.scm

diff --git a/app-office/gnucash/gnucash-2.6.15-r1.ebuild 
b/app-office/gnucash/gnucash-2.6.15-r1.ebuild
deleted file mode 100644
index 9cf0d0ea6d3..000
--- a/app-office/gnucash/gnucash-2.6.15-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools gnome2 python-single-r1
-
-DESCRIPTION="A personal finance manager"
-HOMEPAGE="http://www.gnucash.org/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="chipcard debug +doc gnome-keyring hbci mysql ofx postgres python quotes 
sqlite"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see 
configure.ac)
-# libdbi version requirement for sqlite taken from bug #455134
-RDEPEND="
-   >=dev-libs/glib-2.32.0:2
-   >=dev-libs/popt-1.5
-   >=dev-libs/libxml2-2.5.10:2
-   dev-libs/libxslt
-   >=dev-scheme/guile-2.0.0:12=[deprecated,regex]
-   dev-scheme/guile-www
-   gnome-base/libgnomecanvas
-   >=net-libs/webkit-gtk-1.2:2
-   >=sys-libs/zlib-1.1.4
-   >=x11-libs/gtk+-2.24:2
-   >=x11-libs/goffice-0.7.0:0.8[gnome]
-   x11-libs/pango
-   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
-   ofx? ( >=dev-libs/libofx-0.9.1 )
-   

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-02-22 Thread Thomas Deutschmann
commit: 127e79cd23b52ead8eb584d8dca0ce215294849c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Feb 22 11:45:31 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Feb 22 11:45:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=127e79cd

app-office/gnucash: x86 stable (bug #647112)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/gnucash/gnucash-2.7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-2.7.4-r1.ebuild 
b/app-office/gnucash/gnucash-2.7.4-r1.ebuild
index 3e3690ce231..770723b97a1 100644
--- a/app-office/gnucash/gnucash-2.7.4-r1.ebuild
+++ b/app-office/gnucash/gnucash-2.7.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 
 # Add doc back in for 3.0 and bump app-doc/gnucash-docs
 IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/

2018-02-22 Thread Thomas Deutschmann
commit: 432f3f5e66e510ae29429064071ce83465ad6bb5
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Feb 22 11:44:00 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Feb 22 11:44:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432f3f5e

app-office/gnucash: Add patch to address test failures on 32-bit platforms

Bug: https://bugs.gentoo.org/647596
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 ...ucash-2.7.4-fix-tests-for-32bit-platforms.patch | 56 ++
 app-office/gnucash/gnucash-2.7.4-r1.ebuild |  5 +-
 2 files changed, 60 insertions(+), 1 deletion(-)

diff --git 
a/app-office/gnucash/files/gnucash-2.7.4-fix-tests-for-32bit-platforms.patch 
b/app-office/gnucash/files/gnucash-2.7.4-fix-tests-for-32bit-platforms.patch
new file mode 100644
index 000..ec0e83a80bf
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-2.7.4-fix-tests-for-32bit-platforms.patch
@@ -0,0 +1,56 @@
+From 3a0d2009741cdf825492020acab7c85867a60589 Mon Sep 17 00:00:00 2001
+From: Thomas Deutschmann 
+Date: Thu, 22 Feb 2018 12:27:36 +0100
+Subject: [PATCH] tests: Skip tests for dates on 32-bit platforms which cannot
+ be representated
+
+Tests "test_IANA_Perth_tz" and "test_IANA_Minsk_tz" are failing on 32-bit
+platforms because the earliest timestamp which can be representated on a
+32-bit platform is "1901-12-13 20:45:52" but the test ranges start before
+that date.
+
+To be safe, this commit will add code to skip tests before year 1902 on
+32-bit platforms.
+
+Bug: https://bugs.gentoo.org/647596
+---
+ libgnucash/engine/test/gtest-gnc-timezone.cpp | 16 
+ 1 file changed, 16 insertions(+)
+
+diff --git a/libgnucash/engine/test/gtest-gnc-timezone.cpp 
b/libgnucash/engine/test/gtest-gnc-timezone.cpp
+index 5c46b2618..298220f6e 100644
+--- a/libgnucash/engine/test/gtest-gnc-timezone.cpp
 b/libgnucash/engine/test/gtest-gnc-timezone.cpp
+@@ -154,6 +154,14 @@ TEST(gnc_timezone_constructors, test_IANA_Perth_tz)
+ }
+ else if (year < 1916)
+ #else
++if (year < 1902)
++{
++// Earliest timestamp which can be represented on a 32-bit
++// system is "1901-12-13 20:45:52" -- so skip tests until we
++// reach a year >1901 to be safe
++continue;
++}
++
+ if (year < 1916)
+ #endif
+ {
+@@ -216,6 +224,14 @@ TEST(gnc_timezone_constructors, test_IANA_Minsk_tz)
+ }
+ else if (year < 1924)
+ #else
++if (year < 1902)
++{
++// Earliest timestamp which can be represented on a 32-bit
++// system is "1901-12-13 20:45:52" -- so skip tests until we
++// reach a year >1901 to be safe
++continue;
++}
++
+ if (year < 1924)
+ #endif
+ {
+-- 
+2.16.2
+

diff --git a/app-office/gnucash/gnucash-2.7.4-r1.ebuild 
b/app-office/gnucash/gnucash-2.7.4-r1.ebuild
index b51571b500e..3e3690ce231 100644
--- a/app-office/gnucash/gnucash-2.7.4-r1.ebuild
+++ b/app-office/gnucash/gnucash-2.7.4-r1.ebuild
@@ -82,7 +82,10 @@ DEPEND="${RDEPEND}
 #  gnome-extra/yelp
 # )"
 
-PATCHES=( "${FILESDIR}"/gnucash-2.7.4-double_free.patch )
+PATCHES=(
+   "${FILESDIR}"/${P}-double_free.patch
+   "${FILESDIR}"/${P}-fix-tests-for-32bit-platforms.patch
+)
 
 pkg_setup() {
use python && python-single-r1_pkg_setup



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-02-18 Thread Jason Zaman
commit: 5852bd904740a0b267a06eb3c6930035d2d0bcb1
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Feb 18 17:48:33 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Feb 18 17:49:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5852bd90

app-office/gnucash: amd64 stable

Gentoo-bug: 647112
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-office/gnucash/gnucash-2.7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-2.7.4-r1.ebuild 
b/app-office/gnucash/gnucash-2.7.4-r1.ebuild
index 453271a8061..b51571b500e 100644
--- a/app-office/gnucash/gnucash-2.7.4-r1.ebuild
+++ b/app-office/gnucash/gnucash-2.7.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 
 # Add doc back in for 3.0 and bump app-doc/gnucash-docs
 IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres



[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/, app-office/gnucash/files/

2018-02-18 Thread Aaron Swenson
commit: abd6bba4c31bb6e546bb8e1da37fa971ffa55746
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Feb 18 12:31:26 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun Feb 18 12:31:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd6bba4

app-office/gnucash: Fix 2.7.4 test failures

Fix a double-free bug in test-userdata-dir.c.

Copy over common/test-core/unittest_support.py to the BUILDDIR so that
it can be sourced by the python-bindings test.

Set XDG_DATA_HOME so that it’s pointing to the same place as TMPDIR.

Not fixed: Locale dependent tests. /etc/locale.gen needs the
following:

en_GB.UTF-8 UTF-8
en_US.UTF-8 UTF-8
fr_FR.UTF-8 UTF-8

Bug: https://bugs.gentoo.org/647596
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../gnucash/files/gnucash-2.7.4-double_free.patch  |  12 ++
 app-office/gnucash/gnucash-2.7.4-r1.ebuild | 162 +
 2 files changed, 174 insertions(+)

diff --git a/app-office/gnucash/files/gnucash-2.7.4-double_free.patch 
b/app-office/gnucash/files/gnucash-2.7.4-double_free.patch
new file mode 100644
index 000..9d82e72f96b
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-2.7.4-double_free.patch
@@ -0,0 +1,12 @@
+diff --git a/libgnucash/core-utils/test/test-userdata-dir.c 
b/libgnucash/core-utils/test/test-userdata-dir.c
+index 5a8cd5c50..a702a56aa 100644
+--- a/libgnucash/core-utils/test/test-userdata-dir.c
 b/libgnucash/core-utils/test/test-userdata-dir.c
+@@ -338,7 +338,6 @@ main(int argc, char **argv)
+ 
+ /* Clean up the temporaries that were created for the GNC_DATA_HOME test 
run */
+ g_free (home_dir);
+-g_free (tmp_dir);
+ tmp_dir = g_build_filename(gnc_data_home_dir, "data", (gchar *)NULL);
+ g_rmdir (tmp_dir);
+ g_free (tmp_dir);

diff --git a/app-office/gnucash/gnucash-2.7.4-r1.ebuild 
b/app-office/gnucash/gnucash-2.7.4-r1.ebuild
new file mode 100644
index 000..453271a8061
--- /dev/null
+++ b/app-office/gnucash/gnucash-2.7.4-r1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+# Add doc back in for 3.0 and bump app-doc/gnucash-docs
+IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
+ python quotes -register2 sqlite"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   >=sys-libs/zlib-1.1.4
+   >=x11-libs/gtk+-3.14.0:3
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   dev-lang/perl
+   dev-perl/XML-Parser
+   dev-util/intltool
+   gnome-base/gnome-common
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+# Uncomment for 3.0
+# PDEPEND="doc? (
+#  ~app-doc/gnucash-docs-${PV}
+#  gnome-extra/yelp
+# )"
+
+PATCHES=( "${FILESDIR}"/gnucash-2.7.4-double_free.patch )
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+   xdg_environment_reset
+}
+
+src_configure() {
+   local sql_on_off="OFF"
+   if use mysql || use postgres || use sqlite ; then
+   sql_on_off="ON"
+   fi
+
+   local mycmakeargs=(
+   -DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
+   -DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
+
+   -DDISABLE_NLS=$(usex 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-02-04 Thread Aaron Swenson
commit: aded6a6065e013270441cbfd653cb1fbf88bb3fe
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Feb  4 16:19:37 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun Feb  4 16:19:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aded6a60

app-office/gnucash: Bump to 2.7.4

Now using cmake build system.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-office/gnucash/Manifest |   2 +
 app-office/gnucash/gnucash-2.7.4.ebuild | 155 
 2 files changed, 157 insertions(+)

diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
index f32abd8c022..5492a6517aa 100644
--- a/app-office/gnucash/Manifest
+++ b/app-office/gnucash/Manifest
@@ -1,3 +1,5 @@
 DIST gnucash-2.6.15.tar.bz2 13406483 BLAKE2B 
927838c5c9c11a19eb9f8e11726825458d5b414f4ef24baf1a7ae15c33825eeed2fd87892e728b37c43385360fd06a60df0bade4244b5c93dac5522f09849c92
 SHA512 
6ec0652565025ac8281152ed64f2f820ecdb17ead5f17738728e094d116e638a08af57a46c0d5b59679f30f142ce372a5f61bd164f68f6b608d09de37cec38c6
 DIST gnucash-2.6.19.tar.bz2 13612124 BLAKE2B 
cc66e4d7994274bb2ad97437333dbe62b0e9228e20e05e01fc7861bc45a8f07bc56d2a69850eda301d5e7f679d96a9d28c24c56a4860cff6727b66867482deae
 SHA512 
0a979caf48ba96d6f37a929036e7172855cfb03af8832f479966bce72fad3400903925134d33aaa31eb6b36a2041f5e0d3f74b88e95b83c7d76e96b1503bec13
 DIST gnucash-2.7.3.tar.bz2 13736166 BLAKE2B 
352c7bd9fe11b3b1b039acedb43be6f48960fac7ef6e4eaca5ca1ce944808d2d36c3a22b15b7150b8026bad10bfa0766fd19ac8d1b4f5f2cb2bcb8c112ee87bc
 SHA512 
78c482eb3146406d561320866c480101cf35c51d8ab789e8d2688c7f7e16d1870b33feb7bcdb3cd8feaca300ce9bcf9fa05ba8e1804b221526d181763dcea611
+DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 
0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61
 SHA512 
d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
+DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B 
ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6
 SHA512 
1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d

diff --git a/app-office/gnucash/gnucash-2.7.4.ebuild 
b/app-office/gnucash/gnucash-2.7.4.ebuild
new file mode 100644
index 000..a3320783baa
--- /dev/null
+++ b/app-office/gnucash/gnucash-2.7.4.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# google{test,mock} version
+GV="1.8.0"
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> 
gtest-${GV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+# Add doc back in for 3.0 and bump app-doc/gnucash-docs
+IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
+ python quotes -register2 sqlite"
+REQUIRED_USE="
+   chipcard? ( aqbanking )
+   python? ( ${PYTHON_REQUIRED_USE} )"
+
+# libdbi version requirement for sqlite taken from bug #455134
+#
+# dev-libs/boost must always be built with nls enabled.
+RDEPEND="
+   >=dev-libs/glib-2.40.0:2
+   >=dev-libs/libxml2-2.7.0:2
+   >=dev-scheme/guile-2.0.0:12=[regex]
+   >=sys-libs/zlib-1.1.4
+   >=x11-libs/gtk+-3.14.0:3
+   dev-libs/boost:=[icu,nls]
+   dev-libs/icu:=
+   dev-libs/libxslt
+   gnome-base/dconf
+   net-libs/webkit-gtk:4=
+   aqbanking? (
+   >=net-libs/aqbanking-5[gtk,ofx?]
+   sys-libs/gwenhywfar[gtk]
+   chipcard? ( sys-libs/libchipcard )
+   )
+   gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+   mysql? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[mysql]
+   )
+   ofx? ( >=dev-libs/libofx-0.9.1 )
+   postgres? (
+   dev-db/libdbi
+   dev-db/libdbi-drivers[postgres]
+   )
+   python? ( ${PYTHON_DEPS} )
+   quotes? (
+   >=dev-perl/Finance-Quote-1.11
+   dev-perl/Date-Manip
+   dev-perl/HTML-TableExtract
+   )
+   sqlite? (
+   >=dev-db/libdbi-0.9.0
+   >=dev-db/libdbi-drivers-0.9.0[sqlite]
+   )
+"
+
+DEPEND="${RDEPEND}
+   ~dev-cpp/gtest-${GV}
+   dev-lang/perl
+   dev-perl/XML-Parser
+   dev-util/intltool
+   gnome-base/gnome-common
+   sys-devel/libtool
+   virtual/pkgconfig
+"
+
+# Uncomment for 3.0
+# PDEPEND="doc? (
+#  ~app-doc/gnucash-docs-${PV}
+#  gnome-extra/yelp
+# )"
+
+pkg_setup() {
+   use python && 

[gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/

2018-01-22 Thread Aaron Swenson
commit: e8c17a01a6632df5bd1f1435860f0681da5d0fc4
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Jan 22 11:12:44 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Mon Jan 22 11:13:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c17a01

app-office/gnucash: Put -j1 back in for install

Closes: https://bugs.gentoo.org/645198
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-office/gnucash/gnucash-2.7.3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-office/gnucash/gnucash-2.7.3.ebuild 
b/app-office/gnucash/gnucash-2.7.3.ebuild
index 9bf87b6b715..1dacaa9f659 100644
--- a/app-office/gnucash/gnucash-2.7.3.ebuild
+++ b/app-office/gnucash/gnucash-2.7.3.ebuild
@@ -131,7 +131,9 @@ src_test() {
 }
 
 src_install() {
-   gnome2_src_install
+   # Parallel installation fails from time to time, bug #359123
+   # Usually reproducible after removing any gnucash installed copy
+   MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install
 
rm "${ED}"/usr/share/doc/${PF}/{COPYING,INSTALL,projects.html} || die
rm "${ED}"/usr/share/doc/${PF}/*win32-bin.txt || die



  1   2   >