diff --git a/json-glib-1.4.4.tar.xz b/json-glib-1.4.4.tar.xz deleted file mode 100644 index 8f3ec47..0000000 --- a/json-glib-1.4.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:720c5f4379513dc11fd97dc75336eb0c0d3338c53128044d9fabec4374f4bc47 -size 165584 diff --git a/json-glib-1.6.0.tar.xz b/json-glib-1.6.0.tar.xz new file mode 100644 index 0000000..78c9df6 --- /dev/null +++ b/json-glib-1.6.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d7c67602c4161ea7070fab6c5823afd9bd7f7bc955f652a50d3753b08494e73 +size 168648 diff --git a/json-glib.changes b/json-glib.changes index beb9c08..787e758 100644 --- a/json-glib.changes +++ b/json-glib.changes @@ -1,7 +1,31 @@ +------------------------------------------------------------------- +Fri Sep 11 17:43:59 UTC 2020 - Bjørn Lie + +- Update to version 1.6.0: + + docs: Add missing index for 1.6 symbols. + + Updated translations. +- Add gtk-doc BuildRequires and build gtk-doc api documentation and + manpages via passing man=true and gtk_doc=enabled to meson. +- Add check section and run meson_test macro during build. +- Drop obsolete nuking of .la files, no longer needed. + +------------------------------------------------------------------- +Fri Sep 4 18:18:38 UTC 2020 - dimstar@opensuse.org + +- Update to version 1.5.2: + + Add getters with default fallback for JsonObject. + + Clarify some expections of the json_object_get_*_member APIs. + + Fix getting immutable root nodes from empty input. + + Add `--output` option to json-glib-format. + + Support loading files via memory mapping. + + Add a symbol version to all exported symbols. +- Pass -Dgtk_doc=disabled to meson: keep the gtk-doc disabled for + now. + ------------------------------------------------------------------- Fri May 22 12:27:24 UTC 2020 - Daniel Molkentin -- Require pkgconfig to create pkgconfig() provides +- Require pkgconfig to create pkgconfig() provides ------------------------------------------------------------------- Sat Jan 25 14:15:45 UTC 2020 - Dominique Leuenberger diff --git a/json-glib.spec b/json-glib.spec index a32ca90..fbdd5fe 100644 --- a/json-glib.spec +++ b/json-glib.spec @@ -18,15 +18,18 @@ Name: json-glib -Version: 1.4.4 +Version: 1.6.0 Release: 0 Summary: Library for JavaScript Object Notation format License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL: http://live.gnome.org/JsonGlib -Source0: http://download.gnome.org/sources/json-glib/1.4/%{name}-%{version}.tar.xz + +Source0: https://download.gnome.org/sources/json-glib/1.6/%{name}-%{version}.tar.xz Source99: baselibs.conf -BuildRequires: glib2-devel >= 2.46 + +BuildRequires: gtk-doc +BuildRequires: glib2-devel >= 2.54 BuildRequires: gobject-introspection-devel BuildRequires: meson BuildRequires: pkgconfig @@ -93,16 +96,17 @@ json-glib library. translation-update-upstream po %{name}-1.0 %build -# These 2 options should work, but currently install fase fails. -# FIXME -Denable-man=true \ -# FIXME -Denable-gtk-doc=true \ %meson \ + -Dman=true \ + -Dgtk_doc=enabled \ %{nil} %meson_build +%check +%meson_test + %install %meson_install -find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name}-1.0 %post -n libjson-glib-1_0-0 -p /sbin/ldconfig @@ -118,9 +122,13 @@ find %{buildroot} -type f -name "*.la" -delete -print %files devel %doc NEWS README.md -# Those could potentially be split in a -tools package, but are never used by non-devs. +# These could potentially be split in a -tools package, but are never used by non-devs. %{_bindir}/json-glib-format %{_bindir}/json-glib-validate +%{_mandir}/man1/json-glib-format.1%{ext_man} +%{_mandir}/man1/json-glib-validate.1%{ext_man} +%{_datadir}/gtk-doc/html/json-glib +# %{_includedir}/%{name}-1.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc