Subject: [PATCH core-updates-frozen 13/19] gnu: KDE Internet: Update to 21.08.2.

From: Brendan Tildesley <[email-masked]>
Date: Fri, 15 Oct 2021 20:30:09 +1100

(kget konversation kopete krdc ktorrent libktorrent): Update to 21.08.2.

(choqok): [inputs]: Use breeze-icons instead of oxygen-icons as default.
[home-page]: Lint URL.

(kget): [inputs]: Use breeze-icons instead of oxygen-icons as default.
[native-inputs]: Move kdoctools here.
[arguments]: Disable one failing test.
[description]: Lint.

(konversation): [inputs]: Add karchive, knewstuff. Use breeze-icons
instead of oxygen-icons as default.
[home-page]: Lint URL.

(kopete): [inputs]: Add ksyntaxhighlighting, mediastreamer2.
[home-page]: Lint URL.

(krdc): [inputs]: Add kbookmarks. Use breeze-icons instead of
oxygen-icons as default.
[home-page]: Lint URL.

(ktorrent): [inputs]: Add qtwebengine. Use breeze-icons instead of
oxygen-icons as default.
[native-inputs]: Add pkg-config.
[home-page]: Lint URL.

(libktorrent): [arguments]: Disable failing test.
---
 gnu/packages/kde-internet.scm | 92 +++++++++++++++++++++--------------
 1 file changed, 56 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/kde-internet.scm b/gnu/packages/kde-internet.scm
index af0aba5b9a..146f33f695 100644
--- a/gnu/packages/kde-internet.scm
+++ b/gnu/packages/kde-internet.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017, 2019, 2020 Hartmut Goebel <[email-masked]>
 ;;; Copyright © 2020 Tobias Geerinckx-Rice <[email-masked]>
+;;; Copyright © 2021 Brendan Tildesley <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33,6 +34,7 @@
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages kde-pim)
   #:use-module (gnu packages libidn)
+  #:use-module (gnu packages linphone)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages messaging)
   #:use-module (gnu packages mp3)
@@ -69,6 +71,7 @@
        ("pkg-config" ,pkg-config)))
     (inputs
      `(("attica" ,attica)
+       ("breeze-icons" ,breeze-icons) ; default icon set
        ("kcmutils" ,kcmutils)
        ("kconfigwidgets" ,kconfigwidgets)
        ("kcoreaddons" ,kcoreaddons)
@@ -86,7 +89,6 @@
        ("kwidgetsaddons" ,kwidgetsaddons)
        ("kxmlgui" ,kxmlgui)
        ;; TODO: telepathy
-       ("oxygen-icons" ,oxygen-icons) ; default icon set
        ("purpose" ,purpose)
        ("qca" ,qca)
        ("qoauth" ,qoauth)
@@ -94,7 +96,7 @@
        ("qtnetworkauth" ,qtnetworkauth)
        ("qtwebkit" ,qtwebkit)
        ("sonnet" ,sonnet)))
-    (home-page "https://kde.org/applications/internet/org.kde.choqok")
+    (home-page "https://apps.kde.org/choqok/")
     (synopsis "Micro-Blogging Client")
     (description "Choqok is a fast, efficient and simple to use micro-blogging
 client for KDE.  It currently supports the twitter.com and identi.ca
@@ -117,20 +119,22 @@ Other notable features include:
 (define-public kget
   (package
     (name "kget")
-    (version "20.04.1")
+    (version "21.08.2")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://kde/stable/release-service/" version
                            "/src/kget-" version ".tar.xz"))
        (sha256
-        (base32 "1swx58wcig8zq8ibhczhcw7l8mqjm7pq8zca9gmny9kda5q04f5m"))))
+        (base32 "11h073nkk5axr263wz5wjq8pdad2wk3nmhixx12ilkqqinb0pi6h"))))
     (build-system qt-build-system)
     (native-inputs
      `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
        ("pkg-config" ,pkg-config)))
     (inputs
      `(("boost" ,boost)
+       ("breeze-icons" ,breeze-icons) ; default icon set
        ("gmp" ,gmp)
        ("gpgme" ,gpgme)
        ("kcmutils" ,kcmutils)
@@ -141,7 +145,6 @@ Other notable features include:
        ("kcrash" ,kcrash)
        ("kdbusaddons" ,kdbusaddons)
        ("kdelibs4support" ,kdelibs4support) ;; KLocale
-       ("kdoctools" ,kdoctools)
        ("ki18n" ,ki18n)
        ("kiconthemes" ,kiconthemes)
        ("kio" ,kio)
@@ -159,16 +162,22 @@ Other notable features include:
        ("libktorrent" ,libktorrent)
        ;; TODO: libmms
        ;; TODO: LibKWorkspace - plasma-workspace?
-       ("oxygen-icons" ,oxygen-icons) ; default icon set
        ("qca" ,qca)
        ("qgpgme" ,qgpgme)
-       ("qtbase" ,qtbase-5)
-       ))
+       ("qtbase" ,qtbase-5)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests? ;; FIXME: One test fails.
+               (invoke "ctest" "-E" "schedulertest"))
+             #t)))))
     (home-page "http://www.kde.org/")
     (synopsis "Versatile and user-friendly download manager")
     (description "KGet is an advanced download manager with support for
 Metalink and Bittorrent.  Downloads are added to the list, where they can be
-paused, queued, or scheduled for later. KGet supports download via FTP anf
+paused, queued, or scheduled for later.  KGet supports download via FTP anf
 HTTP(S) as well as pausing downloads.
 
 This package is part of the KDE networking module.")
@@ -178,20 +187,21 @@ This package is part of the KDE networking module.")
 (define-public konversation
   (package
     (name "konversation")
-    (version "1.7.7")
+    (version "21.08.2")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://kde/stable/konversation/" version
+       (uri (string-append "mirror://kde/stable/release-service/" version
                            "/src/konversation-" version ".tar.xz"))
        (sha256
-        (base32 "19qqq9s8k0cl71ib33xn07f26j5ji2g4336jk65im6452cf1dv27"))))
+        (base32 "1blaxxpp0831frw2v4ylvq23ffyqabbq1zcqj0v4kq736acdl8pa"))))
     (build-system qt-build-system)
     (native-inputs
      `(("extra-cmake-modules" ,extra-cmake-modules)
        ("kdoctools" ,kdoctools)))
     (inputs
-     `(("karchive" ,karchive)
+     `(("breeze-icons" ,breeze-icons) ; default icon set
+       ("karchive" ,karchive)
        ("kbookmarks" ,kbookmarks)
        ("kconfig" ,kconfig)
        ("kconfigwidgets" ,kconfigwidgets)
@@ -205,19 +215,19 @@ This package is part of the KDE networking module.")
        ("kidletime" ,kidletime)
        ("kio" ,kio)
        ("kitemviews" ,kitemviews)
+       ("knewstuff" ,knewstuff)
        ("knotifications" ,knotifications)
        ("knotifyconfig" ,knotifyconfig)
        ("kparts" ,kparts)
        ("kwallet" ,kwallet)
        ("kwidgetsaddons" ,kwidgetsaddons)
        ("kwindowsystem" ,kwindowsystem)
-       ("oxygen-icons" ,oxygen-icons) ; default icon set
        ("phonon" ,phonon)
        ("qtbase" ,qtbase-5)
        ("qca" ,qca)
        ("solid" ,solid)
        ("sonnet" ,sonnet)))
