[neon/extras/qcoro/Neon/release] debian: enable websockets module

Pino Toscano null at kde.org
Mon Jul 25 15:06:18 BST 2022


Git commit 462359d21dc8f36c640c68e2e939955d45c7fe66 by Pino Toscano.
Committed on 10/07/2022 at 10:16.
Pushed by jriddell into branch 'Neon/release'.

enable websockets module

M  +8    -0    debian/changelog
M  +26   -0    debian/control
A  +1    -0    debian/libqcoro5websockets0.install
A  +3    -0    debian/libqcoro5websockets0.symbols
A  +1    -0    debian/libqcoro6websockets0.install
A  +3    -0    debian/libqcoro6websockets0.symbols
M  +1    -1    debian/rules

https://invent.kde.org/neon/extras/qcoro/commit/462359d21dc8f36c640c68e2e939955d45c7fe66

diff --git a/debian/changelog b/debian/changelog
index 7331f65..0809fb0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,13 @@
 qcoro (0.6.0-2) UNRELEASED; urgency=medium
 
+  [ Pino Toscano ]
+  * Enable the QtWebSockets support:
+    - drop -DQCORO_WITH_QTWEBSOCKETS=OFF from the cmake arguments
+    - add the libqt5websockets5-dev, and libqt6websockets6-dev build
+      dependencies
+    - add the libqcoro5websockets0, and libqcoro6websockets0 packages
+    - add the libqt5websockets5-dev dependency to qcoro-qt5-dev
+    - add the libqt6websockets6-dev deoendency to qcoro-qt6-dev
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Sun, 10 Jul 2022 12:07:32 +0200
 
diff --git a/debian/control b/debian/control
index 7d75095..6475e41 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,9 @@ Build-Depends: cmake (>= 3.18.4~),
                dbus-x11 <!nocheck>,
                pkg-kde-tools,
                qtbase5-dev (>= 5.15.0~),
+               libqt5websockets5-dev (>= 5.15.0~),
                qt6-base-dev (>= 6.2.0~),
+               libqt6websockets6-dev (>= 6.2.0~),
 Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/qt-kde-team/extras/qcoro
 Vcs-Git: https://salsa.debian.org/qt-kde-team/extras/qcoro.git
@@ -75,6 +77,26 @@ Description: C++20 coroutines for Qt6 - Network
  .
  This is the network library.
 
+Package: libqcoro5websockets0
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: C++20 coroutines for Qt5 - WebSockets
+ QCoro is a C++ library that provide set of tools to make use of C++20
+ coroutines in connection with certain asynchronous Qt5 actions.
+ .
+ This is the web sockets library.
+
+Package: libqcoro6websockets0
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: C++20 coroutines for Qt6 - WebSockets
+ QCoro is a C++ library that provide set of tools to make use of C++20
+ coroutines in connection with certain asynchronous Qt6 actions.
+ .
+ This is the web sockets library.
+
 Package: qcoro-doc
 Architecture: all
 Multi-Arch: foreign
@@ -92,7 +114,9 @@ Multi-Arch: same
 Depends: libqcoro5core0 (= ${binary:Version}),
          libqcoro5dbus0 (= ${binary:Version}),
          libqcoro5network0 (= ${binary:Version}),
+         libqcoro5websockets0 (= ${binary:Version}),
          qtbase5-dev (>= 5.15.0~),
+         libqt5websockets5-dev (>= 5.15.0~),
          ${misc:Depends},
 Recommends: qcoro-doc
 Section: libdevel
@@ -108,7 +132,9 @@ Multi-Arch: same
 Depends: libqcoro6core0 (= ${binary:Version}),
          libqcoro6dbus0 (= ${binary:Version}),
          libqcoro6network0 (= ${binary:Version}),
+         libqcoro6websockets0 (= ${binary:Version}),
          qt6-base-dev (>= 6.1.2~),
+         libqt6websockets6-dev (>= 6.2.0~),
          ${misc:Depends},
 Recommends: qcoro-doc
 Section: libdevel
diff --git a/debian/libqcoro5websockets0.install b/debian/libqcoro5websockets0.install
new file mode 100644
index 0000000..537379a
--- /dev/null
+++ b/debian/libqcoro5websockets0.install
@@ -0,0 +1 @@
+usr/lib/*/libQCoro5WebSockets.so.*
diff --git a/debian/libqcoro5websockets0.symbols b/debian/libqcoro5websockets0.symbols
new file mode 100644
index 0000000..c3bc3b8
--- /dev/null
+++ b/debian/libqcoro5websockets0.symbols
@@ -0,0 +1,3 @@
+# SymbolsHelper-Confirmed: 0.6.0 amd64
+libQCoro5WebSockets.so.0 libqcoro5websockets0 #MINVER#
+* Build-Depends-Package: qcoro-qt5-dev
diff --git a/debian/libqcoro6websockets0.install b/debian/libqcoro6websockets0.install
new file mode 100644
index 0000000..c791c06
--- /dev/null
+++ b/debian/libqcoro6websockets0.install
@@ -0,0 +1 @@
+usr/lib/*/libQCoro6WebSockets.so.*
diff --git a/debian/libqcoro6websockets0.symbols b/debian/libqcoro6websockets0.symbols
new file mode 100644
index 0000000..8f7a59a
--- /dev/null
+++ b/debian/libqcoro6websockets0.symbols
@@ -0,0 +1,3 @@
+# SymbolsHelper-Confirmed: 0.6.0 amd64
+libQCoro6WebSockets.so.0 libqcoro6websockets0 #MINVER#
+* Build-Depends-Package: qcoro-qt6-dev
diff --git a/debian/rules b/debian/rules
index 85dd4dc..3348419 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-CMAKE_ARGS = -DBUILD_SHARED_LIBS=ON -DQCORO_BUILD_EXAMPLES=OFF -DQCORO_WITH_QTWEBSOCKETS=OFF
+CMAKE_ARGS = -DBUILD_SHARED_LIBS=ON -DQCORO_BUILD_EXAMPLES=OFF
 
 %:
 	dh $@ --with pkgkde_symbolshelper



More information about the Neon-commits mailing list