Control: tags 906882 + pending
Control: tags 997252 + pending

Dear maintainer,

I've prepared an NMU for qt-gstreamer (versioned as 1.2.0-5.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Cheers
-- 
Sebastian Ramacher
diff -Nru qt-gstreamer-1.2.0/debian/changelog qt-gstreamer-1.2.0/debian/changelog
--- qt-gstreamer-1.2.0/debian/changelog	2021-02-22 19:31:22.000000000 +0100
+++ qt-gstreamer-1.2.0/debian/changelog	2022-09-28 23:40:14.000000000 +0200
@@ -1,3 +1,14 @@
+qt-gstreamer (1.2.0-5.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Simon McVittie ]
+  * debian/patches: Fix arguments passed to __atomic_load (Closes: #997252)
+  * debian/control: Add missing dependencies on Glib/GStreamer -dev packages
+    (Closes: #906882)
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Wed, 28 Sep 2022 23:40:14 +0200
+
 qt-gstreamer (1.2.0-5.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru qt-gstreamer-1.2.0/debian/control qt-gstreamer-1.2.0/debian/control
--- qt-gstreamer-1.2.0/debian/control	2021-02-22 19:31:22.000000000 +0100
+++ qt-gstreamer-1.2.0/debian/control	2022-09-28 23:38:00.000000000 +0200
@@ -127,6 +127,9 @@
 Section: libdevel
 Architecture: any
 Depends: libboost-dev (>= 1.39),
+         libglib2.0-dev,
+         libgstreamer-plugins-base1.0-dev (>= 1.1.90),
+         libgstreamer1.0-dev,
          libqt5glib-2.0-0 (= ${binary:Version}),
          libqt5gstreamer-1.0-0 (= ${binary:Version}),
          libqt5gstreamerquick-1.0-0 (= ${binary:Version}),
@@ -134,6 +137,7 @@
          libqt5gstreamerutils-1.0-0 (= ${binary:Version}),
          qtbase5-dev,
          ${misc:Depends}
+Recommends: qtdeclarative5-dev
 Suggests: qtgstreamer-doc
 Description: Development headers for QtGStreamer - Qt 5 build
  QtGStreamer provides C++ bindings for GStreamer with a Qt-style API,
diff -Nru qt-gstreamer-1.2.0/debian/patches/Drop-unnecessary-volatile-qualifier-from-g_once_init_ente.patch qt-gstreamer-1.2.0/debian/patches/Drop-unnecessary-volatile-qualifier-from-g_once_init_ente.patch
--- qt-gstreamer-1.2.0/debian/patches/Drop-unnecessary-volatile-qualifier-from-g_once_init_ente.patch	1970-01-01 01:00:00.000000000 +0100
+++ qt-gstreamer-1.2.0/debian/patches/Drop-unnecessary-volatile-qualifier-from-g_once_init_ente.patch	2022-09-28 23:36:54.000000000 +0200
@@ -0,0 +1,32 @@
+From: Simon McVittie <s...@debian.org>
+Date: Fri, 22 Jul 2022 02:10:35 +0100
+Subject: Drop unnecessary volatile qualifier from g_once_init_enter()
+ argument
+
+When compiling with gcc, g_once_init_enter() is a macro implemented
+in terms of gcc's C++11-style atomic operations. Since gcc 11 it is
+considered to be an error to pass a volatile pointer to these built-in
+functions.
+
+The volatile qualifier appears to have been added as a result of a
+past misunderstanding about whether volatile is beneficial for
+thread-safety in C/C++ (it is not).
+
+Bug-Debian: https://bugs.debian.org/997252
+---
+ elements/gstqtvideosink/gstqtvideosinkplugin.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/elements/gstqtvideosink/gstqtvideosinkplugin.h b/elements/gstqtvideosink/gstqtvideosinkplugin.h
+index dc04671..a72c572 100644
+--- a/elements/gstqtvideosink/gstqtvideosinkplugin.h
++++ b/elements/gstqtvideosink/gstqtvideosinkplugin.h
+@@ -27,7 +27,7 @@ GST_DEBUG_CATEGORY_EXTERN(gst_qt_video_sink_debug);
+ #define DEFINE_TYPE_FULL(cpp_type, type_name, parent_type, additional_initializations) \
+     GType cpp_type::get_type() \
+     { \
+-        static volatile gsize gonce_data = 0; \
++        static gsize gonce_data = 0; \
+         if (g_once_init_enter(&gonce_data)) { \
+             GType type = 0; \
+             GTypeInfo info; \
diff -Nru qt-gstreamer-1.2.0/debian/patches/series qt-gstreamer-1.2.0/debian/patches/series
--- qt-gstreamer-1.2.0/debian/patches/series	2021-02-22 19:31:22.000000000 +0100
+++ qt-gstreamer-1.2.0/debian/patches/series	2022-09-28 23:37:21.000000000 +0200
@@ -4,3 +4,4 @@
 Furter-workarounds-for-build-failures-now-boost-1.61-and-.patch
 gstreamer-1.16.patch
 qt-gstreamer-1.18.patch
+Drop-unnecessary-volatile-qualifier-from-g_once_init_ente.patch

Reply via email to