-    (home-page "https://kde.org/applications/internet/org.kde.konversations")
+    (home-page "https://konversation.kde.org/")
     (synopsis "Graphical Internet Relay Chat (IRC) client for KDE")
     (description "Konversation is a graphical Internet Relay Chat client (IRC)
 with KDE support.
@@ -249,14 +259,14 @@ Features are:
 (define-public kopete
   (package
     (name "kopete")
-    (version "20.04.1")
+    (version "21.08.2")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://kde/stable/release-service/" version
                            "/src/kopete-" version ".tar.xz"))
        (sha256
-        (base32 "149gi9hkyl825kf046iqkam3gkzfwdc2sihbf8gs6njachzvb81y"))))
+        (base32 "015pjfc5kxhm5nmjv8fx4jlczp0l3vhqrkxgfvq83a200nlvg2pm"))))
     (build-system qt-build-system)
     (native-inputs
      `(("extra-cmake-modules" ,extra-cmake-modules)
@@ -286,6 +296,7 @@ Features are:
        ("knotifyconfig" ,knotifyconfig)
        ("kparts" ,kparts)
        ("kpimtextedit" ,kpimtextedit)
+       ("ksyntaxhighlighting" ,ksyntaxhighlighting)
        ("ktexteditor" ,ktexteditor)
        ("kwallet" ,kwallet)
        ;; TODO: Libgadu
@@ -296,7 +307,7 @@ Features are:
        ("libsrtp" ,libsrtp)
        ("libxml2" ,libxml2)
        ("libxstl" ,libxslt)
-       ;; TODO: Mediastreamer
+       ("mediastreamer2" ,mediastreamer2)
        ("openssl" ,openssl)
        ("ortp" ,ortp)
        ("phonon" ,phonon)
@@ -308,7 +319,7 @@ Features are:
        ;; TODO: Xmms
        ("zlib" ,zlib)))
     ;; TODO: enable video support
-    (home-page "https://kde.org/applications/internet/org.kde.kopete")
+    (home-page "https://apps.kde.org/kopete/")
     (synopsis "Instant messaging and chat application")
     (description "Kopete is an instant messenger supporting Jabber/XMPP ,AIM,
 ICQ, Gadu-Gadu, Novell GroupWise Messenger, and more.  It is designed to be a
@@ -327,21 +338,22 @@ This package is part of the KDE networking module.")
 (define-public krdc
   (package
     (name "krdc")
-    (version "20.04.1")
+    (version "21.08.2")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://kde/stable/release-service/" version
                            "/src/krdc-" version ".tar.xz"))
        (sha256
-        (base32 "1hp23k3nsrcxpv2qiynjgm71zn3l6ds00cpd4frc68szgiblrw9r"))))
+        (base32 "0zrpfbs4r0d4wnficmhn0av7877hbrl4jvxpi0qiy2gdc7zksnbd"))))
     (build-system qt-build-system)
     (native-inputs
      `(("extra-cmake-modules" ,extra-cmake-modules)
        ("kdoctools" ,kdoctools)))
     (inputs
-     `(("kbookmarks" ,kbookmarks)
+     `(("breeze-icons" ,breeze-icons) ; default icon set
        ("freerdp" ,freerdp)
+       ("kbookmarks" ,kbookmarks)
        ("kcmutils" ,kcmutils)
        ("kcompletion" ,kcompletion)
        ("kconfig" ,kconfig)
@@ -357,9 +369,8 @@ This package is part of the KDE networking module.")
        ("kxmlgui" ,kxmlgui)
        ("libssh2" ,libssh)
        ;; TODO: libvnc{server,client} - is not tigervnc-{server,client}
-       ("oxygen-icons" ,oxygen-icons) ; default icon set
        ("qtbase" ,qtbase-5)))
