kde-pim.scm 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2017, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
  3. ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
  4. ;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
  5. ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
  6. ;;;
  7. ;;; This file is part of GNU Guix.
  8. ;;;
  9. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  10. ;;; under the terms of the GNU General Public License as published by
  11. ;;; the Free Software Foundation; either version 3 of the License, or (at
  12. ;;; your option) any later version.
  13. ;;;
  14. ;;; GNU Guix is distributed in the hope that it will be useful, but
  15. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  16. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. ;;; GNU General Public License for more details.
  18. ;;;
  19. ;;; You should have received a copy of the GNU General Public License
  20. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  21. (define-module (gnu packages kde-pim)
  22. #:use-module (guix build-system qt)
  23. #:use-module (guix download)
  24. #:use-module ((guix licenses) #:prefix license:)
  25. #:use-module (guix packages)
  26. #:use-module (guix utils)
  27. #:use-module (gnu packages)
  28. #:use-module (gnu packages boost)
  29. #:use-module (gnu packages cyrus-sasl)
  30. #:use-module (gnu packages databases)
  31. #:use-module (gnu packages documentation)
  32. #:use-module (gnu packages glib)
  33. #:use-module (gnu packages gnome)
  34. #:use-module (gnu packages gnupg)
  35. #:use-module (gnu packages kde)
  36. #:use-module (gnu packages kde-frameworks)
  37. #:use-module (gnu packages kde-internet)
  38. #:use-module (gnu packages openldap)
  39. #:use-module (gnu packages qt)
  40. #:use-module (gnu packages search)
  41. #:use-module (gnu packages sqlite)
  42. #:use-module (gnu packages xml))
  43. (define-public akonadi
  44. (package
  45. (name "akonadi")
  46. (version "21.08.1")
  47. (source
  48. (origin
  49. (method url-fetch)
  50. (uri (string-append "mirror://kde/stable/release-service/" version
  51. "/src/akonadi-" version ".tar.xz"))
  52. (sha256
  53. (base32 "02abs3mxwna30rgidlndj4jq0swy3id236ckw726vp3r8m9qimd6"))
  54. (patches (search-patches
  55. "akonadi-paths.patch"
  56. "akonadi-timestamps.patch"
  57. "akonadi-not-relocatable.patch"))))
  58. (build-system qt-build-system)
  59. (native-inputs
  60. `(("extra-cmake-modules" ,extra-cmake-modules)
  61. ("qttools" ,qttools)
  62. ("shared-mime-info" ,shared-mime-info)))
  63. (inputs
  64. `(("boost" ,boost)
  65. ("kconfig" ,kconfig)
  66. ("kconfigwidgets" ,kconfigwidgets)
  67. ("kcoreaddons" ,kcoreaddons)
  68. ("kcrash" ,kcrash)
  69. ("ki18n" ,ki18n)
  70. ("kiconthemes" ,kiconthemes)
  71. ("kio" ,kio)
  72. ("kitemmodels" ,kitemmodels)
  73. ("kitemviews" ,kitemviews)
  74. ("kwidgetsaddons" ,kwidgetsaddons)
  75. ("kwindowsystem" ,kwindowsystem)
  76. ("kxmlgui" ,kxmlgui)
  77. ("libxml2" ,libxml2)
  78. ("libxslt" ,libxslt)
  79. ;; Do NOT add mysql or postgresql to the inputs. Otherwise the binaries
  80. ;; and wrapped files will refer to them, even if the user choices none
  81. ;; of these. Executables are searched on $PATH then.
  82. ("qtbase" ,qtbase-5)
  83. ("sqlite" ,sqlite)))
  84. (arguments
  85. `(#:tests? #f ;; TODO 135/167 tests fail
  86. #:configure-flags '("-DDATABASE_BACKEND=SQLITE") ; lightweight
  87. #:modules ((ice-9 textual-ports)
  88. ,@%qt-build-system-modules)
  89. #:phases
  90. (modify-phases (@ (guix build qt-build-system) %standard-phases)
  91. (add-before 'configure 'add-definitions
  92. (lambda* (#:key outputs build-inputs #:allow-other-keys)
  93. (let ((out (assoc-ref outputs "out"))
  94. (mysql (assoc-ref build-inputs "mysql"))
  95. (pgsql (assoc-ref build-inputs "postgresql")))
  96. (with-output-to-file "CMakeLists.txt.new"
  97. (lambda _
  98. (display
  99. (string-append
  100. "add_compile_definitions(\n"
  101. "NIX_OUT=\"" out "\"\n"
  102. ;; pin binaries for mysql backend
  103. ")\n\n"))
  104. (display
  105. (call-with-input-file "CMakeLists.txt"
  106. get-string-all))))
  107. (rename-file "CMakeLists.txt.new" "CMakeLists.txt"))
  108. #t)))))
  109. (home-page "https://kontact.kde.org/components/akonadi.html")
  110. (synopsis "Extensible cross-desktop storage service for PIM")
  111. (description "Akonadi is an extensible cross-desktop Personal Information
  112. Management (PIM) storage service. It provides a common framework for
  113. applications to store and access mail, calendars, addressbooks, and other PIM
  114. data.
  115. This package contains the Akonadi PIM storage server and associated
  116. programs.")
  117. (license license:fdl1.2+)))
  118. (define-public akonadi-calendar
  119. (package
  120. (name "akonadi-calendar")
  121. (version "21.08.1")
  122. (source
  123. (origin
  124. (method url-fetch)
  125. (uri (string-append "mirror://kde/stable/release-service/" version
  126. "/src/akonadi-calendar-" version ".tar.xz"))
  127. (sha256
  128. (base32 "1p8myayr6kfgp805wdpy39f9bjxw1fafv6kn35h1zsl1fgyc4812"))))
  129. (build-system qt-build-system)
  130. (native-inputs
  131. `(("extra-cmake-modules" ,extra-cmake-modules)))
  132. (inputs
  133. `(("akonadi" ,akonadi)
  134. ("akonadi-contacts" ,akonadi-contacts)
  135. ("akonadi-mime" ,akonadi-mime)
  136. ("boost" ,boost)
  137. ("grantleetheme" ,grantleetheme)
  138. ("kcalendarcore" ,kcalendarcore)
  139. ("kcalutils" ,kcalutils)
  140. ("kcodecs" ,kcodecs)
  141. ("kcontacts" ,kcontacts)
  142. ("ki18n" ,ki18n)
  143. ("kiconthemes" ,kiconthemes)
  144. ("kidentitymanagement" ,kidentitymanagement)
  145. ("kio" ,kio)
  146. ("kitemmodels" ,kitemmodels)
  147. ("kmailtransport" ,kmailtransport)
  148. ("kmime" ,kmime)
  149. ("kpimtextedit" ,kpimtextedit)
  150. ("ksmtp" ,ksmtp)
  151. ("ktextwidgets" ,ktextwidgets)
  152. ("kwallet" ,kwallet)
  153. ("qtbase" ,qtbase-5)))
  154. (arguments
  155. `(#:tests? #f)) ;; TODO: 1/1 test fails
  156. (home-page "https://api.kde.org/kdepim/akonadi/html/")
  157. (synopsis "Library providing calendar helpers for Akonadi items")
  158. (description "This library manages calendar specific actions for
  159. collection and item views.")
  160. (license license:lgpl2.0+)))
  161. (define-public akonadi-contacts
  162. (package
  163. (name "akonadi-contacts")
  164. (version "21.08.1")
  165. (source
  166. (origin
  167. (method url-fetch)
  168. (uri (string-append "mirror://kde/stable/release-service/" version
  169. "/src/akonadi-contacts-" version ".tar.xz"))
  170. (sha256
  171. (base32 "13sjy2jg4bbg7dm182apppmcpkhmiwhkpnkjhh13dhz8v7488vnc"))))
  172. (build-system qt-build-system)
  173. (native-inputs
  174. `(("extra-cmake-modules" ,extra-cmake-modules)))
  175. (inputs
  176. `(("akonadi" ,akonadi)
  177. ("boost" ,boost)
  178. ("grantlee" ,grantlee)
  179. ("grantleetheme" ,grantleetheme)
  180. ("kauth" ,kauth)
  181. ("kcmutils" ,kcmutils)
  182. ("kcodecs" ,kcodecs)
  183. ("kcompletion" ,kcompletion)
  184. ("kconfigwidgets" ,kconfigwidgets)
  185. ("kcontacts" ,kcontacts)
  186. ("kcoreaddons" ,kcoreaddons)
  187. ("kdbusaddons" ,kdbusaddons)
  188. ("ki18n" ,ki18n)
  189. ("kiconthemes" ,kiconthemes)
  190. ("kitemmodels" ,kitemmodels)
  191. ("kitemviews" ,kitemviews)
  192. ("kjobwidgets" ,kjobwidgets)
  193. ("kmime" ,kmime)
  194. ("kservice" ,kservice)
  195. ("ktextwidgets" ,ktextwidgets)
  196. ("kwidgetsaddons" ,kwidgetsaddons)
  197. ("kxmlgui" ,kxmlgui)
  198. ("libkleo" ,libkleo)
  199. ("prison" ,prison)
  200. ("kio" ,kio)
  201. ("qtbase" ,qtbase-5)
  202. ("solid" ,solid)
  203. ("sonnet" ,sonnet)))
  204. (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
  205. (synopsis "Akonadi contacts access library")
  206. (description "Akonadi Contacts is a library that effectively bridges the
  207. type-agnostic API of the Akonadi client libraries and the domain-specific
  208. KContacts library. It provides jobs, models and other helpers to make working
  209. with contacts and addressbooks through Akonadi easier.
  210. The library provides a complex dialog for editing contacts and several models
  211. to list and filter contacts.")
  212. (license ;; GPL for programs, LGPL for libraries
  213. (list license:gpl2+ license:lgpl2.0+))))
  214. (define-public akonadi-mime
  215. (package
  216. (name "akonadi-mime")
  217. (version "21.08.1")
  218. (source
  219. (origin
  220. (method url-fetch)
  221. (uri (string-append "mirror://kde/stable/release-service/" version
  222. "/src/akonadi-mime-" version ".tar.xz"))
  223. (sha256
  224. (base32 "15lm1248diqhnv1qldcyyfi1v7w8h13jvwhp80py93hijq07iwz5"))))
  225. (build-system qt-build-system)
  226. (native-inputs
  227. `(("extra-cmake-modules" ,extra-cmake-modules)
  228. ("libxslt" ,libxslt) ;; xslt for generating interface descriptions
  229. ("shared-mime-info" ,shared-mime-info)))
  230. (inputs
  231. `(("akonadi" ,akonadi)
  232. ("boost" ,boost)
  233. ("kcodecs" ,kcodecs)
  234. ("kconfig" ,kconfig)
  235. ("kconfigwidgets" ,kconfigwidgets)
  236. ("kdbusaddons" ,kdbusaddons)
  237. ("ki18n" ,ki18n)
  238. ("kio" ,kio)
  239. ("kitemmodels" ,kitemmodels)
  240. ("kmime" ,kmime)
  241. ("kwidgetsaddons" ,kwidgetsaddons)
  242. ("kxmlgui" ,kxmlgui)
  243. ("qtbase" ,qtbase-5)))
  244. (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
  245. (arguments
  246. `(#:phases
  247. (modify-phases %standard-phases
  248. (add-after 'unpack 'copy-desktop-file-early
  249. (lambda _
  250. (let ((plugins-dir "/tmp/.local/share/akonadi/plugins/serializer"))
  251. (mkdir-p plugins-dir)
  252. (copy-file "serializers/akonadi_serializer_mail.desktop"
  253. (string-append plugins-dir "/akonadi_serializer_mail.desktop")))
  254. #t))
  255. (add-before 'check 'check-setup
  256. (lambda _
  257. (setenv "HOME" "/tmp")
  258. #t)))))
  259. (synopsis "Akonadi MIME handling library")
  260. (description "Akonadi Mime is a library that effectively bridges the
  261. type-agnostic API of the Akonadi client libraries and the domain-specific
  262. KMime library. It provides jobs, models and other helpers to make working
  263. with emails through Akonadi easier.")
  264. (license ;; GPL for programs, LGPL for libraries
  265. (list license:gpl2+ license:lgpl2.0+))))
  266. (define-public akonadi-notes
  267. (package
  268. (name "akonadi-notes")
  269. (version "21.08.1")
  270. (source
  271. (origin
  272. (method url-fetch)
  273. (uri (string-append "mirror://kde/stable/release-service/" version
  274. "/src/akonadi-notes-" version ".tar.xz"))
  275. (sha256
  276. (base32 "1r43pvxpk3f183qaiydxg83xc1y5zss7xgxq5p1vnwgqyifibh3h"))))
  277. (build-system qt-build-system)
  278. (native-inputs
  279. `(("extra-cmake-modules" ,extra-cmake-modules)))
  280. (inputs
  281. `(("akonadi" ,akonadi)
  282. ("kcodecs" ,kcodecs)
  283. ("ki18n" ,ki18n)
  284. ("kmime" ,kmime)
  285. ("qtbase" ,qtbase-5)))
  286. (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
  287. (synopsis "Akonadi notes access library")
  288. (description "Akonadi Notes is a library that effectively bridges the
  289. type-agnostic API of the Akonadi client libraries and the domain-specific
  290. KMime library. It provides a helper class for note attachments and for
  291. wrapping notes into KMime::Message objects.")
  292. (license ;; GPL for programs, LGPL for libraries
  293. (list license:gpl2+ license:lgpl2.0+))))
  294. (define-public akonadi-search
  295. (package
  296. (name "akonadi-search")
  297. (version "21.08.1")
  298. (source
  299. (origin
  300. (method url-fetch)
  301. (uri (string-append "mirror://kde/stable/release-service/" version
  302. "/src/akonadi-search-" version ".tar.xz"))
  303. (sha256
  304. (base32 "1w5vps398kadl6p2jhsj18jqfn4lyysx09jzj6q9cvkvzmq4im6i"))))
  305. (build-system qt-build-system)
  306. (native-inputs
  307. `(("extra-cmake-modules" ,extra-cmake-modules)
  308. ;; For tests.
  309. ("dbus" ,dbus)))
  310. (inputs
  311. `(("akonadi" ,akonadi)
  312. ("akonadi-mime" ,akonadi-mime)
  313. ("boost" ,boost)
  314. ("kcalendarcore" ,kcalendarcore)
  315. ("kcmutils" ,kcmutils)
  316. ("kcontacts" ,kcontacts)
  317. ("kcrash" ,kcrash)
  318. ("kdbusaddons" ,kdbusaddons)
  319. ("ki18n" ,ki18n)
  320. ("kio" ,kio)
  321. ("kitemmodels" ,kitemmodels)
  322. ("kmime" ,kmime)
  323. ("krunner" ,krunner)
  324. ("kwindowsystem" ,kwindowsystem)
  325. ("qtbase" ,qtbase-5)
  326. ("xapian" ,xapian)))
  327. (arguments
  328. `(#:phases (modify-phases %standard-phases
  329. (add-after 'unpack 'disable-failing-test
  330. (lambda _
  331. ;; FIXME: This test fails because it fails to establish
  332. ;; a socket connection, seemingly due to failure during
  333. ;; DBus communication. See also 'korganizer'.
  334. (substitute* "agent/autotests/CMakeLists.txt"
  335. ((".*schedulertest\\.cpp.*")
  336. ""))
  337. #t))
  338. (replace 'check
  339. (lambda* (#:key tests? #:allow-other-keys)
  340. (when tests?
  341. (invoke "dbus-launch" "ctest")))))))
  342. (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
  343. (synopsis "Akonadi search library")
  344. (description "This package provides a library used to search in the
  345. Akonadi PIM data server. It uses Xapian for indexing and querying.")
  346. (license ;; GPL for programs, LGPL for libraries
  347. (list license:gpl2+ license:lgpl2.0+))))
  348. (define-public kincidenceeditor
  349. (package
  350. (name "kincidenceeditor")
  351. (version "21.08.1")
  352. (source
  353. (origin
  354. (method url-fetch)
  355. (uri (string-append "mirror://kde/stable/release-service/" version
  356. "/src/incidenceeditor-" version ".tar.xz"))
  357. (sha256
  358. (base32 "1xyb106ck64qq4z083g0qx9n3rax5ma41jsfwl8am8w5q4szxw31"))))
  359. (properties `((upstream-name . "incidenceeditor")))
  360. (build-system qt-build-system)
  361. (native-inputs
  362. `(("extra-cmake-modules" ,extra-cmake-modules)
  363. ("dbus" ,dbus)))
  364. (inputs
  365. `(("akonadi" ,akonadi)
  366. ("akonadi-calendar" ,akonadi-calendar)
  367. ("akonadi-contacts" ,akonadi-contacts)
  368. ("akonadi-mime" ,akonadi-mime)
  369. ("boost" ,boost)
  370. ("grantleetheme" ,grantleetheme)
  371. ("kcalendarcore" ,kcalendarcore)
  372. ("kcalendarsupport" ,kcalendarsupport)
  373. ("kcalutils" ,kcalutils)
  374. ("kcodecs" ,kcodecs)
  375. ("kcontacts" ,kcontacts)
  376. ("kdbusaddons" ,kdbusaddons)
  377. ("kdiagram" ,kdiagram)
  378. ("keventviews" ,keventviews)
  379. ("ki18n" ,ki18n)
  380. ("kiconthemes" ,kiconthemes)
  381. ("kidentitymanagement" ,kidentitymanagement)
  382. ("kimap" ,kimap)
  383. ("kio" ,kio)
  384. ("kitemmodels" ,kitemmodels)
  385. ("kldap" ,kldap)
  386. ("kmailtransport" ,kmailtransport)
  387. ("kmime" ,kmime)
  388. ("kpimcommon" ,kpimcommon)
  389. ("kpimtextedit" ,kpimtextedit)
  390. ("ktextwidgets" ,ktextwidgets)
  391. ("kwallat" ,kwallet)
  392. ("libkdepim" ,libkdepim)
  393. ("qtbase" ,qtbase-5)))
  394. (arguments
  395. `(#:phases
  396. (modify-phases %standard-phases
  397. (replace 'check
  398. (lambda* (#:key tests? #:allow-other-keys)
  399. (when tests?
  400. (invoke "dbus-launch" "ctest" ;; FIXME: test fails.
  401. "-E" "akonadi-sqlite-incidencedatetimetest"
  402. "."))
  403. #t)))))
  404. (home-page "https://invent.kde.org/pim/incidenceeditor")
  405. (synopsis "KDE PIM library for editing incidences")
  406. (description "This library provides an incidence editor for KDE PIM.")
  407. (license ;; GPL for programs, LGPL for libraries
  408. (list license:gpl2+ license:lgpl2.0+))))
  409. (define-public kaddressbook
  410. (package
  411. (name "kaddressbook")
  412. (version "21.08.1")
  413. (source
  414. (origin
  415. (method url-fetch)
  416. (uri (string-append "mirror://kde/stable/release-service/" version
  417. "/src/kaddressbook-" version ".tar.xz"))
  418. (sha256
  419. (base32 "05lrxban904szlqhri71qqfykyygsxwgsx9w406s213vwkakirxb"))))
  420. (build-system qt-build-system)
  421. (native-inputs
  422. `(("extra-cmake-modules" ,extra-cmake-modules)))
  423. (inputs
  424. `(("akonadi" ,akonadi)
  425. ("akonadi-contacts" ,akonadi-contacts)
  426. ("akonadi-mime" ,akonadi-mime)
  427. ("akonadi-search" ,akonadi-search)
  428. ("boost" ,boost)
  429. ("gpgme" ,gpgme)
  430. ("grantlee" ,grantlee)
  431. ("grantleetheme" ,grantleetheme)
  432. ("kcalendarcore" ,kcalendarcore)
  433. ("kcmutils" ,kcmutils)
  434. ("kcompletion" ,kcompletion)
  435. ("kcontacts" ,kcontacts)
  436. ("kcrash" ,kcrash)
  437. ("kdbusaddons" ,kdbusaddons)
  438. ("kdoctools" ,kdoctools)
  439. ("ki18n" ,ki18n)
  440. ("kiconthemes" ,kiconthemes)
  441. ("kimap" ,kimap)
  442. ("kio" ,kio)
  443. ("kitemmodels" ,kitemmodels)
  444. ("kmime" ,kmime)
  445. ("kontactinterface" ,kontactinterface)
  446. ("kparts" ,kparts)
  447. ("kpimcommon" ,kpimcommon)
  448. ("kpimtextedit" ,kpimtextedit)
  449. ("ktextwidgets" ,ktextwidgets)
  450. ("kxmlgui" ,kxmlgui)
  451. ("libkdepim" ,libkdepim)
  452. ("libkleo" ,libkleo)
  453. ("breeze-icons" ,breeze-icons) ; default icon set, required for tests
  454. ("prison" ,prison)
  455. ("qgpgme" ,qgpgme)
  456. ("qtbase" ,qtbase-5)))
  457. (home-page "https://kontact.kde.org/components/kaddressbook.html")
  458. (synopsis "Address Book application to manage your contacts")
  459. (description "KAddressBook stores all the personal details of your family,
  460. friends and other contacts. It supports large variety of services, including
  461. NextCloud, Kolab, Google Contacts, Microsoft Exchange (EWS) or any standard
  462. CalDAV server.")
  463. (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
  464. (define-public kalarmcal
  465. (package
  466. (name "kalarmcal")
  467. (version "21.08.1")
  468. (source
  469. (origin
  470. (method url-fetch)
  471. (uri (string-append "mirror://kde/stable/release-service/" version
  472. "/src/kalarmcal-" version ".tar.xz"))
  473. (sha256
  474. (base32 "1s0yrh0y54rjp4d6y8vcixxrlsdra1xr8j3lxswl2h866p87v7fa"))))
  475. (build-system qt-build-system)
  476. (native-inputs
  477. `(("extra-cmake-modules" ,extra-cmake-modules)))
  478. (inputs
  479. `(("akonadi" ,akonadi)
  480. ("boost" ,boost)
  481. ("kcalendarcore" ,kcalendarcore)
  482. ("kcalutils" ,kcalutils)
  483. ("kcompletion" ,kcompletion)
  484. ("kconfig" ,kconfig)
  485. ("kconfigwidgets" ,kconfigwidgets)
  486. ("kcoreaddons" ,kcoreaddons)
  487. ("kdbusaddons" ,kdbusaddons)
  488. ("kholidays" ,kholidays)
  489. ("ki18n" ,ki18n)
  490. ("kidentitymanagement" ,kidentitymanagement)
  491. ("kio" ,kio)
  492. ("kitemmodels" ,kitemmodels)
  493. ("kpimtextedit" ,kpimtextedit)
  494. ("ktextwidgets" ,ktextwidgets)
  495. ("kxmlgui" ,kxmlgui)
  496. ("qtbase" ,qtbase-5)))
  497. (arguments
  498. `(#:tests? #f)) ;; TODO: TZ setup
  499. (home-page "https://github.com/KDE/kalarmcal")
  500. (synopsis "Library for handling kalarm calendar data")
  501. (description "This library provides access to and handling of kalarm
  502. calendar data.")
  503. (license license:lgpl2.0+)))
  504. (define-public kblog
  505. (package
  506. (name "kblog")
  507. (version "20.04.1")
  508. (source
  509. (origin
  510. (method url-fetch)
  511. (uri (string-append "mirror://kde/stable/release-service/" version
  512. "/src/kblog-" version ".tar.xz"))
  513. (sha256
  514. (base32 "0pi3axs58wsz5vq6vyisz73s24q739zplwrblyvkcm16nll4mvhk"))))
  515. (build-system qt-build-system)
  516. (native-inputs
  517. `(("extra-cmake-modules" ,extra-cmake-modules)))
  518. (inputs
  519. `(("kcalendarcore" ,kcalendarcore)
  520. ("kcoreaddons" ,kcoreaddons)
  521. ("ki18n" ,ki18n)
  522. ("kio" ,kio)
  523. ("kxmlrpcclient" ,kxmlrpcclient)
  524. ("qtbase" ,qtbase-5)
  525. ("syndication" ,syndication)))
  526. ;; Note: Some tests take up to 90 sec.
  527. (home-page "https://apps.kde.org/kblog/")
  528. (synopsis "Client-side support library for web application remote blogging
  529. APIs")
  530. (description "KBlog is a library for calling functions on Blogger 1.0,
  531. MetaWeblog, MovableType and GData compatible blogs. It calls the APIs using
  532. KXmlRpcClient and Syndication. It supports asynchronous sending and fetching
  533. of posts and, if supported on the server, multimedia files. Almost every
  534. modern blogging web application that provides an XML data interface supports
  535. one of the APIs mentioned above.")
  536. (license license:lgpl2.0+)))
  537. (define-public kcalendarsupport
  538. (package
  539. (name "kcalendarsupport")
  540. (version "21.08.1")
  541. (source
  542. (origin
  543. (method url-fetch)
  544. (uri (string-append "mirror://kde/stable/release-service/" version
  545. "/src/calendarsupport-" version ".tar.xz"))
  546. (sha256
  547. (base32 "0n9mbwdgyc4530g1rn9b393qq8pgpcclcpip9p72q8qc630jsvbw"))))
  548. (properties `((upstream-name . "calendarsupport")))
  549. (build-system qt-build-system)
  550. (native-inputs
  551. `(("extra-cmake-modules" ,extra-cmake-modules)
  552. ("qttools" ,qttools)))
  553. (inputs
  554. `(("akonadi" ,akonadi)
  555. ("akonadi-calendar" ,akonadi-calendar)
  556. ("akonadi-mime" ,akonadi-mime)
  557. ("akonadi-notes" ,akonadi-notes)
  558. ("boost" ,boost)
  559. ("kcalendarcore" ,kcalendarcore)
  560. ("kcalutils" ,kcalutils)
  561. ("kcompletion" ,kcompletion)
  562. ("kdbusaddons" ,kdbusaddons)
  563. ("kguiaddons" ,kguiaddons)
  564. ("kholidays" ,kholidays)
  565. ("ki18n" ,ki18n)
  566. ("kiconthemes" ,kiconthemes)
  567. ("kidentitymanagement" ,kidentitymanagement)
  568. ("kio" ,kio)
  569. ("kitemmodels" ,kitemmodels)
  570. ("kmime" ,kmime)
  571. ("kpimcommon" ,kpimcommon)
  572. ("kpimtextedit" ,kpimtextedit)
  573. ("ktextwidgets" ,ktextwidgets)
  574. ("kxmlgui" ,kxmlgui)
  575. ("qtbase" ,qtbase-5)))
  576. (home-page "https://github.com/KDE/calendarsupport")
  577. (synopsis "Calendar Support library for KDE PIM")
  578. (description "The Calendar Support library provides helper utilities for
  579. calendaring applications.")
  580. (license ;; GPL for programs, LGPL for libraries
  581. (list license:gpl2+ license:lgpl2.0+))))
  582. (define-public kcalutils
  583. (package
  584. (name "kcalutils")
  585. (version "21.08.1")
  586. (source
  587. (origin
  588. (method url-fetch)
  589. (uri (string-append "mirror://kde/stable/release-service/" version
  590. "/src/kcalutils-" version ".tar.xz"))
  591. (sha256
  592. (base32 "1xrggb8vv8lrjyhdb9yf2fzs36q766if78hlymgfndj1z37s0m6m"))))
  593. (build-system qt-build-system)
  594. (native-inputs
  595. `(("extra-cmake-modules" ,extra-cmake-modules)
  596. ("libxml2" ,libxml2))) ;; xmllint required for tests
  597. (inputs
  598. `(("grantlee" ,grantlee)
  599. ("kcalendarcore" ,kcalendarcore)
  600. ("kcodecs" ,kcodecs)
  601. ("kconfig" ,kconfig)
  602. ("kconfigwidgets" ,kconfigwidgets)
  603. ("kcoreaddons" ,kcoreaddons)
  604. ("ki18n" ,ki18n)
  605. ("kiconthemes" ,kiconthemes)
  606. ("kidentitymanagement" ,kidentitymanagement)
  607. ("kpimtextedit" ,kpimtextedit)
  608. ("ktextwidgets" ,ktextwidgets)
  609. ("kwidgetsaddons" ,kwidgetsaddons)
  610. ("breeze-icons" ,breeze-icons) ; default icon set, required for tests
  611. ("qtbase" ,qtbase-5)))
  612. (arguments
  613. `(#:tests? #f)) ;; TODO: seem to pull in some wrong theme
  614. (home-page "https://github.com/KDE/kcalutils")
  615. (synopsis "Library with utility functions for the handling of calendar
  616. data")
  617. (description "This library provides a utility and user interface
  618. functions for accessing calendar data using the kcalcore API.")
  619. (license license:lgpl2.0+)))
  620. (define-public kdepim-runtime
  621. (package
  622. (name "kdepim-runtime")
  623. (version "21.08.1")
  624. (source
  625. (origin
  626. (method url-fetch)
  627. (uri (string-append "mirror://kde/stable/release-service/" version
  628. "/src/kdepim-runtime-" version ".tar.xz"))
  629. (sha256
  630. (base32 "0ai6v5sysh5pzwpvbhjzi1fvfp608abpndh9nhnm7b87hca73vm9"))))
  631. (build-system qt-build-system)
  632. (native-inputs
  633. `(("extra-cmake-modules" ,extra-cmake-modules)
  634. ("dbus" ,dbus)
  635. ("kdoctools" ,kdoctools)
  636. ("libxslt" ,libxslt)
  637. ("shared-mime-info" ,shared-mime-info)))
  638. (inputs
  639. `(("akonadi" ,akonadi)
  640. ("akonadi-calendar" ,akonadi-calendar)
  641. ("akonadi-contacts" ,akonadi-contacts)
  642. ("akonadi-mime" ,akonadi-mime)
  643. ("akonadi-notes" ,akonadi-notes)
  644. ("boost" ,boost)
  645. ("cyrus-sasl" ,cyrus-sasl)
  646. ("grantleetheme" ,grantleetheme)
  647. ("kalarmcal" ,kalarmcal)
  648. ("kcalendarcore" ,kcalendarcore)
  649. ("kcalutils" ,kcalutils)
  650. ("kcmutils" ,kcmutils)
  651. ("kcodecs" ,kcodecs)
  652. ("kconfig" ,kconfig)
  653. ("kconfigwidgets" ,kconfigwidgets)
  654. ("kcontacts" ,kcontacts)
  655. ("kdav" ,kdav)
  656. ("kholidays" ,kholidays)
  657. ("kidentitymanagement" ,kidentitymanagement)
  658. ("kimap" ,kimap)
  659. ("kio" ,kio)
  660. ("kitemmodels" ,kitemmodels)
  661. ("kmailtransport" ,kmailtransport)
  662. ("kldap" ,kldap)
  663. ("kmbox" ,kmbox)
  664. ("kmime" ,kmime)
  665. ("knotifications" ,knotifications)
  666. ("knotifyconfig" ,knotifyconfig)
  667. ("kpimcommon" ,kpimcommon)
  668. ("kpimtextedit" ,kpimtextedit)
  669. ("kross" ,kross)
  670. ("ktextwidgets" ,ktextwidgets)
  671. ("kwallet" ,kwallet)
  672. ("kwindowsystem" ,kwindowsystem)
  673. ("libkgapi" ,libkgapi)
  674. ("libkdepim" ,libkdepim)
  675. ;; TODO: libkolab, etebase
  676. ("qca" ,qca)
  677. ("qtbase" ,qtbase-5)
  678. ("qtdeclarative" ,qtdeclarative)
  679. ("qtkeychain" ,qtkeychain)
  680. ("qtnetworkauth" ,qtnetworkauth)
  681. ("qtspeech" ,qtspeech)
  682. ("qtwebchannel" ,qtwebchannel)
  683. ("qtwebengine" ,qtwebengine)
  684. ("qtxmlpatterns" ,qtxmlpatterns)))
  685. (arguments
  686. `(#:phases
  687. (modify-phases %standard-phases
  688. (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
  689. (lambda* (#:key inputs #:allow-other-keys)
  690. ;; FIXME: <Akonadi/KMime/SpecialMailCollections> is not
  691. ;; found during one of the compilation steps without
  692. ;; this hack.
  693. (setenv "CPLUS_INCLUDE_PATH"
  694. (string-append (assoc-ref inputs "akonadi-mime")
  695. "/include/KF5:"
  696. (or (getenv "CPLUS_INCLUDE_PATH") "")))
  697. #t))
  698. (replace 'check
  699. (lambda* (#:key tests? #:allow-other-keys)
  700. (when tests?
  701. ;; FIXME: Atleast some appear to require network.
  702. (invoke "dbus-launch" "ctest" "-E"
  703. "(akonadi-sqlite-synctest|\
  704. akonadi-sqlite-pop3test|\
  705. storecompacttest|\
  706. akonadi-sqlite-ewstest|\
  707. ewsmoveitemrequest_ut|\
  708. ewsdeleteitemrequest_ut|\
  709. ewsgetitemrequest_ut|\
  710. ewsunsubscriberequest_ut|\
  711. ewssettings_ut)"))
  712. #t)))))
  713. (home-page "https://invent.kde.org/pim/kdepim-runtime")
  714. (synopsis "Runtime components for Akonadi KDE")
  715. (description "This package contains Akonadi agents written using KDE
  716. Development Platform libraries. Any package that uses Akonadi should probably
  717. pull this in as a dependency. The kres-bridges is also parts of this
  718. package.")
  719. (license ;; Files vary a lot regarding the license. GPL2+ and LGPL2.1+
  720. ;; have been used in those I checked. But the archive also includes
  721. ;; license texts for GPL3 and AGPL3.
  722. (list license:gpl2+ license:lgpl2.0+))))
  723. (define-public keventviews
  724. (package
  725. (name "keventviews")
  726. (version "21.08.1")
  727. (source
  728. (origin
  729. (method url-fetch)
  730. (uri (string-append "mirror://kde/stable/release-service/" version
  731. "/src/eventviews-" version ".tar.xz"))
  732. (sha256
  733. (base32 "04z5cb4vhxcwxp8dwv7w4400zmj090gr7dm4d4h4x39312d25rhh"))))
  734. (properties `((upstream-name . "eventviews")))
  735. (build-system qt-build-system)
  736. (native-inputs
  737. `(("extra-cmake-modules" ,extra-cmake-modules)
  738. ("qttools" ,qttools)))
  739. (inputs
  740. `(("akonadi" ,akonadi)
  741. ("akonadi-calendar" ,akonadi-calendar)
  742. ("akonadi-contacts" ,akonadi-contacts)
  743. ("boost" ,boost)
  744. ("kcalendarcore" ,kcalendarcore)
  745. ("kcalendarsupport" ,kcalendarsupport)
  746. ("kcalutils" ,kcalutils)
  747. ("kcodecs" ,kcodecs)
  748. ("kcompletion" ,kcompletion)
  749. ("kconfigwidgets" ,kconfigwidgets)
  750. ("kcontacts" ,kcontacts)
  751. ("kdbusaddons" ,kdbusaddons)
  752. ("kdiagram" ,kdiagram)
  753. ("kguiaddons" ,kguiaddons)
  754. ("kholidays" ,kholidays)
  755. ("ki18n" ,ki18n)
  756. ("kiconthemes" ,kiconthemes)
  757. ("kidentitymanagement" ,kidentitymanagement)
  758. ("kio" ,kio)
  759. ("kitemmodels" ,kitemmodels)
  760. ("kmime" ,kmime)
  761. ("kpimtextedit" ,kpimtextedit)
  762. ("kservice" ,kservice)
  763. ("ktextwidgets" ,ktextwidgets)
  764. ("kxmlgui" ,kxmlgui)
  765. ("libkdepim" ,libkdepim)
  766. ("qtbase" ,qtbase-5)))
  767. (home-page "https://invent.kde.org/pim/eventviews")
  768. (synopsis "KDE PIM library for creating events")
  769. (description "This library provides an event creator for KDE PIM.")
  770. (license ;; GPL for programs, LGPL for libraries
  771. (list license:gpl2+ license:lgpl2.0+))))
  772. (define-public kgpg
  773. (package
  774. (name "kgpg")
  775. (version "21.08.1")
  776. (source
  777. (origin
  778. (method url-fetch)
  779. (uri (string-append "mirror://kde/stable/release-service/" version
  780. "/src/kgpg-" version ".tar.xz"))
  781. (sha256
  782. (base32 "0q4k7ahh1qr4fnkw4na5kyp4kq922a45hjgz9qzh7whn6zqrhsxs"))))
  783. (build-system qt-build-system)
  784. (native-inputs
  785. `(("extra-cmake-modules" ,extra-cmake-modules)
  786. ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
  787. ("kdoctools" ,kdoctools)))
  788. (inputs
  789. `(("akonadi" ,akonadi)
  790. ("akonadi-contacts" ,akonadi-contacts)
  791. ("boost" ,boost)
  792. ("gpgme" ,gpgme)
  793. ("grantleetheme" ,grantleetheme)
  794. ("karchive" ,karchive)
  795. ("kcodecs" ,kcodecs)
  796. ("kcontacts" ,kcontacts)
  797. ("kcoreaddons" ,kcoreaddons)
  798. ("kcrash" ,kcrash)
  799. ("kdbusaddons" ,kdbusaddons)
  800. ("ki18n" ,ki18n)
  801. ("kiconthemes" ,kiconthemes)
  802. ("kio" ,kio)
  803. ("kitemmodels" ,kitemmodels)
  804. ("kjobwidgets" ,kjobwidgets)
  805. ("knotifications" ,knotifications)
  806. ("kservice" ,kservice)
  807. ("ktextwidgets" ,ktextwidgets)
  808. ("kwidgetsaddons" ,kwidgetsaddons)
  809. ("kwindowsystem" ,kwindowsystem)
  810. ("kxmlgui" ,kxmlgui)
  811. ("breeze-icons" ,breeze-icons) ;; default icon set
  812. ("qtbase" ,qtbase-5)))
  813. (arguments
  814. `(#:phases
  815. (modify-phases %standard-phases
  816. (replace 'check
  817. (lambda* (#:key tests? #:allow-other-keys)
  818. (when tests? ;; Test fails inconsistently
  819. ;; https://bugs.kde.org/show_bug.cgi?id=442886
  820. (invoke "ctest" "-E" "(kgpg-import|kgpg-encrypt)"))
  821. #t)))))
  822. (home-page "https://apps.kde.org/kgpg/")
  823. (synopsis "Graphical front end for GNU Privacy Guard")
  824. (description "Kgpg manages cryptographic keys for the GNU Privacy Guard,
  825. and can encrypt, decrypt, sign, and verify files. It features a simple editor
  826. for applying cryptography to short pieces of text, and can also quickly apply
  827. cryptography to the contents of the clipboard.")
  828. (license license:gpl2+)))
  829. (define-public kidentitymanagement
  830. (package
  831. (name "kidentitymanagement")
  832. (version "21.08.1")
  833. (source
  834. (origin
  835. (method url-fetch)
  836. (uri (string-append "mirror://kde/stable/release-service/" version
  837. "/src/kidentitymanagement-" version ".tar.xz"))
  838. (sha256
  839. (base32 "0xhkz33w0z9jlxlqb06w5fiyj1qz2mjssrbba2kdm55q67lj1b76"))))
  840. (build-system qt-build-system)
  841. (native-inputs
  842. `(("extra-cmake-modules" ,extra-cmake-modules)))
  843. (inputs
  844. `(("kcodecs" ,kcodecs)
  845. ("kcompletion" ,kcompletion)
  846. ("kconfig" ,kconfig)
  847. ("kcoreaddons" ,kcoreaddons)
  848. ("kemoticons" ,kemoticons)
  849. ("kiconthemes" ,kiconthemes)
  850. ("kio" ,kio)
  851. ("kpimtextedit" ,kpimtextedit)
  852. ("ktextwidgets" ,ktextwidgets)
  853. ("kxmlgui" ,kxmlgui)
  854. ("qtbase" ,qtbase-5)))
  855. (arguments
  856. `(#:phases
  857. (modify-phases %standard-phases
  858. (add-before 'check 'set-home
  859. (lambda _
  860. (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this?
  861. #t)))))
  862. (home-page "https://kontact.kde.org/")
  863. (synopsis "Library for shared identities between mail applications")
  864. (description "This library provides an API for managing user identities.")
  865. (license ;; GPL for programs, LGPL for libraries, FDL for documentation
  866. (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
  867. (define-public kimap
  868. (package
  869. (name "kimap")
  870. (version "21.08.1")
  871. (source
  872. (origin
  873. (method url-fetch)
  874. (uri (string-append "mirror://kde/stable/release-service/" version
  875. "/src/kimap-" version ".tar.xz"))
  876. (sha256
  877. (base32 "19b8awcbrn61dwqli10v883i8s18sjz8w335c2sxlhzqgdijgxhl"))))
  878. (build-system qt-build-system)
  879. (native-inputs
  880. `(("extra-cmake-modules" ,extra-cmake-modules)))
  881. (inputs
  882. `(("cyrus-sasl" ,cyrus-sasl)
  883. ("kcoreaddons" ,kcoreaddons)
  884. ("ki18n" ,ki18n)
  885. ("kio" ,kio)
  886. ("kmime" ,kmime)
  887. ("qtbase" ,qtbase-5)))
  888. (home-page "https://api.kde.org/kdepim/kimap/html/index.html")
  889. (synopsis "Library for handling IMAP")
  890. (description "This library provides a job-based API for interacting with
  891. an IMAP4rev1 server. It manages connections, encryption and parameter quoting
  892. and encoding, but otherwise provides quite a low-level interface to the
  893. protocol. This library does not implement an IMAP client; it merely makes it
  894. easier to do so.")
  895. (license ;; GPL for programs, LGPL for libraries
  896. (list license:gpl2+ license:lgpl2.0+))))
  897. (define-public kldap
  898. (package
  899. (name "kldap")
  900. (version "21.08.1")
  901. (source
  902. (origin
  903. (method url-fetch)
  904. (uri (string-append "mirror://kde/stable/release-service/" version
  905. "/src/kldap-" version ".tar.xz"))
  906. (sha256
  907. (base32 "1m92kd6mrz3dxap6rzw0r85wij030a60n10hkgkjkxb8npgvl14g"))))
  908. (build-system qt-build-system)
  909. (native-inputs
  910. `(("extra-cmake-modules" ,extra-cmake-modules)
  911. ("kdoctools" ,kdoctools)))
  912. (inputs
  913. `(("ki18n" ,ki18n)
  914. ("kio" ,kio)
  915. ("kwidgetsaddons" ,kwidgetsaddons)
  916. ("qtbase" ,qtbase-5)
  917. ("qtkeychain" ,qtkeychain)))
  918. (propagated-inputs
  919. `(("cyrus-sasl" ,cyrus-sasl)
  920. ("openldap" ,openldap)))
  921. (home-page "https://api.kde.org/kdepim/kldap/html/")
  922. (synopsis "Library for accessing LDAP")
  923. (description "This is a library for accessing LDAP with a convenient Qt
  924. style C++ API. LDAP (Lightweight Directory Access Protocol) is an application
  925. protocol for querying and modifying directory services running over TCP/IP.")
  926. (license license:lgpl2.0+)))
  927. (define-public kleopatra
  928. (package
  929. (name "kleopatra")
  930. (version "21.08.1")
  931. (source
  932. (origin
  933. (method url-fetch)
  934. (uri (string-append "mirror://kde/stable/release-service/" version
  935. "/src/kleopatra-" version ".tar.xz"))
  936. (sha256
  937. (base32 "1j1jd8ivcw2r2nlzzhr24kxcvfp5q1206gpkchd5mvsl6q34fmzx"))))
  938. (build-system qt-build-system)
  939. (native-inputs
  940. `(("dbus" ,dbus)
  941. ("extra-cmake-modules" ,extra-cmake-modules)
  942. ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
  943. ("kdoctools" ,kdoctools)))
  944. (inputs
  945. `(("boost" ,boost)
  946. ("gpgme" ,gpgme)
  947. ("kcmutils" ,kcmutils)
  948. ("kcodecs" ,kcodecs)
  949. ("kconfig" ,kconfig)
  950. ("kconfigwidgets" ,kconfigwidgets)
  951. ("kcoreaddons" ,kcoreaddons)
  952. ("kcrash" ,kcrash)
  953. ("kdbusaddons" ,kdbusaddons)
  954. ("ki18n" ,ki18n)
  955. ("kiconthemes" ,kiconthemes)
  956. ("kitemmodels" ,kitemmodels)
  957. ("kmime" ,kmime)
  958. ("knotifications" ,knotifications)
  959. ("ktextwidgets" ,ktextwidgets)
  960. ("kwidgetsaddons" ,kwidgetsaddons)
  961. ("kwindowsystem" ,kwindowsystem)
  962. ("kxmlgui" ,kxmlgui)
  963. ("libassuan" ,libassuan)
  964. ("libkleo" ,libkleo)
  965. ("breeze-icons" ,breeze-icons) ;; default icon set
  966. ("qgpgme" ,qgpgme)
  967. ("qtbase" ,qtbase-5)))
  968. (arguments
  969. `(#:phases
  970. (modify-phases %standard-phases
  971. (replace 'check
  972. (lambda* (#:key tests? #:allow-other-keys)
  973. (when tests?
  974. (invoke "dbus-launch" "ctest" "."))
  975. #t)))))
  976. (home-page "https://apps.kde.org/kleopatra/")
  977. (synopsis "Certificate Manager and Unified Crypto GUI")
  978. (description "Kleopatra is a certificate manager and a universal crypto
  979. GUI. It supports managing X.509 and OpenPGP certificates in the GpgSM keybox
  980. and retrieving certificates from LDAP servers.")
  981. (license ;; GPL for programs, FDL for documentation
  982. (list license:gpl2+ license:fdl1.2+))))
  983. (define-public kmail
  984. (package
  985. (name "kmail")
  986. (version "21.08.1")
  987. (source
  988. (origin
  989. (method url-fetch)
  990. (uri (string-append "mirror://kde/stable/release-service/" version
  991. "/src/kmail-" version ".tar.xz"))
  992. (sha256
  993. (base32 "08q7c8l2nfrvw5xgc2dzcmidcpsjfya3jjnssziy3hpznmf8jpjr"))))
  994. (build-system qt-build-system)
  995. (native-inputs
  996. `(("extra-cmake-modules" ,extra-cmake-modules)
  997. ("dbus" ,dbus)
  998. ("kdoctools" ,kdoctools)))
  999. (inputs
  1000. `(("akonadi" ,akonadi)
  1001. ("akonadi-contacts" ,akonadi-contacts)
  1002. ("akonadi-mime" ,akonadi-mime)
  1003. ("akonadi-search" ,akonadi-search)
  1004. ("boost" ,boost)
  1005. ("gpgme" ,gpgme)
  1006. ("kbookmarks" ,kbookmarks)
  1007. ("grantleetheme" ,grantleetheme)
  1008. ("kcalendarcore" ,kcalendarcore)
  1009. ("kcalutils" ,kcalutils)
  1010. ("kcmutils" ,kcmutils)
  1011. ("kcodecs" ,kcodecs)
  1012. ("kconfig" ,kconfig)
  1013. ("kconfigwidgets" ,kconfigwidgets)
  1014. ("kcontacts" ,kcontacts)
  1015. ("kcrash" ,kcrash)
  1016. ("kdbusaddons" ,kdbusaddons)
  1017. ("kguiaddons" ,kguiaddons)
  1018. ("ki18n" ,ki18n)
  1019. ("kiconthemes" ,kiconthemes)
  1020. ("kidentitymanagement" ,kidentitymanagement)
  1021. ("kimap" ,kimap)
  1022. ("kio" ,kio)
  1023. ("kitemmodels" ,kitemmodels)
  1024. ("kitemviews" ,kitemviews)
  1025. ("kjobwidgets" ,kjobwidgets)
  1026. ("kldap" ,kldap)
  1027. ("kmailcommon" ,kmailcommon)
  1028. ("kmailtransport" ,kmailtransport)
  1029. ("kmessagelib" ,kmessagelib)
  1030. ("kmime" ,kmime)
  1031. ("knotifications" ,knotifications)
  1032. ("knotifyconfig" ,knotifyconfig)
  1033. ("kontactinterface" ,kontactinterface)
  1034. ("kparts" ,kparts)
  1035. ("kpimcommon" ,kpimcommon)
  1036. ("kpimtextedit" ,kpimtextedit)
  1037. ("kservice" ,kservice)
  1038. ("ksyntaxhighlighting" ,ksyntaxhighlighting)
  1039. ("ktextwidgets" ,ktextwidgets)
  1040. ("kuserfeedback" ,kuserfeedback)
  1041. ("ktnef" ,ktnef)
  1042. ("kwallet" ,kwallet)
  1043. ("kwidgetsaddons" ,kwidgetsaddons)
  1044. ("kwindowsystem" ,kwindowsystem)
  1045. ("kxmlgui" ,kxmlgui)
  1046. ("libgravatar" ,libgravatar)
  1047. ("libkdepim" ,libkdepim)
  1048. ("libkleo" ,libkleo)
  1049. ("libksieve" ,libksieve)
  1050. ("breeze-icons" ,breeze-icons) ; default icon set, required for tests
  1051. ("qgpgme" ,qgpgme)
  1052. ("qtbase" ,qtbase-5)
  1053. ("qtdeclarative" ,qtdeclarative)
  1054. ("qtkeychain" ,qtkeychain)
  1055. ("qtwebchannel" ,qtwebchannel)
  1056. ("qtwebengine" ,qtwebengine)
  1057. ("sonnet" ,sonnet)))
  1058. (arguments
  1059. `(#:phases
  1060. (modify-phases %standard-phases
  1061. (replace 'check
  1062. (lambda* (#:key tests? #:allow-other-keys)
  1063. (when tests?
  1064. (invoke "dbus-launch" "ctest" "-E" ;; FIXME: Many failing tests.
  1065. "(akonadi-sqlite-kmcomposerwintest|\
  1066. akonadi-sqlite-kmcommandstest|\
  1067. sendlateragent-sendlaterutiltest|\
  1068. sendlateragent-sendlaterconfigtest|\
  1069. followupreminder-followupreminderconfigtest)"
  1070. "."))
  1071. #t)))))
  1072. (home-page "https://kontact.kde.org/components/kmail.html")
  1073. (synopsis "Full featured graphical email client")
  1074. (description "KMail supports multiple accounts, mail filtering and email
  1075. encryption. The program let you configure your workflow and it has good
  1076. integration into KDE (Plasma Desktop) but is also usable with other Desktop
  1077. Environments.
  1078. KMail is the email component of Kontact, the integrated personal information
  1079. manager from KDE.")
  1080. (license ;; GPL for programs, LGPL for libraries, FDL for documentation
  1081. (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
  1082. (define-public kmailcommon
  1083. (package
  1084. (name "kmailcommon")
  1085. (version "21.08.1")
  1086. (source
  1087. (origin
  1088. (method url-fetch)
  1089. (uri (string-append "mirror://kde/stable/release-service/" version
  1090. "/src/mailcommon-" version ".tar.xz"))
  1091. (sha256
  1092. (base32 "1r0qyqasah4z8vx836fhvv1f4zm20az9qrw8122l3a986lazh1zw"))))
  1093. (properties `((upstream-name . "mailcommon")))
  1094. (build-system qt-build-system)
  1095. (native-inputs
  1096. `(("extra-cmake-modules" ,extra-cmake-modules)
  1097. ("dbus" ,dbus)
  1098. ("gnupg" ,gnupg)
  1099. ("qttools" ,qttools)))
  1100. (inputs
  1101. `(("akonadi" ,akonadi)
  1102. ("akonadi-contacts" ,akonadi-contacts)
  1103. ("akonadi-mime" ,akonadi-mime)
  1104. ("boost" ,boost)
  1105. ("gpgme" ,gpgme)
  1106. ("grantleetheme" ,grantleetheme)
  1107. ("karchive" ,karchive)
  1108. ("kcodecs" ,kcodecs)
  1109. ("kcompletion" ,kcompletion)
  1110. ("kconfig" ,kconfig)
  1111. ("kconfigwidgets" ,kconfigwidgets)
  1112. ("kcontacts" ,kcontacts)
  1113. ("kdbusaddons" ,kdbusaddons)
  1114. ("kdesignerplugin" ,kdesignerplugin)
  1115. ("kguiaddons" ,kguiaddons)
  1116. ("ki18n" ,ki18n)
  1117. ("kiconthemes" ,kiconthemes)
  1118. ("kidentitymanagement" ,kidentitymanagement)
  1119. ("kimap" ,kimap)
  1120. ("kio" ,kio)
  1121. ("kitemmodels" ,kitemmodels)
  1122. ("kitemviews" ,kitemviews)
  1123. ("kldap" ,kldap)
  1124. ("kmailimporter" ,kmailimporter)
  1125. ("kmailtransport" ,kmailtransport)
  1126. ("kmessagelib" ,kmessagelib)
  1127. ("kmime" ,kmime)
  1128. ("kpimcommon" ,kpimcommon)
  1129. ("kpimtextedit" ,kpimtextedit)
  1130. ("ksyntaxhighlighting" ,ksyntaxhighlighting)
  1131. ("ktextwidgets" ,ktextwidgets)
  1132. ("kwallet" ,kwallet)
  1133. ("kwidgetsaddons" ,kwidgetsaddons)
  1134. ("kwindowsystem" ,kwindowsystem)
  1135. ("kxmlgui" ,kxmlgui)
  1136. ("libkdepim" ,libkdepim)
  1137. ("libkleo" ,libkleo)
  1138. ("libxslt" ,libxslt)
  1139. ("phonon" ,phonon)
  1140. ("qgpgme" ,qgpgme)
  1141. ("qtbase" ,qtbase-5)))
  1142. (arguments
  1143. `(#:phases
  1144. (modify-phases %standard-phases
  1145. (replace 'check
  1146. (lambda* (#:key tests? #:allow-other-keys)
  1147. (when tests? ;; FIXME: 2 Tests fail.
  1148. (invoke "dbus-launch" "ctest" "-E"
  1149. "\(mailcommon-filter-filteractionencrypttest|\
  1150. mailcommon-filter-filteractionpipethroughtest)"
  1151. "."))
  1152. #t)))))
  1153. (home-page "https://invent.kde.org/pim/mailcommon")
  1154. (synopsis "KDE email utility library")
  1155. (description "The mail common library provides utility functions for
  1156. dealing with email.")
  1157. (license ;; GPL for programs, LGPL for libraries
  1158. (list license:gpl2+ license:lgpl2.0+))))
  1159. (define-public kmailimporter
  1160. (package
  1161. (name "kmailimporter")
  1162. (version "21.08.1")
  1163. (source
  1164. (origin
  1165. (method url-fetch)
  1166. (uri (string-append "mirror://kde/stable/release-service/" version
  1167. "/src/mailimporter-" version ".tar.xz"))
  1168. (sha256
  1169. (base32 "05kiizbdnsl15ry2zb5sg94lcdwq9w4lnznd6zcq8n09s0zpz8nf"))))
  1170. (properties `((upstream-name . "mailimporter")))
  1171. (build-system qt-build-system)
  1172. (native-inputs
  1173. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1174. (inputs
  1175. `(("akonadi" ,akonadi)
  1176. ("akonadi-contacts" ,akonadi-contacts)
  1177. ("akonadi-mime" ,akonadi-mime)
  1178. ("grantleetheme" ,grantleetheme)
  1179. ("boost" ,boost)
  1180. ("karchive" ,karchive)
  1181. ("kcompletion" ,kcompletion)
  1182. ("kconfig" ,kconfig)
  1183. ("kconfigwidgets" ,kconfigwidgets)
  1184. ("kcontacts" ,kcontacts)
  1185. ("kcoreaddons" ,kcoreaddons)
  1186. ("kdbusaddons" ,kdbusaddons)
  1187. ("ki18n" ,ki18n)
  1188. ("kimap" ,kimap)
  1189. ("kio" ,kio)
  1190. ("kitemmodels" ,kitemmodels)
  1191. ("kmime" ,kmime)
  1192. ("kpimcommon" ,kpimcommon)
  1193. ("kxmlgui" ,kxmlgui)
  1194. ("libkdepim" ,libkdepim)
  1195. ("qtbase" ,qtbase-5)))
  1196. (home-page "https://invent.kde.org/pim/mailimporter")
  1197. (synopsis "KDE mail importer library")
  1198. (description "This package provides libraries for importing mails other
  1199. e-mail client programs into KMail and KDE PIM.")
  1200. (license ;; GPL for programs, LGPL for libraries
  1201. (list license:gpl2+ license:lgpl2.0+))))
  1202. (define-public kmailtransport
  1203. (package
  1204. (name "kmailtransport")
  1205. (version "21.08.1")
  1206. (source
  1207. (origin
  1208. (method url-fetch)
  1209. (uri (string-append "mirror://kde/stable/release-service/" version
  1210. "/src/kmailtransport-" version ".tar.xz"))
  1211. (sha256
  1212. (base32 "0zd03s4848n3g1w8fm0q3kq5sy91zhjw3hc2w6ncv6cgbb9s50dv"))))
  1213. (build-system qt-build-system)
  1214. (native-inputs
  1215. `(("extra-cmake-modules" ,extra-cmake-modules)
  1216. ("kdoctools" ,kdoctools)))
  1217. (inputs
  1218. `(("akonadi" ,akonadi)
  1219. ("akonadi-mime" ,akonadi-mime)
  1220. ("boost" ,boost)
  1221. ("cyrus-sasl" ,cyrus-sasl)
  1222. ("kcalendarcore" ,kcalendarcore)
  1223. ("kcmutils" ,kcmutils)
  1224. ("kcontacts" ,kcontacts)
  1225. ("kdbusaddons" ,kdbusaddons)
  1226. ("kconfigwidgets" ,kconfigwidgets)
  1227. ("ki18n" ,ki18n)
  1228. ("kitemmodels" ,kitemmodels)
  1229. ("kio" ,kio)
  1230. ("kmime" ,kmime)
  1231. ("ksmtp" ,ksmtp)
  1232. ("ktextwidgets" ,ktextwidgets)
  1233. ("kwallet" ,kwallet)
  1234. ("libkgapi" ,libkgapi)
  1235. ("qtbase" ,qtbase-5)
  1236. ("qtkeychain" ,qtkeychain)))
  1237. (arguments
  1238. `(#:tests? #f)) ;; TODO - 3/3 tests fail, require drkonqi
  1239. (home-page "https://api.kde.org/kdepim/kmailtransport/html/index.html")
  1240. (synopsis "Mail transport service library")
  1241. (description "This library provides an API and support code for managing
  1242. mail transport.")
  1243. (license license:lgpl2.0+)))
  1244. (define-public kmbox
  1245. (package
  1246. (name "kmbox")
  1247. (version "21.08.1")
  1248. (source
  1249. (origin
  1250. (method url-fetch)
  1251. (uri (string-append "mirror://kde/stable/release-service/" version
  1252. "/src/kmbox-" version ".tar.xz"))
  1253. (sha256
  1254. (base32 "027x76lrjssrhqpr651fyqqkdv6jmiad901cssv7w54r2dpzs6w3"))))
  1255. (build-system qt-build-system)
  1256. (native-inputs
  1257. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1258. (inputs
  1259. `(("kcodecs" ,kcodecs)
  1260. ("kmime" ,kmime)
  1261. ("qtbase" ,qtbase-5)))
  1262. (home-page "https://api.kde.org/kdepim/kmbox/html/index.html")
  1263. (synopsis "Library for handling mbox mailboxes")
  1264. (description "This is a library for handling mailboxes in mbox format,
  1265. using a Qt/KMime C++ API.")
  1266. (license license:lgpl2.0+ )))
  1267. (define-public kmessagelib
  1268. (package
  1269. (name "kmessagelib")
  1270. (version "21.08.1")
  1271. (source
  1272. (origin
  1273. (method url-fetch)
  1274. (uri (string-append "mirror://kde/stable/release-service/" version
  1275. "/src/messagelib-" version ".tar.xz"))
  1276. (sha256
  1277. (base32 "1r3lqacixy5vy36jgy6glz08gp8k4559h1bdqyh7svmmflhs927i"))))
  1278. (properties `((upstream-name . "messagelib")))
  1279. (build-system qt-build-system)
  1280. (native-inputs
  1281. `(("extra-cmake-modules" ,extra-cmake-modules)
  1282. ("gnupg" ,gnupg)
  1283. ("libxml2" ,libxml2)))
  1284. (inputs
  1285. `(("akonadi" ,akonadi)
  1286. ("akonadi-contacts" ,akonadi-contacts)
  1287. ("akonadi-mime" ,akonadi-mime)
  1288. ("akonadi-notes" ,akonadi-notes)
  1289. ("akonadi-search" ,akonadi-search)
  1290. ("boost" ,boost)
  1291. ("gpgme" ,gpgme)
  1292. ("grantlee" ,grantlee)
  1293. ("grantleetheme" ,grantleetheme)
  1294. ("karchive" ,karchive)
  1295. ("kcalendarcore" ,kcalendarcore)
  1296. ("kcodecs" ,kcodecs)
  1297. ("kcompletion" ,kcompletion)
  1298. ("kconfig" ,kconfig)
  1299. ("kconfigwidgets" ,kconfigwidgets)
  1300. ("kcontacts" ,kcontacts)
  1301. ("kdbusaddons" ,kdbusaddons)
  1302. ("kguiaddons" ,kguiaddons)
  1303. ("ki18n" ,ki18n)
  1304. ("kiconthemes" ,kiconthemes)
  1305. ("kidentitymanagement" ,kidentitymanagement)
  1306. ("kimap" ,kimap)
  1307. ("kio" ,kio)
  1308. ("kitemmodels" ,kitemmodels)
  1309. ("kitemviews" ,kitemviews)
  1310. ("kjobwidgets" ,kjobwidgets)
  1311. ("kldap" ,kldap)
  1312. ("kmailtransport" ,kmailtransport)
  1313. ("kmbox" ,kmbox)
  1314. ("kmime" ,kmime)
  1315. ("knewstuff" ,knewstuff)
  1316. ("kpimcommon" ,kpimcommon)
  1317. ("kpimtextedit" ,kpimtextedit)
  1318. ("kservice" ,kservice)
  1319. ("ksyntaxhighlighting" ,ksyntaxhighlighting)
  1320. ("ktextwidgets" ,ktextwidgets)
  1321. ("kwallet" ,kwallet)
  1322. ("kwidgetsaddons" ,kwidgetsaddons)
  1323. ("kwindowsystem" ,kwindowsystem)
  1324. ("kxmlgui" ,kxmlgui)
  1325. ("libgravatar" ,libgravatar)
  1326. ("libkdepim" ,libkdepim)
  1327. ("libkleo" ,libkleo)
  1328. ("qca" ,qca)
  1329. ("qgpgme" ,qgpgme)
  1330. ("qtbase" ,qtbase-5)
  1331. ("qtdeclarative" ,qtdeclarative)
  1332. ("qtwebchannel" ,qtwebchannel)
  1333. ("qtwebengine" ,qtwebengine)
  1334. ("qtwebkit" ,qtwebkit)
  1335. ("sonnet" ,sonnet)))
  1336. (arguments
  1337. `(#:tests? #f ;TODO many test fail for quite different reasons
  1338. #:phases (modify-phases %standard-phases
  1339. (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
  1340. (lambda* (#:key inputs #:allow-other-keys)
  1341. ;; FIXME: One of the compilation steps fail to find
  1342. ;; <QPrinter> without this hack.
  1343. (setenv "CPLUS_INCLUDE_PATH"
  1344. (string-append (assoc-ref inputs "qtbase")
  1345. "/include/qt5/QtPrintSupport:"
  1346. (or (getenv "CPLUS_INCLUDE_PATH") ""))))))))
  1347. (home-page "https://invent.kde.org/pim/messagelib")
  1348. (synopsis "KDE PIM messaging libraries")
  1349. (description "This package provides several libraries for messages,
  1350. e.g. a message list, a mime tree parse, a template parser and the
  1351. kwebengineviewer.")
  1352. (license ;; GPL for programs, LGPL for libraries
  1353. (list license:gpl2+ license:lgpl2.0+))))
  1354. (define-public kmime
  1355. (package
  1356. (name "kmime")
  1357. (version "21.08.1")
  1358. (source
  1359. (origin
  1360. (method url-fetch)
  1361. (uri (string-append "mirror://kde/stable/release-service/" version
  1362. "/src/kmime-" version ".tar.xz"))
  1363. (sha256
  1364. (base32 "0prsmiv0g6icclhv7mkha66pddmdqz2mi69njz0xwz6m3ax068jw"))))
  1365. (build-system qt-build-system)
  1366. (native-inputs
  1367. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1368. (inputs
  1369. `(("kcodecs" ,kcodecs)
  1370. ("ki18n" ,ki18n)
  1371. ("qtbase" ,qtbase-5)))
  1372. (arguments
  1373. `(#:phases
  1374. (modify-phases %standard-phases
  1375. (add-after 'unpack 'fix-test-case
  1376. (lambda _
  1377. ;; This is curious: autotests/CMakeLists.txt sets LC_TIME=C, but
  1378. ;; the Qt locale returns different. See kmime commit 3a9651d26a.
  1379. (substitute* "autotests/dateformattertest.cpp"
  1380. (("(Today|Yesterday) 12:34:56" line day)
  1381. (string-append day " 12:34 PM")))
  1382. #t)))))
  1383. (home-page "https://api.kde.org/kdepim/kmime/html/")
  1384. (synopsis "Library for handling MIME data")
  1385. (description "This library provides an API for handling MIME
  1386. data. MIME (Multipurpose Internet Mail Extensions) is an Internet Standard
  1387. that extends the format of e-mail to support text in character sets other than
  1388. US-ASCII, non-text attachments, multi-part message bodies, and header
  1389. information in non-ASCII character sets.")
  1390. (license license:lgpl2.0+)))
  1391. (define-public knotes
  1392. (package
  1393. (name "knotes")
  1394. (version "21.08.1")
  1395. (source
  1396. (origin
  1397. (method url-fetch)
  1398. (uri (string-append "mirror://kde/stable/release-service/" version
  1399. "/src/knotes-" version ".tar.xz"))
  1400. (sha256
  1401. (base32 "1av537f02zsz72mqkzlcrv977kf96nrdwsj4fx7kmdbhf5x9rvgv"))))
  1402. (build-system qt-build-system)
  1403. (native-inputs
  1404. `(("extra-cmake-modules" ,extra-cmake-modules)
  1405. ("libxslt" ,libxslt)))
  1406. (inputs
  1407. `(("akonadi" ,akonadi)
  1408. ("akonadi-contacts" ,akonadi-contacts)
  1409. ("akonadi-mime" ,akonadi-mime)
  1410. ("akonadi-notes" ,akonadi-notes)
  1411. ("akonadi-search" ,akonadi-search)
  1412. ("boost" ,boost)
  1413. ("grantlee" ,grantlee)
  1414. ("grantleetheme" ,grantleetheme)
  1415. ("kcalendarcore" ,kcalendarcore)
  1416. ("kcalutils" ,kcalutils)
  1417. ("kcmutils" ,kcmutils)
  1418. ("kcompletion" ,kcompletion)
  1419. ("kconfig" ,kconfig)
  1420. ("kconfigwidgets" ,kconfigwidgets)
  1421. ("kcontacts" ,kcontacts)
  1422. ("kcoreaddons" ,kcoreaddons)
  1423. ("kcrash" ,kcrash)
  1424. ("kdnssd" ,kdnssd)
  1425. ("kdoctools" ,kdoctools)
  1426. ("kglobalaccel" ,kglobalaccel)
  1427. ("kiconthemes" ,kiconthemes)
  1428. ("kimap" ,kimap)
  1429. ("kitemmodels" ,kitemmodels)
  1430. ("kitemviews" ,kitemviews)
  1431. ("kmime" ,kmime)
  1432. ("knewstuff" ,knewstuff)
  1433. ("knotifications" ,knotifications)
  1434. ("knotifyconfig" ,knotifyconfig)
  1435. ("kontactinterface" ,kontactinterface)
  1436. ("kparts" ,kparts)
  1437. ("kpimcommon" ,kpimcommon)
  1438. ("kpimtextedit" ,kpimtextedit)
  1439. ("ktextwidgets" ,ktextwidgets)
  1440. ("kwidgetsaddons" ,kwidgetsaddons)
  1441. ("kwindowsystem" ,kwindowsystem)
  1442. ("kxmlgui" ,kxmlgui)
  1443. ("kxmlgui" ,kxmlgui)
  1444. ("libkdepim" ,libkdepim)
  1445. ("breeze-icons" ,breeze-icons) ; default icon set, required for tests
  1446. ("qtbase" ,qtbase-5)
  1447. ("qtx11extras" ,qtx11extras)))
  1448. (home-page "https://kontact.kde.org/components/knotes.html")
  1449. (synopsis "Note-taking utility")
  1450. (description "KNotes lets you write the computer equivalent of sticky
  1451. notes. The notes are saved automatically when you exit the program, and they
  1452. display when you open the program.
  1453. Features:
  1454. @itemize
  1455. @item Write notes in your choice of font and background color
  1456. @item Use drag and drop to email your notes
  1457. @item Can be dragged into Calendar to book a time-slot
  1458. @item Notes can be printed
  1459. @end itemize")
  1460. (license (list license:gpl2+ license:lgpl2.0+))))
  1461. (define-public kontactinterface
  1462. (package
  1463. (name "kontactinterface")
  1464. (version "21.08.1")
  1465. (source
  1466. (origin
  1467. (method url-fetch)
  1468. (uri (string-append "mirror://kde/stable/release-service/" version
  1469. "/src/kontactinterface-" version ".tar.xz"))
  1470. (sha256
  1471. (base32 "1l251rw80c329sgrv25r8cn242v0kl7pvcfv9xkakql7dw707xs9"))))
  1472. (build-system qt-build-system)
  1473. (native-inputs
  1474. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1475. (inputs
  1476. `(("kcoreaddons" ,kcoreaddons)
  1477. ("ki18n" ,ki18n)
  1478. ("kiconthemes" ,kiconthemes)
  1479. ("kparts" ,kparts)
  1480. ("kwindowsystem" ,kwindowsystem)
  1481. ("kxmlgui" ,kxmlgui)
  1482. ("qtbase" ,qtbase-5)))
  1483. (home-page "https://api.kde.org/kdepim/kontactinterface/html/")
  1484. (synopsis "Kontact interface library")
  1485. (description "This library provides the glue necessary for
  1486. application \"Parts\" to be embedded as a Kontact component (or plugin).")
  1487. (license license:lgpl2.0+)))
  1488. (define-public korganizer
  1489. (package
  1490. (name "korganizer")
  1491. (version "21.08.1")
  1492. (source
  1493. (origin
  1494. (method url-fetch)
  1495. (uri (string-append "mirror://kde/stable/release-service/" version
  1496. "/src/korganizer-" version ".tar.xz"))
  1497. (sha256
  1498. (base32 "0x05i3c0nj46bnnd7msz1rpghbr2p6sywfsa15d6l1j72i2ay0vr"))))
  1499. (build-system qt-build-system)
  1500. (native-inputs
  1501. `(("extra-cmake-modules" ,extra-cmake-modules)
  1502. ("dbus" ,dbus)
  1503. ("qttools" ,qttools)
  1504. ("kdoctools" ,kdoctools)))
  1505. (inputs
  1506. `(("akonadi" ,akonadi)
  1507. ("akonadi-calendar" ,akonadi-calendar)
  1508. ("akonadi-contacts" ,akonadi-contacts)
  1509. ("akonadi-mime" ,akonadi-mime)
  1510. ("akonadi-notes" ,akonadi-notes)
  1511. ("akonadi-search" ,akonadi-search)
  1512. ("boost" ,boost)
  1513. ("grantleetheme" ,grantleetheme)
  1514. ("kcalendarcore" ,kcalendarcore)
  1515. ("kcalendarsupport" ,kcalendarsupport)
  1516. ("kcalutils" ,kcalutils)
  1517. ("kcmutils" ,kcmutils)
  1518. ("kcodecs" ,kcodecs)
  1519. ("kcompletion" ,kcompletion)
  1520. ("kconfig" ,kconfig)
  1521. ("kconfigwidgets" ,kconfigwidgets)
  1522. ("kcontacts" ,kcontacts)
  1523. ("kcoreaddons" ,kcoreaddons)
  1524. ("kcrash" ,kcrash)
  1525. ("kdbusaddons" ,kdbusaddons)
  1526. ("keventviews" ,keventviews)
  1527. ("kholidays" ,kholidays)
  1528. ("kiconthemes" ,kiconthemes)
  1529. ("kidentitymanagement" ,kidentitymanagement)
  1530. ("kimap" ,kimap)
  1531. ("kincidenceeditor" ,kincidenceeditor)
  1532. ("kitemmodels" ,kitemmodels)
  1533. ("kitemviews" ,kitemviews)
  1534. ("kjobwidgets" ,kjobwidgets)
  1535. ("kldap" ,kldap)
  1536. ("kmailtransport" ,kmailtransport)
  1537. ("kmime" ,kmime)
  1538. ("knewstuff" ,knewstuff)
  1539. ("knotifications" ,knotifications)
  1540. ("kontactinterface" ,kontactinterface)
  1541. ("kparts" ,kparts)
  1542. ("kpimcommon" ,kpimcommon)
  1543. ("kpimtextedit" ,kpimtextedit)
  1544. ("kservice" ,kservice)
  1545. ("kwallet" ,kwallet)
  1546. ("kwidgetsaddons" ,kwidgetsaddons)
  1547. ("kwindowsystem" ,kwindowsystem)
  1548. ("kxmlgui" ,kxmlgui)
  1549. ("libkdepim" ,libkdepim)
  1550. ("breeze-icons" ,breeze-icons) ; default icon set, required for tests
  1551. ("phonon" ,phonon)
  1552. ("qtbase" ,qtbase-5)))
  1553. (arguments
  1554. `(#:phases
  1555. (modify-phases %standard-phases
  1556. (add-after 'unpack 'disable-failing-test
  1557. (lambda _
  1558. ;; FIXME: This test started failing after the 20.04 update
  1559. ;; seemingly due to DBus communication issues.
  1560. ;; See also 'akonadi-search' for a similar test failure.
  1561. (substitute* "src/autotests/CMakeLists.txt"
  1562. ((".*test_advanced\\(koeventpopupmenutest\\.cpp.*")
  1563. ""))
  1564. #t))
  1565. (replace 'check
  1566. (lambda* (#:key tests? #:allow-other-keys)
  1567. (when tests?
  1568. (invoke "dbus-launch" "ctest" "."))
  1569. #t)))))
  1570. (home-page "https://kontact.kde.org/components/korganizer.html")
  1571. (synopsis "Organizational assistant, providing calendars and other similar
  1572. functionality to help you organize your life")
  1573. (description "KOrganizer is the calendar and scheduling component of
  1574. Kontact. It provides management of events and tasks, alarm notification, web
  1575. export, network transparent handling of data, group scheduling, import and
  1576. export of calendar files and more. It is able to work together with a wide
  1577. variety of calendaring services, including NextCloud, Kolab, Google Calendar
  1578. and others. KOrganizer is fully customizable to your needs and is an integral
  1579. part of the Kontact suite, which aims to be a complete solution for organizing
  1580. your personal data. KOrganizer supports the two dominant standards for storing
  1581. and exchanging calendar data, vCalendar and iCalendar.")
  1582. (license ;; GPL for programs, LGPL for libraries, FDL for documentation
  1583. (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
  1584. (define-public kpeoplevcard
  1585. (package
  1586. (name "kpeoplevcard")
  1587. (version "0.1")
  1588. (source (origin
  1589. (method url-fetch)
  1590. (uri (string-append "https://download.kde.org/stable/kpeoplevcard/"
  1591. version "/kpeoplevcard-" version ".tar.xz"))
  1592. (sha256
  1593. (base32
  1594. "1hv3fq5k0pps1wdvq9r1zjnr0nxf8qc3vwsnzh9jpvdy79ddzrcd"))))
  1595. (build-system qt-build-system)
  1596. (arguments
  1597. '(#:phases (modify-phases %standard-phases
  1598. (replace 'check-setup
  1599. (lambda _
  1600. (setenv "HOME" "/tmp")
  1601. #t)))))
  1602. (native-inputs
  1603. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1604. (inputs
  1605. `(("kcontacts" ,kcontacts)
  1606. ("kpeople" ,kpeople)
  1607. ("qtbase" ,qtbase-5)))
  1608. (home-page "https://invent.kde.org/pim/kpeoplevcard")
  1609. (synopsis "Expose vCard contacts to KPeople")
  1610. (description
  1611. "This plugins adds support for vCard (also known as @acronym{VCF,
  1612. Virtual Contact File}) files to the KPeople contact management library.")
  1613. (license license:lgpl2.1+)))
  1614. (define-public kpimcommon
  1615. (package
  1616. (name "kpimcommon")
  1617. (version "21.08.1")
  1618. (source
  1619. (origin
  1620. (method url-fetch)
  1621. (uri (string-append "mirror://kde/stable/release-service/" version
  1622. "/src/pimcommon-" version ".tar.xz"))
  1623. (sha256
  1624. (base32 "1379lhvin2vkikd3fzanhwfjszb4cc9f3h9bxf3md3h4gx1i6hb6"))))
  1625. (properties `((upstream-name . "pimcommon")))
  1626. (build-system qt-build-system)
  1627. (native-inputs
  1628. `(("extra-cmake-modules" ,extra-cmake-modules)
  1629. ("qttools" ,qttools)))
  1630. (inputs
  1631. `(("karchive" ,karchive)
  1632. ("akonadi" ,akonadi)
  1633. ("akonadi-contacts" ,akonadi-contacts)
  1634. ("akonadi-mime" ,akonadi-mime)
  1635. ("akonadi-search" ,akonadi-search)
  1636. ("boost" ,boost)
  1637. ("grantleetheme" ,grantleetheme)
  1638. ;; TODO: ("kaccounts" ,kaccounts)
  1639. ("kcalendarcore" ,kcalendarcore)
  1640. ("kcmutils" ,kcmutils)
  1641. ("kcodecs" ,kcodecs)
  1642. ("kconfig" ,kconfig)
  1643. ("kconfigwidgets" ,kconfigwidgets)
  1644. ("kcontacts" ,kcontacts)
  1645. ("kcoreaddons" ,kcoreaddons)
  1646. ("kdesignerplugin" ,kdesignerplugin)
  1647. ("ki18n" ,ki18n)
  1648. ("kiconthemes" ,kiconthemes)
  1649. ("kimap" ,kimap)
  1650. ("kio" ,kio)
  1651. ("kirigami" ,kirigami) ;; run-time dependency
  1652. ("kitemmodels" ,kitemmodels)
  1653. ("kitemviews" ,kitemviews)
  1654. ("kjobwidgets" ,kjobwidgets)
  1655. ("kldap" ,kldap)
  1656. ("kmime" ,kmime)
  1657. ("knewstuff" ,knewstuff)
  1658. ("kpimtextedit" ,kpimtextedit)
  1659. ("kservice" ,kservice)
  1660. ("ktextwidgets" ,ktextwidgets)
  1661. ("kwallet" ,kwallet)
  1662. ("kwidgetsaddons" ,kwidgetsaddons)
  1663. ("kwindowsystem" ,kwindowsystem)
  1664. ("kxmlgui" ,kxmlgui)
  1665. ("libkdepim" ,libkdepim)
  1666. ("libxslt" ,libxslt)
  1667. ("purpose" ,purpose)
  1668. ("qtbase" ,qtbase-5)
  1669. ("qtwebengine" ,qtwebengine)))
  1670. (arguments
  1671. `(#:tests? #f)) ;; TODO tests hang
  1672. (home-page "https://invent.kde.org/pim/pimcommon")
  1673. (synopsis "Common libraries for KDE PIM")
  1674. (description "This package provides common libraries for KDE PIM.")
  1675. (license ;; GPL for programs, LGPL for libraries
  1676. (list license:gpl2+ license:lgpl2.0+))))
  1677. (define-public kpimtextedit
  1678. (package
  1679. (name "kpimtextedit")
  1680. (version "21.08.1")
  1681. (source
  1682. (origin
  1683. (method url-fetch)
  1684. (uri (string-append "mirror://kde/stable/release-service/" version
  1685. "/src/kpimtextedit-" version ".tar.xz"))
  1686. (sha256
  1687. (base32 "1zaavf0gpaibk22fz8ij0fqrlp18lj07hgdg6ynhdmhamw59sfr5"))))
  1688. (build-system qt-build-system)
  1689. (native-inputs
  1690. `(("extra-cmake-modules" ,extra-cmake-modules)
  1691. ("qttools" ,qttools)))
  1692. (inputs
  1693. `(("grantlee" ,grantlee)
  1694. ("kcodecs" ,kcodecs)
  1695. ("kconfigwidgets" ,kconfigwidgets)
  1696. ("kcoreaddons" ,kcoreaddons)
  1697. ("kdesignerplugin" ,kdesignerplugin)
  1698. ("kemoticons" ,kemoticons)
  1699. ("ki18n" ,ki18n)
  1700. ("kiconthemes" ,kiconthemes)
  1701. ("kio" ,kio)
  1702. ("ksyntaxhighlighting" ,ksyntaxhighlighting)
  1703. ("ktextwidgets" ,ktextwidgets)
  1704. ("kwidgetsaddons" ,kwidgetsaddons)
  1705. ("kxmlgui" ,kxmlgui)
  1706. ("qtbase" ,qtbase-5)
  1707. ("qtspeech" ,qtspeech)
  1708. ("sonnet" ,sonnet)))
  1709. (arguments
  1710. `(#:tests? #f)) ;; TODO - test suite hangs
  1711. (home-page "https://api.kde.org/kdepim/kpimtextedit/html/")
  1712. (synopsis "Library providing a textedit with PIM-specific features")
  1713. (description "This package provides a textedit with PIM-specific features.
  1714. It also provides so-called rich text builders which can convert the formatted
  1715. text in the text edit to all kinds of markup, like HTML or BBCODE.")
  1716. (license ;; GPL for programs, LGPL for libraries, FDL for documentation
  1717. (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
  1718. (define-public ksmtp
  1719. (package
  1720. (name "ksmtp")
  1721. (version "21.08.1")
  1722. (source
  1723. (origin
  1724. (method url-fetch)
  1725. (uri (string-append "mirror://kde/stable/release-service/" version
  1726. "/src/ksmtp-" version ".tar.xz"))
  1727. (sha256
  1728. (base32 "0pl167gjhpmdvhsjm6hcygxwjs8v1z4xfc7x0c69bac8rdrzrlb6"))))
  1729. (build-system qt-build-system)
  1730. (native-inputs
  1731. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1732. (inputs
  1733. `(("cyrus-sasl" ,cyrus-sasl)
  1734. ("kcodecs" ,kcodecs)
  1735. ("kconfig" ,kconfig)
  1736. ("kcoreaddons" ,kcoreaddons)
  1737. ("ki18n" ,ki18n)
  1738. ("kio" ,kio)
  1739. ("qtbase" ,qtbase-5)))
  1740. (arguments
  1741. `(#:tests? #f ;; TODO: does not find sasl mechs
  1742. #:phases
  1743. (modify-phases %standard-phases
  1744. (add-after 'unpack 'Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing
  1745. (lambda _
  1746. (substitute* "src/CMakeLists.txt"
  1747. (("^(install\\(.* )\\$\\{KF5_INSTALL_TARGETS_DEFAULT_ARGS\\}\\)"
  1748. _ prefix)
  1749. (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})")))
  1750. #t)))))
  1751. (home-page "https://invent.kde.org/pim/ksmtp")
  1752. (synopsis "Library for sending email through an SMTP server")
  1753. (description "This library provides an API for handling SMTP
  1754. services. SMTP (Simple Mail Transfer Protocol) is the most prevalent Internet
  1755. standard protocols for e-mail transmission.")
  1756. (license license:lgpl2.0+)))
  1757. (define-public ktnef
  1758. (package
  1759. (name "ktnef")
  1760. (version "21.08.1")
  1761. (source
  1762. (origin
  1763. (method url-fetch)
  1764. (uri (string-append "mirror://kde/stable/release-service/" version
  1765. "/src/ktnef-" version ".tar.xz"))
  1766. (sha256
  1767. (base32 "08wk4ssasqqixwnp59smv64c8m4jf89vpcwc3zvz4h92sfk0pk33"))))
  1768. (build-system qt-build-system)
  1769. (native-inputs
  1770. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1771. (inputs
  1772. `(("kcalendarcore" ,kcalendarcore)
  1773. ("kcalutils" ,kcalutils)
  1774. ("kcodecs" ,kcodecs)
  1775. ("kconfig" ,kconfig)
  1776. ("kcontacts" ,kcontacts)
  1777. ("kcoreaddons" ,kcoreaddons)
  1778. ("ki18n" ,ki18n)
  1779. ("qtbase" ,qtbase-5)))
  1780. (home-page "https://api.kde.org/frameworks-api/frameworks-apidocs/kdepim/ktnef/html/index.html")
  1781. (synopsis "Library for handling mail attachments using TNEF format")
  1782. (description "Ktnef is a library for handling data in the TNEF
  1783. format (Transport Neutral Encapsulation Format, a proprietary format of e-mail
  1784. attachment used by Microsoft Outlook and Microsoft Exchange Server). The API
  1785. permits access to the actual attachments, the message properties (TNEF/MAPI),
  1786. and allows one to view/extract message formatted text in Rich Text Format.")
  1787. (license license:lgpl2.0+)))
  1788. (define-public libkdepim
  1789. (package
  1790. (name "libkdepim")
  1791. (version "21.08.1")
  1792. (source
  1793. (origin
  1794. (method url-fetch)
  1795. (uri (string-append "mirror://kde/stable/release-service/" version
  1796. "/src/libkdepim-" version ".tar.xz"))
  1797. (sha256
  1798. (base32 "10zb97zf1jidh9q6dkn8cjs9f4gqz2xn6yqylsbq0bjlycv991fh"))))
  1799. (build-system qt-build-system)
  1800. (native-inputs
  1801. `(("extra-cmake-modules" ,extra-cmake-modules)
  1802. ("qttools" ,qttools)))
  1803. (inputs
  1804. `(("akonadi" ,akonadi)
  1805. ("akonadi-contacts" ,akonadi-contacts)
  1806. ("akonadi-mime" ,akonadi-mime)
  1807. ("akonadi-search" ,akonadi-search)
  1808. ("boost" ,boost)
  1809. ("kcmutils" ,kcmutils)
  1810. ("kcodecs" ,kcodecs)
  1811. ("kcalendarcore" ,kcalendarcore)
  1812. ("kcompletion" ,kcompletion)
  1813. ("kconfig" ,kconfig)
  1814. ("kconfigwidgets" ,kconfigwidgets)
  1815. ("kcontacts" ,kcontacts)
  1816. ("kcoreaddons" ,kcoreaddons)
  1817. ("kdbusaddons" ,kdbusaddons)
  1818. ("kdesignerplugin" ,kdesignerplugin)
  1819. ("ki18n" ,ki18n)
  1820. ("kiconthemes" ,kiconthemes)
  1821. ("kio" ,kio)
  1822. ("kitemmodels" ,kitemmodels)
  1823. ("kitemviews" ,kitemviews)
  1824. ("kjobwidgets" ,kjobwidgets)
  1825. ("kldap" ,kldap)
  1826. ("kmime" ,kmime)
  1827. ("kwallet" ,kwallet)
  1828. ("kwidgetsaddons" ,kwidgetsaddons)
  1829. ("qtbase" ,qtbase-5)))
  1830. (home-page "https://invent.kde.org/pim/libkdepim")
  1831. (synopsis "Libraries for common KDE PIM apps")
  1832. (description "This package provided libraries for common KDE PIM apps.")
  1833. (license ;; GPL for programs, LGPL for libraries
  1834. (list license:gpl2+ license:lgpl2.0+))))
  1835. (define-public libkgapi
  1836. (package
  1837. (name "libkgapi")
  1838. (version "21.08.1")
  1839. (source
  1840. (origin
  1841. (method url-fetch)
  1842. (uri (string-append "mirror://kde/stable/release-service/" version
  1843. "/src/libkgapi-" version ".tar.xz"))
  1844. (sha256
  1845. (base32 "14wzl40j5baw20628dqcpkg8vi6jsq5f9gw0sc1my8qhw91mj3vy"))))
  1846. (build-system qt-build-system)
  1847. (native-inputs
  1848. `(("extra-cmake-modules" ,extra-cmake-modules)
  1849. ("qttools" ,qttools)))
  1850. (inputs
  1851. `(("cyrus-sasl" ,cyrus-sasl)
  1852. ("ki18n" ,ki18n)
  1853. ("kcontacts" ,kcontacts)
  1854. ("kcalendarcore" ,kcalendarcore)
  1855. ("kio" ,kio)
  1856. ("kwallet" ,kwallet)
  1857. ("kwindowsystem" ,kwindowsystem)
  1858. ("qtbase" ,qtbase-5)
  1859. ("qtdeclarative" ,qtdeclarative)
  1860. ("qtwebchannel" ,qtwebchannel)
  1861. ("qtwebengine" ,qtwebengine)))
  1862. (arguments
  1863. `(#:tests? #f)) ;; TODO 6/48 tests fail
  1864. (home-page "https://invent.kde.org/pim/libkgapi")
  1865. (synopsis "Library for accessing various Google services via their public
  1866. API")
  1867. (description "@code{LibKGAPI} is a C++ library that implements APIs for
  1868. various Google services.")
  1869. (license license:lgpl2.0+)))
  1870. (define-public libkleo
  1871. (package
  1872. (name "libkleo")
  1873. (version "21.08.1")
  1874. (source
  1875. (origin
  1876. (method url-fetch)
  1877. (uri (string-append "mirror://kde/stable/release-service/" version
  1878. "/src/libkleo-" version ".tar.xz"))
  1879. (sha256
  1880. (base32 "1n1nacr1q0nw2jq8px6b3cmda6ff9mygggfrl3xh6qz042bg77xz"))))
  1881. (build-system qt-build-system)
  1882. (native-inputs
  1883. `(("extra-cmake-modules" ,extra-cmake-modules)
  1884. ("kdoctools" ,kdoctools)
  1885. ("qttools" ,qttools)))
  1886. (inputs
  1887. `(("boost" ,boost)
  1888. ("kcodecs" ,kcodecs)
  1889. ("kcompletion" ,kcompletion)
  1890. ("kconfig" ,kconfig)
  1891. ("kcoreaddons" ,kcoreaddons)
  1892. ("kcrash" ,kcrash)
  1893. ("ki18n" ,ki18n)
  1894. ("kitemmodels" ,kitemmodels)
  1895. ("kwidgetsaddons" ,kwidgetsaddons)
  1896. ("kwindowsystem" ,kwindowsystem)
  1897. ("kpimtextedit" ,kpimtextedit)
  1898. ("qtbase" ,qtbase-5)))
  1899. (propagated-inputs
  1900. `(("gpgme" ,gpgme)
  1901. ("qgpgme" ,qgpgme)))
  1902. (arguments
  1903. `(#:phases
  1904. (modify-phases %standard-phases
  1905. (replace 'check
  1906. (lambda* (#:key tests? #:allow-other-keys)
  1907. (when tests? ;; FIXME: These tests fail.
  1908. (invoke "ctest" "-E"
  1909. "(keyresolvercoretest|newkeyapprovaldialogtest)"))
  1910. #t)))))
  1911. (home-page "https://invent.kde.org/pim/libkleo")
  1912. (synopsis "KDE PIM cryptographic library")
  1913. (description "@code{libkleo} is a library for Kleopatra and other parts of
  1914. KDE using certificate-based crypto.")
  1915. (license ;; GPL for programs, LGPL for libraries
  1916. (list license:gpl2+ license:lgpl2.0+))))
  1917. (define-public libksieve
  1918. (package
  1919. (name "libksieve")
  1920. (version "21.08.1")
  1921. (source
  1922. (origin
  1923. (method url-fetch)
  1924. (uri (string-append "mirror://kde/stable/release-service/" version
  1925. "/src/libksieve-" version ".tar.xz"))
  1926. (sha256
  1927. (base32 "1569xcjz575f8007z91zs9xn5wjklzkiy6l0cl7yzpzn880wc03p"))
  1928. (patches (search-patches "libksieve-Fix-missing-link-libraries.patch"))))
  1929. (build-system qt-build-system)
  1930. (native-inputs
  1931. `(("extra-cmake-modules" ,extra-cmake-modules)
  1932. ("kdoctools" ,kdoctools)))
  1933. (inputs
  1934. `(("akonadi" ,akonadi)
  1935. ("cyrus-sasl" ,cyrus-sasl)
  1936. ("karchive" ,karchive)
  1937. ("ki18n" ,ki18n)
  1938. ("kiconthemes" ,kiconthemes)
  1939. ("kidentitymanagement" ,kidentitymanagement)
  1940. ("kimap" ,kimap)
  1941. ("kio" ,kio)
  1942. ("kmailtransport" ,kmailtransport)
  1943. ("kmime" ,kmime)
  1944. ("knewstuff" ,knewstuff)
  1945. ("kpimcommon" ,kpimcommon)
  1946. ("kpimtextedit" ,kpimtextedit)
  1947. ("ksyntaxhighlighting" ,ksyntaxhighlighting)
  1948. ("ktextwidgets" ,ktextwidgets)
  1949. ("kwallet" ,kwallet)
  1950. ("kwindowsystem" ,kwindowsystem)
  1951. ("libkdepim" ,libkdepim)
  1952. ("qtbase" ,qtbase-5)
  1953. ("qtdeclarative" ,qtdeclarative)
  1954. ("qtwebchannel" ,qtwebchannel)
  1955. ("qtwebengine" ,qtwebengine)))
  1956. (arguments
  1957. `(#:phases
  1958. (modify-phases %standard-phases
  1959. (add-after 'unpack 'substitute
  1960. (lambda _
  1961. ;; FIXME: Disable a failing test
  1962. ;; sieveeditorhelphtmlwidgettest fails with `sigtrap`
  1963. (substitute*
  1964. "src/ksieveui/editor/webengine/autotests/CMakeLists.txt"
  1965. (("^\\s*(add_test|ecm_mark_as_test)\\W" line)
  1966. (string-append "# " line)))
  1967. #t)))))
  1968. (home-page "https://invent.kde.org/pim/libksieve")
  1969. (synopsis "KDE Sieve library")
  1970. (description "Sieve is a language that can be used filter emails. KSieve
  1971. is a Sieve parser and interpreter library for KDE.")
  1972. (license ;; GPL for programs, LGPL for libraries
  1973. (list license:gpl2+ license:lgpl2.0+))))