Thu Aug 3 02:07:42 2023 UTC ()
grantlee-qt5: update to 5.3.1

* Use C++11 nullptr where appropriate
* Use QRandomGenerator instead of deprecated qRand
* Increase compatibility with Qt 6 APIs
* Add CMake option to build with Qt 6 - GRANTLEE_BUILD_WITH_QT6
* Support enum introspection on Q_GADGET
* filesizeformat implementation as well as localized filesize
* Make enums comparable with more operations
* Add "truncatechars" filter
* Fix concatenation of string lists


(markd)
diff -r1.49 -r1.50 pkgsrc/devel/grantlee-qt5/Makefile
diff -r1.2 -r1.3 pkgsrc/devel/grantlee-qt5/PLIST
diff -r1.42 -r1.43 pkgsrc/devel/grantlee-qt5/buildlink3.mk
diff -r1.5 -r1.6 pkgsrc/devel/grantlee-qt5/distinfo

cvs diff -r1.49 -r1.50 pkgsrc/devel/grantlee-qt5/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/grantlee-qt5/Makefile 2023/05/22 20:59:55 1.49
+++ pkgsrc/devel/grantlee-qt5/Makefile 2023/08/03 02:07:42 1.50
@@ -1,20 +1,21 @@ @@ -1,20 +1,21 @@
1# $NetBSD: Makefile,v 1.49 2023/05/22 20:59:55 wiz Exp $ 1# $NetBSD: Makefile,v 1.50 2023/08/03 02:07:42 markd Exp $
2# 2#
3 3
4DISTNAME= grantlee-5.2.0 4DISTNAME= grantlee-5.3.1
5PKGNAME= ${DISTNAME:S/-/-qt5-/} 5PKGNAME= ${DISTNAME:S/-/-qt5-/}
6PKGREVISION= 19 
7CATEGORIES= devel 6CATEGORIES= devel
8MASTER_SITES= http://downloads.grantlee.org/ 7MASTER_SITES= ${MASTER_SITE_GITHUB:=steveire/}
 8GITHUB_PROJECT= grantlee
 9GITHUB_RELEASE= v${PKGVERSION_NOREV}
9 10
10MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://github.com/steveire/grantlee 12HOMEPAGE= https://github.com/steveire/grantlee
12COMMENT= String template engine in QT5 based on Django template system 13COMMENT= String template engine in QT5 based on Django template system
13LICENSE= gnu-lgpl-v2.1 14LICENSE= gnu-lgpl-v2.1
14 15
15USE_LANGUAGES= c c++ 16USE_LANGUAGES= c c++
16USE_CMAKE= yes 
17 17
 18.include "../../devel/cmake/build.mk"
18.include "../../x11/qt5-qtscript/buildlink3.mk" 19.include "../../x11/qt5-qtscript/buildlink3.mk"
19 20
20.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/devel/grantlee-qt5/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/grantlee-qt5/PLIST 2020/06/07 01:46:52 1.2
+++ pkgsrc/devel/grantlee-qt5/PLIST 2023/08/03 02:07:42 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.2 2020/06/07 01:46:52 markd Exp $ 1@comment $NetBSD: PLIST,v 1.3 2023/08/03 02:07:42 markd Exp $
2include/grantlee/abstractlocalizer.h 2include/grantlee/abstractlocalizer.h
3include/grantlee/abstractmarkupbuilder.h 3include/grantlee/abstractmarkupbuilder.h
4include/grantlee/bbcodebuilder.h 4include/grantlee/bbcodebuilder.h
5include/grantlee/cachingloaderdecorator.h 5include/grantlee/cachingloaderdecorator.h
6include/grantlee/context.h 6include/grantlee/context.h
7include/grantlee/engine.h 7include/grantlee/engine.h
8include/grantlee/exception.h 8include/grantlee/exception.h
9include/grantlee/filter.h 9include/grantlee/filter.h
10include/grantlee/filterexpression.h 10include/grantlee/filterexpression.h
11include/grantlee/grantlee_templates_export.h 11include/grantlee/grantlee_templates_export.h
12include/grantlee/grantlee_textdocument_export.h 12include/grantlee/grantlee_textdocument_export.h
13include/grantlee/grantlee_version.h 13include/grantlee/grantlee_version.h
14include/grantlee/markupdirector.h 14include/grantlee/markupdirector.h
@@ -26,23 +26,23 @@ include/grantlee/template.h @@ -26,23 +26,23 @@ include/grantlee/template.h
26include/grantlee/templateloader.h 26include/grantlee/templateloader.h
27include/grantlee/texthtmlbuilder.h 27include/grantlee/texthtmlbuilder.h
28include/grantlee/token.h 28include/grantlee/token.h
29include/grantlee/typeaccessor.h 29include/grantlee/typeaccessor.h
30include/grantlee/util.h 30include/grantlee/util.h
31include/grantlee/variable.h 31include/grantlee/variable.h
32include/grantlee_templates.h 32include/grantlee_templates.h
33include/grantlee_textdocument.h 33include/grantlee_textdocument.h
34lib/cmake/Grantlee5/Grantlee5Config.cmake 34lib/cmake/Grantlee5/Grantlee5Config.cmake
35lib/cmake/Grantlee5/Grantlee5ConfigVersion.cmake 35lib/cmake/Grantlee5/Grantlee5ConfigVersion.cmake
36lib/cmake/Grantlee5/GrantleeMacros.cmake 36lib/cmake/Grantlee5/GrantleeMacros.cmake
37lib/cmake/Grantlee5/GrantleeTargets-noconfig.cmake 37lib/cmake/Grantlee5/GrantleeTargets-noconfig.cmake
38lib/cmake/Grantlee5/GrantleeTargets.cmake 38lib/cmake/Grantlee5/GrantleeTargets.cmake
39lib/grantlee/5.2/grantlee_defaultfilters.so 39lib/grantlee/5.3/grantlee_defaultfilters.so
40lib/grantlee/5.2/grantlee_defaulttags.so 40lib/grantlee/5.3/grantlee_defaulttags.so
41lib/grantlee/5.2/grantlee_i18ntags.so 41lib/grantlee/5.3/grantlee_i18ntags.so
42lib/grantlee/5.2/grantlee_loadertags.so 42lib/grantlee/5.3/grantlee_loadertags.so
43lib/libGrantlee_Templates.so 43lib/libGrantlee_Templates.so
44lib/libGrantlee_Templates.so.5 44lib/libGrantlee_Templates.so.5
45lib/libGrantlee_Templates.so.${PKGVERSION} 45lib/libGrantlee_Templates.so.5.3.0
46lib/libGrantlee_TextDocument.so 46lib/libGrantlee_TextDocument.so
47lib/libGrantlee_TextDocument.so.5 47lib/libGrantlee_TextDocument.so.5
48lib/libGrantlee_TextDocument.so.${PKGVERSION} 48lib/libGrantlee_TextDocument.so.5.3.0

