Hello community,

here is the log from the commit of package spice-gtk for openSUSE:Factory 
checked in at 2020-03-25 23:41:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spice-gtk (Old)
 and      /work/SRC/openSUSE:Factory/.spice-gtk.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spice-gtk"

Wed Mar 25 23:41:55 2020 rev:46 rq:786276 version:0.38

Changes:
--------
--- /work/SRC/openSUSE:Factory/spice-gtk/spice-gtk.changes      2020-03-12 
22:58:18.366990730 +0100
+++ /work/SRC/openSUSE:Factory/.spice-gtk.new.3160/spice-gtk.changes    
2020-03-25 23:42:02.735969053 +0100
@@ -1,0 +2,30 @@
+Tue Mar 17 22:29:02 UTC 2020 - Bruce Rogers <brog...@suse.com>
+
+- Update to version 0.38:
+- #108 - Add CD/DVD redirection, to allow mounting ISO images from client.
+- #99 - Fix display scaling with EGL and HiDPI monitors
+- #19 - Fix display corruption on HiDPI
+- #82 - Various clipboard fixes & improvements, related to host/guest races &
+  cltipboard managers
+- [rhbz#1720532] - Fix buffer overflow on sending data with shared-folders
+- [rhbz#1695618] - Fix hang over failed migration
+- API: add spice_display_channel_change_preferred_video_codec_types()
+- Several usbredir related fixes and code improvements
+- Several video stream related fixes and code improvements
+- Several shared-folder related fixes and code improvements
+- file-xfer: fix stuck transfer while transfering multiple big files at once
+- file-xfer: fix possible crash on Windows
+- Migration: Fix metadata swap of channels
+- build-sys: remove autotools (transition to meson completed)
+- Require spice-protocol >= 0.14.1
+- Require libusb >= 1.0.21
+- Translations:
+ - Update Italian
+ - Add Russian
+- Use meson build system
+- Include a post release patch to compensate for an issue where the
+  build does need to find celt resources even though we build
+  without Celt support.
+  Remove-celt-support.patch
+
+-------------------------------------------------------------------

Old:
----
  spice-gtk-0.37.tar.bz2
  spice-gtk-0.37.tar.bz2.sig

New:
----
  Remove-celt-support.patch
  spice-gtk-0.38.tar.xz
  spice-gtk-0.38.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ spice-gtk.spec ++++++
--- /var/tmp/diff_new_pack.dMwq8d/_old  2020-03-25 23:42:03.611969340 +0100
+++ /var/tmp/diff_new_pack.dMwq8d/_new  2020-03-25 23:42:03.611969340 +0100
@@ -18,20 +18,19 @@
 
 
 Name:           spice-gtk
-Version:        0.37
+Version:        0.38
 Release:        0
 Summary:        Gtk client and libraries for SPICE remote desktop servers
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:          System/GUI/GNOME
 URL:            http://spice-space.org
-Source0:        http://spice-space.org/download/gtk/%{name}-%{version}.tar.bz2
-Source1:        
http://spice-space.org/download/gtk/%{name}-%{version}.tar.bz2.sig
+Source0:        http://spice-space.org/download/gtk/%{name}-%{version}.tar.xz
+Source1:        
http://spice-space.org/download/gtk/%{name}-%{version}.tar.xz.sig
 Source2:        %{name}.keyring
 Source3:        README.SUSE
 # PATCH-FIX-OPENSUSE spice-gtk-polkit-privs.patch bnc#804184 
dims...@opensuse.org -- Set the polkit defaults to auth_admin
 Patch0:         spice-gtk-polkit-privs.patch
-BuildRequires:  autoconf
-BuildRequires:  automake
+Patch1:         Remove-celt-support.patch
 BuildRequires:  cyrus-sasl-devel
 BuildRequires:  gstreamer-plugins-bad
 BuildRequires:  gstreamer-plugins-good
@@ -40,6 +39,7 @@
 BuildRequires:  libacl-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtool
+BuildRequires:  meson
 BuildRequires:  pkgconfig
 BuildRequires:  python3-pyparsing
 BuildRequires:  python3-six
@@ -56,20 +56,21 @@
 BuildRequires:  pkgconfig(gstreamer-base-1.0)
 BuildRequires:  pkgconfig(gthread-2.0) >= 2.0.0
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.22
+BuildRequires:  pkgconfig(gtk-doc)
 BuildRequires:  pkgconfig(gudev-1.0)
 BuildRequires:  pkgconfig(libphodav-2.0)
 BuildRequires:  pkgconfig(libpulse-mainloop-glib)
 BuildRequires:  pkgconfig(libsoup-2.4) >= 2.49.91
-BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.16
+BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.21
 BuildRequires:  pkgconfig(libusbredirhost) >= 0.7.1
 BuildRequires:  pkgconfig(libusbredirparser-0.5) >= 0.4
-BuildRequires:  pkgconfig(openssl)
-BuildRequires:  pkgconfig(opus)
+BuildRequires:  pkgconfig(openssl) >= 1.0.0
+BuildRequires:  pkgconfig(opus) >= 0.9.14
 BuildRequires:  pkgconfig(pixman-1) >= 0.17.7
 BuildRequires:  pkgconfig(polkit-gobject-1) >= 0.96
 # spice-protocol is bundled, but we still need the system-wide .pc file for 
the pkgconfig() requires magic
 BuildRequires:  pkgconfig(libdrm)
-BuildRequires:  pkgconfig(spice-protocol) >= 0.12.15
+BuildRequires:  pkgconfig(spice-protocol) >= 0.14.1
 Requires(pre):  permissions
 Recommends:     %{name}-lang
 BuildRequires:  pkgconfig(libcacard) >= 2.5.1
@@ -133,25 +134,15 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 cp %{SOURCE3} .
 
 %build
-autoreconf -fi
-
-export PYTHON=/usr/bin/python3
-%configure \
-    --disable-static \
-    --enable-vala \
-    --enable-lz4 \
-    --enable-smartcard \
-    --disable-silent-rules \
-    --with-usb-ids-path=/usr/share/hwdata/usb.ids \
-    %{nil}
-make %{?_smp_mflags}
+%meson -Dvapi=enabled -Dlz4=enabled -Dsmartcard=enabled 
-Dusb-ids-path=/usr/share/hwdata/usb.ids
+%meson_build
 
 %install
-%make_install
-find %{buildroot} -type f -name "*.la" -delete -print
+%meson_install
 %find_lang %{name}
 
 %post -n libspice-client-glib-helper

++++++ Remove-celt-support.patch ++++++
>From 6e9d8cfc02873ec970f6f36be0f5d2705850d021 Mon Sep 17 00:00:00 2001
From: Victor Toso <m...@victortoso.com>
Date: Tue, 17 Mar 2020 15:00:17 +0100
Subject: [PATCH] Remove celt support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Follow up of spice-protocol's deprecation of celt mode.
See: https://gitlab.freedesktop.org/spice/spice-protocol/-/merge_requests/15

Signed-off-by: Victor Toso <victort...@redhat.com>
Acked-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
 meson.build            | 3 +--
 meson_options.txt      | 4 ----
 src/channel-playback.c | 4 ----
 src/channel-record.c   | 7 -------
 src/spice-session.c    | 2 ++
 5 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/meson.build b/meson.build
index 995268b..d8376e9 100644
--- a/meson.build
+++ b/meson.build
@@ -123,8 +123,7 @@ endforeach
 #
 # Non-mandatory/optional dependencies
 #
-optional_deps = {'celt051' : '>= 0.5.1.1',
-                 'opus'    : '>= 0.9.14'}
+optional_deps = {'opus' : '>= 0.9.14'}
 foreach dep, version : optional_deps
   d = dependency(dep, required : get_option(dep), version : version)
   if d.found()
diff --git a/meson_options.txt b/meson_options.txt
index 9804217..4db3c08 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -65,10 +65,6 @@ option('sasl',
     type : 'feature',
     description : 'Use cyrus SASL authentication')
 
-option('celt051',
-    type : 'feature',
-    description: 'Enable celt051 audio codec')
-
 option('opus',
     type : 'feature',
     description: 'Enable Opus audio codec')
diff --git a/src/channel-playback.c b/src/channel-playback.c
index a00706f..7548044 100644
--- a/src/channel-playback.c
+++ b/src/channel-playback.c
@@ -89,9 +89,6 @@ static void channel_set_handlers(SpiceChannelClass *klass);
 
 static void spice_playback_channel_set_capabilities(SpiceChannel *channel)
 {
-    if (!g_getenv("SPICE_DISABLE_CELT"))
-        if (snd_codec_is_capable(SPICE_AUDIO_DATA_MODE_CELT_0_5_1, 
SND_CODEC_ANY_FREQUENCY))
-            spice_channel_set_capability(SPICE_CHANNEL(channel), 
SPICE_PLAYBACK_CAP_CELT_0_5_1);
     if (!g_getenv("SPICE_DISABLE_OPUS"))
         if (snd_codec_is_capable(SPICE_AUDIO_DATA_MODE_OPUS, 
SND_CODEC_ANY_FREQUENCY))
             spice_channel_set_capability(SPICE_CHANNEL(channel), 
SPICE_PLAYBACK_CAP_OPUS);
@@ -347,7 +344,6 @@ static void playback_handle_mode(SpiceChannel *channel, 
SpiceMsgIn *in)
     c->mode = mode->mode;
     switch (c->mode) {
     case SPICE_AUDIO_DATA_MODE_RAW:
-    case SPICE_AUDIO_DATA_MODE_CELT_0_5_1:
     case SPICE_AUDIO_DATA_MODE_OPUS:
         break;
     default:
diff --git a/src/channel-record.c b/src/channel-record.c
index b46ba45..4d27b74 100644
--- a/src/channel-record.c
+++ b/src/channel-record.c
@@ -85,9 +85,6 @@ static void channel_set_handlers(SpiceChannelClass *klass);
 
 static void spice_record_channel_set_capabilities(SpiceChannel *channel)
 {
-    if (!g_getenv("SPICE_DISABLE_CELT"))
-        if (snd_codec_is_capable(SPICE_AUDIO_DATA_MODE_CELT_0_5_1, 
SND_CODEC_ANY_FREQUENCY))
-            spice_channel_set_capability(SPICE_CHANNEL(channel), 
SPICE_RECORD_CAP_CELT_0_5_1);
     if (!g_getenv("SPICE_DISABLE_OPUS"))
         if (snd_codec_is_capable(SPICE_AUDIO_DATA_MODE_OPUS, 
SND_CODEC_ANY_FREQUENCY))
             spice_channel_set_capability(SPICE_CHANNEL(channel), 
SPICE_RECORD_CAP_OPUS);
@@ -273,10 +270,6 @@ static int spice_record_desired_mode(SpiceChannel 
*channel, int frequency)
         snd_codec_is_capable(SPICE_AUDIO_DATA_MODE_OPUS, frequency) &&
         spice_channel_test_capability(channel, SPICE_RECORD_CAP_OPUS)) {
         return SPICE_AUDIO_DATA_MODE_OPUS;
-    } else if (!g_getenv("SPICE_DISABLE_CELT") &&
-        snd_codec_is_capable(SPICE_AUDIO_DATA_MODE_CELT_0_5_1, frequency) &&
-        spice_channel_test_capability(channel, SPICE_RECORD_CAP_CELT_0_5_1)) {
-        return SPICE_AUDIO_DATA_MODE_CELT_0_5_1;
     } else {
         return SPICE_AUDIO_DATA_MODE_RAW;
     }
diff --git a/src/spice-session.c b/src/spice-session.c
index 6e533e8..8f790cc 100644
--- a/src/spice-session.c
+++ b/src/spice-session.c
@@ -2672,12 +2672,14 @@ static void spice_session_set_shared_dir(SpiceSession 
*session, const gchar *dir
 G_GNUC_INTERNAL
 const gchar* spice_audio_data_mode_to_string(gint mode)
 {
+    G_GNUC_BEGIN_IGNORE_DEPRECATIONS
     static const char *str[] = {
         [ SPICE_AUDIO_DATA_MODE_INVALID ] = "invalid",
         [ SPICE_AUDIO_DATA_MODE_RAW ] = "raw",
         [ SPICE_AUDIO_DATA_MODE_CELT_0_5_1 ] = "celt",
         [ SPICE_AUDIO_DATA_MODE_OPUS ] = "opus",
     };
+    G_GNUC_END_IGNORE_DEPRECATIONS
     return (mode >= 0 && mode < G_N_ELEMENTS(str)) ? str[mode] : "unknown 
audio codec";
 }
 
-- 
2.25.1



Reply via email to