diff --git a/baselibs.conf b/baselibs.conf index 7d7b033..178d45e 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libgssdp-1_0-3 \ No newline at end of file +libgssdp-1_2-0 diff --git a/gssdp-1.0.2.tar.xz b/gssdp-1.0.2.tar.xz deleted file mode 100644 index d651502..0000000 --- a/gssdp-1.0.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1e17c09c7e1a185b0bd84fd6ff3794045a3cd729b707c23e422ff66471535dc -size 312352 diff --git a/gssdp-1.1.1.tar.xz b/gssdp-1.1.1.tar.xz new file mode 100644 index 0000000..cd72191 --- /dev/null +++ b/gssdp-1.1.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29b9191698490425dfc677d4d265ab47d2db0165abe7388ff1de0e3d459b9e77 +size 58608 diff --git a/gssdp.changes b/gssdp.changes index 287628e..bf0455a 100644 --- a/gssdp.changes +++ b/gssdp.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sat Jan 5 20:32:15 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 1.1.1: + + Fix a crash with sniffer. + + Fix pktinfo handling on OS X. + + Fix mssing network mask in GSSDPClient. + + Several build test simplifications. + + Add property for address family in GSSDPClient. + + Remove address family hack in sniffer. + + Add property for UDA version in GSSDPClient. +- Changes from version 1.1.0.1: + + Re-release of 1.1.0 because of meson tarball naming. +- Changes from version 1.1.0: + + Bump API and ABI versions. + + Port to new GLib type macros. + + Remove the custom marshaller. + + Make error enum a type. + + Drop deprecated properties and functions. + + Clean up Sniffer UI. + + Refactor get_host_ip into separate files. + + Use several GLib helper functions like g_clear_object etc. + + Fix deprecations with GTK 3.22 in sniffer. + + Port build system to Meson. + + Drop meta-data file and custom vala for vapi. + + Port sniffer to use UI from GResource. + + Make sniffer UI more GNOME 3 hig-ish. + + Some usability improvements for sniffer. + + Add rescan for sniffer. + + Introduce more debug logging while creating the GSSDP client. + + Recreate the socket sources on errors. + + Fix a memory leak in sniffer. + + Add IPv6 support. + + Have sniffer show the network interface. +- Switch to meson buildsystem, add meson and gtk-doc BuildRequires + and macros. +- Add soname and sover defines and set them to 1_2-0 and 1.2, make + future API and ABI bumps easier. + ------------------------------------------------------------------- Wed Feb 28 16:31:30 UTC 2018 - dimstar@opensuse.org diff --git a/gssdp.spec b/gssdp.spec index 929b09e..b43d287 100644 --- a/gssdp.spec +++ b/gssdp.spec @@ -1,7 +1,7 @@ # # spec file for package gssdp # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# When bumping soname, do not forget to bump in baselibs.conf too. +%define soname 1_2-0 +%define sover 1.2 + Name: gssdp -Version: 1.0.2 +Version: 1.1.1 Release: 0 Summary: Library for resource discovery and announcement over SSDP License: LGPL-2.0-or-later Group: Development/Libraries/C and C++ URL: http://www.gupnp.org/ -Source: http://download.gnome.org/sources/gssdp/1.0/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gssdp/1.1/%{name}-%{version}.tar.xz Source1: baselibs.conf + +BuildRequires: gtk-doc +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(gobject-introspection-1.0) @@ -46,11 +53,11 @@ announcement over SSDP. This package contains a device sniffer. -%package -n libgssdp-1_0-3 +%package -n libgssdp-%{soname} Summary: Library for resource discovery and announcement over SSDP Group: Development/Libraries/C and C++ -%description -n libgssdp-1_0-3 +%description -n libgssdp-%{soname} gssdp offers a GObject-based API for handling resource discovery and announcement over SSDP. @@ -67,7 +74,7 @@ This package provides the GObject Introspection bindings for gssdp. %package -n libgssdp-devel Summary: Library for resource discovery and announcement over SSDP - Development Files Group: Development/Libraries/C and C++ -Requires: libgssdp-1_0-3 = %{version} +Requires: libgssdp-%{soname} = %{version} Requires: typelib-1_0-GSSDP-1_0 = %{version} %description -n libgssdp-devel @@ -75,41 +82,45 @@ gssdp offers a GObject-based API for handling resource discovery and announcement over SSDP. %prep -%setup -q +%autosetup -p1 %build -%configure --disable-static -make %{?_smp_mflags} +%meson \ + -Dgtk_doc=true \ + -Dsniffer=true \ + -Dintrospection=true \ + -Dvapi=true \ + -Dexamples=false \ + %{nil} +%meson_build %install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print +%meson_install -%post -n libgssdp-1_0-3 -p /sbin/ldconfig -%postun -n libgssdp-1_0-3 -p /sbin/ldconfig +%post -n libgssdp-%{soname} -p /sbin/ldconfig +%postun -n libgssdp-%{soname} -p /sbin/ldconfig %files utils %{_bindir}/* -%{_datadir}/%{name} -%files -n libgssdp-1_0-3 +%files -n libgssdp-%{soname} %license COPYING %doc AUTHORS NEWS README %{_libdir}/*.so.* %files -n typelib-1_0-GSSDP-1_0 -%{_libdir}/girepository-1.0/GSSDP-1.0.typelib +%{_libdir}/girepository-1.0/GSSDP-%{sover}.typelib %files -n libgssdp-devel -%{_includedir}/%{name}-1.0 +%{_includedir}/%{name}-%{sover}/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc -%{_datadir}/gir-1.0/GSSDP-1.0.gir +%{_datadir}/gir-1.0/GSSDP-%{sover}.gir %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/%{name} %dir %{_datadir}/vala/vapi -%{_datadir}/vala/vapi/gssdp-1.0.deps -%{_datadir}/vala/vapi/gssdp-1.0.vapi +%{_datadir}/vala/vapi/gssdp-%{sover}.deps +%{_datadir}/vala/vapi/gssdp-%{sover}.vapi %changelog