From owner-svn-ports-all@freebsd.org Thu May 19 21:16:13 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9484BB417E6; Thu, 19 May 2016 21:16:13 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A0231D82; Thu, 19 May 2016 21:16:13 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JLGCes012367; Thu, 19 May 2016 21:16:12 GMT (envelope-from woodsb02@FreeBSD.org) Received: (from woodsb02@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4JLGCt8012362; Thu, 19 May 2016 21:16:12 GMT (envelope-from woodsb02@FreeBSD.org) Message-Id: <201605192116.u4JLGCt8012362@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: woodsb02 set sender to woodsb02@FreeBSD.org using -f From: Ben Woods Date: Thu, 19 May 2016 21:16:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415529 - in head/science/gramps: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 21:16:13 -0000 Author: woodsb02 Date: Thu May 19 21:16:11 2016 New Revision: 415529 URL: https://svnweb.freebsd.org/changeset/ports/415529 Log: science/gramps: Update to 4.2.3 - Take maintainership - Convert to USE_GITHUB (new location of main upstream repository) - Update dependencies for new version (namely python 3.2+ and GTK3) [1] - Convert "strongly recommended" options to dependencies (removing option) [1] - Add "optional" dependencies as OPTIONS [1] - Remove pkg-plist and convert build to USE_PYTHON=autoplist distutils - Remove pre-extract upgrade warning as it is ineffective for pkg upgrades and now only applies for systems which have not been upgraded in 1.5 years. - Add post-stage hack to fix staging support, copied from Arch Linux [2] - Delete files/patch-src_gramps.py as the offending file has been removed - Add files/patch-setup.py to allow "--single-version-externally-managed" [3] - Add files/patch-setup.py to fix double slashes in generated by autoplist [4] Changes: https://github.com/gramps-project/gramps/blob/v4.2.3/NEWS [1] https://github.com/gramps-project/gramps/blob/v4.2.3/README [2] https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/gramps&id=ee1c7fae15872481d8f55868f4211efcbce15314 [3] https://github.com/gramps-project/gramps/commit/ab67c786b03552ce4b0ac8f0ed9d7af228d46fe4 [4] https://github.com/gramps-project/gramps/pull/96 PR: 207005 Reviewed by: mat (mentor) Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D6439 Added: head/science/gramps/files/patch-setup.py (contents, props changed) Deleted: head/science/gramps/files/patch-src_gramps.py head/science/gramps/pkg-plist Modified: head/science/gramps/Makefile head/science/gramps/distinfo head/science/gramps/files/patch-data_gramps.xml.in head/science/gramps/pkg-descr Modified: head/science/gramps/Makefile ============================================================================== --- head/science/gramps/Makefile Thu May 19 21:14:19 2016 (r415528) +++ head/science/gramps/Makefile Thu May 19 21:16:11 2016 (r415529) @@ -2,50 +2,48 @@ # $FreeBSD$ PORTNAME= gramps -PORTVERSION= 3.4.9 -PORTREVISION= 3 +PORTVERSION= 4.2.3 +DISTVERSIONPREFIX= v CATEGORIES= science gnome python -MASTER_SITES= SF/${PORTNAME}/Stable/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= GTK/GNOME-based genealogy program +MAINTAINER= woodsb02@FreeBSD.org +COMMENT= GTK3-based genealogy program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:databases/py-bsddb \ - ${PYTHON_PKGNAMEPREFIX}pyicu>=1.8:devel/py-pyicu +LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb3>0:databases/py3-bsddb3 \ + ${PYTHON_PKGNAMEPREFIX}pyicu>=1.8:devel/py3-pyicu \ + ${PYTHON_PKGNAMEPREFIX}pygraphviz>=0:graphics/py3-pygraphviz \ + xdg-open:devel/xdg-utils + +USE_GITHUB= yes +GH_ACCOUNT= gramps-project NO_ARCH= yes -USE_BDB= 5+ -USES= desktop-file-utils gettext shared-mime-info gmake python:2 -USE_GNOME= pygtk2 intltool -GNU_CONFIGURE= yes +USES= desktop-file-utils gettext shared-mime-info python:3.2+ +USE_GNOME= cairo gtk30 intltool librsvg2 pango py3gobject3 +USE_PYTHON= autoplist distutils CONFIGURE_ARGS= --disable-mime-install -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib INSTALLS_OMF= yes INSTALLS_ICONS= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -OPTIONS_DEFINE= ENCHANT PYWEBKITGTK GNOME GRAPHVIZ EXIV -OPTIONS_DEFAULT= PYWEBKITGTK GRAPHVIZ EXIV -ENCHANT_DESC= Spellchecking support -PYWEBKITGTK_DESC= Use webkit backend for Geographic view -EXIV_DESC= Managing exiv metadata support - -ENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>=0:textproc/py-enchant -EXIV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}exiv2>=0.1.3:graphics/py-exiv2 -GNOME_USE= GNOME=pygnome2,gnomedocutils -GRAPHVIZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygraphviz>=0:graphics/py-pygraphviz -PYWEBKITGTK_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}webkitgtk>=0:www/py-webkitgtk - -pre-extract: - @${ECHO_MSG} "==========================================================" - @${ECHO_MSG} "*WARNING*: The Berkeley DB has been upgraded to version 5." - @${ECHO_MSG} "Cancel this installation now and export your databases if" - @${ECHO_MSG} "you are upgrading from a Gramps version older than 3.4.X" - @${ECHO_MSG} "==========================================================" - @sleep 5 +OPTIONS_DEFINE= GEXIV GTKSPELL PIL RCS TTFFREEFONT +OPTIONS_DEFAULT= GEXIV GTKSPELL +GEXIV_DESC= Manage Exif metadata embedded in media +GTKSPELL_DESC= Spell checking support via gtkspell +PIL_DESC= Crop/convert images with Python Imaging Library (Pillow) +RCS_DESC= Manage revisions of family trees with with GNU RCS +TTFFREEFONT_DESC= More font support in reports + +GEXIV_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 +GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 +PIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py3-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 Modified: head/science/gramps/distinfo ============================================================================== --- head/science/gramps/distinfo Thu May 19 21:14:19 2016 (r415528) +++ head/science/gramps/distinfo Thu May 19 21:16:11 2016 (r415529) @@ -1,2 +1,3 @@ -SHA256 (gramps-3.4.9.tar.gz) = 402a8616efeda730d10941690edb6dfb2719c3f7383e376a404577412676a8f3 -SIZE (gramps-3.4.9.tar.gz) = 10190446 +TIMESTAMP = 1463590803 +SHA256 (gramps-project-gramps-v4.2.3_GH0.tar.gz) = a7c998a8303a84bd05a6067b5aba230cf6037a29dcdb3e7ca6c06969da4590a5 +SIZE (gramps-project-gramps-v4.2.3_GH0.tar.gz) = 18668778 Modified: head/science/gramps/files/patch-data_gramps.xml.in ============================================================================== --- head/science/gramps/files/patch-data_gramps.xml.in Thu May 19 21:14:19 2016 (r415528) +++ head/science/gramps/files/patch-data_gramps.xml.in Thu May 19 21:16:11 2016 (r415529) @@ -1,5 +1,5 @@ ---- data/gramps.xml.in.orig 2010-11-18 09:58:56.000000000 +0300 -+++ data/gramps.xml.in 2010-12-09 13:24:49.000000000 +0300 +--- data/gramps.xml.in.orig 2016-01-06 16:44:13 UTC ++++ data/gramps.xml.in @@ -7,16 +7,6 @@ <_comment>Gramps database Added: head/science/gramps/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/gramps/files/patch-setup.py Thu May 19 21:16:11 2016 (r415529) @@ -0,0 +1,25 @@ +--- setup.py.orig 2016-01-06 16:44:13 UTC ++++ setup.py +@@ -56,6 +56,11 @@ ALL_LINGUAS = ('ar', 'bg', 'ca', 'cs', ' + 'zh_CN', 'zh_HK', 'zh_TW') + INTLTOOL_FILES = ('data/tips.xml', 'gramps/plugins/lib/holidays.xml') + ++svem_flag = '--single-version-externally-managed' ++if svem_flag in sys.argv: ++ # Die, setuptools, die. ++ sys.argv.remove(svem_flag) ++ + server = False + if '--server' in sys.argv: + sys.argv.remove('--server') +@@ -180,8 +185,8 @@ def build_man(build_cmd): + filename = False + + lang = man_dir[8:] +- src = build_cmd.build_base + '/data/man/' + lang + '/gramps.1.gz' +- target = 'share/man/' + lang + '/man1' ++ src = build_cmd.build_base + '/data/man' + lang + '/gramps.1.gz' ++ target = 'share/man' + lang + '/man1' + data_files.append((target, [src])) + + log.info('Compiling %s >> %s.', src, target) Modified: head/science/gramps/pkg-descr ============================================================================== --- head/science/gramps/pkg-descr Thu May 19 21:14:19 2016 (r415528) +++ head/science/gramps/pkg-descr Thu May 19 21:16:11 2016 (r415529) @@ -1,9 +1,15 @@ -GRAMPS (Genealogical Research and Analysis Management Programming System) -is an open source genealogy program. -To put it shortly, it allows you to store, edit, and research genealogical -data using your computer. Its functionality is somewhat common to other -genealogical programs. However, GRAMPS offers some unique features. +Research, organize and share your family tree with GRAMPS +(Genealogical Research and Analysis Management Programming System). +Gramps gives you the ability to record the many details of an +individual's life as well as the complex relationships between +various people, places and events. All of your research is kept +organized, searchable and as precise as you need it to be. -It is written in Python, using the GTK/GNOME interface. +The Gramps project strives to produce a genealogy program that is +both intuitive for hobbyists and feature-complete for professional +genealogists. It is a community project, created, developed and +governed by genealogists. + +It is written in Python, using a GTK3 interface. WWW: http://gramps-project.org/