pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/json-glib



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jan 14 21:39:41 UTC 2025

Modified Files:
        pkgsrc/textproc/json-glib: Makefile PLIST distinfo

Log Message:
json-glib: updated to 1.10.6

Overview of changes for 1.10

• Improve the performance and reliability of the JSON tokenizer
• Improve conformance of the JSON parser
• Add conformance test suite from https://github.com/nst/JSONTestSuite
• Add JsonParser:strict to enable strict parsing
• Add `--strict` to json-glib-validate to enable strict parsing
• Deprecate the signals on JsonParser
• Port tools man pages from DocBook to reStructureText
• Add "documentation" configuration option, and deprecate "gtk_doc"
• Add JsonGenerator.take_root()
• Documentation improvements for JsonReader
• Raise parser error for malformed Unicode
• Build fixes and performance improvements
• Allow disabling installed tests
• Support parsing multiple root statements in non-strict mode
• Allow loading files >4GB with json-glib-validate
• Allow single quoted strings when running in non-strict mode
• Allow escaped characters when running in non-strict mode
• Add missing nullable annotation


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/textproc/json-glib/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/json-glib/PLIST
cvs rdiff -u -r1.22 -r1.23 pkgsrc/textproc/json-glib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/json-glib/Makefile
diff -u pkgsrc/textproc/json-glib/Makefile:1.42 pkgsrc/textproc/json-glib/Makefile:1.43
--- pkgsrc/textproc/json-glib/Makefile:1.42     Mon Jul 22 20:43:00 2024
+++ pkgsrc/textproc/json-glib/Makefile  Tue Jan 14 21:39:41 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2024/07/22 20:43:00 adam Exp $
+# $NetBSD: Makefile,v 1.43 2025/01/14 21:39:41 adam Exp $
 
-DISTNAME=      json-glib-1.8.0
+DISTNAME=      json-glib-1.10.6
 CATEGORIES=    textproc gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz
@@ -10,21 +10,30 @@ HOMEPAGE=   https://wiki.gnome.org/Project
 COMMENT=       JSON parser for GLib-based libraries and applications
 LICENSE=       gnu-lgpl-v2.1
 
-TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
 TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+TOOL_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
 
 USE_TOOLS+=    msgfmt pkg-config xgettext
 
+MESON_REQD+=   1.2.0
 MESON_ARGS+=   -Dman=true
 MESON_ARGS+=   -Dgtk_doc=disabled
 MESON_ARGS+=   -Dintrospection=enabled
 
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mclang)
-_WRAP_EXTRA_ARGS.CC+=  -Wno-error=void-pointer-to-int-cast
-CWRAPPERS_APPEND.cc+=  -Wno-error=void-pointer-to-int-cast
-.endif
+SUBST_CLASSES+=                rst2man
+SUBST_MESSAGE.rst2man= Fixing rst2man binary nameversioning.
+SUBST_STAGE.rst2man=   pre-configure
+SUBST_FILES.rst2man=   doc/meson.build
+SUBST_SED.rst2man+=    -e "s,'rst2man','rst2man-${PYVERSSUFFIX}',g"
+SUBST_SED.rst2man+=    -e "s,'rst2html5','rst2html5-${PYVERSSUFFIX}',g"
+
+#.include "../../mk/compiler.mk"
+
+#.if !empty(PKGSRC_COMPILER:Mclang)
+#_WRAP_EXTRA_ARGS.CC+= -Wno-error=void-pointer-to-int-cast
+#CWRAPPERS_APPEND.cc+= -Wno-error=void-pointer-to-int-cast
+#.endif
 
 # workaround for build failure
 # https://gitlab.gnome.org/GNOME/json-glib/issues/35
@@ -37,12 +46,12 @@ PRINT_PLIST_AWK+= \
 
 PYTHON_FOR_BUILD_ONLY= tool
 
-BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.38.0
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
+BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.72.0
 .include "../../devel/glib2/buildlink3.mk"
