Hello community, here is the log from the commit of package gssdp for openSUSE:Factory checked in at 2020-01-08 19:32:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gssdp (Old) and /work/SRC/openSUSE:Factory/.gssdp.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gssdp" Wed Jan 8 19:32:07 2020 rev:51 rq:761005 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gssdp/gssdp.changes 2019-06-24 21:47:49.627848624 +0200 +++ /work/SRC/openSUSE:Factory/.gssdp.new.6675/gssdp.changes 2020-01-08 19:32:13.876594975 +0100 @@ -1,0 +2,8 @@ +Thu Jan 2 13:01:55 UTC 2020 - Bjørn Lie <[email protected]> + +- Update to version 1.2.2: + + Fix macOS dylib versioning. + + Update the required glib version to 2.54. + + Fix setting the multicast sending interface. + +------------------------------------------------------------------- Old: ---- gssdp-1.2.1.tar.xz New: ---- gssdp-1.2.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gssdp.spec ++++++ --- /var/tmp/diff_new_pack.Uy0VEd/_old 2020-01-08 19:32:14.296594839 +0100 +++ /var/tmp/diff_new_pack.Uy0VEd/_new 2020-01-08 19:32:14.296594839 +0100 @@ -1,7 +1,7 @@ # # spec file for package gssdp # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %define sover 1.2 Name: gssdp -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: Library for resource discovery and announcement over SSDP License: LGPL-2.0-or-later @@ -33,7 +33,7 @@ BuildRequires: gtk-doc BuildRequires: meson BuildRequires: pkgconfig -BuildRequires: pkgconfig(glib-2.0) >= 2.44 +BuildRequires: pkgconfig(glib-2.0) >= 2.54 BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.0 BuildRequires: pkgconfig(libsoup-2.4) >= 2.26.1 ++++++ gssdp-1.2.1.tar.xz -> gssdp-1.2.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gssdp-1.2.1/NEWS new/gssdp-1.2.2/NEWS --- old/gssdp-1.2.1/NEWS 2019-05-01 22:59:29.000000000 +0200 +++ new/gssdp-1.2.2/NEWS 2020-01-02 12:44:00.000000000 +0100 @@ -1,3 +1,17 @@ +1.2.2 +===== + - Fix macOS dylib versioning + - Update the required glib version to 2.54 + - Fix setting the multicast sending interface + +Bugs fixed in this release: + - https://gitlab.gnome.org/GNOME/gssdp/issues/4 + +All contributors to this release: + - Jens Georg <[email protected]> + - Niveditha Rau <[email protected]> + - Tom Schoonjans <[email protected]> + 1.2.1 ===== - Fix portability issues with gssdp_net_get_device_list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gssdp-1.2.1/libgssdp/gssdp-socket-source.c new/gssdp-1.2.2/libgssdp/gssdp-socket-source.c --- old/gssdp-1.2.1/libgssdp/gssdp-socket-source.c 2019-05-01 22:59:29.000000000 +0200 +++ new/gssdp-1.2.2/libgssdp/gssdp-socket-source.c 2020-01-02 12:44:00.000000000 +0100 @@ -257,17 +257,6 @@ /* Enable multicast loopback */ g_socket_set_multicast_loopback (priv->socket, TRUE); - if (!gssdp_socket_mcast_interface_set (priv->socket, - priv->address, - (guint32) priv->index, - &inner_error)) { - g_propagate_prefixed_error ( - error, - inner_error, - "Failed to set multicast interface"); - - goto error; - } #ifdef G_OS_WIN32 bind_address = g_inet_socket_address_new (priv->address, @@ -282,6 +271,18 @@ } else { guint port = SSDP_PORT; + if (!gssdp_socket_mcast_interface_set (priv->socket, + priv->address, + (guint32) priv->index, + &inner_error)) { + g_propagate_prefixed_error ( + error, + inner_error, + "Failed to set multicast interface"); + + goto error; + } + /* Use user-supplied or random port for the socket source used * by M-SEARCH */ if (priv->type == GSSDP_SOCKET_SOURCE_TYPE_SEARCH) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gssdp-1.2.1/libgssdp/meson.build new/gssdp-1.2.2/libgssdp/meson.build --- old/gssdp-1.2.1/libgssdp/meson.build 2019-05-01 22:59:29.000000000 +0200 +++ new/gssdp-1.2.2/libgssdp/meson.build 2020-01-02 12:44:00.000000000 +0100 @@ -48,8 +48,18 @@ sources += 'gssdp-net-posix.c' endif +version = '0.0.0' +version_arr = version.split('.') +major_version = version_arr[0].to_int() +minor_version = version_arr[1].to_int() +micro_version = version_arr[2].to_int() +current = major_version + minor_version + 1 +interface_age = micro_version +darwin_versions = [current, '@0@.@1@'.format(current, interface_age)] + libgssdp = library('gssdp-1.2', sources + enums, - version : '0.0.0', + version : version, + darwin_versions : darwin_versions, dependencies : dependencies + system_deps, include_directories : include_directories('..'), install : true) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gssdp-1.2.1/meson.build new/gssdp-1.2.2/meson.build --- old/gssdp-1.2.1/meson.build 2019-05-01 22:59:29.000000000 +0200 +++ new/gssdp-1.2.2/meson.build 2020-01-02 12:44:00.000000000 +0100 @@ -1,4 +1,4 @@ -project('gssdp', 'c', version: '1.2.1') +project('gssdp', 'c', version: '1.2.2', meson_version : '>= 0.48.0') gnome = import('gnome') pkg = import('pkgconfig') @@ -62,9 +62,9 @@ generic_unix = not bionic_available and host_machine.system() != 'windows' dependencies = [ - dependency('glib-2.0', version : '>= 2.44'), - dependency('gobject-2.0', version : '>= 2.44'), - dependency('gio-2.0', version : '>= 2.44'), + dependency('glib-2.0', version : '>= 2.54'), + dependency('gobject-2.0', version : '>= 2.54'), + dependency('gio-2.0', version : '>= 2.54'), dependency('libsoup-2.4', version : '>= 2.26.1') ]