cvs diff -r1.42 -r1.43 pkgsrc/devel/grantlee-qt5/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/devel/grantlee-qt5/buildlink3.mk 2023/05/22 20:59:55 1.42
+++ pkgsrc/devel/grantlee-qt5/buildlink3.mk 2023/08/03 02:07:42 1.43
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: buildlink3.mk,v 1.42 2023/05/22 20:59:55 wiz Exp $ 1# $NetBSD: buildlink3.mk,v 1.43 2023/08/03 02:07:42 markd Exp $
2 2
3BUILDLINK_TREE+= grantlee-qt5 3BUILDLINK_TREE+= grantlee-qt5
4 4
5.if !defined(GRANTLEE_QT5_BUILDLINK3_MK) 5.if !defined(GRANTLEE_QT5_BUILDLINK3_MK)
6GRANTLEE_QT5_BUILDLINK3_MK:= 6GRANTLEE_QT5_BUILDLINK3_MK:=
7 7
8BUILDLINK_API_DEPENDS.grantlee-qt5+= grantlee-qt5>=5.1.0 8BUILDLINK_API_DEPENDS.grantlee-qt5+= grantlee-qt5>=5.1.0
9BUILDLINK_ABI_DEPENDS.grantlee-qt5?= grantlee-qt5>=5.2.0nb19 9BUILDLINK_ABI_DEPENDS.grantlee-qt5?= grantlee-qt5>=5.3.0
10BUILDLINK_PKGSRCDIR.grantlee-qt5?= ../../devel/grantlee-qt5 10BUILDLINK_PKGSRCDIR.grantlee-qt5?= ../../devel/grantlee-qt5
11 11
12BUILDLINK_FILES.grantlee-qt5+= lib/grantlee/5.2/*.so 12BUILDLINK_FILES.grantlee-qt5+= lib/grantlee/5.3/*.so
13 13
14.include "../../x11/qt5-qtscript/buildlink3.mk" 14.include "../../x11/qt5-qtscript/buildlink3.mk"
15.endif # GRANTLEE_QT5_BUILDLINK3_MK 15.endif # GRANTLEE_QT5_BUILDLINK3_MK
16 16
17BUILDLINK_TREE+= -grantlee-qt5 17BUILDLINK_TREE+= -grantlee-qt5

cvs diff -r1.5 -r1.6 pkgsrc/devel/grantlee-qt5/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/grantlee-qt5/distinfo 2021/10/26 10:14:49 1.5
+++ pkgsrc/devel/grantlee-qt5/distinfo 2023/08/03 02:07:42 1.6
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.5 2021/10/26 10:14:49 nia Exp $ 1$NetBSD: distinfo,v 1.6 2023/08/03 02:07:42 markd Exp $
2 2
3BLAKE2s (grantlee-5.2.0.tar.gz) = 06d133f6ad2a8bd3ef1fc028a4613e8085fc4726f84b7b16646414b167662e94 3BLAKE2s (grantlee-5.3.1.tar.gz) = e3bcb07843decdfd5fb0d393d9e9a15f35ea9d4523013227ba799a9832b960c9
4SHA512 (grantlee-5.2.0.tar.gz) = 94b53d103aa775e6d45357d44d5634a5214d12ea7178d251fda30c5a88ddc2682ae44501ee8b7dc475793b84fa0998eb0bc13eea3f2e10ab29b1489db6ea60bd 4SHA512 (grantlee-5.3.1.tar.gz) = dc7192fe0553954fffc3e2c584e4fdd80fc1f22d25846cacc5f2dcd1db2673ca62464c8492a4ed3bfc9dfc3e62ef13322809dd29bd56fa4a3a153a8d373ddde5
5Size (grantlee-5.2.0.tar.gz) = 1166467 bytes 5Size (grantlee-5.3.1.tar.gz) = 1176012 bytes