summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Scardovi <mscardovi@icloud.com>2022-12-19 23:30:53 +0100
committerSam James <sam@gentoo.org>2022-12-26 07:03:12 +0000
commit4c8f2d16fe7ca3b878db262dc1f5749d4e548023 (patch)
treea9ae45ceda48197f71e1ed05c28dd4e596405b02
parentsys-kernel/rt-sources: drop 5.15.79_p54 (diff)
downloadgentoo-4c8f2d16fe7ca3b878db262dc1f5749d4e548023.tar.gz
gentoo-4c8f2d16fe7ca3b878db262dc1f5749d4e548023.tar.bz2
gentoo-4c8f2d16fe7ca3b878db262dc1f5749d4e548023.zip
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 <mscardovi@icloud.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-office/gnucash/gnucash-4.12-r1.ebuild (renamed from app-office/gnucash/gnucash-4.12.ebuild)26
1 files changed, 12 insertions, 14 deletions
diff --git a/app-office/gnucash/gnucash-4.12.ebuild b/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() {