Date: Sat, 24 Feb 2024 10:42:46 GMT From: Nuno Teixeira <eduardo@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8fcccd323474 - main - science/gramps: Update to 5.2.0 Message-ID: <202402241042.41OAgkit030221@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=8fcccd3234746faee3ad6938e045753214a68dc5 commit 8fcccd3234746faee3ad6938e045753214a68dc5 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2024-02-24 07:52:44 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2024-02-24 10:42:25 +0000 science/gramps: Update to 5.2.0 ChangeLog: https://github.com/gramps-project/gramps/releases/tag/v5.2.0 --- science/gramps/Makefile | 6 +----- science/gramps/distinfo | 6 +++--- science/gramps/files/patch-data_gramps.xml.in | 19 ------------------- .../files/patch-gramps_gen_utils_grampslocale.py | 20 -------------------- 4 files changed, 4 insertions(+), 47 deletions(-) diff --git a/science/gramps/Makefile b/science/gramps/Makefile index 7f1f0089b198..1eac37a93fb2 100644 --- a/science/gramps/Makefile +++ b/science/gramps/Makefile @@ -1,7 +1,6 @@ PORTNAME= gramps DISTVERSIONPREFIX= v -DISTVERSION= 5.1.6 -PORTREVISION= 1 +DISTVERSION= 5.2.0 CATEGORIES= science gnome python MAINTAINER= eduardo@FreeBSD.org @@ -40,7 +39,4 @@ PIL_RUN_DEPENDS= ${PY_PILLOW} RCS_RUN_DEPENDS= rcsdiff:devel/rcs TTFFREEFONT_RUN_DEPENDS= ${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf -post-install: - ${ECHO_CMD} -n ${PREFIX}/share > ${STAGEDIR}${PYTHON_SITELIBDIR}/gramps/gen/utils/resource-path - .include <bsd.port.mk> diff --git a/science/gramps/distinfo b/science/gramps/distinfo index 5dc29bc56320..15268b9b4e6f 100644 --- a/science/gramps/distinfo +++ b/science/gramps/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1688108081 -SHA256 (gramps-project-gramps-v5.1.6_GH0.tar.gz) = bff0b5694e77e0f7075fb76481c4523d37646cc042c8dd9897ff2e0cd401fa3b -SIZE (gramps-project-gramps-v5.1.6_GH0.tar.gz) = 17429153 +TIMESTAMP = 1708717465 +SHA256 (gramps-project-gramps-v5.2.0_GH0.tar.gz) = e368bbb9f5647eeb6dde8f5941b502d26f6969fba1e2fc5367d1cd4d9a725e91 +SIZE (gramps-project-gramps-v5.2.0_GH0.tar.gz) = 21057445 diff --git a/science/gramps/files/patch-data_gramps.xml.in b/science/gramps/files/patch-data_gramps.xml.in deleted file mode 100644 index 48dff01ff3bd..000000000000 --- a/science/gramps/files/patch-data_gramps.xml.in +++ /dev/null @@ -1,19 +0,0 @@ ---- data/gramps.xml.in.orig 2023-06-29 20:37:13 UTC -+++ data/gramps.xml.in -@@ -6,16 +6,6 @@ - <_comment>Gramps database</_comment> - <glob pattern="*.grdb"/> - </mime-type> -- <mime-type type="application/x-gedcom"> -- <_comment>GEDCOM</_comment> -- <glob pattern="*.ged"/> -- <glob pattern="*.gedcom"/> -- <glob pattern="*.GED"/> -- <glob pattern="*.GEDCOM"/> -- <magic priority="80"> -- <match type="string" value="0 HEAD" offset="0:1"/> -- </magic> -- </mime-type> - <mime-type type="application/x-gramps-package"> - <_comment>Gramps package</_comment> - <glob pattern="*.gpkg"/> diff --git a/science/gramps/files/patch-gramps_gen_utils_grampslocale.py b/science/gramps/files/patch-gramps_gen_utils_grampslocale.py deleted file mode 100644 index 7f29913142d1..000000000000 --- a/science/gramps/files/patch-gramps_gen_utils_grampslocale.py +++ /dev/null @@ -1,20 +0,0 @@ ---- gramps/gen/utils/grampslocale.py.orig 2023-06-29 20:37:13 UTC -+++ gramps/gen/utils/grampslocale.py -@@ -525,9 +525,14 @@ class GrampsLocale: - # with locale instead of gettext. Win32 doesn't support bindtextdomain. - if self.localedir: - if not sys.platform == 'win32': -- # bug12278, _build_popup_ui() under linux and macOS -- locale.textdomain(self.localedomain) -- locale.bindtextdomain(self.localedomain, self.localedir) -+ if hasattr(locale, 'textdomain'): -+ # bug12278, _build_popup_ui() under linux and macOS -+ locale.textdomain(self.localedomain) -+ locale.bindtextdomain(self.localedomain, self.localedir) -+ else: -+ import gettext -+ gettext.textdomain(self.localedomain) -+ gettext.bindtextdomain(self.localedomain, self.localedir) - else: - self._win_bindtextdomain(self.localedomain.encode('utf-8'), - self.localedir.encode('utf-8'))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402241042.41OAgkit030221>