public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/
Date: Tue,  6 Dec 2022 12:02:31 +0000 (UTC)	[thread overview]
Message-ID: <1670328131.e8193b177eb10c32899f3819af0f5c6d48122453.sam@gentoo> (raw)

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

app-office/gnucash: style fixes

Signed-off-by: Sam James <sam <AT> 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 <mscardovi@icloud.com>
 Date: Sat, 26 Nov 2022 22:38:02 +0100
 Subject: [PATCH] Fix test
 
 Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
----
- 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 <mscardovi@icloud.com>
 Date: Thu, 24 Nov 2022 23:20:07 +0100
 Subject: [PATCH] Fix test
 
 Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
----
- 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


             reply	other threads:[~2022-12-06 12:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06 12:02 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-14  8:12 [gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/ Sam James
2023-09-23 21:08 Aaron W. Swenson
2023-03-17 16:03 Sam James
2023-03-16 12:47 Aaron W. Swenson
2022-12-06 12:02 Sam James
2020-03-28 21:46 Aaron W. Swenson
2019-01-09 13:06 Aaron W. Swenson
2018-02-23 11:26 Aaron Swenson
2018-02-22 11:45 Thomas Deutschmann
2018-01-15 10:37 Aaron Swenson
2016-07-02 10:43 Pacho Ramos
2015-11-11 13:04 Gilles Dartiguelongue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1670328131.e8193b177eb10c32899f3819af0f5c6d48122453.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox