[neon/extras/tellico/Neon/release] debian: update the patches

Pino Toscano null at kde.org
Thu Sep 8 17:48:54 BST 2022


Git commit 5df59691a20ec891e488a8a5e23ba815f6aa9f1b by Pino Toscano.
Committed on 21/08/2021 at 06:49.
Pushed by jriddell into branch 'Neon/release'.

update the patches

- tests-no-network.diff: drop, the tests that may use the network are
  not built anymore by default

M  +3    -0    debian/changelog
D  +0    -1    debian/patches/series
D  +0    -37   debian/patches/tests-no-network.diff

https://invent.kde.org/neon/extras/tellico/commit/5df59691a20ec891e488a8a5e23ba815f6aa9f1b

diff --git a/debian/changelog b/debian/changelog
index b0ef9e8..c93a8e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ tellico (3.4.1-0r1) UNRELEASED; urgency=medium
     - bump extra-cmake-modules to 5.19.0
     - add libqt5charts5-dev, qtwebengine5-dev, libkf5sonnet-dev, and
       libkf5textwidgets-dev
+  * Update the patches:
+    - tests-no-network.diff: drop, the tests that may use the network are not
+      built anymore by default
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Sat, 21 Aug 2021 08:35:05 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index f783ca4..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-tests-no-network.diff
diff --git a/debian/patches/tests-no-network.diff b/debian/patches/tests-no-network.diff
deleted file mode 100644
index a6e67d0..0000000
--- a/debian/patches/tests-no-network.diff
+++ /dev/null
@@ -1,37 +0,0 @@
-Author: Pino Toscano <pino at debian.org>
-Description: Make sure the network is considered unavailable.
-Last-Updated: 2020-04-23
-Forwarded: not-needed
-
---- a/src/tests/tellicoreadtest.cpp
-+++ b/src/tests/tellicoreadtest.cpp
-@@ -46,11 +46,13 @@ QTEST_GUILESS_MAIN( TellicoReadTest )
- #define TELLICOREAD_NUMBER_OF_CASES 10
- 
- static bool hasNetwork() {
-+#if 0
-   foreach(const QNetworkInterface& net, QNetworkInterface::allInterfaces()) {
-     if(net.flags().testFlag(QNetworkInterface::IsUp) && !net.flags().testFlag(QNetworkInterface::IsLoopBack)) {
-       return true;
-     }
-   }
-+#endif
-   return false;
- }
- 
---- a/src/tests/imagejobtest.cpp
-+++ b/src/tests/imagejobtest.cpp
-@@ -37,11 +37,13 @@
- QTEST_GUILESS_MAIN( ImageJobTest )
- 
- static bool hasNetwork() {
-+#if 0
-   foreach(const QNetworkInterface& net, QNetworkInterface::allInterfaces()) {
-     if(net.flags().testFlag(QNetworkInterface::IsUp) && !net.flags().testFlag(QNetworkInterface::IsLoopBack)) {
-       return true;
-     }
-   }
-+#endif
-   return false;
- }
- 



More information about the Neon-commits mailing list