gnu: kmessagelib: Update to 24.05.2.

* gnu/packages/kde-pim.scm (kmessagelib): Update to 24.05.2.
[inputs]: Remove akonadi, akonadi-mime, gpgme, grantlee, kidentitymanagement,
kmime, kpimcommon, kpimtextedit, ktextaddons, libkdepim, libkleo, qca, qgpgme,
qtbase-5, qtdeclarative-5, qtwebchannel-5, and qtwebengine-5;
add gpgme-1.23, ktexttemplate, qca-qt6, qgpgme-qt6-1.23,
qtdeclarative, qtwebchannel, and qtwebengine.
[propagated-inputs]: Add akonadi, akonadi-mime, kidentitymanagement, kmime, kpimcommon,
kpimtextedit, ktextaddons, libkdepim, and libkleo.
[arguments]: Set #:qtbase to qtbase; Use Gexps;
<#:phases>: Remove extend-CPLUS_INCLUDE_PATH phase, add
add-miss-PrintSupport phase.

Change-Id: I1675dca67151918e2a484bc493ea49dc7199c405
This commit is contained in:
Zheng Junjie 2024-07-07 23:06:45 +08:00
parent 21b760d030
commit eace157587
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -1530,27 +1530,24 @@ (define-public kmbox
(define-public kmessagelib (define-public kmessagelib
(package (package
(name "kmessagelib") (name "kmessagelib")
(version "23.04.3") (version "24.05.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/" version (uri (string-append "mirror://kde/stable/release-service/" version
"/src/messagelib-" version ".tar.xz")) "/src/messagelib-" version ".tar.xz"))
(sha256 (sha256
(base32 "0aqac0p46cwnr3qxjk0ivalfwjcgwy52s088wnk6ckp77m7r65is")))) (base32 "1m7mah1zqfn9r3jw1lg303kg023lgl77r6if5g4ifv3lsih52pgl"))))
(properties `((upstream-name . "messagelib"))) (properties `((upstream-name . "messagelib")))
(build-system qt-build-system) (build-system qt-build-system)
(native-inputs (native-inputs
(list extra-cmake-modules gnupg libxml2)) (list extra-cmake-modules gnupg libxml2))
(inputs (inputs
(list akonadi (list akonadi-contacts
akonadi-contacts
akonadi-mime
akonadi-notes akonadi-notes
akonadi-search akonadi-search
boost boost
gpgme gpgme-1.23
grantlee
grantleetheme grantleetheme
karchive karchive
kcalendarcore kcalendarcore
@ -1563,7 +1560,6 @@ (define-public kmessagelib
kguiaddons kguiaddons
ki18n ki18n
kiconthemes kiconthemes
kidentitymanagement
kimap kimap
kio kio
kitemmodels kitemmodels
@ -1572,40 +1568,43 @@ (define-public kmessagelib
kldap kldap
kmailtransport kmailtransport
kmbox kmbox
kmime
knewstuff knewstuff
knotifications knotifications
kpimcommon
kpimtextedit
kservice kservice
ksyntaxhighlighting ksyntaxhighlighting
ktextaddons
ktextwidgets ktextwidgets
ktexttemplate
kwallet kwallet
kwidgetsaddons kwidgetsaddons
kwindowsystem kwindowsystem
kxmlgui kxmlgui
libgravatar libgravatar
libkdepim qca-qt6
libkleo qgpgme-qt6-1.23
qca qtdeclarative
qgpgme qtwebchannel
qtbase-5 qtwebengine
qtdeclarative-5
qtwebchannel-5
qtwebengine-5
sonnet)) sonnet))
(propagated-inputs
(list akonadi
akonadi-mime
kidentitymanagement
kmime
kpimcommon
kpimtextedit
ktextaddons
libkdepim
libkleo))
(arguments (arguments
`(#:tests? #f ;TODO many test fail for quite different reasons (list #:qtbase qtbase
#:phases (modify-phases %standard-phases #:tests? #f ;TODO many test fail for quite different reasons
(add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH #:phases
(lambda* (#:key inputs #:allow-other-keys) #~(modify-phases %standard-phases
;; FIXME: One of the compilation steps fail to find (add-after 'unpack 'add-miss-PrintSupport
;; <QPrinter> without this hack. (lambda _
(setenv "CPLUS_INCLUDE_PATH" (substitute* "webengineviewer/src/CMakeLists.txt"
(string-append (assoc-ref inputs "qtbase") (("KF6::ConfigCore")
"/include/qt5/QtPrintSupport:" "KF6::ConfigCore\n Qt::PrintSupport")))))))
(or (getenv "CPLUS_INCLUDE_PATH") ""))))))))
(home-page "https://invent.kde.org/pim/messagelib") (home-page "https://invent.kde.org/pim/messagelib")
(synopsis "KDE PIM messaging libraries") (synopsis "KDE PIM messaging libraries")
(description "This package provides several libraries for messages, (description "This package provides several libraries for messages,