Date: Mon, 17 Jun 2019 11:15:13 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504410 - in head/deskutils/recoll: . files Message-ID: <201906171115.x5HBFDSw099333@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Mon Jun 17 11:15:13 2019 New Revision: 504410 URL: https://svnweb.freebsd.org/changeset/ports/504410 Log: deskutils/recoll: Update to 1.25.16 * Submitter adopts port While I'm here: * Place USE_ variables to the intended USES block Changelog: * All Python scripts now use Python 3 by default. They are still supposedly compatible with Python 2. (The port stays with Python 2.7 for a while as not all dependencies are ready for Python 3, yet). https://www.lesbonscomptes.com/recoll/release-1.25.html PR: 238147 Submitted by: jjuanino@gmail.com Modified: head/deskutils/recoll/Makefile head/deskutils/recoll/distinfo head/deskutils/recoll/files/patch-Makefile.in head/deskutils/recoll/pkg-plist Modified: head/deskutils/recoll/Makefile ============================================================================== --- head/deskutils/recoll/Makefile Mon Jun 17 10:55:13 2019 (r504409) +++ head/deskutils/recoll/Makefile Mon Jun 17 11:15:13 2019 (r504410) @@ -2,17 +2,17 @@ # $FreeBSD$ PORTNAME= recoll -DISTVERSION= 1.24.5 -PORTREVISION= 2 +DISTVERSION= 1.25.16 CATEGORIES= deskutils MASTER_SITES= https://www.lesbonscomptes.com/recoll/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jjuanino@gmail.com COMMENT= Personal full text search package, based on Xapian LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} LIB_DEPENDS= libxapian.so:databases/xapian-core RUN_DEPENDS= unrar:archivers/unrar \ antiword:textproc/antiword \ @@ -21,15 +21,16 @@ RUN_DEPENDS= unrar:archivers/unrar \ unrtf:textproc/unrtf USES= bison gmake gnome iconv libtool localbase python:2.7 shebangfix +USE_GNOME= libxslt USE_LDCONFIG= yes +USE_PYTHON= py3kplist + SHEBANG_FILES= filters/*.py filters/rcl7z filters/rclaudio \ filters/rclchm filters/rcldia filters/rclepub \ filters/rclepub1 filters/rclics filters/rclimg \ filters/rclinfo filters/rclkar filters/rclpython \ filters/rclrar filters/rcltar filters/rclwar \ - filters/rclzip desktop/hotrecoll.py -USE_PYTHON= py3kplist -USE_GNOME= libxslt:run + filters/rclzip desktop/hotrecoll.py GNU_CONFIGURE= yes MAKE_ENV= PYTHON_CMD=${PYTHON_CMD} @@ -47,6 +48,8 @@ OPTIONS_SUB= yes ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ASPELL_CONFIGURE_WITH= aspell CHM_DESC= CHM via CHMLIB +CHM_CONFIGURE_ENABLE= python-chm +CHM_LIB_DEPENDS= libchm.so:misc/chmlib CHM_RUN_DEPENDS= pychm>0:textproc/pychm DJVU_RUN_DEPENDS= djvutxt:graphics/djvulibre IMAGE_DESC= Store personal tags or textual descriptions in images @@ -78,9 +81,9 @@ post-patch: ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|python setup.py|${PYTHON_CMD} setup.py|; s|sudo||' \ - ${WRKSRC}/python/recoll/Makefile.in + ${WRKSRC}/python/recoll/Makefile @${REINPLACE_CMD} -e \ - 's|python setup.py|${PYTHON_CMD} setup.py|' \ + 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ ${WRKSRC}/Makefile.in pre-build-QT5-on: @@ -90,5 +93,8 @@ pre-build-QT5-on: post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/recoll/*.so \ ${STAGEDIR}${PREFIX}/lib/recoll/*.so + +post-install-CHM-on: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/recollchm/*.so .include <bsd.port.mk> Modified: head/deskutils/recoll/distinfo ============================================================================== --- head/deskutils/recoll/distinfo Mon Jun 17 10:55:13 2019 (r504409) +++ head/deskutils/recoll/distinfo Mon Jun 17 11:15:13 2019 (r504410) @@ -1,3 +1,3 @@ -TIMESTAMP = 1549037086 -SHA256 (recoll-1.24.5.tar.gz) = 9b25f4494023fcea729ff96dd2bb525e78df14caf4ebab3a93377a0b1f50a382 -SIZE (recoll-1.24.5.tar.gz) = 2675385 +TIMESTAMP = 1558855793 +SHA256 (recoll-1.25.16.tar.gz) = a0e19c8fc71f62eb1b7ebed271afb2f440402362f589bc663c7164c52e5c223c +SIZE (recoll-1.25.16.tar.gz) = 2843267 Modified: head/deskutils/recoll/files/patch-Makefile.in ============================================================================== --- head/deskutils/recoll/files/patch-Makefile.in Mon Jun 17 10:55:13 2019 (r504409) +++ head/deskutils/recoll/files/patch-Makefile.in Mon Jun 17 11:15:13 2019 (r504410) @@ -1,11 +1,40 @@ ---- Makefile.in.orig 2017-11-06 17:57:14 UTC +--- Makefile.in.orig 2019-05-22 12:46:15 UTC +++ Makefile.in -@@ -2206,7 +2206,7 @@ PicStatic: $(librecoll_la_OBJECTS) - @MAKEPYTHON_TRUE@ OPTSFORPYTHON=--install-layout=deb; \ - @MAKEPYTHON_TRUE@ fi; \ - @MAKEPYTHON_TRUE@ set -x; \ --@MAKEPYTHON_TRUE@ python setup.py install \ -+@MAKEPYTHON_TRUE@ ${PYTHON_CMD} setup.py install \ - @MAKEPYTHON_TRUE@ --prefix=${prefix} --root=$${DESTDIR:-/} $${OPTSFORPYTHON}) - @MAKEPYTHON_TRUE@clean-local: recollpython-clean +@@ -2397,16 +2397,12 @@ PicStatic: $(librecoll_la_OBJECTS) + @MAKEPYTHON_TRUE@clean-local:: recollpython-clean + @MAKEPYTHON_TRUE@recollpython: librecoll.la + @MAKEPYTHON_TRUE@ (cd python/recoll; set -x; \ +-@MAKEPYTHON_TRUE@ for v in 2 3;do test -n "`which python$${v}`" && \ +-@MAKEPYTHON_TRUE@ libdir=$(libdir) python$${v} setup.py build; \ +-@MAKEPYTHON_TRUE@ done \ ++@MAKEPYTHON_TRUE@ libdir=$(libdir) %%PYTHON_CMD%% setup.py build; \ + @MAKEPYTHON_TRUE@ ) + @MAKEPYTHON_TRUE@recollpython-install: + @MAKEPYTHON_TRUE@ (cd python/recoll; set -x; \ +-@MAKEPYTHON_TRUE@ for v in 2 3;do test -n "`which python$${v}`" && \ +-@MAKEPYTHON_TRUE@ python$${v} setup.py install \ ++@MAKEPYTHON_TRUE@ %%PYTHON_CMD%% setup.py install \ + @MAKEPYTHON_TRUE@ --prefix=${prefix} --root=$${DESTDIR:-/} $(OPTSFORPYTHON); \ +-@MAKEPYTHON_TRUE@ done; \ + @MAKEPYTHON_TRUE@ ) @MAKEPYTHON_TRUE@recollpython-clean: + @MAKEPYTHON_TRUE@ rm -f python/recoll/*.pyc +@@ -2422,16 +2418,12 @@ PicStatic: $(librecoll_la_OBJECTS) + @MAKEPYTHONCHM_TRUE@clean-local:: rclpychm-clean + @MAKEPYTHONCHM_TRUE@rclpychm: + @MAKEPYTHONCHM_TRUE@ (cd python/pychm; set -x; \ +-@MAKEPYTHONCHM_TRUE@ for v in 2 3;do \ +-@MAKEPYTHONCHM_TRUE@ test -n "`which python$${v}`" && python$${v} setup.py build;\ +-@MAKEPYTHONCHM_TRUE@ done \ ++@MAKEPYTHONCHM_TRUE@ %%PYTHON_CMD%% setup.py build;\ + @MAKEPYTHONCHM_TRUE@ ) + @MAKEPYTHONCHM_TRUE@rclpychm-install: + @MAKEPYTHONCHM_TRUE@ (cd python/pychm; set -x; \ +-@MAKEPYTHONCHM_TRUE@ for v in 2 3;do test -n "`which python$${v}`" && \ +-@MAKEPYTHONCHM_TRUE@ python$${v} setup.py install \ ++@MAKEPYTHONCHM_TRUE@ %%PYTHON_CMD%% setup.py install \ + @MAKEPYTHONCHM_TRUE@ --prefix=${prefix} --root=$${DESTDIR:-/} $(OPTSFORPYTHON); \ +-@MAKEPYTHONCHM_TRUE@ done \ + @MAKEPYTHONCHM_TRUE@ ) + @MAKEPYTHONCHM_TRUE@rclpychm-clean: + @MAKEPYTHONCHM_TRUE@ rm -rf python/pychm/build Modified: head/deskutils/recoll/pkg-plist ============================================================================== --- head/deskutils/recoll/pkg-plist Mon Jun 17 10:55:13 2019 (r504409) +++ head/deskutils/recoll/pkg-plist Mon Jun 17 11:15:13 2019 (r504410) @@ -1,17 +1,35 @@ %%QT5%%bin/recoll bin/recollindex -%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%% +%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%/top_level.txt %%PYTHON_SITELIBDIR%%/recoll/__init__.py %%PYTHON_SITELIBDIR%%/recoll/__init__.pyc +%%PYTHON_SITELIBDIR%%/recoll/conftree.py +%%PYTHON_SITELIBDIR%%/recoll/conftree.pyc %%PYTHON_SITELIBDIR%%/recoll/rclconfig.py %%PYTHON_SITELIBDIR%%/recoll/rclconfig.pyc %%PYTHON_SITELIBDIR%%/recoll/rclextract.so %%PYTHON_SITELIBDIR%%/recoll/recoll.so +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm-0.8.4.1+git-py%%PYTHON_VER%%.egg-info/PKG-INFO +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm-0.8.4.1+git-py%%PYTHON_VER%%.egg-info/SOURCES.txt +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm-0.8.4.1+git-py%%PYTHON_VER%%.egg-info/dependency_links.txt +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm-0.8.4.1+git-py%%PYTHON_VER%%.egg-info/top_level.txt +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm/__init__.py +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm/__init__.pyc +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm/_chmlib.so +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm/chm.py +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm/chm.pyc +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm/chmlib.py +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm/chmlib.pyc +%%CHM%%%%PYTHON_SITELIBDIR%%/recollchm/extra.so lib/recoll/librecoll-%%VERSION%%.so lib/recoll/librecoll.so %%QT5%%man/man1/recoll.1.gz man/man1/recollindex.1.gz man/man1/recollq.1.gz +man/man1/xadump.1.gz man/man5/recoll.conf.5.gz %%QT5%%share/appdata/recoll.appdata.xml %%QT5%%share/applications/recoll-searchgui.desktop @@ -28,13 +46,25 @@ man/man5/recoll.conf.5.gz %%DATADIR%%/examples/recoll.conf %%DATADIR%%/examples/recoll.qss %%DATADIR%%/examples/recollindex.desktop +%%DATADIR%%/filters/abiword.xsl +%%DATADIR%%/filters/conftree.py +%%DATADIR%%/filters/fb2.xsl +%%DATADIR%%/filters/gnumeric.xsl %%DATADIR%%/filters/hotrecoll.py %%DATADIR%%/filters/msodump.zip +%%DATADIR%%/filters/okular-note.xsl +%%DATADIR%%/filters/opendoc-body.xsl +%%DATADIR%%/filters/opendoc-flat.xsl +%%DATADIR%%/filters/opendoc-meta.xsl +%%DATADIR%%/filters/openxml-meta.xsl +%%DATADIR%%/filters/openxml-word-body.xsl +%%DATADIR%%/filters/openxml-xls-body.xsl %%DATADIR%%/filters/ppt-dump.py %%DATADIR%%/filters/rcl7z -%%DATADIR%%/filters/rclabw +%%DATADIR%%/filters/rclabw.py %%DATADIR%%/filters/rclaptosidman %%DATADIR%%/filters/rclaudio +%%DATADIR%%/filters/rclbasehandler.py %%DATADIR%%/filters/rclbibtex.sh %%DATADIR%%/filters/rclcheckneedretry.sh %%DATADIR%%/filters/rclchm @@ -47,9 +77,10 @@ man/man5/recoll.conf.5.gz %%DATADIR%%/filters/rclepub1 %%DATADIR%%/filters/rclexec1.py %%DATADIR%%/filters/rclexecm.py -%%DATADIR%%/filters/rclfb2 +%%DATADIR%%/filters/rclfb2.py %%DATADIR%%/filters/rclgaim -%%DATADIR%%/filters/rclgnm +%%DATADIR%%/filters/rclgenxslt.py +%%DATADIR%%/filters/rclgnm.py %%DATADIR%%/filters/rclics %%DATADIR%%/filters/rclimg %%DATADIR%%/filters/rclimg.py @@ -61,7 +92,7 @@ man/man5/recoll.conf.5.gz %%DATADIR%%/filters/rcllyx %%DATADIR%%/filters/rclman %%DATADIR%%/filters/rclmidi.py -%%DATADIR%%/filters/rclokulnote +%%DATADIR%%/filters/rclokulnote.py %%DATADIR%%/filters/rclopxml.py %%DATADIR%%/filters/rclpdf.py %%DATADIR%%/filters/rclppt.py @@ -72,7 +103,6 @@ man/man5/recoll.conf.5.gz %%DATADIR%%/filters/rclrtf.py %%DATADIR%%/filters/rclscribus %%DATADIR%%/filters/rclshowinfo -%%DATADIR%%/filters/rclsiduxman %%DATADIR%%/filters/rclsoff-flat.py %%DATADIR%%/filters/rclsoff.py %%DATADIR%%/filters/rclsvg.py @@ -82,7 +112,6 @@ man/man5/recoll.conf.5.gz %%DATADIR%%/filters/rcluncomp %%DATADIR%%/filters/rcluncomp.py %%DATADIR%%/filters/rclwar -%%DATADIR%%/filters/rclwpd %%DATADIR%%/filters/rclxls.py %%DATADIR%%/filters/rclxml.py %%DATADIR%%/filters/rclxmp.py @@ -90,8 +119,10 @@ man/man5/recoll.conf.5.gz %%DATADIR%%/filters/rclzip %%DATADIR%%/filters/recoll-we-move-files.py %%DATADIR%%/filters/recollepub.zip +%%DATADIR%%/filters/svg.xsl %%DATADIR%%/filters/xls-dump.py %%DATADIR%%/filters/xlsxmltocsv.py +%%DATADIR%%/filters/xml.xsl %%QT5%%%%DATADIR%%/images/aptosid-book.png %%QT5%%%%DATADIR%%/images/aptosid-manual.png %%QT5%%%%DATADIR%%/images/archive.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906171115.x5HBFDSw099333>