-    (home-page "https://kde.org/applications/internet/org.kde.krdc")
+    (home-page "https://apps.kde.org/krdc/")
     (synopsis "Remote desktop client")
     (description "KRDC is a client application that allows you to view or even
 control the desktop session on another machine that is running a compatible
@@ -372,20 +383,22 @@ This package is part of the KDE networking module.")
 (define-public ktorrent
   (package
     (name "ktorrent")
-    (version "5.1.2")
+    (version "21.08.2")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://kde/stable/ktorrent/" version
-                           "/ktorrent-" version ".tar.xz"))
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                           "/src/ktorrent-" version ".tar.xz"))
        (sha256
-        (base32 "0kwd0npxfg4mdh7f3xadd2zjlqalpb1jxk61505qpcgcssijf534"))))
+        (base32 "1nd72jcvsc0kabd23ddy93dxp59ihg5npa8r3vbzvic89xlpkivi"))))
     (build-system qt-build-system)
     (native-inputs
      `(("extra-cmake-modules" ,extra-cmake-modules)
-       ("kdoctools" ,kdoctools)))
+       ("kdoctools" ,kdoctools)
+       ("pkg-config" ,pkg-config)))
     (inputs
      `(("boost" ,boost)
+       ("breeze-icons" ,breeze-icons) ; default icon set
        ("gmp" ,gmp)
        ("karchive" ,karchive)
        ("kcmutils" ,kcmutils)
@@ -410,15 +423,15 @@ This package is part of the KDE networking module.")
        ("libgcrypt" ,libgcrypt)
        ("libktorrent" ,libktorrent)
        ;; TODO: LibKWorkspace -> plasma-workspace?
-       ("oxygen-icons" ,oxygen-icons) ; default icon set
        ("phonon" ,phonon)
        ("qtbase" ,qtbase-5)
        ("qtscript" ,qtscript)
+       ("qtwebengine" ,qtwebengine)
        ("qtwebkit" ,qtwebkit)
        ("solid" ,solid)
        ("syndication" ,syndication)
        ("taglib" ,taglib)))
-    (home-page "https://kde.org/applications/internet/org.kde.ktorrent")
+    (home-page "https://apps.kde.org/ktorrent/")
     (synopsis "BitTorrent client")
     (description "KTorrent is a BitTorrent application by KDE which allows you
 to download files using the BitTorrent protocol.  It enables you to run
@@ -429,15 +442,14 @@ a full-featured client for BitTorrent.")
 (define-public libktorrent
   (package
     (name "libktorrent")
-    (version "2.1.1")
+    (version "21.08.2")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://kde//stable/ktorrent/"
-                           (package-version ktorrent)
-                           "/libktorrent-" version ".tar.xz"))
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                           "/src/libktorrent-" version ".tar.xz"))
        (sha256
-        (base32 "0051zh8bb4p9wmcfn5ql987brhsaiw9880xdck7b5dm1a05mri2w"))))
+        (base32 "16rx0na7gy03c0qbwy07q7si35z62p0pq7fcvf3ggr594akwz4kl"))))
     (build-system qt-build-system)
     (native-inputs
      `(("extra-cmake-modules" ,extra-cmake-modules)))
@@ -452,6 +464,14 @@ a full-featured client for BitTorrent.")
        ("qca" ,qca)
        ("qtbase" ,qtbase-5)
        ("solid" ,solid)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests? ;; FIXME: test fails inconsistently.
+               (invoke "ctest" "-E" "superseedtest"))
+             #t)))))
     (home-page "https://invent.kde.org/network/libktorrent")
     (synopsis "BitTorrent protocol library for C++ / Qt 5 / KDE Frameworks")
     (description "The KTorrent library supports connectivity to HTTP and UDP
-- 
2.33.0