Hello community, here is the log from the commit of package jsonrpc-glib for openSUSE:Factory checked in at 2019-10-17 13:02:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jsonrpc-glib (Old) and /work/SRC/openSUSE:Factory/.jsonrpc-glib.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jsonrpc-glib" Thu Oct 17 13:02:16 2019 rev:9 rq:736586 version:3.34.0 Changes: -------- --- /work/SRC/openSUSE:Factory/jsonrpc-glib/jsonrpc-glib.changes 2019-07-08 15:02:51.450700800 +0200 +++ /work/SRC/openSUSE:Factory/.jsonrpc-glib.new.2352/jsonrpc-glib.changes 2019-10-17 13:02:19.340844193 +0200 @@ -1,0 +2,15 @@ +Tue Sep 10 18:13:20 CDT 2019 - [email protected] + +- Update to version 3.34.0: + + No changes. + +------------------------------------------------------------------- +Thu Aug 15 11:38:36 CEST 2019 - [email protected] + +- Update to version 3.33.3: + + Custom marshallers are now provided for all signals to improve + the stack-unwinding capability from kernel tooling such as + Linux `perf`. + + Various build system improvements. + +------------------------------------------------------------------- Old: ---- jsonrpc-glib-3.32.0.tar.xz New: ---- jsonrpc-glib-3.34.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jsonrpc-glib.spec ++++++ --- /var/tmp/diff_new_pack.QX8QIP/_old 2019-10-17 13:02:19.788843059 +0200 +++ /var/tmp/diff_new_pack.QX8QIP/_new 2019-10-17 13:02:19.788843059 +0200 @@ -18,16 +18,16 @@ %define sover 1_0-1 Name: jsonrpc-glib -Version: 3.32.0 +Version: 3.34.0 Release: 0 Summary: Library to communicate with JSON-RPC based peers License: LGPL-2.1-or-later Group: Development/Libraries/GNOME URL: https://gitlab.gnome.org/GNOME/jsonrpc-glib -Source0: https://download.gnome.org/sources/jsonrpc-glib/3.32/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/jsonrpc-glib/3.34/%{name}-%{version}.tar.xz BuildRequires: gtk-doc -BuildRequires: meson >= 0.40.1 +BuildRequires: meson >= 0.49.2 BuildRequires: pkgconfig BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) ++++++ jsonrpc-glib-3.32.0.tar.xz -> jsonrpc-glib-3.34.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonrpc-glib-3.32.0/NEWS new/jsonrpc-glib-3.34.0/NEWS --- old/jsonrpc-glib-3.32.0/NEWS 2019-03-13 08:15:09.000000000 +0100 +++ new/jsonrpc-glib-3.34.0/NEWS 2019-09-10 02:47:58.000000000 +0200 @@ -1,4 +1,14 @@ ============== +Version 3.33.3 +============== + +Changes in this release: + + • Custom marshallers are now provided for all signals to improve the + stack-unwinding capability from kernel tooling such as Linux `perf`. + • Various build system improvements. + +============== Version 3.32.0 ============== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonrpc-glib-3.32.0/meson.build new/jsonrpc-glib-3.34.0/meson.build --- old/jsonrpc-glib-3.32.0/meson.build 2019-03-13 08:15:09.000000000 +0100 +++ new/jsonrpc-glib-3.34.0/meson.build 2019-09-10 02:47:58.000000000 +0200 @@ -1,7 +1,7 @@ project('jsonrpc-glib', 'c', - version: '3.32.0', + version: '3.33.3', license: 'LGPLv2.1+', - meson_version: '>= 0.40.1', + meson_version: '>= 0.49.2', default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ], ) @@ -26,6 +26,8 @@ revision = jsonrpc_glib_interface_age libversion = '@0@.@1@.@2@'.format(soversion, current, revision) +darwin_versions = [current + 1, '@0@.@1@'.format(current + 1, revision)] + config_h = configuration_data() config_h.set_quoted('GETTEXT_PACKAGE', 'libjsonrpc_glib') config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir'))) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonrpc-glib-3.32.0/src/jsonrpc-client.c new/jsonrpc-glib-3.34.0/src/jsonrpc-client.c --- old/jsonrpc-glib-3.32.0/src/jsonrpc-client.c 2019-03-13 08:15:09.000000000 +0100 +++ new/jsonrpc-glib-3.34.0/src/jsonrpc-client.c 2019-09-10 02:47:58.000000000 +0200 @@ -58,6 +58,7 @@ #include "jsonrpc-client.h" #include "jsonrpc-input-stream.h" #include "jsonrpc-input-stream-private.h" +#include "jsonrpc-marshalers.h" #include "jsonrpc-output-stream.h" typedef struct @@ -504,11 +505,8 @@ G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (JsonrpcClientClass, failed), NULL, NULL, - g_cclosure_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); - g_signal_set_va_marshaller (signals [FAILED], - G_TYPE_FROM_CLASS (klass), - g_cclosure_marshal_VOID__VOIDv); /** * JsonrpcClient::handle-call: @@ -537,12 +535,16 @@ G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED, G_STRUCT_OFFSET (JsonrpcClientClass, handle_call), - g_signal_accumulator_true_handled, NULL, NULL, + g_signal_accumulator_true_handled, NULL, + _jsonrpc_marshal_BOOLEAN__STRING_VARIANT_VARIANT, G_TYPE_BOOLEAN, 3, G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_VARIANT, G_TYPE_VARIANT); + g_signal_set_va_marshaller (signals [HANDLE_CALL], + G_TYPE_FROM_CLASS (klass), + _jsonrpc_marshal_BOOLEAN__STRING_VARIANT_VARIANTv); /** * JsonrpcClient::notification: @@ -562,11 +564,15 @@ G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED, G_STRUCT_OFFSET (JsonrpcClientClass, notification), - NULL, NULL, NULL, + NULL, NULL, + _jsonrpc_marshal_VOID__STRING_VARIANT, G_TYPE_NONE, 2, G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_VARIANT); + g_signal_set_va_marshaller (signals [NOTIFICATION], + G_TYPE_FROM_CLASS (klass), + _jsonrpc_marshal_VOID__STRING_VARIANTv); } static void diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonrpc-glib-3.32.0/src/jsonrpc-marshalers.list new/jsonrpc-glib-3.34.0/src/jsonrpc-marshalers.list --- old/jsonrpc-glib-3.32.0/src/jsonrpc-marshalers.list 1970-01-01 01:00:00.000000000 +0100 +++ new/jsonrpc-glib-3.34.0/src/jsonrpc-marshalers.list 2019-09-10 02:47:58.000000000 +0200 @@ -0,0 +1,4 @@ +BOOLEAN:OBJECT,STRING,VARIANT,VARIANT +BOOLEAN:STRING,VARIANT,VARIANT +VOID:OBJECT,STRING,VARIANT +VOID:STRING,VARIANT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonrpc-glib-3.32.0/src/jsonrpc-server.c new/jsonrpc-glib-3.34.0/src/jsonrpc-server.c --- old/jsonrpc-glib-3.32.0/src/jsonrpc-server.c 2019-03-13 08:15:09.000000000 +0100 +++ new/jsonrpc-glib-3.34.0/src/jsonrpc-server.c 2019-09-10 02:47:58.000000000 +0200 @@ -23,6 +23,7 @@ #include <stdlib.h> #include "jsonrpc-input-stream.h" +#include "jsonrpc-marshalers.h" #include "jsonrpc-output-stream.h" #include "jsonrpc-server.h" @@ -152,13 +153,17 @@ G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (JsonrpcServerClass, handle_call), - g_signal_accumulator_true_handled, NULL, NULL, + g_signal_accumulator_true_handled, NULL, + _jsonrpc_marshal_BOOLEAN__OBJECT_STRING_VARIANT_VARIANT, G_TYPE_BOOLEAN, 4, JSONRPC_TYPE_CLIENT, G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_VARIANT, G_TYPE_VARIANT); + g_signal_set_va_marshaller (signals [HANDLE_CALL], + G_TYPE_FROM_CLASS (klass), + _jsonrpc_marshal_BOOLEAN__OBJECT_STRING_VARIANT_VARIANTv); /** * JsonrpcServer::notification: @@ -176,12 +181,16 @@ G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (JsonrpcServerClass, notification), - NULL, NULL, NULL, + NULL, NULL, + _jsonrpc_marshal_VOID__OBJECT_STRING_VARIANT, G_TYPE_NONE, 3, JSONRPC_TYPE_CLIENT, G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_VARIANT); + g_signal_set_va_marshaller (signals [NOTIFICATION], + G_TYPE_FROM_CLASS (klass), + _jsonrpc_marshal_VOID__OBJECT_STRING_VARIANTv); /** * JsonrpcServer::client-accepted: @@ -198,13 +207,10 @@ G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (JsonrpcServerClass, client_accepted), NULL, NULL, - g_cclosure_marshal_VOID__OBJECT, + NULL, G_TYPE_NONE, 1, JSONRPC_TYPE_CLIENT); - g_signal_set_va_marshaller (signals [CLIENT_ACCEPTED], - G_TYPE_FROM_CLASS (klass), - g_cclosure_marshal_VOID__OBJECTv); /** * JsonrpcServer::client-closed: @@ -221,13 +227,10 @@ G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (JsonrpcServerClass, client_closed), NULL, NULL, - g_cclosure_marshal_VOID__OBJECT, + NULL, G_TYPE_NONE, 1, JSONRPC_TYPE_CLIENT); - g_signal_set_va_marshaller (signals [CLIENT_CLOSED], - G_TYPE_FROM_CLASS (klass), - g_cclosure_marshal_VOID__OBJECTv); } static void diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonrpc-glib-3.32.0/src/meson.build new/jsonrpc-glib-3.34.0/src/meson.build --- old/jsonrpc-glib-3.32.0/src/meson.build 2019-03-13 08:15:09.000000000 +0100 +++ new/jsonrpc-glib-3.34.0/src/meson.build 2019-09-10 02:47:58.000000000 +0200 @@ -11,9 +11,15 @@ input: 'jsonrpc-version.h.in', output: 'jsonrpc-version.h', install_dir: libjsonrpc_glib_header_dir, - install: true, configuration: version_data) +marshalers = gnome.genmarshal('jsonrpc-marshalers', + sources: 'jsonrpc-marshalers.list', + prefix: '_jsonrpc_marshal', + valist_marshallers: true, + internal: true, +) + libjsonrpc_glib_generated_headers = [ jsonrpc_version_h, ] @@ -46,17 +52,19 @@ libjsonrpc_glib_generated_headers, libjsonrpc_glib_public_headers, libjsonrpc_glib_public_sources, + marshalers, ] libjsonrpc_glib = library( 'jsonrpc-glib-' + apiversion, libjsonrpc_glib_sources, - c_args: hidden_visibility_args + release_args, - dependencies: libjsonrpc_glib_deps, - soversion: soversion, - version: libversion, - install: true, + c_args: hidden_visibility_args + release_args, + dependencies: libjsonrpc_glib_deps, + soversion: soversion, + version: libversion, +darwin_versions: darwin_versions, + install: true, ) libjsonrpc_glib_dep = declare_dependency( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonrpc-glib-3.32.0/tests/meson.build new/jsonrpc-glib-3.34.0/tests/meson.build --- old/jsonrpc-glib-3.32.0/tests/meson.build 2019-03-13 08:15:09.000000000 +0100 +++ new/jsonrpc-glib-3.34.0/tests/meson.build 2019-09-10 02:47:58.000000000 +0200 @@ -11,12 +11,10 @@ ] test_cflags = [ - '-fPIE', '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()), ] test_link_args = [ - '-fPIC', ] test_deps = libjsonrpc_glib_deps + [
