From nobody Thu Oct 14 19:54:17 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 09BB21802981; Thu, 14 Oct 2021 19:54:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HVg8T6r8Mz3GN2; Thu, 14 Oct 2021 19:54:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CAB2219705; Thu, 14 Oct 2021 19:54:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19EJsHpn042496; Thu, 14 Oct 2021 19:54:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19EJsHji042495; Thu, 14 Oct 2021 19:54:17 GMT (envelope-from git) Date: Thu, 14 Oct 2021 19:54:17 GMT Message-Id: <202110141954.19EJsHji042495@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joseph Mingrone Subject: git: dc703bd694e8 - main - textproc/htmldoc: Update to 1.9.12 + List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dc703bd694e830e33dcdc3b371648e3d8920e859 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=dc703bd694e830e33dcdc3b371648e3d8920e859 commit dc703bd694e830e33dcdc3b371648e3d8920e859 Author: Robert Clausecker AuthorDate: 2021-10-14 19:34:43 +0000 Commit: Joseph Mingrone CommitDate: 2021-10-14 19:50:37 +0000 textproc/htmldoc: Update to 1.9.12 + - fix line break in USES that lead to wrong X11 usage - make USE=jpeg unconditional because it is needed even if HTMLDOCGUI is off - make pkgconfig unconditional because it is needed even if gnutls is not used - remove arm64 pre-build as it doesn't seem to be needed (perhaps ndowens knows more; he added it) - remove a PPC patch by pkubaj as it no longer required - apply formatting fixes from linters (portclippy, portfmt, portlint) Changelogs: https://www.msweet.org/blog/2021-05-17-htmldoc-1.9.12.html https://www.msweet.org/blog/2020-12-24-htmldoc-1.9.11.html https://www.msweet.org/blog/2020-09-05-htmldoc-1.9.10.html https://www.msweet.org/blog/2020-06-11-htmldoc-1.9.9.html https://www.msweet.org/blog/2020-02-15-htmldoc-1.9.8.html https://www.msweet.org/blog/2019-10-09-htmldoc-1.9.7.html https://www.msweet.org/blog/2019-09-25-htmldoc-1.9.6.html https://www.msweet.org/blog/2019-01-23-htmldoc-1.9.5.html https://www.msweet.org/blog/2018-08-31-htmldoc-1.9.4.html PR: 258507 Approved by: jose@diasfernandes.pt (maintainer) --- textproc/htmldoc/Makefile | 35 +++++++++++------------------- textproc/htmldoc/distinfo | 6 ++--- textproc/htmldoc/files/patch-png_pngpriv.h | 14 ------------ 3 files changed, 16 insertions(+), 39 deletions(-) diff --git a/textproc/htmldoc/Makefile b/textproc/htmldoc/Makefile index 7d15f85c70af..b03520ef30bd 100644 --- a/textproc/htmldoc/Makefile +++ b/textproc/htmldoc/Makefile @@ -1,10 +1,9 @@ # Created by: Glenn Trewitt -PORTNAME= htmldoc -PORTVERSION= 1.9.3 -PORTREVISION= 1 +PORTNAME= htmldoc +PORTVERSION= 1.9.12 DISTVERSIONPREFIX= v -CATEGORIES= textproc +CATEGORIES= textproc MAINTAINER= jose@diasfernandes.pt COMMENT= Converts HTML to PDF and/or PostScript @@ -12,40 +11,32 @@ COMMENT= Converts HTML to PDF and/or PostScript LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_mips= Complains of expecting ) before png_ptr +BROKEN_mips= complains about expecting ) before png_ptr LIB_DEPENDS= libpng.so:graphics/png -USES= compiler:c11 cpe +USES= compiler:c11 cpe jpeg pkgconfig CPE_VENDOR= ${PORTNAME}_project USE_GITHUB= yes GH_ACCOUNT= michaelrsweet HAS_CONFIGURE= yes -OPTIONS_DEFINE= HTMLDOCGUI GNUTLS +OPTIONS_DEFINE= GNUTLS HTMLDOCGUI OPTIONS_DEFAULT= GNUTLS HTMLDOCGUI_DESC= Build GUI front-end -HTMLDOCGUI_CONFIGURE_WITH= gui=yes + +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls +GNUTLS_CONFIGURE_ENABLE= gnutls + HTMLDOCGUI_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig HTMLDOCGUI_USES= xorg -HTMLDOCGUI_USE= XORG=x11,xrender,xcursor,xfixes \ - xext,xft,xinerama jpeg -GNUTLS_CONFIGURE_ENABLE= gnutls -GNUTLS_USES= pkgconfig -GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls - -.include - -# Fix arm64 build -.if ${ARCH} == "aarch64" -pre-build: - ${REINPLACE_CMD} -e '/PNG_FILTER_OPTIMIZATIONS(pp, bpp);/d' ${WRKSRC}/png/pngrutil.c -.endif +HTMLDOCGUI_USE= XORG=x11,xcursor,xext,xfixes,xft,xinerama,xrender +HTMLDOCGUI_CONFIGURE_WITH= gui=yes post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/htmldoc -.include +.include diff --git a/textproc/htmldoc/distinfo b/textproc/htmldoc/distinfo index bfb93ec0b446..ed2f7b2c02f5 100644 --- a/textproc/htmldoc/distinfo +++ b/textproc/htmldoc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1535061183 -SHA256 (michaelrsweet-htmldoc-v1.9.3_GH0.tar.gz) = 601ad21f6aa7adf57a6fcfeab180dc39d6b99ec2f52f0e559df5bb57f087eb2e -SIZE (michaelrsweet-htmldoc-v1.9.3_GH0.tar.gz) = 4482204 +TIMESTAMP = 1631647902 +SHA256 (michaelrsweet-htmldoc-v1.9.12_GH0.tar.gz) = abeb50b9a0247fee4a83af98c56ba3bc35804f593af1893899de084830315a05 +SIZE (michaelrsweet-htmldoc-v1.9.12_GH0.tar.gz) = 3422902 diff --git a/textproc/htmldoc/files/patch-png_pngpriv.h b/textproc/htmldoc/files/patch-png_pngpriv.h deleted file mode 100644 index 8c770f7c90fb..000000000000 --- a/textproc/htmldoc/files/patch-png_pngpriv.h +++ /dev/null @@ -1,14 +0,0 @@ ---- png/pngpriv.h.orig 2021-03-16 01:04:47 UTC -+++ png/pngpriv.h -@@ -193,11 +193,7 @@ - #endif - - #ifndef PNG_POWERPC_VSX_OPT --# if defined(__PPC64__) && defined(__ALTIVEC__) && defined(__VSX__) --# define PNG_POWERPC_VSX_OPT 2 --# else - # define PNG_POWERPC_VSX_OPT 0 --# endif - #endif - - #ifndef PNG_INTEL_SSE_OPT