pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
json-glib: Import json-glib-1.6.2 as wip/json-glib
Module Name: pkgsrc-wip
Committed By: Dan CÃirnat <cirnatdan%NetBSD.org@localhost>
Pushed By: cirnatdan
Date: Wed Mar 24 22:17:42 2021 +0100
Changeset: 3c3b60db1542fd1cad546e297f9e8a48c80653e8
Added Files:
json-glib/DESCR
json-glib/Makefile
json-glib/PLIST
json-glib/buildlink3.mk
json-glib/distinfo
json-glib/options.mk
Log Message:
json-glib: Import json-glib-1.6.2 as wip/json-glib
Update from textproc/json-glib (1.4.4)
Overview of changes for 1.6
============================== ==============================
• Add getters with default fallback for JsonObject [Emmanuele Bassi]
• Add getters with default fallback for JsonObject [Emmanuele Bassi]
• #26 - Clarify some expections of the json_object_get_*_member APIs
[Debarshi Ray] • #26 - Clarify some expections of the
json_object_get_*_member APIs [Debarshi Ray]
• #29 - Improve reproducibility of the build [Ravish Bhatia]
• #29 - Improve reproducibility of the build [Ravish Bhatia]
• Use json_node_unref() with g_autoptr() [Robert Ancell]
• Use json_node_unref() with g_autoptr() [Robert Ancell]
• Clarify documentation regarding programmer errors [Philip Withnall]
• Clarify documentation regarding programmer errors [Philip Withnall]
• Fix getting immutable root nodes from empty input [Philip Withnall]
• Fix getting immutable root nodes from empty input [Philip Withnall]
• Fix various memory leaks [Philip Withnall, Emmanuele Bassi]
• Fix various memory leaks [Philip Withnall, Emmanuele Bassi]
• Add `--output` option to json-glib-format [Emmanuele Bassi]
• Add `--output` option to json-glib-format [Emmanuele Bassi]
• Refresh the build [Emmanuele Bassi] • Refresh the
build [Emmanuele Bassi]
• Add glib as a fallback sub-project [Xavier Claessens]
• Add glib as a fallback sub-project [Xavier Claessens]
• Don't error with MSVC C4819 warning [Seungha Yang] •
Don't error with MSVC C4819 warning [Seungha Yang]
• Fix nullable annotation [Niels De Graef] • Fix
nullable annotation [Niels De Graef]
• Allow disabling tests when building [Stéphane Cerveau]
• Allow disabling tests when building [Stéphane Cerveau]
• #39 - Fix default deserialization method for JsonSerializable
[Jeremy Philippe] • #39 - Fix default deserialization
method for JsonSerializable [Jeremy Philippe]
• Stop string to GVariant conversion failing due to unrelated errno
changes [Robert Ancell] • Stop string to GVariant conversion
failing due to unrelated errno changes [Robert Ancell]
• Support loading files via memory mapping [Philip Withnall]
• Support loading files via memory mapping [Philip Withnall]
• #33 - Add a symbol version to all exported symbols [Simon McVittie]
• #33 - Add a symbol version to all exported symbols [Simon McVittie]
• #48 - Fix build with Clang 11 [Dimitry Andric] • #48
- Fix build with Clang 11 [Dimitry Andric]
• Stop using deprecated g_object_newv() constructor [Emmanuele Bassi]
• Stop using deprecated g_object_newv() constructor [Emmanuele Bassi]
• Add ordered iteration to JsonObjectIter [Emmanuele Bassi]
• Add ordered iteration to JsonObjectIter [Emmanuele Bassi]
• #46 - Document nullability of `json_from_string()` [Emmanuele
Bassi] • #46 - Document nullability of `json_from_string()`
[Emmanuele Bassi]
• #45 - Properly detect multiple top-level statements [Emmanuele
Bassi] • #45 - Properly detect multiple top-level
statements [Emmanuele Bassi]
• #41, #22 - Fix library versions on Darwin [Tom Schoonjans]
• #41, #22 - Fix library versions on Darwin [Tom Schoonjans]
• Fix build reproducibility [!33, Alexander Kanavin]
• #26 - Fix parsing of UTF-16 surrogate pairs [James Westman]
• #56 - Ignore UTF-8 BOM [Jan-Michael Brummer]
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3c3b60db1542fd1cad546e297f9e8a48c80653e8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
json-glib/DESCR | 6 ++
json-glib/Makefile | 40 +++++++++++++
json-glib/PLIST | 150 ++++++++++++++++++++++++++++++++++++++++++++++++
json-glib/buildlink3.mk | 24 ++++++++
json-glib/distinfo | 6 ++
json-glib/options.mk | 26 +++++++++
6 files changed, 252 insertions(+)
diffs:
diff --git a/json-glib/DESCR b/json-glib/DESCR
new file mode 100644
index 0000000000..69eb650057
--- /dev/null
+++ b/json-glib/DESCR
@@ -0,0 +1,6 @@
+JSON-GLib is a library providing serialization and deserialization support for
+the JavaScript Object Notation (JSON) format described by RFC 4627
+
+JSON-GLib uses GLib native data types and the generic value container GValue for
+ease of development. It also provides integration with the GObject classes for
+direct serialization into, and deserialization from, JSON data streams.
diff --git a/json-glib/Makefile b/json-glib/Makefile
new file mode 100644
index 0000000000..0b2bf62b6b
--- /dev/null
+++ b/json-glib/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.32 2020/03/18 18:01:23 joerg Exp $
+
+DISTNAME= json-glib-1.6.2
+CATEGORIES= textproc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/json-glib/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://wiki.gnome.org/Projects/JsonGlib
+COMMENT= JSON parser for GLib-based libraries and applications
+LICENSE= gnu-lgpl-v2.1
+
+USE_TOOLS+= gmake msgfmt msgmerge pkg-config xgettext
+
+CONFIGURE_ARGS+= --disable-man
+
+.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
+MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/json-glib
+
+.include "options.mk"
+
+PRINT_PLIST_AWK+= \
+ ($$0 ~ /^lib\/girepository-1.0\//) || \
+ ($$0 ~ /^share\/gir-1.0\//) \
+ { $$0 = "$${PLIST.introspection}" $$0; } \
+ ($$0 ~ /^${PKGLOCALEDIR:S|/|\/|g}\/locale\//) \
+ { $$0 = "$${PLIST.nls}" $$0; }
+
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.38.0
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/json-glib/PLIST b/json-glib/PLIST
new file mode 100644
index 0000000000..5be6f85bd1
--- /dev/null
+++ b/json-glib/PLIST
@@ -0,0 +1,150 @@
+@comment $NetBSD$
+bin/json-glib-format
+bin/json-glib-validate
+include/json-glib-1.0/json-glib/json-builder.h
+include/json-glib-1.0/json-glib/json-enum-types.h
+include/json-glib-1.0/json-glib/json-generator.h
+include/json-glib-1.0/json-glib/json-glib.h
+include/json-glib-1.0/json-glib/json-gobject.h
+include/json-glib-1.0/json-glib/json-gvariant.h
+include/json-glib-1.0/json-glib/json-parser.h
+include/json-glib-1.0/json-glib/json-path.h
+include/json-glib-1.0/json-glib/json-reader.h
+include/json-glib-1.0/json-glib/json-types.h
+include/json-glib-1.0/json-glib/json-utils.h
+include/json-glib-1.0/json-glib/json-version-macros.h
+include/json-glib-1.0/json-glib/json-version.h
+${PLIST.introspection}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.600.2
+lib/pkgconfig/json-glib-1.0.pc
+libexec/installed-tests/json-glib-1.0/array
+libexec/installed-tests/json-glib-1.0/boxed
+libexec/installed-tests/json-glib-1.0/builder
+libexec/installed-tests/json-glib-1.0/generator
+libexec/installed-tests/json-glib-1.0/gvariant
+libexec/installed-tests/json-glib-1.0/invalid
+libexec/installed-tests/json-glib-1.0/invalid.json
+libexec/installed-tests/json-glib-1.0/node
+libexec/installed-tests/json-glib-1.0/object
+libexec/installed-tests/json-glib-1.0/parser
+libexec/installed-tests/json-glib-1.0/path
+libexec/installed-tests/json-glib-1.0/reader
+libexec/installed-tests/json-glib-1.0/serialize-complex
+libexec/installed-tests/json-glib-1.0/serialize-full
+libexec/installed-tests/json-glib-1.0/serialize-simple
+libexec/installed-tests/json-glib-1.0/skip-bom.json
+libexec/installed-tests/json-glib-1.0/stream-load.json
+${PLIST.introspection}share/gir-1.0/Json-1.0.gir
+share/gtk-doc/html/json-glib/JsonBuilder.html
+share/gtk-doc/html/json-glib/JsonGenerator.html
+share/gtk-doc/html/json-glib/JsonParser.html
+share/gtk-doc/html/json-glib/JsonPath.html
+share/gtk-doc/html/json-glib/JsonReader.html
+share/gtk-doc/html/json-glib/annotation-glossary.html
+share/gtk-doc/html/json-glib/ch01.html
+share/gtk-doc/html/json-glib/ch02.html
+share/gtk-doc/html/json-glib/ch03.html
+share/gtk-doc/html/json-glib/ch04.html
+share/gtk-doc/html/json-glib/ch06.html
+share/gtk-doc/html/json-glib/home.png
+share/gtk-doc/html/json-glib/index.html
+share/gtk-doc/html/json-glib/ix01.html
+share/gtk-doc/html/json-glib/json-advanced.html
+share/gtk-doc/html/json-glib/json-base.html
+share/gtk-doc/html/json-glib/json-format-tool.html
+share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html
+share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html
+share/gtk-doc/html/json-glib/json-glib-JSON-Array.html
+share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html
+share/gtk-doc/html/json-glib/json-glib-JSON-Node.html
+share/gtk-doc/html/json-glib/json-glib-JSON-Object.html
+share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html
+share/gtk-doc/html/json-glib/json-glib-Utility-API.html
+share/gtk-doc/html/json-glib/json-glib-Versioning-information.html
+share/gtk-doc/html/json-glib/json-glib.devhelp2
+share/gtk-doc/html/json-glib/json-overview.html
+share/gtk-doc/html/json-glib/json-streams.html
+share/gtk-doc/html/json-glib/json-tools.html
+share/gtk-doc/html/json-glib/json-validate-tool.html
+share/gtk-doc/html/json-glib/left-insensitive.png
+share/gtk-doc/html/json-glib/left.png
+share/gtk-doc/html/json-glib/license.html
+share/gtk-doc/html/json-glib/right-insensitive.png
+share/gtk-doc/html/json-glib/right.png
+share/gtk-doc/html/json-glib/style.css
+share/gtk-doc/html/json-glib/tools.html
+share/gtk-doc/html/json-glib/up-insensitive.png
+share/gtk-doc/html/json-glib/up.png
+share/installed-tests/json-glib-1.0/array.test
+share/installed-tests/json-glib-1.0/boxed.test
+share/installed-tests/json-glib-1.0/builder.test
+share/installed-tests/json-glib-1.0/generator.test
+share/installed-tests/json-glib-1.0/gvariant.test
+share/installed-tests/json-glib-1.0/invalid.test
+share/installed-tests/json-glib-1.0/node.test
+share/installed-tests/json-glib-1.0/object.test
+share/installed-tests/json-glib-1.0/parser.test
+share/installed-tests/json-glib-1.0/path.test
+share/installed-tests/json-glib-1.0/reader.test
+share/installed-tests/json-glib-1.0/serialize-complex.test
+share/installed-tests/json-glib-1.0/serialize-full.test
+share/installed-tests/json-glib-1.0/serialize-simple.test
+${PLIST.nls}share/locale/as/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/be/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/bg/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/bs/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/el/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/et/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/eu/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/fur/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/gl/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/he/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/hi/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/id/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ky/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/lt/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/lv/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ml/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ms/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ne/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/oc/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/or/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/pa/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/sk/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/sl/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/te/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/tg/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/ug/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo
diff --git a/json-glib/buildlink3.mk b/json-glib/buildlink3.mk
new file mode 100644
index 0000000000..543b9d1813
--- /dev/null
+++ b/json-glib/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.13 2020/03/08 16:48:14 wiz Exp $
+#
+
+BUILDLINK_TREE+= json-glib
+
+.if !defined(JSON_GLIB_BUILDLINK3_MK)
+JSON_GLIB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.json-glib+= json-glib>=0.6.2
+BUILDLINK_ABI_DEPENDS.json-glib+= json-glib>=1.4.4nb1
+BUILDLINK_PKGSRCDIR.json-glib?= ../../textproc/json-glib
+
+pkgbase := json-glib
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.json-glib:Mnls)
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.endif
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif # JSON_GLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -json-glib
diff --git a/json-glib/distinfo b/json-glib/distinfo
new file mode 100644
index 0000000000..9739135376
--- /dev/null
+++ b/json-glib/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.18 2019/06/13 09:45:17 wiz Exp $
+
+SHA1 (json-glib-1.6.2.tar.xz) = d08c06ee28fe15980bd6474be789f2ef5ec555ee
+RMD160 (json-glib-1.6.2.tar.xz) = 26581a1036fbea61a081e17d881fea533a3544a0
+SHA512 (json-glib-1.6.2.tar.xz) = 8412390a639d368ed11181621739f43bc4900143ac062c3824c7140abec58ca2b09773a415034f03896a4ff63aa3414b492997da532848709238a83c3a068b11
+Size (json-glib-1.6.2.tar.xz) = 170260 bytes
diff --git a/json-glib/options.mk b/json-glib/options.mk
new file mode 100644
index 0000000000..ded1088d19
--- /dev/null
+++ b/json-glib/options.mk
@@ -0,0 +1,26 @@
+# $NetBSD: options.mk,v 1.4 2014/04/20 09:32:57 obache Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.json-glib
+PKG_SUPPORTED_OPTIONS= introspection nls
+PKG_SUGGESTED_OPTIONS+= introspection nls
+PLIST_VARS+= introspection nls
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mintrospection)
+BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5
+BUILDLINK_DEPMETHOD.gobject-introspection+= build
+.include "../../devel/gobject-introspection/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-introspection=yes
+PLIST.introspection= yes
+.else
+CONFIGURE_ARGS+= --enable-introspection=no
+.endif
+
+.if !empty(PKG_OPTIONS:Mnls)
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+PLIST.nls= yes
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif
Home |
Main Index |
Thread Index |
Old Index