gnu: kio: Update to 6.3.0.

* gnu/packages/kde-frameworks.scm (kio): Update to 6.3.0.
[inputs]: Remove mit-krb5, knotifications, ktextwidgets, qtbase-5,
qtdeclarative-5, qtscript, and qtx11extras; add qt5compat, qtbase,
qtdeclarative, and libxkbcommon.
[propagated-inputs]: Remove kxmlgui.
[native-inputs]: Remove qttools-5; add qttools.
[arguments]: Adjust check phase; Remove add-symlinks phase.

Change-Id: I13082a5fe7e9adab4117d94fbce3b089fcce899c
This commit is contained in:
Zheng Junjie 2024-07-06 09:52:30 +08:00
parent 0d620724a2
commit 863fd6c4f8
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -2730,7 +2730,7 @@ consumption.")
(define-public kio (define-public kio
(package (package
(name "kio") (name "kio")
(version "5.114.0") (version "6.3.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -2739,7 +2739,7 @@ consumption.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0nwmxbfhvfw69q07vxvflri7rkdczyc89xv4ll3nrzrhgf15kb2z")) "0j04kbbmjlbv2qhra5src6zxx1m8imix9hb0kih0b5h64jrszq9r"))
(patches (search-patches "kio-search-smbd-on-PATH.patch")))) (patches (search-patches "kio-search-smbd-on-PATH.patch"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(propagated-inputs (propagated-inputs
@ -2752,12 +2752,10 @@ consumption.")
kjobwidgets kjobwidgets
kservice kservice
kwindowsystem kwindowsystem
kxmlgui
solid)) solid))
(native-inputs (native-inputs
(list extra-cmake-modules dbus kdoctools qttools-5)) (list extra-cmake-modules dbus kdoctools qttools))
(inputs (list mit-krb5 (inputs (list karchive
karchive
kauth kauth
kcodecs kcodecs
kconfigwidgets kconfigwidgets
@ -2767,16 +2765,14 @@ consumption.")
kguiaddons kguiaddons
kiconthemes kiconthemes
ki18n ki18n
knotifications
ktextwidgets
kwallet kwallet
kwidgetsaddons kwidgetsaddons
libxml2 libxml2
libxslt libxslt
qtbase-5 qt5compat
qtdeclarative-5 qtbase
qtscript qtdeclarative
qtx11extras libxkbcommon
sonnet sonnet
`(,util-linux "lib") ; libmount `(,util-linux "lib") ; libmount
zlib)) zlib))
@ -2801,37 +2797,36 @@ consumption.")
(invoke "dbus-launch" "ctest" (invoke "dbus-launch" "ctest"
"--rerun-failed" "--output-on-failure" "--rerun-failed" "--output-on-failure"
"-E" "-E"
;; The following tests fail or are flaky (see:
;; https://bugs.kde.org/show_bug.cgi?id=440721). (string-append
(string-append "(kiocore-jobtest" "(kiogui-favicontest"
"|kiocore-kmountpointtest" "|kiocore-filefiltertest"
"|kiowidgets-kdirlistertest" "|kpasswdservertest"
"|kiocore-kfileitemtest" "|kiowidgets-kfileitemactionstest"
"|kiocore-ktcpsockettest" "|kiofilewidgets-kfileplacesmodeltest"
"|kiocore-mimetypefinderjobtest" ;; The following tests fail or are flaky (see:
"|kiocore-krecentdocumenttest" ;; https://bugs.kde.org/show_bug.cgi?id=440721).
"|kiocore-http_jobtest" "|kiocore-jobtest"
"|kiogui-openurljobtest" "|kiocore-kmountpointtest"
"|kioslave-httpheaderdispositiontest" "|kiowidgets-kdirlistertest"
"|applicationlauncherjob_forkingtest" "|kiocore-kfileitemtest"
"|applicationlauncherjob_scopetest" "|kiocore-ktcpsockettest"
"|applicationlauncherjob_servicetest" "|kiocore-mimetypefinderjobtest"
"|commandlauncherjob_forkingtest" "|kiocore-krecentdocumenttest"
"|commandlauncherjob_scopetest" "|kiocore-http_jobtest"
"|commandlauncherjob_servicetest" "|kiogui-openurljobtest"
"|kiowidgets-kdirmodeltest" "|kioslave-httpheaderdispositiontest"
"|kiowidgets-kurifiltertest-colon-separator" "|applicationlauncherjob_forkingtest"
"|kiofilewidgets-kfilewidgettest" "|applicationlauncherjob_scopetest"
"|kiowidgets-kurifiltertest-space-separator" "|applicationlauncherjob_servicetest"
"|kioworker-httpheaderdispositiontest)"))))) "|commandlauncherjob_forkingtest"
(add-after 'install 'add-symlinks "|commandlauncherjob_scopetest"
;; Some package(s) (e.g. bluedevil) refer to these service types by "|commandlauncherjob_servicetest"
;; the wrong name. I would prefer to patch those packages, but I "|kiowidgets-kdirmodeltest"
;; cannot find the files! "|kiowidgets-kurifiltertest-colon-separator"
(lambda* (#:key outputs #:allow-other-keys) "|kiofilewidgets-kfilewidgettest"
(let ((kst5 (string-append #$output "/share/kservicetypes5/"))) "|kiowidgets-kurifiltertest-space-separator"
(symlink (string-append kst5 "kfileitemactionplugin.desktop") "|kioworker-httpheaderdispositiontest)"))))))))
(string-append kst5 "kfileitemaction-plugin.desktop"))))))))
(home-page "https://community.kde.org/Frameworks") (home-page "https://community.kde.org/Frameworks")
(synopsis "Network transparent access to files and data") (synopsis "Network transparent access to files and data")
(description "This framework implements a lot of file management functions. (description "This framework implements a lot of file management functions.