From nobody Thu Apr 10 22:25:29 2025 X-Original-To: dev-commits-ports-all@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 4ZYZBy62QWz5rw3C; Thu, 10 Apr 2025 22:25:30 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZYZBy22N3z49Fh; Thu, 10 Apr 2025 22:25:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744323930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vFcNOkawug1q42GYSUjhgt8Br5D6DHfA1C+l7SYS3wg=; b=NHxfndXkJJYJPC53XrH745H/1zSCwWMYvBgMLJG2SWaYD+m4amwv+n4Rm0dcH53IF9y05E UplOrE28KZ3neLqfCCsNR7i7/bZyYX5w5MMh4CZduJqc2KoTkUZKNkA4MgpYFCfxqbWFTV VqSasK7RxfWA80rr34uHjg7F4NYO2qkcZSn+Q0PLOEVdiOz2bWpBQvFjD0pQ9w5BihritZ 30ony0YrEay+t7rcRYZA83CypIzBL6V6xgB+f7IS1kzCQeVF7XggGc7ukLizCQQl4Sjz5T 2mpwHMJqQSOPrwEZEsRi7QvO+qmAqlCiXv5DrCZ49/6J+iVSElIs6aNxo5L4Kg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744323930; a=rsa-sha256; cv=none; b=tvjjaLmm8LAD1GjQ6tGypi0069Ya5x5V+g61a3VSxif31gTGq5ZljoBIgt5srlhhWNDQjh t4vOyy+lPNmklLG+kPuHhgCCSvHDsHT55/ZRhNeBI5wMx5Dz3O1U3sg2+6eRijyZt0pcFj Xf08rg1R/s1OiHDbZssem/hYDT+lpopnJztzdjF/jT7oAKbZrQR32hnoNpFum7aGKro3LT VL7cSxcS3ezuBHlTt5RuTVF6hvTAf0hWdfRkTLLWvpDHhde6wPeCwwmXq5OIwhSFSjjPKf dE/tws4F7sYRV9Sy/ErNKCJwWf+ml2JM7vW2p/oGNS/rmv9QVkoaN9l7WURo8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744323930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vFcNOkawug1q42GYSUjhgt8Br5D6DHfA1C+l7SYS3wg=; b=HVfm+rYzqBdF9WE2hJAMBtnugmXA5+3NarYZXxNA4HHs5TncTVg/mqrVbLHizNYojWXTc7 C+vpB1cGMJ0Pbf0WUbo2QF1HlErodZQLwWeTj9jfirwSHZAE1zg6DsBq6aoxOIUwYLz1MB KzQORVzKBozMX4cQpSMTBZxR7zfhoEtH+CIX3OGLmoHAA2tRvAxIctGEvuOkbsQTOxVo+J NGe+F2tmoEjj9/RrFYQ9fuPKn1Ihu+wFmGMwKiRXigYVVnCLMIhCuIv21eMt0z64pXTa0+ JHGMPgejHrPRwwT+u3685+wFQu64AkQom9kMeqMYDtrGk+Gn7484nMfOPH3SMg== 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 4ZYZBy18QMz1Kg9; Thu, 10 Apr 2025 22:25:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 53AMPTPF097515; Thu, 10 Apr 2025 22:25:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 53AMPTHb097512; Thu, 10 Apr 2025 22:25:29 GMT (envelope-from git) Date: Thu, 10 Apr 2025 22:25:29 GMT Message-Id: <202504102225.53AMPTHb097512@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 1c3e4419f6c7 - main - textproc/ctpl: Update 0.3.4 => 0.3.5, improve port, take maintainership List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1c3e4419f6c769181036effdef132f7de3853601 Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c3e4419f6c769181036effdef132f7de3853601 commit 1c3e4419f6c769181036effdef132f7de3853601 Author: Älven AuthorDate: 2025-04-10 22:21:22 +0000 Commit: Vladimir Druzenko CommitDate: 2025-04-10 22:21:22 +0000 textproc/ctpl: Update 0.3.4 => 0.3.5, improve port, take maintainership The version 0.3.5 is a bugfix and enhancement release for the 0.3 branch. * Added ctpl_value_take_string() to reduce memory copies, and used it internally where appropriate; * Fixed build with GCC 14; https://git.tuxfamily.org/ctpl/ctpl.git/tree/NEWS + Add DOCS option + Add TEST_TARGET * Fix dependencies * Improve pkg-descr * Sort entries - Remove GNU_CONFIGURE_MANPREFIX PR: 285695 --- textproc/ctpl/Makefile | 22 +++++++++------- textproc/ctpl/distinfo | 5 ++-- textproc/ctpl/pkg-descr | 25 ++++++++++++++++-- textproc/ctpl/pkg-plist | 67 +++++++++++++++++++++++++------------------------ 4 files changed, 73 insertions(+), 46 deletions(-) diff --git a/textproc/ctpl/Makefile b/textproc/ctpl/Makefile index cea2693e0446..a7804f14f003 100644 --- a/textproc/ctpl/Makefile +++ b/textproc/ctpl/Makefile @@ -1,27 +1,31 @@ PORTNAME= ctpl -PORTVERSION= 0.3.4 -PORTREVISION= 1 +DISTVERSION= 0.3.5 CATEGORIES= textproc devel -MASTER_SITES= http://download.tuxfamily.org/ctpl/releases/ +MASTER_SITES= https://git.tuxfamily.org/ctpl/ctpl.git/snapshot/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= alster@vinterdalen.se COMMENT= C Template (Parser) Library WWW= https://ctpl.tuxfamily.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share +BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc + +USES= autoreconf gettext-tools gmake gnome libtool pathfix pkgconfig USE_GNOME= glib20 -USES= gnome libtool pathfix pkgconfig USE_LDCONFIG= yes + +GNU_CONFIGURE= yes + INSTALL_TARGET= install-strip +TEST_TARGET= check # PASS: 4/4 -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes +DOCS_CONFIGURE_ENABLE= gtk-doc +NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls -NLS_USES= gettext-runtime .include diff --git a/textproc/ctpl/distinfo b/textproc/ctpl/distinfo index 98e23dfe2fe9..1aab7021b68c 100644 --- a/textproc/ctpl/distinfo +++ b/textproc/ctpl/distinfo @@ -1,2 +1,3 @@ -SHA256 (ctpl-0.3.4.tar.gz) = 3a95fdd03437ed3ae222339cb0de2d2c1240d627faa6c77bf46f1a9b761729fb -SIZE (ctpl-0.3.4.tar.gz) = 668306 +TIMESTAMP = 1743070465 +SHA256 (ctpl-0.3.5.tar.gz) = ae60c79316c6dc3a2935d906b8a911ce4188e8638b6e9b65fc6c04a5ca6bcdda +SIZE (ctpl-0.3.5.tar.gz) = 201721 diff --git a/textproc/ctpl/pkg-descr b/textproc/ctpl/pkg-descr index c522ef387022..a074df6444dd 100644 --- a/textproc/ctpl/pkg-descr +++ b/textproc/ctpl/pkg-descr @@ -1,2 +1,23 @@ -CTPL is a template engine library. It allows fast and easy parsing -of templates and fine control over template parsing environment. +CTPL is a template library written in C. It allows fast and easy parsing of +templates from many sources (including in-memory data and local and remote +streaming, thanks to GIO) and fine control over template parsing environment. + +CTPL depends on the following libraries: +- GLib :: General purpose C utility library +- GIO :: GLib's I/O abstraction library + +* Advantages + +- It is a library, then it can be easily used from programs; +- Separated lexer and parser; +- It is written in portable C; +- Simple syntax; +- Fast and strict parsing; +- Possible in-memory parsing, allowing non-file data parsing and avoiding + I/O-latency, through GIO's GMemoryInputStream and GMemoryOutputStream. + +* Disadvantages + +- Since the input is first completely loaded as a token tree in memory -- which +is also one of the advantages -- , it may consume a little more memory than the +input template size. diff --git a/textproc/ctpl/pkg-plist b/textproc/ctpl/pkg-plist index 3cd0e88022e9..1b4fc90ad086 100644 --- a/textproc/ctpl/pkg-plist +++ b/textproc/ctpl/pkg-plist @@ -14,39 +14,40 @@ include/ctpl/ctpl.h lib/libctpl.a lib/libctpl.so lib/libctpl.so.2 -lib/libctpl.so.2.2.2 +lib/libctpl.so.2.3.0 libdata/pkgconfig/ctpl.pc -share/man/man1/ctpl.1.gz -share/gtk-doc/html/ctpl/annotation-glossary.html -share/gtk-doc/html/ctpl/api-index-deprecated.html -share/gtk-doc/html/ctpl/api-index-full.html -share/gtk-doc/html/ctpl/ch01.html -share/gtk-doc/html/ctpl/ch01s02.html -share/gtk-doc/html/ctpl/ch01s03.html -share/gtk-doc/html/ctpl/ch01s05.html -share/gtk-doc/html/ctpl/ch02.html -share/gtk-doc/html/ctpl/ctpl-CtplEnviron.html -share/gtk-doc/html/ctpl/ctpl-CtplEval.html -share/gtk-doc/html/ctpl/ctpl-CtplInputStream.html -share/gtk-doc/html/ctpl/ctpl-CtplLexer.html -share/gtk-doc/html/ctpl/ctpl-CtplLexerExpr.html -share/gtk-doc/html/ctpl/ctpl-CtplOutputStream.html -share/gtk-doc/html/ctpl/ctpl-CtplParser.html -share/gtk-doc/html/ctpl/ctpl-CtplToken.html -share/gtk-doc/html/ctpl/ctpl-CtplValue.html -share/gtk-doc/html/ctpl/ctpl-Generic-IO.html -share/gtk-doc/html/ctpl/ctpl-Version-information.html -share/gtk-doc/html/ctpl/ctpl.devhelp2 -share/gtk-doc/html/ctpl/environment-description-syntax.html -share/gtk-doc/html/ctpl/home.png -share/gtk-doc/html/ctpl/index.html -share/gtk-doc/html/ctpl/index.sgml -share/gtk-doc/html/ctpl/left-insensitive.png -share/gtk-doc/html/ctpl/left.png -share/gtk-doc/html/ctpl/right-insensitive.png -share/gtk-doc/html/ctpl/right.png -share/gtk-doc/html/ctpl/style.css -share/gtk-doc/html/ctpl/up-insensitive.png -share/gtk-doc/html/ctpl/up.png +%%DOCS%%share/gtk-doc/html/ctpl/annotation-glossary.html +%%DOCS%%share/gtk-doc/html/ctpl/api-index-0-2.html +%%DOCS%%share/gtk-doc/html/ctpl/api-index-0-3.html +%%DOCS%%share/gtk-doc/html/ctpl/api-index-deprecated.html +%%DOCS%%share/gtk-doc/html/ctpl/api-index-full.html +%%DOCS%%share/gtk-doc/html/ctpl/ch01.html +%%DOCS%%share/gtk-doc/html/ctpl/ch01s02.html +%%DOCS%%share/gtk-doc/html/ctpl/ch01s03.html +%%DOCS%%share/gtk-doc/html/ctpl/ch01s05.html +%%DOCS%%share/gtk-doc/html/ctpl/ch02.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplEnviron.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplEval.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplInputStream.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplLexer.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplLexerExpr.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplOutputStream.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplParser.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplToken.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplValue.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-Generic-IO.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl-Version-information.html +%%DOCS%%share/gtk-doc/html/ctpl/ctpl.devhelp2 +%%DOCS%%share/gtk-doc/html/ctpl/environment-description-syntax.html +%%DOCS%%share/gtk-doc/html/ctpl/home.png +%%DOCS%%share/gtk-doc/html/ctpl/index.html +%%DOCS%%share/gtk-doc/html/ctpl/left-insensitive.png +%%DOCS%%share/gtk-doc/html/ctpl/left.png +%%DOCS%%share/gtk-doc/html/ctpl/right-insensitive.png +%%DOCS%%share/gtk-doc/html/ctpl/right.png +%%DOCS%%share/gtk-doc/html/ctpl/style.css +%%DOCS%%share/gtk-doc/html/ctpl/up-insensitive.png +%%DOCS%%share/gtk-doc/html/ctpl/up.png %%NLS%%share/locale/fr/LC_MESSAGES/ctpl.mo %%NLS%%share/locale/it/LC_MESSAGES/ctpl.mo +share/man/man1/ctpl.1.gz