Accepting request 834306 from GNOME:Factory

New stable release, I assume this should be ok for current old stable GNOME too (forwarded request 833843 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/834306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/json-glib?expand=0&rev=47
This commit is contained in:
Dominique Leuenberger 2020-09-25 14:23:39 +00:00 committed by Git OBS Bridge
commit dd6618c58c
4 changed files with 44 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:720c5f4379513dc11fd97dc75336eb0c0d3338c53128044d9fabec4374f4bc47
size 165584

3
json-glib-1.6.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d7c67602c4161ea7070fab6c5823afd9bd7f7bc955f652a50d3753b08494e73
size 168648

View File

@ -1,7 +1,31 @@
-------------------------------------------------------------------
Fri Sep 11 17:43:59 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <daniel.molkentin@suse.com>
- Require pkgconfig to create pkgconfig() provides
- Require pkgconfig to create pkgconfig() provides
-------------------------------------------------------------------
Sat Jan 25 14:15:45 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -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