Commit graph

48 commits

Author SHA1 Message Date
jperkin
9c51592bc2 *: Remove hardcoded -liconv / -lintl on SunOS.
This is now handled centrally via OPSYS_EXPLICIT_LIBDEPS support in libiconv
and gettext-lib.
2022-08-09 12:08:27 +00:00
jperkin
7d7b8ecc9d *: Explicitly pass -lintl on SunOS where required.
Recent libtool update appears to have exposed more of these.
2022-07-29 16:29:08 +00:00
wiz
1e0715e20d json-glib: really bump PKGREVISION 2022-06-07 18:12:04 +00:00
wiz
1a792088c9 json-glib: remove introspection option, enabling it by default
It was default-on, but bump PKGREVISION for those who had
it disabled.
2022-06-07 18:09:26 +00:00
adam
b6d9bd86bc revbump for icu and libffi 2021-12-08 16:01:42 +00:00
nia
a643c936b3 textproc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
2021-10-26 11:21:28 +00:00
nia
e05b375eba textproc: Remove SHA1 hashes for distfiles 2021-10-07 15:00:34 +00:00
cirnatdan
14922773e0 json-glib: Update textprox/json-glib to 1.6.2
Overview of changes for 1.6
==============================
• Add getters with default fallback for JsonObject [Emmanuele Bassi]
• #26 - Clarify some expections of the json_object_get_*_member APIs [Debarshi Ray]
• #29 - Improve reproducibility of the build [Ravish Bhatia]
• Use json_node_unref() with g_autoptr() [Robert Ancell]
• Clarify documentation regarding programmer errors [Philip Withnall]
• Fix getting immutable root nodes from empty input [Philip Withnall]
• Fix various memory leaks [Philip Withnall, Emmanuele Bassi]
• Add `--output` option to json-glib-format [Emmanuele Bassi]
• Refresh the build [Emmanuele Bassi]
• Add glib as a fallback sub-project [Xavier Claessens]
• Don't error with MSVC C4819 warning [Seungha Yang]
• Fix nullable annotation [Niels De Graef]
• Allow disabling tests when building [Stéphane Cerveau]
• #39 - Fix default deserialization method for JsonSerializable [Jeremy Philippe]
• Stop string to GVariant conversion failing due to unrelated errno changes [Robert Ancell]
• Support loading files via memory mapping [Philip Withnall]
• #33 - Add a symbol version to all exported symbols [Simon McVittie]
• #48 - Fix build with Clang 11 [Dimitry Andric]
• Stop using deprecated g_object_newv() constructor [Emmanuele Bassi]
• Add ordered iteration to JsonObjectIter [Emmanuele Bassi]
• #46 - Document nullability of `json_from_string()` [Emmanuele Bassi]
• #45 - Properly detect multiple top-level statements [Emmanuele Bassi]
• #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]
2021-04-21 19:52:29 +00:00
wiz
2283446c35 json-glib: add missing build dependency for man page 2021-04-13 06:31:05 +00:00
nia
91f1e86af9 json-glib: convert to meson properly, install man pages
disabling NLS is no longer possible

bump PKGREVISION
2021-04-12 11:16:11 +00:00
joerg
eea619655b Make some int cast warnings non-fatal for clang 2020-03-18 18:01:23 +00:00
wiz
f669fda471 *: recursive bump for libffi 2020-03-08 16:47:24 +00:00
gutteridge
45a729855c json-glib: remove now redundant test target
Now that adam@ has added a generic test target to meson's build.mk,
we can just rely on that, instead.
2020-01-02 16:52:28 +00:00
prlw1
c02441770e Rename py-meson to meson.
The motivation is to consider meson as an application, so there is only
one copy on the system, and as a python 3 program, it can build python 2
packages.
2019-10-07 09:28:09 +00:00
wiz
216ddd219a json-glib: update to 1.4.4.
Switch to meson build system.  Based on wip/json-glib.

Overview of changes for 1.4
==============================
• Use Meson as the only build system
• #773504 - Avoid extra allocations [Garrett Regier]
• #780550 - meson error looking for python3 [Daniele Forghieri]
• #769206 - docs: Clarify when NULL might be returned [Matthew Leeds]
• #766281 - utils/json_from_string: Don't reset user-provided error
            argument [Heinrich Fink]
• #758580 - json_reader_is_value returns TRUE for null type but
            json_reader_get_value throws an error [Robert Ancell]
• #768788 - Incorrect account of jsonPath syntax in doc [Allin Cottrell]
• #774688 - json_from_string() could be optimized to avoid copying the
            root node [Ole André Vadla Ravnås]
2019-06-13 09:45:17 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
prlw1
d59c698db2 Revert buildtool.mk additions for glib-{mkenums,genmarshal} using packages
Add TOOL_DEPENDS+=glib2-tools to glib2/buildlink3.mk
2017-10-15 23:19:10 +00:00
prlw1
7e1af6c9cf json-glib: requires glib-mkenums which is now in py-glib2-tools 2017-10-14 21:17:54 +00:00
ryoon
8b6f4dbcac Update to 1.2.8
Changelog:
* Add json_node_* functions
And some new features and bugfixes
2017-09-09 06:15:37 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
wiz
0af576b16d 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 09:32:36 +00:00
prlw1
103cf5a8ca Update json-glib to 1.0.2
parser: Use the right length for parsing the stream contents
json-parser: use length parameter when validating utf-8
generator: Escape Object key names correctly
generator: Escape the control characters correctly
generator: Add tests for updated string escaping routine
build: Include enum-types.[ch] in the introspection sources
translation updates
2015-03-13 11:21:39 +00:00
richard
d68a072128 avoid auto manpage generation until PLIST is updated 2014-08-09 20:07:07 +00:00
obache
f053da0869 Update json-glib to 1.0.
Overview of changes for 1.0
==============================
• Bump the dependency on GLib to 2.38
• Use the TAP driver for the test suite
• Improve the syntax validation in JsonPath
• Validate the JsonParser input to be UTF-8
• Add command line tools for validating and formatting JSON
• Improve documentation
2014-04-20 09:36:29 +00:00
obache
9516a5ceb7 Drop no meaning "tests" option.
"--{enable,disable}-gltest" configure option only affect to configure script
whether glib avaiablility test will be run or not, not affect to self-tests.
2014-04-20 09:32:57 +00:00
obache
a2d15fb3c1 Update json-glib to 0.16.2.
* drop unwanted dependency on json-c and pthread.
* enable introspection option by default.

Overview of changes for 0.16.2
==============================
• Use the -Bsymbolic-functions linker flag when available
2014-01-02 12:19:00 +00:00
wiz
bd9eea67da PKGREVISION bump for json-c shlib rename. 2013-11-25 12:00:45 +00:00
obache
8e62d2af63 gobject-introspection is just required to build typelib. 2013-07-15 01:05:21 +00:00
rodent
9aed2a8ef3 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 14:04:20 +00:00
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
obache
c38c120ee5 recursive bump from libffi shlib major bump
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
2012-09-15 10:03:29 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
wiz
ee311e3b36 Recursive bump for pcre-8.30* (shlib major change) 2012-03-03 00:11:51 +00:00
wiz
fb1a8e5414 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:41:29 +00:00
drochner
8dfac02646 update to 0.14.2
changes:
-minor API additions
-cleanup
-bugfixes
2011-11-05 15:56:47 +00:00
drochner
cc2abbf3fc update to 0.12.6
changes: bugfixes
2011-07-08 17:02:51 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
obache
890544cc54 gave up maintainership of Gnome related packages. 2011-02-13 06:34:30 +00:00
obache
2e17e6d3e8 Update json-glib to 0.12.2.
Overview of changes for 0.12.2
==============================
* Build fix on win32
* Implement support for bare values in JsonGenerator
* Do not require GLib 2.20 for the test suite
* Do not lose precision when serializing floating point values
* Improve introspection data
2011-01-12 09:02:57 +00:00
obache
86fdf48a78 Update json-glib to 0.12.0.
Overview of changes for 0.12.0
==============================
• Support surrogate pairs in JSON strings [Eiichi Sato]
• Update the test suite
• Add (optional) coverage reports
• Improve strictness of JsonParser
• Improve error reporting of JsonParser
• Add JsonBuilder, a convenience API for programmatic building
  of JSON trees [Luca Bruno]
• Add methods for JsonParser and JsonGenerator to handle Input|OutputStream
  objects coming from GIO.
• Add JsonReader, a convenience API for cursor-based parsing of
  JSON trees
• Depend on GObject-Introspection ≥ 0.9.5
2010-10-16 13:34:29 +00:00
obache
024b240db8 Update json-glib to 0.10.4.
Overview of changes for 0.10.4
==============================
• Improve the strictness of the JsonParser code by refactoring a large
  chunk of it
• Fix JsonGenerator when dumping nodes with a floating point value
• Add negative conformance test cases
2010-04-09 01:41:19 +00:00
obache
38b92b2905 Update json-glib to 0.10.2.
Overview of changes for 0.10.2
==============================
* Documentation fixes for GBoxed transformation functions
* Zero all fields of JsonObject on creation
2010-03-02 11:13:26 +00:00
obache
cee02b45dd Update json-glib to 0.10.0.
Overview of changes for 0.10.0
==============================
* Fix generation of doubles [Cornelius Hald]
* Add more units to the test suite
* Add JsonNode macros for quick type checking
* Guarantee insertion order when parsing and generating JSON Objects
* Serialize GParamSpecObject properties
* Add serialization and deserialization for GBoxed types
* Add API for serializing GObjects to, and deserializing from, JsonNode
* Build environment fixes
* Documentation fixes
* Generate correct introspection data
* Make JsonSerializable in complete control of deserialization [Tristan Van
  Berkom]
2010-01-17 02:10:38 +00:00
drochner
0f943ff272 update to 0.8.2
changes: bugfixes
2009-11-20 16:43:26 +00:00
obache
23fd4cd295 Update json-glib to 0.8.0.
Overview of changes for 0.8.0
=============================
* Remove the in-tree Vala bindings: they are part of Vala, now
* Remove the in-tree Debian packaging
* Fix bug #958: JsonGenerator does not escape special characters
* Fix bug #965: Conditionally compile the test suite
* Display the filename and line inside the error messages when
  loading from a file
* Fix bug #1203: Correctly terminate a string array
* Fix bug #1393: Regression tests fail on OpenBSD
* Do not leak memory on error code paths
* Improve and clean up the build system
* Make JsonNode completely opaque
* Conditionally generate introspection data on build
* Fix bug #1353: Do not overwrite when copying
* Deprecate json_object_add_member()
* Add convenience accessors for JsonObject and JsonArray
* Add convenience iteration functions for JsonObject and JsonArray
* Automatically promote integers to gint64, to compensate for the
  lack of integer size in the JSON specificiation
* Disallow the inclusion of single header files: only json-glib,h
  and json-gobject.h can be included directly
* Documentation fixes
* Clean up and remove code duplication inside the Parser object
2009-10-26 08:27:17 +00:00
joerg
73ae0afd90 Remove @dirrm entries from PLISTs 2009-06-14 18:17:11 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
obache
af26e57030 Import json-glib-0.6.2 as textproc/json-glib.
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.
2008-11-05 13:07:14 +00:00