Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libglib-testing for openSUSE:Factory
checked in at 2022-06-28 15:21:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libglib-testing (Old)
and /work/SRC/openSUSE:Factory/.libglib-testing.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libglib-testing"
Tue Jun 28 15:21:15 2022 rev:2 rq:985231 version:0.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/libglib-testing/libglib-testing.changes
2020-11-09 13:59:15.963721412 +0100
+++
/work/SRC/openSUSE:Factory/.libglib-testing.new.1548/libglib-testing.changes
2022-06-28 15:21:17.617845778 +0200
@@ -1,0 +2,9 @@
+Fri Jun 24 12:02:02 UTC 2022 - Dominique Leuenberger <[email protected]>
+
+- Update to version 0.1.1:
+ + Bugs fixed:
+ - docs: Make the API stability policy a little more mature.
+ - signal-logger: Don???t pass NULL to G_VALUE_LCOPY().
+ - Fix subproject build with recent meson.
+
+-------------------------------------------------------------------
Old:
----
libglib-testing-0.1.0.tar.bz2
New:
----
libglib-testing-0.1.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libglib-testing.spec ++++++
--- /var/tmp/diff_new_pack.jq39Sk/_old 2022-06-28 15:21:19.205848148 +0200
+++ /var/tmp/diff_new_pack.jq39Sk/_new 2022-06-28 15:21:19.213848160 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libglib-testing
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,17 @@
Name: libglib-testing
-Version: 0.1.0
+Version: 0.1.1
Release: 0
Summary: GLib test harness and mocking framework
License: LGPL-2.1-or-later
URL: https://gitlab.gnome.org/pwithnall/libglib-testing
Source: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2
+BuildRequires: gtk-doc
BuildRequires: meson >= 0.45.0
-BuildRequires: pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gio-2.0) >= 2.44
+BuildRequires: pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gobject-2.0) >= 2.44
-BuildRequires: gtk-doc
%description
libglib-testing is a test library providing test harnesses and mock
@@ -67,8 +67,6 @@
%post -n libglib-testing-0-0 -p /sbin/ldconfig
%postun -n libglib-testing-0-0 -p /sbin/ldconfig
-
-
%files -n libglib-testing-0-0
%license COPYING
%doc NEWS README
++++++ libglib-testing-0.1.0.tar.bz2 -> libglib-testing-0.1.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libglib-testing-0.1.0/.gitlab-ci.yml
new/libglib-testing-0.1.1/.gitlab-ci.yml
--- old/libglib-testing-0.1.0/.gitlab-ci.yml 2019-03-13 16:27:36.000000000
+0100
+++ new/libglib-testing-0.1.1/.gitlab-ci.yml 2022-03-09 18:02:28.000000000
+0100
@@ -51,7 +51,7 @@
pages:
stage: deploy
only:
- - master
+ - main
script:
- meson -Db_coverage=true -Ddocumentation=true _build .
- ninja -C _build test libglib-testing-doc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libglib-testing-0.1.0/NEWS
new/libglib-testing-0.1.1/NEWS
--- old/libglib-testing-0.1.0/NEWS 2019-03-13 16:27:36.000000000 +0100
+++ new/libglib-testing-0.1.1/NEWS 2022-03-09 18:02:28.000000000 +0100
@@ -1,3 +1,12 @@
+Overview of changes in libglib-testing 0.1.1
+============================================
+
+* Bugs fixed:
+ - !10 docs: Make the API stability policy a little more mature
+ - !11 signal-logger: Don???t pass NULL to G_VALUE_LCOPY()
+ - !12 Fix subproject build with recent meson
+
+
Overview of changes in libglib-testing 0.1.0
============================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libglib-testing-0.1.0/README
new/libglib-testing-0.1.1/README
--- old/libglib-testing-0.1.0/README 2019-03-13 16:27:36.000000000 +0100
+++ new/libglib-testing-0.1.1/README 2022-03-09 18:02:28.000000000 +0100
@@ -10,7 +10,10 @@
??? To keep test harness API out of libglib, since it should only be needed
at test time, not at runtime.
-All the library APIs are currently unstable and are likely to change wildly.
+All new library APIs are unstable and have the potential to change wildly after
+they???re added. After they have been used for a couple of months, they are
+unlikely to change further. Consideration will be made for how widely used an
+API is before potentially changing or breaking it.
Dependencies
============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libglib-testing-0.1.0/libglib-testing/meson.build
new/libglib-testing-0.1.1/libglib-testing/meson.build
--- old/libglib-testing-0.1.0/libglib-testing/meson.build 2019-03-13
16:27:36.000000000 +0100
+++ new/libglib-testing-0.1.1/libglib-testing/meson.build 2022-03-09
18:02:28.000000000 +0100
@@ -17,26 +17,14 @@
libglib_testing_include_subdir = join_paths(libglib_testing_api_name,
'libglib-testing')
-# FIXME: https://github.com/mesonbuild/meson/issues/2992
-if meson.is_subproject()
- libglib_testing = static_library(libglib_testing_api_name,
- libglib_testing_sources + libglib_testing_headers,
- dependencies: libglib_testing_public_deps,
- include_directories: root_inc,
- install: not meson.is_subproject(),
- version: meson.project_version(),
- soversion: libglib_testing_api_version,
- )
-else
- libglib_testing = library(libglib_testing_api_name,
- libglib_testing_sources + libglib_testing_headers,
- dependencies: libglib_testing_public_deps,
- include_directories: root_inc,
- install: not meson.is_subproject(),
- version: meson.project_version(),
- soversion: libglib_testing_api_version,
- )
-endif
+libglib_testing = library(libglib_testing_api_name,
+ libglib_testing_sources + libglib_testing_headers,
+ dependencies: libglib_testing_public_deps,
+ include_directories: root_inc,
+ install: not meson.is_subproject(),
+ version: meson.project_version(),
+ soversion: libglib_testing_api_version,
+)
libglib_testing_dep = declare_dependency(
link_with: libglib_testing,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/libglib-testing-0.1.0/libglib-testing/signal-logger.c
new/libglib-testing-0.1.1/libglib-testing/signal-logger.c
--- old/libglib-testing-0.1.0/libglib-testing/signal-logger.c 2019-03-13
16:27:36.000000000 +0100
+++ new/libglib-testing-0.1.1/libglib-testing/signal-logger.c 2022-03-09
18:02:28.000000000 +0100
@@ -142,6 +142,29 @@
g_free (emission);
}
+/* Version of G_VALUE_LCOPY() that allows %NULL return locations. */
+#define VALUE_LCOPY(value, var_args, __error) \
+G_STMT_START { \
+ const GValue *_value = (value); \
+ GType _value_type = G_VALUE_TYPE (_value); \
+ GTypeValueTable *_vtable = g_type_value_table_peek (_value_type); \
+ const gchar *_lcopy_format = _vtable->lcopy_format; \
+ GTypeCValue _cvalues[G_VALUE_COLLECT_FORMAT_MAX_LENGTH] = { { 0, }, }; \
+ guint _n_values = 0; \
+ \
+ while (*_lcopy_format != '\0') \
+ { \
+ g_assert (*_lcopy_format == G_VALUE_COLLECT_POINTER); \
+ _cvalues[_n_values++].v_pointer = va_arg ((var_args), gpointer); \
+ _lcopy_format++; \
+ } \
+ \
+ if (_n_values == 2 && !!_cvalues[0].v_pointer != !!_cvalues[1].v_pointer) \
+ *(__error) = g_strdup_printf ("all return locations need the same
nullability"); \
+ else if (_cvalues[0].v_pointer != NULL) \
+ *(__error) = _vtable->lcopy_value (_value, _n_values, _cvalues, 0); \
+} G_STMT_END
+
/**
* gt_signal_logger_emission_get_params:
* @self: a #GtSignalLoggerEmission
@@ -167,7 +190,7 @@
for (gsize i = 0; i < self->n_param_values; i++)
{
g_autofree gchar *error_message = NULL;
- G_VALUE_LCOPY (&self->param_values[i], ap, 0, &error_message);
+ VALUE_LCOPY (&self->param_values[i], ap, &error_message);
/* Error messages are not fatal, as they typically indicate that the user
* has passed in %NULL rather than a valid return pointer. We can recover
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libglib-testing-0.1.0/meson.build
new/libglib-testing-0.1.1/meson.build
--- old/libglib-testing-0.1.0/meson.build 2019-03-13 16:27:36.000000000
+0100
+++ new/libglib-testing-0.1.1/meson.build 2022-03-09 18:02:28.000000000
+0100
@@ -1,6 +1,6 @@
project('libglib-testing','c',
- version: '0.1.0',
- meson_version: '>= 0.45.0',
+ version: '0.1.1',
+ meson_version: '>= 0.54.0',
license: 'LGPLv2.1+',
default_options: [
'c_std=gnu11',
@@ -98,4 +98,4 @@
'LC_ALL=C.UTF-8',
]
-subdir('libglib-testing')
\ No newline at end of file
+subdir('libglib-testing')