diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-06 10:25:45 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-18 10:45:05 +0800 |
commit | cf80b602815dd7f4cfa01025706401fb8fddd95d (patch) | |
tree | 275c070b4a17511bac86cab28409b462755ba16e | |
parent | b58f151459adf3b9a34383dd1e235e8cbb966bb0 (diff) | |
download | guix-cf80b602815dd7f4cfa01025706401fb8fddd95d.tar.gz guix-cf80b602815dd7f4cfa01025706401fb8fddd95d.zip |
gnu: ktexteditor: Update to 6.3.0.
* gnu/packages/kde-frameworks.scm (ktexteditor): Update to 6.3.0.
[inputs]: Remove kbookmarks, kcodecs, kconfig, kcoreaddons, kiconthemes, kio,
kjobwidgets, kparts, kservice, libgit2, perl, qtbase-5,
qtdeclarative-5, qtscript, qtxmlpatterns, and solid; add
kcolorscheme, qtbase, qtdeclarative, and qtspeech.
[arguments]: Remove setup,add-symlinks phases.
Change-Id: I51d0213a953ddea991756d666923cfa323060470
-rw-r--r-- | gnu/packages/kde-frameworks.scm | 49 |
1 files changed, 12 insertions, 37 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 91c8e7f56c..1eeb256f72 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3187,7 +3187,7 @@ Items.") (define-public ktexteditor (package (name "ktexteditor") - (version "5.114.0") + (version "6.3.0") (source (origin (method url-fetch) (uri (string-append @@ -3196,7 +3196,7 @@ Items.") "ktexteditor-" version ".tar.xz")) (sha256 (base32 - "06amzk6290imi2gj3v1k3f56zdlad7zbz4wwlf34v4iibj9mfgw8")))) + "0xip50g976s9h6196nlgpzc1wvmyl051iyjyfjri610axgxbz7cp")))) (build-system cmake-build-system) (propagated-inputs (list kparts @@ -3207,52 +3207,27 @@ Items.") (list editorconfig-core-c karchive kauth - kbookmarks - kcodecs kcompletion - kconfig kconfigwidgets - kcoreaddons + kcolorscheme kguiaddons - kiconthemes - kio kitemviews ki18n - kjobwidgets - kparts - kservice ktextwidgets kwidgetsaddons kxmlgui - libgit2 - perl - qtbase-5 - qtdeclarative-5 - qtscript - qtxmlpatterns - solid + qtbase + qtdeclarative + qtspeech sonnet)) (arguments (list #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'setup - (lambda* (#:key inputs #:allow-other-keys) - (setenv "XDG_DATA_DIRS" ; FIXME build phase doesn't find parts.desktop - (string-append #$(this-package-input "kparts") "/share")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? ;; Maybe locale issues with tests? - (setenv "QT_QPA_PLATFORM" "offscreen") - (invoke "ctest" "-E" "(kateview_test|movingrange_test)")))) - (add-after 'install 'add-symlinks - ;; Some package(s) (e.g. plasma-sdk) refer to these service types - ;; by the wrong name. I would prefer to patch those packages, but - ;; I cannot find the files! - (lambda* (#:key outputs #:allow-other-keys) - (let ((kst5 (string-append #$output - "/share/kservicetypes5/"))) - (symlink (string-append kst5 "ktexteditorplugin.desktop") - (string-append kst5 "ktexteditor-plugin.desktop")))))))) + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? ;; Maybe locale issues with tests? + (setenv "QT_QPA_PLATFORM" "offscreen") + (invoke "ctest" "-E" "(kateview_test|movingrange_test)"))))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Full text editor component") (description "KTextEditor provides a powerful text editor component that you |