Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spice for openSUSE:Factory checked 
in at 2022-04-02 18:20:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spice (Old)
 and      /work/SRC/openSUSE:Factory/.spice.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spice"

Sat Apr  2 18:20:25 2022 rev:40 rq:965635 version:0.15.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/spice/spice.changes      2021-05-18 
18:27:04.470798042 +0200
+++ /work/SRC/openSUSE:Factory/.spice.new.1900/spice.changes    2022-04-02 
18:20:37.230221255 +0200
@@ -1,0 +2,7 @@
+Wed Mar 23 10:23:06 UTC 2022 - Antonio Larrosa <alarr...@suse.com>
+
+- Add patch to let spice build with gstreamer 1.20.x
+  (https://gitlab.freedesktop.org/spice/spice/-/merge_requests/207)
+  * fix-build-with-gstreamer-1.20.patch 
+
+-------------------------------------------------------------------

New:
----
  fix-build-with-gstreamer-1.20.patch

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

Other differences:
------------------
++++++ spice.spec ++++++
--- /var/tmp/diff_new_pack.iSkoJI/_old  2022-04-02 18:20:37.662216406 +0200
+++ /var/tmp/diff_new_pack.iSkoJI/_new  2022-04-02 18:20:37.666216361 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package spice
 #
-# Copyright (c) 2021 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
@@ -25,13 +25,15 @@
 Version:        0.15.0
 Release:        0
 Summary:        SPICE client and server library
-License:        LGPL-2.1-or-later OR GPL-2.0-or-later
+License:        GPL-2.0-or-later OR LGPL-2.1-or-later
 Group:          Productivity/Networking/Other
 URL:            https://www.spice-space.org/
 Source:         
https://www.spice-space.org/download/releases/spice-server/%{name}-%{version}.tar.bz2
 Source1:        
https://www.spice-space.org/download/releases/spice-server/%{name}-%{version}.tar.bz2.sig
 Source2:        %{name}.keyring
 Source99:       %{name}.rpmlintrc
+# PATCH-FIX-UPSTREAM 
https://gitlab.freedesktop.org/spice/spice/-/merge_requests/207
+Patch0:         fix-build-with-gstreamer-1.20.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
@@ -95,6 +97,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \

++++++ fix-build-with-gstreamer-1.20.patch ++++++
Index: spice-0.15.0/server/tests/test-gst.cpp
===================================================================
--- spice-0.15.0.orig/server/tests/test-gst.cpp
+++ spice-0.15.0/server/tests/test-gst.cpp
@@ -614,7 +614,11 @@ create_pipeline(const char *desc, Sample
     }
 
     static const GstAppSinkCallbacks appsink_cbs_template =
+#if GST_CHECK_VERSION(1, 20, 0)
+        { NULL, NULL, new_sample, NULL, ._gst_reserved={NULL} };
+#else
         { NULL, NULL, new_sample, ._gst_reserved={NULL} };
+#endif
     GstAppSinkCallbacks appsink_cbs = appsink_cbs_template;
     gst_app_sink_set_callbacks(pipeline->appsink, &appsink_cbs, pipeline, 
NULL);
 

Reply via email to