Update to 1.0.4:
Release JSON-GLib 1.0.4
build: Enable subdir-objects
We need to remove the path specification inside the sources listing, and
modify the enumeration type and marshallers generation rules to cope
with it (by adding the $(srcdir) when needed). This is similar to the
changes there were made to Clutter.
Added Bosnian translation
build: Enable gtkdoc-check
We can verify that the documentation is correct and up to date every
time we distcheck by turning on the gtk-doc check tool.
build: Clean up gtk-doc stanzas
We need to ensure that gtk-doc looks into both the srcdir and the
builddir in order to find all annotations.
We also don't need to have the .types file under revision control:
gtk-doc is perfectly capable of rebuilding it by itself.
docs: Add missing symbol indices
docs: Add missing annotations
configure: test(1) uses = to test for string equality
https://bugzilla.gnome.org/show_bug.cgi?id=711600
https://bugzilla.gnome.org/show_bug.cgi?id=746143
Updated Slovak translation
MSVC Builds: Rename "Install" Projects
Rename the install projects as json-glib-install, so that it would be
easier for one to integrate the project set in a grand solution that can be
used to build the entire stack, such as for Clutter.
MSVC Builds: "Install" the .pdb Files
"Install" the .pdb files for the json-glib DLL and the tools to ease
debugging people developing or using json-glib, as the .pdb files are
already generated for all builds.
MSVC 2010 Projects: Clean Up "Installation"
The empty lines in the property sheets are not really needed, so remove
them.
MSVC Builds: Speed Up Release Builds
Use the multiprocessor compilation (/MP) option, which can cut down release
build times by quite a bit. This will emit a brief warning on debug
builds, but otherwise the build will proceed as normal.
Also use the /d2Zi+ option for MSVC 2010 (and later) builds so that more
useful information can be logged to the .pdb files for the release builds.
json-gvariant: Parse json doubles that are whole numbers
The json gvariant serializer encodes whole number doubles without
a dot. The deserializer needs to be able to parse these as well.
Fix problem, and add test cases.
https://bugzilla.gnome.org/show_bug.cgi?id=724319
builder: Add missing (transfer) annotation to json_builder_add_value()
Document and annotate the fact that json_builder_add_value() takes
ownership of the JsonNode passed in to it.
https://bugzilla.gnome.org/show_bug.cgi?id=743475
reader: Maintain a stack of member names
This fixes the case where, with nested objects, we call:
json_reader_read_member (reader, "outer");
// json_reader_get_member_name (reader) == "outer"
json_reader_read_member (reader, "inner");
// json_reader_get_member_name (reader) == "inner"
// do something useful
json_reader_end_member (reader);
but at the end, the following assertion no longer holds:
// json_reader_get_member_name (reader) == "outer"
even though the JsonReader state should have been reset after ending the
inner node.
Fix it by maintaining a stack of member names. This works with both
json_reader_read_member() and json_reader_read_element(). Updates to the
unit tests are included.
https://bugzilla.gnome.org/show_bug.cgi?id=741824
Handle serialization/deserialization of glong gulong and guint64
Long and unsigned long was properly serialized but not deserialized, guint64
handling is not ideal as the type is cast into a gint64, however this is
better than not handling the fundamental type at all.
https://bugzilla.gnome.org/show_bug.cgi?id=725972
Drop unnecessary '_' prefix from json_marshal
It's not public API anyway, and we use annotations instead of the '_'
prefix.
Updated Turkish translation
Updated Swedish translation
Updated Assamese translation
Updated German translation
doap category core
Clean up the enumeration type template
Include "config.h" in the enum types template
Expands the symbol annotation correctly.
Updated Greek translation
MSVC 2010+ Projects: Update "Installation" Process
Currently, due to the way that Visual Studio 2010+ projects are handled,
the "install" project does not re-build upon changes to the sources, as it
does not believe that its dependencies have changed, although the changed
sources are automatically recompiled. This means that if a part or more
of the solution does not build, or if the sources need some other fixes
or enhancements, the up-to-date build is not copied automatically, which
can be misleading.
Improve on the situation by forcing the "install" project to trigger its
rebuild, so that the updated binaries can be copied. This does trigger an
MSBuild warning, but having that warning is way better than not having an
up-to-date build, especially during testing and development.
[l10n] Update Catalan translation
Post-release version bump to 1.0.3
2015-07-01 11:32:36 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2015/07/01 09:32:36 wiz Exp $
|
2008-11-05 14:07:14 +01:00
|
|
|
|
Update to 1.0.4:
Release JSON-GLib 1.0.4
build: Enable subdir-objects
We need to remove the path specification inside the sources listing, and
modify the enumeration type and marshallers generation rules to cope
with it (by adding the $(srcdir) when needed). This is similar to the
changes there were made to Clutter.
Added Bosnian translation
build: Enable gtkdoc-check
We can verify that the documentation is correct and up to date every
time we distcheck by turning on the gtk-doc check tool.
build: Clean up gtk-doc stanzas
We need to ensure that gtk-doc looks into both the srcdir and the
builddir in order to find all annotations.
We also don't need to have the .types file under revision control:
gtk-doc is perfectly capable of rebuilding it by itself.
docs: Add missing symbol indices
docs: Add missing annotations
configure: test(1) uses = to test for string equality
https://bugzilla.gnome.org/show_bug.cgi?id=711600
https://bugzilla.gnome.org/show_bug.cgi?id=746143
Updated Slovak translation
MSVC Builds: Rename "Install" Projects
Rename the install projects as json-glib-install, so that it would be
easier for one to integrate the project set in a grand solution that can be
used to build the entire stack, such as for Clutter.
MSVC Builds: "Install" the .pdb Files
"Install" the .pdb files for the json-glib DLL and the tools to ease
debugging people developing or using json-glib, as the .pdb files are
already generated for all builds.
MSVC 2010 Projects: Clean Up "Installation"
The empty lines in the property sheets are not really needed, so remove
them.
MSVC Builds: Speed Up Release Builds
Use the multiprocessor compilation (/MP) option, which can cut down release
build times by quite a bit. This will emit a brief warning on debug
builds, but otherwise the build will proceed as normal.
Also use the /d2Zi+ option for MSVC 2010 (and later) builds so that more
useful information can be logged to the .pdb files for the release builds.
json-gvariant: Parse json doubles that are whole numbers
The json gvariant serializer encodes whole number doubles without
a dot. The deserializer needs to be able to parse these as well.
Fix problem, and add test cases.
https://bugzilla.gnome.org/show_bug.cgi?id=724319
builder: Add missing (transfer) annotation to json_builder_add_value()
Document and annotate the fact that json_builder_add_value() takes
ownership of the JsonNode passed in to it.
https://bugzilla.gnome.org/show_bug.cgi?id=743475
reader: Maintain a stack of member names
This fixes the case where, with nested objects, we call:
json_reader_read_member (reader, "outer");
// json_reader_get_member_name (reader) == "outer"
json_reader_read_member (reader, "inner");
// json_reader_get_member_name (reader) == "inner"
// do something useful
json_reader_end_member (reader);
but at the end, the following assertion no longer holds:
// json_reader_get_member_name (reader) == "outer"
even though the JsonReader state should have been reset after ending the
inner node.
Fix it by maintaining a stack of member names. This works with both
json_reader_read_member() and json_reader_read_element(). Updates to the
unit tests are included.
https://bugzilla.gnome.org/show_bug.cgi?id=741824
Handle serialization/deserialization of glong gulong and guint64
Long and unsigned long was properly serialized but not deserialized, guint64
handling is not ideal as the type is cast into a gint64, however this is
better than not handling the fundamental type at all.
https://bugzilla.gnome.org/show_bug.cgi?id=725972
Drop unnecessary '_' prefix from json_marshal
It's not public API anyway, and we use annotations instead of the '_'
prefix.
Updated Turkish translation
Updated Swedish translation
Updated Assamese translation
Updated German translation
doap category core
Clean up the enumeration type template
Include "config.h" in the enum types template
Expands the symbol annotation correctly.
Updated Greek translation
MSVC 2010+ Projects: Update "Installation" Process
Currently, due to the way that Visual Studio 2010+ projects are handled,
the "install" project does not re-build upon changes to the sources, as it
does not believe that its dependencies have changed, although the changed
sources are automatically recompiled. This means that if a part or more
of the solution does not build, or if the sources need some other fixes
or enhancements, the up-to-date build is not copied automatically, which
can be misleading.
Improve on the situation by forcing the "install" project to trigger its
rebuild, so that the updated binaries can be copied. This does trigger an
MSBuild warning, but having that warning is way better than not having an
up-to-date build, especially during testing and development.
[l10n] Update Catalan translation
Post-release version bump to 1.0.3
2015-07-01 11:32:36 +02:00
|
|
|
DISTNAME= json-glib-1.0.4
|
2015-03-13 12:21:39 +01:00
|
|
|
CATEGORIES= textproc gnome
|
2014-04-20 11:36:29 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/json-glib/${PKGVERSION_NOREV:R}/}
|
Update json-glib to 0.16.0. pkgsrc changes: use options framework to enable
the user to disable tests and NLS (enabled by default), and add PKG_OPTION
for gobject-introspection. EXTRACT_SUFX is now .tar.xz. Buildlink pthread
and textproc/json-c. Add PKG_BUILD_OPTIONS to buildlink3.mk. No noticeable
changes by default. PLIST uses PLIST_VARS as supplied by options.mk for
introspection and nls PKG_OPTIONS. Passes pkglint. From ChangeLog:
Translation additions/updates:
Assamese, Bengali Brazilian, British Bulgarian, Catalan, Catalan
(Valencian), Czech, Danish, English, Esperanto, Estonian, French, Galician,
German, Greek, Hindi, Hungarian, India, Indonesian, Italian, Japanese,
Korean, Kyrgyz, Latvian, Lithuanian, Norwegian (bokmal), Odia, Polish,
Portuguese, Portuguese (Brazilian), Punjabi, Russian, Serbian, Slovak,
Slovenian, Spanish, Swedish, Tadjik, Telugu, Traditional Chinese
translation (Hong Kong and Taiwan), Turkish, Ukrainian, Uyghur, Vietnamese
docs: Fix xinclude fallback for annotation glossary
variant: Fix documentation and annotations for deserialize()
Update Visual Studio Solution Files
Visual Studio Builds: Support building introspection files
Update build/win32/config.h.win32(.in)
Update Visual Studio Property Sheets
node: add (transfer none) annotations to the new typed initializers
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
path: Fix get all object members with wildcard
path: Fix get all array elements with wildcard
Using the same data as in tests, asking for $['store']['book'][*] JSON path
should return all the book objects in an array.
But that array is returned inside another array, dupped several times.
Fix VS 2008 poperty sheet
Cleanup/fix Visual C++ build files
build: Bump up the requirement for GLib
build: Use the symbols file to generate our public ABI
symbols: Re-sort
tests: Put g_type_init() under conditional compilation
Use typed initializers for JsonNode
Use the new typed JsonNode initializers
The typed setters in JsonArray and JsonObject should use the JsonNode
typed initializers.
Consolidate null handling in JsonArray and JsonObject
node: Add typed initializers
tests/reader: Improve test coverage
reader: "null" is a value
scanner: Remove unused functions
tests: Improve coverage
gobject: Use JsonSerializable API
Instead of directly accessing the vfunc from the interface vtable.
tests: Improve coverage
builder: Conform to the coding style
Function arguments should be aligned on different lines.
array: Relax preconditions on array and object methods
array: Relax add_string_element() preconditions
tests/parser: Check negative numeric values
tests/invalid: Improve test coverage
parser: Empty member names are not valid
build: Fix test-report generation
tests/invalid: Add more invalid JSON tests
tests/invalid: Check invalid assignments
parser: Use error codes for invalid assignments
tests: Move the invalid JSON unit to its own file
parser: Consolidate value parsing
parser: Show the column in the error message
parser: Fix small leak in json_parse_statement
reader: Do not do strict type validation on numeric types
node: Implicitly convert numeric types
generator: Use JsonValue, not GValue
doap: Change my email address to @gnome.org
Post-release version bump to 0.15.3
docs: Add missing symbols
build: Drop dependency on gnome-autogen.sh
Use autoreconf instead.
symbols: Add missing functions
build: Add abicheck.sh
scanner: Mark all symbols as internal
Use lcov instead of gcov for test coverage reports
With lcov we get nicer reporting tools, with HTML output.
node: Replace GValue with JsonValue
Add JsonValue
path: Pass int width for printf field width, not long
Signed-off-by: Fran Diéguez <fran.dieguez@mabishu.com>
Fix "install" paths in VS property sheets
Remove JSON_DISABLE_DEPRECATED
Prevent .po file updates on simple 'make'
autogen.sh: remove out-of-tree check
Fix VS property sheets
docs: Use markdown in the README
docs: Fix typo in JsonObject's description
Use the new GLib deprecation scheme
Use g_value_[sg]et_schar() with GLib 2.31
The non-explicitly signed variant is deprecated.
Adapt to the demise of single includes in GLib
Update VS9 property sheet
build: Fix srcdir != builddir
2013-04-21 16:04:20 +02:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2008-11-05 14:07:14 +01:00
|
|
|
|
2011-02-13 07:34:30 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2015-03-13 12:21:39 +01:00
|
|
|
HOMEPAGE= https://wiki.gnome.org/Projects/JsonGlib
|
2008-11-05 14:07:14 +01:00
|
|
|
COMMENT= JSON parser for GLib-based libraries and applications
|
2010-01-17 03:10:38 +01:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2008-11-05 14:07:14 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
Update json-glib to 0.16.0. pkgsrc changes: use options framework to enable
the user to disable tests and NLS (enabled by default), and add PKG_OPTION
for gobject-introspection. EXTRACT_SUFX is now .tar.xz. Buildlink pthread
and textproc/json-c. Add PKG_BUILD_OPTIONS to buildlink3.mk. No noticeable
changes by default. PLIST uses PLIST_VARS as supplied by options.mk for
introspection and nls PKG_OPTIONS. Passes pkglint. From ChangeLog:
Translation additions/updates:
Assamese, Bengali Brazilian, British Bulgarian, Catalan, Catalan
(Valencian), Czech, Danish, English, Esperanto, Estonian, French, Galician,
German, Greek, Hindi, Hungarian, India, Indonesian, Italian, Japanese,
Korean, Kyrgyz, Latvian, Lithuanian, Norwegian (bokmal), Odia, Polish,
Portuguese, Portuguese (Brazilian), Punjabi, Russian, Serbian, Slovak,
Slovenian, Spanish, Swedish, Tadjik, Telugu, Traditional Chinese
translation (Hong Kong and Taiwan), Turkish, Ukrainian, Uyghur, Vietnamese
docs: Fix xinclude fallback for annotation glossary
variant: Fix documentation and annotations for deserialize()
Update Visual Studio Solution Files
Visual Studio Builds: Support building introspection files
Update build/win32/config.h.win32(.in)
Update Visual Studio Property Sheets
node: add (transfer none) annotations to the new typed initializers
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
path: Fix get all object members with wildcard
path: Fix get all array elements with wildcard
Using the same data as in tests, asking for $['store']['book'][*] JSON path
should return all the book objects in an array.
But that array is returned inside another array, dupped several times.
Fix VS 2008 poperty sheet
Cleanup/fix Visual C++ build files
build: Bump up the requirement for GLib
build: Use the symbols file to generate our public ABI
symbols: Re-sort
tests: Put g_type_init() under conditional compilation
Use typed initializers for JsonNode
Use the new typed JsonNode initializers
The typed setters in JsonArray and JsonObject should use the JsonNode
typed initializers.
Consolidate null handling in JsonArray and JsonObject
node: Add typed initializers
tests/reader: Improve test coverage
reader: "null" is a value
scanner: Remove unused functions
tests: Improve coverage
gobject: Use JsonSerializable API
Instead of directly accessing the vfunc from the interface vtable.
tests: Improve coverage
builder: Conform to the coding style
Function arguments should be aligned on different lines.
array: Relax preconditions on array and object methods
array: Relax add_string_element() preconditions
tests/parser: Check negative numeric values
tests/invalid: Improve test coverage
parser: Empty member names are not valid
build: Fix test-report generation
tests/invalid: Add more invalid JSON tests
tests/invalid: Check invalid assignments
parser: Use error codes for invalid assignments
tests: Move the invalid JSON unit to its own file
parser: Consolidate value parsing
parser: Show the column in the error message
parser: Fix small leak in json_parse_statement
reader: Do not do strict type validation on numeric types
node: Implicitly convert numeric types
generator: Use JsonValue, not GValue
doap: Change my email address to @gnome.org
Post-release version bump to 0.15.3
docs: Add missing symbols
build: Drop dependency on gnome-autogen.sh
Use autoreconf instead.
symbols: Add missing functions
build: Add abicheck.sh
scanner: Mark all symbols as internal
Use lcov instead of gcov for test coverage reports
With lcov we get nicer reporting tools, with HTML output.
node: Replace GValue with JsonValue
Add JsonValue
path: Pass int width for printf field width, not long
Signed-off-by: Fran Diéguez <fran.dieguez@mabishu.com>
Fix "install" paths in VS property sheets
Remove JSON_DISABLE_DEPRECATED
Prevent .po file updates on simple 'make'
autogen.sh: remove out-of-tree check
Fix VS property sheets
docs: Use markdown in the README
docs: Fix typo in JsonObject's description
Use the new GLib deprecation scheme
Use g_value_[sg]et_schar() with GLib 2.31
The non-explicitly signed variant is deprecated.
Adapt to the demise of single includes in GLib
Update VS9 property sheet
build: Fix srcdir != builddir
2013-04-21 16:04:20 +02:00
|
|
|
USE_TOOLS+= gmake msgfmt msgmerge pkg-config xgettext
|
2008-11-05 14:07:14 +01:00
|
|
|
|
2014-08-09 22:07:07 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-man
|
|
|
|
|
2008-11-05 14:07:14 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= json-glib.pc.in
|
|
|
|
|
2014-04-20 11:32:57 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
Update json-glib to 0.16.0. pkgsrc changes: use options framework to enable
the user to disable tests and NLS (enabled by default), and add PKG_OPTION
for gobject-introspection. EXTRACT_SUFX is now .tar.xz. Buildlink pthread
and textproc/json-c. Add PKG_BUILD_OPTIONS to buildlink3.mk. No noticeable
changes by default. PLIST uses PLIST_VARS as supplied by options.mk for
introspection and nls PKG_OPTIONS. Passes pkglint. From ChangeLog:
Translation additions/updates:
Assamese, Bengali Brazilian, British Bulgarian, Catalan, Catalan
(Valencian), Czech, Danish, English, Esperanto, Estonian, French, Galician,
German, Greek, Hindi, Hungarian, India, Indonesian, Italian, Japanese,
Korean, Kyrgyz, Latvian, Lithuanian, Norwegian (bokmal), Odia, Polish,
Portuguese, Portuguese (Brazilian), Punjabi, Russian, Serbian, Slovak,
Slovenian, Spanish, Swedish, Tadjik, Telugu, Traditional Chinese
translation (Hong Kong and Taiwan), Turkish, Ukrainian, Uyghur, Vietnamese
docs: Fix xinclude fallback for annotation glossary
variant: Fix documentation and annotations for deserialize()
Update Visual Studio Solution Files
Visual Studio Builds: Support building introspection files
Update build/win32/config.h.win32(.in)
Update Visual Studio Property Sheets
node: add (transfer none) annotations to the new typed initializers
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
path: Fix get all object members with wildcard
path: Fix get all array elements with wildcard
Using the same data as in tests, asking for $['store']['book'][*] JSON path
should return all the book objects in an array.
But that array is returned inside another array, dupped several times.
Fix VS 2008 poperty sheet
Cleanup/fix Visual C++ build files
build: Bump up the requirement for GLib
build: Use the symbols file to generate our public ABI
symbols: Re-sort
tests: Put g_type_init() under conditional compilation
Use typed initializers for JsonNode
Use the new typed JsonNode initializers
The typed setters in JsonArray and JsonObject should use the JsonNode
typed initializers.
Consolidate null handling in JsonArray and JsonObject
node: Add typed initializers
tests/reader: Improve test coverage
reader: "null" is a value
scanner: Remove unused functions
tests: Improve coverage
gobject: Use JsonSerializable API
Instead of directly accessing the vfunc from the interface vtable.
tests: Improve coverage
builder: Conform to the coding style
Function arguments should be aligned on different lines.
array: Relax preconditions on array and object methods
array: Relax add_string_element() preconditions
tests/parser: Check negative numeric values
tests/invalid: Improve test coverage
parser: Empty member names are not valid
build: Fix test-report generation
tests/invalid: Add more invalid JSON tests
tests/invalid: Check invalid assignments
parser: Use error codes for invalid assignments
tests: Move the invalid JSON unit to its own file
parser: Consolidate value parsing
parser: Show the column in the error message
parser: Fix small leak in json_parse_statement
reader: Do not do strict type validation on numeric types
node: Implicitly convert numeric types
generator: Use JsonValue, not GValue
doap: Change my email address to @gnome.org
Post-release version bump to 0.15.3
docs: Add missing symbols
build: Drop dependency on gnome-autogen.sh
Use autoreconf instead.
symbols: Add missing functions
build: Add abicheck.sh
scanner: Mark all symbols as internal
Use lcov instead of gcov for test coverage reports
With lcov we get nicer reporting tools, with HTML output.
node: Replace GValue with JsonValue
Add JsonValue
path: Pass int width for printf field width, not long
Signed-off-by: Fran Diéguez <fran.dieguez@mabishu.com>
Fix "install" paths in VS property sheets
Remove JSON_DISABLE_DEPRECATED
Prevent .po file updates on simple 'make'
autogen.sh: remove out-of-tree check
Fix VS property sheets
docs: Use markdown in the README
docs: Fix typo in JsonObject's description
Use the new GLib deprecation scheme
Use g_value_[sg]et_schar() with GLib 2.31
The non-explicitly signed variant is deprecated.
Adapt to the demise of single includes in GLib
Update VS9 property sheet
build: Fix srcdir != builddir
2013-04-21 16:04:20 +02:00
|
|
|
.include "options.mk"
|
2008-11-05 14:07:14 +01:00
|
|
|
|
2014-04-20 11:36:29 +02:00
|
|
|
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
|
2008-11-05 14:07:14 +01:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|