Archived
1
0
Fork 0

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
This commit is contained in:
Zheng Junjie 2024-07-06 10:25:45 +08:00
parent b58f151459
commit cf80b60281
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -3187,7 +3187,7 @@ Items.")
(define-public ktexteditor (define-public ktexteditor
(package (package
(name "ktexteditor") (name "ktexteditor")
(version "5.114.0") (version "6.3.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -3196,7 +3196,7 @@ Items.")
"ktexteditor-" version ".tar.xz")) "ktexteditor-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"06amzk6290imi2gj3v1k3f56zdlad7zbz4wwlf34v4iibj9mfgw8")))) "0xip50g976s9h6196nlgpzc1wvmyl051iyjyfjri610axgxbz7cp"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(propagated-inputs (propagated-inputs
(list kparts (list kparts
@ -3207,52 +3207,27 @@ Items.")
(list editorconfig-core-c (list editorconfig-core-c
karchive karchive
kauth kauth
kbookmarks
kcodecs
kcompletion kcompletion
kconfig
kconfigwidgets kconfigwidgets
kcoreaddons kcolorscheme
kguiaddons kguiaddons
kiconthemes
kio
kitemviews kitemviews
ki18n ki18n
kjobwidgets
kparts
kservice
ktextwidgets ktextwidgets
kwidgetsaddons kwidgetsaddons
kxmlgui kxmlgui
libgit2 qtbase
perl qtdeclarative
qtbase-5 qtspeech
qtdeclarative-5
qtscript
qtxmlpatterns
solid
sonnet)) sonnet))
(arguments (arguments
(list #:phases (list #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'setup (replace 'check
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(setenv "XDG_DATA_DIRS" ; FIXME build phase doesn't find parts.desktop (when tests? ;; Maybe locale issues with tests?
(string-append #$(this-package-input "kparts") "/share")))) (setenv "QT_QPA_PLATFORM" "offscreen")
(replace 'check (invoke "ctest" "-E" "(kateview_test|movingrange_test)")))))))
(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"))))))))
(home-page "https://community.kde.org/Frameworks") (home-page "https://community.kde.org/Frameworks")
(synopsis "Full text editor component") (synopsis "Full text editor component")
(description "KTextEditor provides a powerful text editor component that you (description "KTextEditor provides a powerful text editor component that you