From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF1D513835A for ; Sat, 15 May 2021 14:22:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45FD4E0839; Sat, 15 May 2021 14:22:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3080AE0839 for ; Sat, 15 May 2021 14:22:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB79D34092E for ; Sat, 15 May 2021 14:22:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59B9975F for ; Sat, 15 May 2021 14:22:33 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1621088525.80fcab05e40d3f94629f049d173ca2aba6ff8fbe.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/gramps/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/gramps/gramps-5.1.3.ebuild app-misc/gramps/metadata.xml X-VCS-Directories: app-misc/gramps/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 80fcab05e40d3f94629f049d173ca2aba6ff8fbe X-VCS-Branch: master Date: Sat, 15 May 2021 14:22:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a295e6f8-56c9-48c0-a7ad-c2b5e758f4e9 X-Archives-Hash: 1126da75d12af0ef090e276922f8158b commit: 80fcab05e40d3f94629f049d173ca2aba6ff8fbe Author: Marek Szuba gentoo org> AuthorDate: Sat May 15 14:12:09 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sat May 15 14:22:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80fcab05 app-misc/gramps: make BerkeleyDB support optional Some of the tests still fail when bsddb3 is absent but in spite of what the README says, it is not a mandatory dependency any more and the BSDDB family-tree backend has been deprecated since 5.1.0 in favour of SQLite. Signed-off-by: Marek Szuba gentoo.org> app-misc/gramps/gramps-5.1.3.ebuild | 11 +++++++++-- app-misc/gramps/metadata.xml | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app-misc/gramps/gramps-5.1.3.ebuild b/app-misc/gramps/gramps-5.1.3.ebuild index 0c5ddbf8781..b02679ec1bc 100644 --- a/app-misc/gramps/gramps-5.1.3.ebuild +++ b/app-misc/gramps/gramps-5.1.3.ebuild @@ -17,15 +17,15 @@ SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" -IUSE="+rcs +reports exif geo postscript spell test" +IUSE="berkdb exif geo postscript +rcs +reports spell test" RESTRICT="!test? ( test )" RDEPEND=" $(python_gen_cond_dep ' - dev-python/bsddb3[${PYTHON_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}] >=dev-python/pygobject-3.12:3[cairo,${PYTHON_USEDEP}] dev-python/pyicu[${PYTHON_USEDEP}] + berkdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] ) exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] ) ') gnome-base/librsvg:2 @@ -95,6 +95,13 @@ python_install() { pkg_postinst() { xdg_desktop_database_update xdg_mimeinfo_database_update + + if use berkdb; then + ewarn "The BSDDB back-end in ${PN} has got known stability and data-corruption issues. It has been deprecated since version 5.1.0 and might be removed in 5.2.0." + ewarn "If you have any family trees in this format you are highly advised to convert them to SQLite, as described here:" + ewarn + ewarn "https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Manage_Family_Trees#Converting_a_BSDDB_Family_Tree_to_SQLite" + fi } pkg_postrm() { diff --git a/app-misc/gramps/metadata.xml b/app-misc/gramps/metadata.xml index 676ea64bf00..c6c84d61a5b 100644 --- a/app-misc/gramps/metadata.xml +++ b/app-misc/gramps/metadata.xml @@ -88,6 +88,7 @@ zapolnjevanju vrzeli v rodoslovnih podatkih. + Support BerkeleyDB-based family trees produced by older versions of Gramps Enable rendering of geographical data using sci-geosciences/osm-gps-map All external software that is needed for graphical reports will be installed Adds support for family tree archives via dev-vcs/rcs