Re: git: cf75f452e94a - main - sysutils/conky: Update to 1.14.0

From: Dmitri Goutnik <dmgk_at_freebsd.org>
Date: Fri, 14 Oct 2022 14:57:22 UTC
Hi,

On 22-10-13 18:24:09, Guido Falsi wrote:
> The branch main has been updated by madpilot:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=cf75f452e94a2eb6da98eabc5b9e002f138e4051
> 
> commit cf75f452e94a2eb6da98eabc5b9e002f138e4051
> Author:     Guido Falsi <madpilot@FreeBSD.org>
> AuthorDate: 2022-10-13 18:22:58 +0000
> Commit:     Guido Falsi <madpilot@FreeBSD.org>
> CommitDate: 2022-10-13 18:22:58 +0000
> 
>     sysutils/conky: Update to 1.14.0
>     
>     - Add patch implementing missing function for FreeBSD, already
>       proposed upstream: https://github.com/brndnmtthws/conky/pull/1252
>     
>     - Updated dependencies, upstream changed its documentation build
>       method
>     
>     Old html documentation has been removed, the information is now
>     encoded in yaml files.
>     
>     Upstream code does not provide a method to automatically produce
>     human readable documentation from the yaml files, so I install those
>     directly in PORTDOCS.
> ---
>  sysutils/conky/Makefile                           | 24 +++++++++---------
>  sysutils/conky/distinfo                           |  6 ++---
>  sysutils/conky/files/patch-CMakeLists.txt         | 18 +++-----------
>  sysutils/conky/files/patch-doc_CMakeLists.txt     | 11 +++++++++
>  sysutils/conky/files/patch-doc_docgen.sh          | 13 ----------
>  sysutils/conky/files/patch-src_display-console.cc | 16 ------------
>  sysutils/conky/files/patch-src_freebsd.cc         | 30 +++++++++++++++++++++++
>  7 files changed, 61 insertions(+), 57 deletions(-)
> 
> diff --git a/sysutils/conky/Makefile b/sysutils/conky/Makefile
> index 8921bf37c4b5..74c9a4df4102 100644
> --- a/sysutils/conky/Makefile
> +++ b/sysutils/conky/Makefile
> @@ -1,5 +1,5 @@
>  PORTNAME=	conky
> -PORTVERSION=	1.13.1
> +PORTVERSION=	1.14.0
>  DISTVERSIONPREFIX=	v
>  CATEGORIES=	sysutils
>  
> @@ -8,13 +8,13 @@ COMMENT?=	Advanced, highly configurable system monitor for X11
>  WWW=		https://github.com/brndnmtthws/conky
>  
>  LIB_DEPENDS=	libinotify.so:devel/libinotify
> -BUILD_DEPENDS=	db2x_xsltproc:textproc/docbook2X \
> -		docbook-xsl>=0:textproc/docbook-xsl \
> -		xsltproc:textproc/libxslt \
> -		gsed:textproc/gsed
> +BUILD_DEPENDS=	gsed:textproc/gsed \
> +		pandoc:textproc/hs-pandoc \
> +		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
> +		${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR}

Can we make installing pandoc and other doc building machinery depend on DOCS 
knob? Bulding ghc takes a long time and it's just a cycle wastage if docs 
aren't going to be installed anyway.

Best regards,

-- 
Dmitri Goutnik
dg@syrec.org / dmgk@FreeBSD.org