-BUILDLINK_API_DEPENDS.gobject-introspection+=  gobject-introspection>=0.9.5
 BUILDLINK_DEPMETHOD.gobject-introspection+=    build
 .include "../../devel/gobject-introspection/buildlink3.mk"
 .include "../../devel/meson/build.mk"
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/json-glib/PLIST
diff -u pkgsrc/textproc/json-glib/PLIST:1.15 pkgsrc/textproc/json-glib/PLIST:1.16
--- pkgsrc/textproc/json-glib/PLIST:1.15        Mon Jul 22 20:43:00 2024
+++ pkgsrc/textproc/json-glib/PLIST     Tue Jan 14 21:39:41 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2024/07/22 20:43:00 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2025/01/14 21:39:41 adam Exp $
 bin/json-glib-format
 bin/json-glib-validate
 include/json-glib-1.0/json-glib/json-builder.h
@@ -17,7 +17,7 @@ include/json-glib-1.0/json-glib/json-ver
 lib/girepository-1.0/Json-1.0.typelib
 lib/libjson-glib-1.0.so
 lib/libjson-glib-1.0.so.0
-lib/libjson-glib-1.0.so.0.800.0
+lib/libjson-glib-1.0.so.0.1000.6
 lib/pkgconfig/json-glib-1.0.pc
 libexec/installed-tests/json-glib-1.0/array
 libexec/installed-tests/json-glib-1.0/boxed
@@ -82,6 +82,7 @@ share/locale/id/LC_MESSAGES/json-glib-1.
 share/locale/it/LC_MESSAGES/json-glib-1.0.mo
 share/locale/ja/LC_MESSAGES/json-glib-1.0.mo
 share/locale/ka/LC_MESSAGES/json-glib-1.0.mo
+share/locale/kab/LC_MESSAGES/json-glib-1.0.mo
 share/locale/ko/LC_MESSAGES/json-glib-1.0.mo
 share/locale/ky/LC_MESSAGES/json-glib-1.0.mo
 share/locale/lt/LC_MESSAGES/json-glib-1.0.mo
@@ -106,6 +107,7 @@ share/locale/sr@latin/LC_MESSAGES/json-g
 share/locale/sv/LC_MESSAGES/json-glib-1.0.mo
 share/locale/te/LC_MESSAGES/json-glib-1.0.mo
 share/locale/tg/LC_MESSAGES/json-glib-1.0.mo
+share/locale/th/LC_MESSAGES/json-glib-1.0.mo
 share/locale/tr/LC_MESSAGES/json-glib-1.0.mo
 share/locale/ug/LC_MESSAGES/json-glib-1.0.mo
 share/locale/uk/LC_MESSAGES/json-glib-1.0.mo

Index: pkgsrc/textproc/json-glib/distinfo
diff -u pkgsrc/textproc/json-glib/distinfo:1.22 pkgsrc/textproc/json-glib/distinfo:1.23
--- pkgsrc/textproc/json-glib/distinfo:1.22     Mon Jul 22 20:43:00 2024
+++ pkgsrc/textproc/json-glib/distinfo  Tue Jan 14 21:39:41 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2024/07/22 20:43:00 adam Exp $
+$NetBSD: distinfo,v 1.23 2025/01/14 21:39:41 adam Exp $
 
-BLAKE2s (json-glib-1.8.0.tar.xz) = 01bbe7f56b493c5323174bbc6169c1341386744c48b19e0ed330ef50cbcd2ec0
-SHA512 (json-glib-1.8.0.tar.xz) = e4fe16bb7c5b72fcf9c0966ac1903ff0cd74ec8eab891db4b94e92353bdcb57b24613b6c2cce7bfa1996603c367d1b4939c12209369dfb915aac0f3804a3a900
-Size (json-glib-1.8.0.tar.xz) = 157300 bytes
+BLAKE2s (json-glib-1.10.6.tar.xz) = bb322e55cc7132f67703511a3e5297342466fcc22e2e22c967f967323aba392b
+SHA512 (json-glib-1.10.6.tar.xz) = e1c0e33b17333cf94beb381f505c1819090a11b616dcc23a883f231029dff277c2482823278cbf7b8a07e237d45cbfc7b05f132e1234beff609a739fd5704c6e
+Size (json-glib-1.10.6.tar.xz) = 253324 bytes



Home | Main Index | Thread Index | Old Index