kde.scm 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
  3. ;;; Copyright © 2016 David Craven <david@craven.ch>
  4. ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
  5. ;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org>
  6. ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
  7. ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
  8. ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
  9. ;;; Copyright © 2018, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
  10. ;;; Copyright © 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
  11. ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
  12. ;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
  13. ;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
  14. ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
  15. ;;; Copyright © 2021 Alexandros Theodotou <alex@zrythm.org>
  16. ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
  17. ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
  18. ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
  19. ;;;
  20. ;;; This file is part of GNU Guix.
  21. ;;;
  22. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  23. ;;; under the terms of the GNU General Public License as published by
  24. ;;; the Free Software Foundation; either version 3 of the License, or (at
  25. ;;; your option) any later version.
  26. ;;;
  27. ;;; GNU Guix is distributed in the hope that it will be useful, but
  28. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  29. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  30. ;;; GNU General Public License for more details.
  31. ;;;
  32. ;;; You should have received a copy of the GNU General Public License
  33. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  34. (define-module (gnu packages kde)
  35. #:use-module (guix build-system cmake)
  36. #:use-module (guix build-system qt)
  37. #:use-module (guix deprecation)
  38. #:use-module (guix download)
  39. #:use-module (guix gexp)
  40. #:use-module (guix git-download)
  41. #:use-module ((guix licenses) #:prefix license:)
  42. #:use-module (guix packages)
  43. #:use-module (guix utils)
  44. #:use-module (gnu packages)
  45. #:use-module (gnu packages algebra)
  46. #:use-module (gnu packages apr)
  47. #:use-module (gnu packages astronomy)
  48. #:use-module (gnu packages audio)
  49. #:use-module (gnu packages bison)
  50. #:use-module (gnu packages boost)
  51. #:use-module (gnu packages code)
  52. #:use-module (gnu packages cpp)
  53. #:use-module (gnu packages compression)
  54. #:use-module (gnu packages curl)
  55. #:use-module (gnu packages djvu)
  56. #:use-module (gnu packages documentation)
  57. #:use-module (gnu packages gnupg)
  58. #:use-module (gnu packages ebook)
  59. #:use-module (gnu packages flex)
  60. #:use-module (gnu packages fontutils)
  61. #:use-module (gnu packages freedesktop)
  62. #:use-module (gnu packages gcc)
  63. #:use-module (gnu packages gettext)
  64. #:use-module (gnu packages ghostscript)
  65. #:use-module (gnu packages gl)
  66. #:use-module (gnu packages gnome)
  67. #:use-module (gnu packages graphics)
  68. #:use-module (gnu packages image)
  69. #:use-module (gnu packages kde-frameworks)
  70. #:use-module (gnu packages kde-pim)
  71. #:use-module (gnu packages kde-plasma)
  72. #:use-module (gnu packages linux)
  73. #:use-module (gnu packages llvm)
  74. #:use-module (gnu packages markup)
  75. #:use-module (gnu packages maths)
  76. #:use-module (gnu packages pdf)
  77. #:use-module (gnu packages perl)
  78. #:use-module (gnu packages photo)
  79. #:use-module (gnu packages pkg-config)
  80. #:use-module (gnu packages polkit)
  81. #:use-module (gnu packages pulseaudio)
  82. #:use-module (gnu packages python)
  83. #:use-module (gnu packages tls)
  84. #:use-module (gnu packages qt)
  85. #:use-module (gnu packages version-control)
  86. #:use-module (gnu packages video)
  87. #:use-module (gnu packages xdisorg)
  88. #:use-module (gnu packages xml)
  89. #:use-module (gnu packages xorg))
  90. (define-public baloo-widgets
  91. (package
  92. (name "baloo-widgets")
  93. (version "21.08.1")
  94. (source
  95. (origin
  96. (method url-fetch)
  97. (uri (string-append "mirror://kde/stable/release-service/" version
  98. "/src/baloo-widgets-" version ".tar.xz"))
  99. (sha256
  100. (base32 "01f0hpgvlwxn3yms6yyi0ykryb78c9plp0q2z0ywk1p4lx4iywhd"))))
  101. (build-system qt-build-system)
  102. (native-inputs
  103. `(("extra-cmake-modules" ,extra-cmake-modules)))
  104. (inputs
  105. `(("baloo" ,baloo)
  106. ("kconfig" ,kconfig)
  107. ("ki18n" ,ki18n)
  108. ("kio" ,kio)
  109. ("qtbase" ,qtbase-5)))
  110. (arguments
  111. `(#:phases
  112. (modify-phases %standard-phases
  113. (add-before 'check 'check-setup
  114. (lambda _
  115. (setenv "QT_QPA_PLATFORM" "offscreen")
  116. #t)))))
  117. (home-page "https://community.kde.org/Baloo")
  118. (synopsis "Wigets for use with Baloo")
  119. (description "Baloo is a framework for searching and managing metadata.
  120. This package contains GUI widgets for baloo.")
  121. (license license:lgpl2.0+)))
  122. (define-public grantleetheme
  123. (package
  124. (name "grantleetheme")
  125. (version "21.08.1")
  126. (source
  127. (origin
  128. (method url-fetch)
  129. (uri (string-append "mirror://kde/stable/release-service/" version
  130. "/src/grantleetheme-" version ".tar.xz"))
  131. (sha256
  132. (base32 "0zscb0wb85g1r0zcqb50ylg1r0640mjk985ifffnjzxlx4ayqglm"))))
  133. (build-system qt-build-system) ; unexpected error in the test suite.
  134. (native-inputs
  135. `(("extra-cmake-modules" ,extra-cmake-modules)
  136. ("libxml2" ,libxml2))) ;; xmllint required for tests
  137. (inputs
  138. `(("grantlee" ,grantlee)
  139. ("kguiaddons" ,kguiaddons)
  140. ("ki18n" ,ki18n)
  141. ("kiconthemes" ,kiconthemes)
  142. ("knewstuff" ,knewstuff)
  143. ("qtbase" ,qtbase-5)))
  144. (home-page "https://invent.kde.org/pim/grantleetheme")
  145. (synopsis "Library providing Grantlee theme support")
  146. (description "This library provides Grantlee theme support.")
  147. (license ;; LGPL for libraries, FDL for documentation
  148. (list license:lgpl2.1+ license:fdl1.2+))))
  149. (define-public akregator
  150. (package
  151. (name "akregator")
  152. (version "21.08.1")
  153. (source
  154. (origin
  155. (method url-fetch)
  156. (uri (string-append "mirror://kde/stable/release-service/" version
  157. "/src/akregator-" version ".tar.xz"))
  158. (sha256
  159. (base32 "03rv9m3f7vrn80jfdmnbzxsl226s82liyfam1cysxl2skkmvpimm"))))
  160. (build-system qt-build-system)
  161. (arguments
  162. `(#:phases
  163. (modify-phases %standard-phases
  164. (add-after 'install 'wrap-qt-process-path
  165. (lambda* (#:key inputs outputs #:allow-other-keys)
  166. (let* ((out (assoc-ref outputs "out"))
  167. (bin (string-append out "/bin/akregator"))
  168. (qt-process-path (string-append
  169. (assoc-ref inputs "qtwebengine")
  170. "/lib/qt5/libexec/QtWebEngineProcess")))
  171. (wrap-program bin
  172. `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
  173. #t))))))
  174. (native-inputs
  175. `(("extra-cmake-modules" ,extra-cmake-modules)
  176. ("kdoctools" ,kdoctools)))
  177. (inputs
  178. `(("akonadi" ,akonadi)
  179. ("akonadi-contacts" ,akonadi-contacts)
  180. ("akonadi-mime" ,akonadi-mime)
  181. ("boost" ,boost)
  182. ("breeze-icons" ,breeze-icons)
  183. ("gpgme" ,gpgme)
  184. ("grantlee" ,grantlee)
  185. ("grantleetheme" ,grantleetheme)
  186. ("kcmutils" ,kcmutils)
  187. ("kcontacts" ,kcontacts)
  188. ("kcrash" ,kcrash)
  189. ("kimap" ,kimap)
  190. ("kitemmodels" ,kitemmodels)
  191. ("kmessagelib" ,kmessagelib)
  192. ("kmime" ,kmime)
  193. ("knotifications" ,knotifications)
  194. ("knotifyconfig" ,knotifyconfig)
  195. ("kontactinterface" ,kontactinterface)
  196. ("kpimcommon" ,kpimcommon)
  197. ("kpimtextedit" ,kpimtextedit)
  198. ("kqtquickcharts" ,kqtquickcharts)
  199. ("ktexteditor" ,ktexteditor)
  200. ("kuserfeedback" ,kuserfeedback)
  201. ("libkdepim" ,libkdepim)
  202. ("libkleo" ,libkleo)
  203. ("qgpgme" ,qgpgme)
  204. ("qtbase" ,qtbase-5)
  205. ("qtdeclarative" ,qtdeclarative)
  206. ("qtwebchannel" ,qtwebchannel)
  207. ("qtwebengine" ,qtwebengine)
  208. ("syndication" ,syndication)))
  209. (home-page "https://apps.kde.org/akregator/")
  210. (synopsis "KDE Feed Reader")
  211. (description
  212. "Akregator is a news feed reader. It enables you to follow news
  213. sites, blogs and other RSS/Atom-enabled websites without the need to manually
  214. check for updates using a web browser. Akregator is designed to be both easy to
  215. use and to be powerful enough to read hundreds of news sources conveniently.
  216. It comes with a fast search, advanced archiving functionality and an internal
  217. browser for easy news reading.")
  218. (license license:gpl2+)))
  219. (define-public kdenlive
  220. (let ((version "21.08.1"))
  221. (package
  222. (name "kdenlive")
  223. (version version)
  224. (source
  225. (origin
  226. (method git-fetch)
  227. (uri (git-reference
  228. (url "https://invent.kde.org/multimedia/kdenlive")
  229. (commit (string-append "v" version))))
  230. (file-name (string-append name "-" version "-checkout"))
  231. (sha256
  232. (base32 "1fvy2aa86pn4crk8lgxjh1kdn2lxzi66krnrr9m91mp89mmc760k"))))
  233. (build-system qt-build-system)
  234. (native-inputs
  235. `(("extra-cmake-modules" ,extra-cmake-modules)
  236. ("pkg-config" ,pkg-config)
  237. ("qttools" ,qttools)))
  238. (inputs
  239. `(("breeze" ,breeze) ; make dark them available easily
  240. ("breeze-icons" ,breeze-icons) ; recommended icon set
  241. ("ffmpeg" ,ffmpeg)
  242. ("frei0r-plugins" ,frei0r-plugins)
  243. ("karchive" ,karchive)
  244. ("kcrash" ,kcrash)
  245. ("kdbusaddons" ,kdbusaddons)
  246. ("kdeclarative" ,kdeclarative)
  247. ("kdoctools" ,kdoctools)
  248. ("kfilemetadata" ,kfilemetadata)
  249. ("kguiaddons" ,kguiaddons)
  250. ("kiconthemes" ,kiconthemes)
  251. ("knewstuff" ,knewstuff)
  252. ("knotifications" ,knotifications)
  253. ("knotifyconfig" ,knotifyconfig)
  254. ("kparts" ,kparts)
  255. ("kplotting" ,kplotting)
  256. ("mlt" ,mlt)
  257. ("purpose" ,purpose)
  258. ("qtbase" ,qtbase-5)
  259. ("qtdeclarative" ,qtdeclarative)
  260. ("qtgraphicaleffects" ,qtgraphicaleffects)
  261. ("qtmultimedia" ,qtmultimedia)
  262. ("qtnetworkauth" ,qtnetworkauth)
  263. ("qtquickcontrols" ,qtquickcontrols)
  264. ("qtquickcontrols2" ,qtquickcontrols2)
  265. ("qtscript" ,qtscript)
  266. ("qtsvg" ,qtsvg)
  267. ("qtwebkit" ,qtwebkit)
  268. ("shared-mime-info" ,shared-mime-info)))
  269. (arguments
  270. `(#:tests? #f ;TODO needs X
  271. #:phases
  272. (modify-phases %standard-phases
  273. (add-after 'install 'wrap-executable
  274. (lambda* (#:key inputs outputs #:allow-other-keys)
  275. (let* ((out (assoc-ref outputs "out"))
  276. (qtbase (assoc-ref inputs "qtbase"))
  277. (frei0r (assoc-ref inputs "frei0r-plugins"))
  278. (ffmpeg (assoc-ref inputs "ffmpeg")))
  279. (wrap-program (string-append out "/bin/kdenlive")
  280. `("PATH" ":" prefix
  281. ,(list (string-append ffmpeg "/bin")))
  282. `("FREI0R_PATH" ":" =
  283. (,(string-append frei0r "/lib/frei0r-1/")))
  284. `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
  285. (,(string-append qtbase "/lib/qt5/plugins/platforms")))
  286. `("MLT_PREFIX" ":" =
  287. (,(assoc-ref inputs "mlt"))))))))))
  288. (home-page "https://kdenlive.org")
  289. (synopsis "Non-linear video editor")
  290. (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
  291. Non-linear video editing is much more powerful than beginner's (linear)
  292. editors, hence it requires a bit more organization before starting. However,
  293. it is not reserved to specialists and can be used for small personal
  294. projects.")
  295. (license license:gpl2+))))
  296. (define-public kdevelop
  297. (package
  298. (name "kdevelop")
  299. (version "5.6.2")
  300. (source
  301. (origin
  302. (method url-fetch)
  303. (uri (string-append "mirror://kde/stable/kdevelop"
  304. "/" version "/src/kdevelop-"
  305. version ".tar.xz"))
  306. (sha256
  307. (base32 "1xiv6vs7d7vj5v7i1wxzx0xl6h8cg9bl8x9z7qg1qxizwlzvr1hg"))))
  308. (build-system qt-build-system)
  309. (native-inputs
  310. `(("extra-cmake-modules" ,extra-cmake-modules)
  311. ("pkg-config" ,pkg-config)
  312. ("shared-mime-info" ,shared-mime-info)
  313. ("qttools" ,qttools)))
  314. (inputs
  315. `(("boost" ,boost)
  316. ("clang" ,clang)
  317. ("grantlee" ,grantlee)
  318. ("karchive" ,karchive)
  319. ("kcmutils" ,kcmutils)
  320. ("kcrash" ,kcrash)
  321. ("kdeclarative" ,kdeclarative)
  322. ("kdoctools" ,kdoctools)
  323. ("kguiaddons" ,kguiaddons)
  324. ("ki18n" ,ki18n)
  325. ("kiconthemes" ,kiconthemes)
  326. ("kio" ,kio) ;; not checked as requirement
  327. ("kitemmodels" ,kitemmodels)
  328. ("kitemviews" ,kitemviews)
  329. ("kjobwidgets" ,kjobwidgets)
  330. ("knotifications" ,knotifications)
  331. ("knotifyconfig" ,knotifyconfig)
  332. ("kparts" ,kparts)
  333. ("kservice" ,kservice)
  334. ("ksyntaxhighlighting" ,ksyntaxhighlighting)
  335. ("ktexteditor" ,ktexteditor)
  336. ("kwindowsystem" ,kwindowsystem)
  337. ("kxmlgui" ,kxmlgui)
  338. ("libkomparediff2" ,libkomparediff2)
  339. ("breeze-icons" ,breeze-icons)
  340. ("qtbase" ,qtbase-5)
  341. ("qtdeclarative" ,qtdeclarative)
  342. ("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement
  343. ("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement
  344. ("qtwebkit" ,qtwebkit)
  345. ("threadweaver" ,threadweaver)
  346. ;; recommendes
  347. ("astyle" ,astyle)
  348. ("kdevelop-pg-qt" ,kdevelop-pg-qt)
  349. ("libksysguard" ,libksysguard)
  350. ;; optional
  351. ("apr" ,apr) ; required for subversion support
  352. ("apr-util" ,apr-util) ; required for subversion support
  353. ("attica" ,attica)
  354. ("kconfigwidgets" ,kconfigwidgets)
  355. ("knewstuff" ,knewstuff)
  356. ("krunner" ,krunner)
  357. ;; TODO: OktetaGui, OktetaKastenControllers
  358. ("plasma" ,plasma-framework)
  359. ;; TODO: purpose
  360. ("sonnet" ,sonnet)
  361. ("subversion" ,subversion)))
  362. ;; run-time packages - TODO
  363. ;; ClazyStandalone
  364. ;; Cppcheck
  365. ;; heaptrack
  366. ;; heaptrack_gui
  367. ;; meson
  368. (arguments
  369. `(#:tests? #f ;; there are some issues with the test suite
  370. #:phases
  371. (modify-phases %standard-phases
  372. (add-before 'configure 'add-include-path
  373. (lambda* (#:key inputs #:allow-other-keys)
  374. (substitute* "cmake/modules/FindClang.cmake"
  375. (("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line)
  376. (string-append line " " (assoc-ref inputs "clang") "/lib")))
  377. #t)))))
  378. (home-page "https://www.kdevelop.org/")
  379. (synopsis "IDE for C, C++, Python, Javascript and PHP")
  380. (description "The KDevelop IDE provides semantic syntax highlighting, as
  381. well as code navigation and completion for C, C++ (using Clang/LLVM), QML,
  382. JavaScript, Python and PHP. It also integrates with a debugger, different
  383. build systems (CMake, QMake, custom Makefiles) and version control
  384. software (Git, Subversion, Mercurial, CVS and Bazaar).")
  385. (license license:lgpl2.1+)))
  386. (define-public kdevelop-pg-qt
  387. (package
  388. (name "kdevelop-pg-qt")
  389. (version "2.2.1")
  390. (source
  391. (origin
  392. (method git-fetch)
  393. (uri (git-reference
  394. (url "https://github.com/KDE/kdevelop-pg-qt")
  395. (commit (string-append "v" version))))
  396. (file-name (git-file-name name version))
  397. (sha256
  398. (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g"))))
  399. (native-inputs
  400. `(("extra-cmake-modules" ,extra-cmake-modules)))
  401. (inputs
  402. `(("qtbase" ,qtbase-5)))
  403. (build-system cmake-build-system)
  404. (home-page "https://kde.org")
  405. (synopsis "Parser generator library for KDevplatform")
  406. (description "KDevelop-PG-Qt is the parser generator used in KDevplatform
  407. for some KDevelop language plugins (Ruby, PHP, CSS...).")
  408. (license license:lgpl2.0+)))
  409. ;; kdevplatform was merged into kdevelop as of 5.2.x
  410. (define-deprecated kdevplatform kdevelop)
  411. (define-public kdiagram
  412. (package
  413. (name "kdiagram")
  414. (version "2.8.0")
  415. (source
  416. (origin
  417. (method url-fetch)
  418. (uri (string-append "mirror://kde/stable/kdiagram/" version
  419. "/kdiagram-" version ".tar.xz"))
  420. (sha256
  421. (base32 "07s3kwv0mqvb64x8nz4w1yb3hbk28yzkw4qg1jibai7as4xsv7ap"))
  422. (patches (search-patches
  423. "kdiagram-Fix-missing-link-libraries.patch"))))
  424. (build-system qt-build-system)
  425. (native-inputs
  426. `(("extra-cmake-modules" ,extra-cmake-modules)
  427. ("qttools" ,qttools)))
  428. (inputs
  429. `(("qtbase" ,qtbase-5)
  430. ("qtsvg" ,qtsvg)))
  431. (home-page "https://invent.kde.org/graphics/kdiagram")
  432. (synopsis "Libraries for creating business diagrams")
  433. (description "This package provides libraries for integrating business
  434. diagrams in Qt-based applications.
  435. @code{KCharts} provides an implementation of the ODF Chart specification. It
  436. supports stock charts, box charts, and whisker charts. @code{KGantt} provides
  437. a module for implementing ODF Gantt charts, which are bar charts that
  438. illustrate project schedules.")
  439. (license license:gpl2+)))
  440. (define-public krita
  441. (package
  442. (name "krita")
  443. (version "4.4.8")
  444. (source (origin
  445. (method url-fetch)
  446. (uri (string-append
  447. "mirror://kde/stable/krita/" version
  448. "/krita-" version ".tar.gz"))
  449. (sha256
  450. (base32
  451. "1y0d8gnxfdg5nfwk8dgx8fc2bwskvnys049napb1a9fr25bqmimw"))))
  452. (build-system qt-build-system)
  453. (arguments
  454. `(#:tests? #f
  455. #:configure-flags
  456. ,#~(list "-DBUILD_TESTING=OFF"
  457. (string-append "-DCMAKE_CXX_FLAGS=-I" #$openexr
  458. "/include/OpenEXR"))))
  459. (native-inputs
  460. `(("curl" ,curl)
  461. ("eigen" ,eigen)
  462. ("extra-cmake-modules" ,extra-cmake-modules)
  463. ("gettext-minimal" ,gettext-minimal)
  464. ("kitemmodels" ,kitemmodels)
  465. ("pkg-config" ,pkg-config)
  466. ("qwt" ,qwt)
  467. ("vc" ,vc)))
  468. (inputs
  469. `(("boost" ,boost)
  470. ("exiv2" ,exiv2)
  471. ("fftw" ,fftw)
  472. ("gsl" ,gsl)
  473. ("ilmbase" ,ilmbase)
  474. ("karchive" ,karchive)
  475. ("kcompletion" ,kcompletion)
  476. ("kconfig" ,kconfig)
  477. ("kcoreaddons" ,kcoreaddons)
  478. ("kcrash" ,kcrash)
  479. ("kguiaddons" ,kguiaddons)
  480. ("ki18n" ,ki18n)
  481. ("kiconthemes" ,kiconthemes)
  482. ("kio" ,kio)
  483. ("kitemviews" ,kitemviews)
  484. ("kwidgetsaddons" ,kwidgetsaddons)
  485. ("kwindowsystem" ,kwindowsystem)
  486. ("kxmlgui" ,kxmlgui)
  487. ("lcms" ,lcms)
  488. ("libheif" ,libheif)
  489. ("libjpeg-turbo" ,libjpeg-turbo)
  490. ("libpng" ,libpng)
  491. ("libraw" ,libraw)
  492. ("libtiff" ,libtiff)
  493. ("libx11" ,libx11)
  494. ("libxcb" ,libxcb)
  495. ("libxi" ,libxi)
  496. ("openexr" ,openexr)
  497. ("perl" ,perl)
  498. ("poppler-qt5" ,poppler-qt5)
  499. ("qtbase" ,qtbase-5)
  500. ("qtdeclarative" ,qtdeclarative)
  501. ("qtmultimedia" ,qtmultimedia)
  502. ("qtsvg" ,qtsvg)
  503. ("qtx11extras" ,qtx11extras)
  504. ("quazip" ,quazip)
  505. ("zlib" ,zlib)))
  506. (home-page "https://krita.org")
  507. (synopsis "Digital painting application")
  508. (description
  509. "Krita is a professional painting tool designed for concept artists,
  510. illustrators, matte and texture artists, and the VFX industry. Notable
  511. features include brush stabilizers, brush engines and wrap-around mode.")
  512. (license license:gpl2+)))
  513. (define-public massif-visualizer
  514. (package
  515. (name "massif-visualizer")
  516. (version "0.7.0")
  517. (source
  518. (origin
  519. (method url-fetch)
  520. (uri (string-append
  521. "mirror://kde/stable/massif-visualizer/" version
  522. "/src/massif-visualizer-" version ".tar.xz"))
  523. (sha256
  524. (base32 "0v8z6r9gngzckvqyxjm9kp7hilwfqibyk2f9vag9l98ar0iwr97q"))))
  525. (build-system cmake-build-system)
  526. (native-inputs
  527. `(("extra-cmake-modules" ,extra-cmake-modules)
  528. ("pkg-config" ,pkg-config)
  529. ("shared-mime-info" ,shared-mime-info)))
  530. (inputs
  531. `(("karchive" ,karchive)
  532. ("kcoreaddons" ,kcoreaddons)
  533. ("kparts" ,kparts)
  534. ("kdiagram" ,kdiagram)
  535. ("kgraphviewer" ,kgraphviewer)
  536. ("kio" ,kio)
  537. ("ki18n" ,ki18n)
  538. ("qtbase" ,qtbase-5)
  539. ("qtsvg" ,qtsvg)
  540. ("qtxmlpatterns" ,qtxmlpatterns)))
  541. (home-page "https://apps.kde.org/massif-visualizer/")
  542. (synopsis "Visualize massif data generated by Valgrind")
  543. (description
  544. "Massif Visualizer is a tool that visualizes massif data.
  545. You run your application in Valgrind with @code{--tool=massif} and then open
  546. the generated @file{massif.out.%pid} in the visualizer. Gzip or Bzip2
  547. compressed massif files can also be opened transparently.")
  548. (license license:gpl2+)))
  549. (define-public libkomparediff2
  550. (package
  551. (name "libkomparediff2")
  552. (version "21.08.1")
  553. (source
  554. (origin
  555. (method url-fetch)
  556. (uri (string-append "mirror://kde/stable/release-service/" version
  557. "/src/libkomparediff2-" version ".tar.xz"))
  558. (sha256
  559. (base32 "0n6xxam33k8j6c9wqdf0lhfpk6nyf9brhvdkivdamp0idhi3rcpx"))))
  560. (native-inputs
  561. `(("extra-cmake-modules" ,extra-cmake-modules)
  562. ("pkg-config" ,pkg-config)))
  563. (inputs
  564. `(("kcodecs" ,kcodecs)
  565. ("kconfig" ,kconfig)
  566. ("kcoreaddons" ,kcoreaddons)
  567. ("ki18n" ,ki18n)
  568. ("kio" ,kio)
  569. ("kxmlgui" ,kxmlgui)
  570. ("qtbase" ,qtbase-5)))
  571. (build-system cmake-build-system)
  572. (home-page "https://kde.org")
  573. (synopsis "Library to compare files and strings, used in Kompare and KDevelop")
  574. (description "Libkomparediff2 is a library to work with diffs and patches,
  575. used in KDE development tools Kompare and KDevelop.")
  576. ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the
  577. ;; source archive
  578. (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3))))
  579. (define-public qca
  580. (package
  581. (name "qca")
  582. (version "2.3.4")
  583. (source
  584. (origin
  585. (method url-fetch)
  586. (uri (string-append "mirror://kde/stable/qca/" version
  587. "/qca-" version ".tar.xz"))
  588. (sha256
  589. (base32 "1i7m5y3dfwij9cyjp72ya5zd2skgp7mfmrmf7bvrbzg3ly0mhsbb"))))
  590. (build-system cmake-build-system)
  591. (native-inputs
  592. `(("pkg-config" ,pkg-config)))
  593. (inputs
  594. `(("openssl" ,openssl)
  595. ("qtbase" ,qtbase-5)))
  596. (home-page "https://userbase.kde.org/QCA")
  597. (synopsis "Libraries for the Qt Cryptographic Architecture")
  598. (description "The Qt Cryptographic Architecture (QCA) provides a
  599. straightforward and cross-platform API for a range of cryptographic features,
  600. including SSL/TLS, X.509 certificates, SASL, OpenPGP, S/MIME CMS, and smart
  601. cards.")
  602. (license license:lgpl2.1+)))
  603. (define-public kpmcore
  604. (package
  605. (name "kpmcore")
  606. (version "21.08.1")
  607. (source (origin
  608. (method url-fetch)
  609. (uri (string-append "mirror://kde/stable/release-service/"
  610. version "/src/kpmcore-"
  611. version ".tar.xz"))
  612. (sha256
  613. (base32
  614. "1aw21x70kgm1dmhqr384k6rbsd1fx70zd94i0slq5zyf37zx6b9l"))))
  615. (build-system cmake-build-system)
  616. (native-inputs
  617. `(("extra-cmake-modules" ,extra-cmake-modules)
  618. ("pkg-config" ,pkg-config)))
  619. (inputs
  620. `(("kauth" ,kauth)
  621. ("kcoreaddons" ,kcoreaddons)
  622. ("ki18n" ,ki18n)
  623. ("kwidgetsaddons" ,kwidgetsaddons)
  624. ("polkit-qt" ,polkit-qt)
  625. ("qtbase" ,qtbase-5)
  626. ("qca" ,qca)
  627. ("util-linux" ,util-linux "lib")))
  628. (arguments
  629. `(#:phases
  630. (modify-phases %standard-phases
  631. (add-after 'unpack 'fix-cmake-install-directories
  632. (lambda _
  633. (substitute* "src/util/CMakeLists.txt"
  634. (("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
  635. "DESTINATION share/polkit-1/actions")))))))
  636. (home-page "https://community.kde.org/Frameworks")
  637. (synopsis "Library for managing partitions")
  638. (description "Library for managing partitions.")
  639. (license license:gpl3+)))
  640. (define-public snorenotify
  641. (package
  642. (name "snorenotify")
  643. (version "0.7.0")
  644. (source
  645. (origin
  646. (method url-fetch)
  647. (uri (string-append "mirror://kde/stable/snorenotify/"
  648. version "/src/snorenotify-" version ".tar.xz"))
  649. (sha256
  650. (base32
  651. "0jz6ivk90h7iwgyxar7xzzj8yvzn6s1my6cqs9bdnwqswfk1nhbd"))))
  652. (build-system cmake-build-system)
  653. (arguments
  654. `(#:tests? #f)) ; both tests fail, require display
  655. (inputs
  656. `(("qtbase" ,qtbase-5)))
  657. (native-inputs
  658. `(("extra-cmake-modules" ,extra-cmake-modules)
  659. ("qttools" ,qttools)))
  660. (home-page "https://techbase.kde.org/Projects/Snorenotify")
  661. (synopsis "Qt notification framework")
  662. (description "Snorenotify is a multi platform Qt notification framework.
  663. Using a plugin system it is possible to create notifications with many
  664. different notification systems.")
  665. (license license:lgpl3)))
  666. (define-public kdeconnect
  667. (package
  668. (name "kdeconnect")
  669. (version "21.08.1")
  670. (source
  671. (origin
  672. (method url-fetch)
  673. (uri (string-append "mirror://kde/stable/release-service/"
  674. version "/src/kdeconnect-kde-"
  675. version ".tar.xz"))
  676. (sha256
  677. (base32
  678. "01nwzsryxg7kkxb6g4h0lwn6g5zx4k64vizqk4gsvkif8d5zfc33"))))
  679. (build-system qt-build-system)
  680. (arguments
  681. `(#:configure-flags '("-DBUILD_TESTING=ON"
  682. "-DKDE_INSTALL_LIBEXECDIR=libexec")
  683. #:phases
  684. (modify-phases %standard-phases
  685. (add-after 'unpack 'adjust-include-header
  686. (lambda _
  687. (substitute* "plugins/runcommand/runcommandplugin.cpp"
  688. (("<kcmutils_version.h>")
  689. "<KF5/kcmutils_version.h>")))))
  690. #:tests? #f)) ; tests fail hard in our build environment
  691. (native-inputs
  692. `(("extra-cmake-modules" ,extra-cmake-modules)
  693. ("kdoctools" ,kdoctools)
  694. ("libxtst" ,libxtst)
  695. ("pkg-config" ,pkg-config)
  696. ("python" ,python-wrapper)))
  697. (inputs
  698. `(("kcmutils" ,kcmutils)
  699. ("kconfigwidgets" ,kconfigwidgets)
  700. ("kdbusaddons" ,kdbusaddons)
  701. ("ki18n" ,ki18n)
  702. ("kiconthemes" ,kiconthemes)
  703. ("kio" ,kio)
  704. ("kirigami" ,kirigami)
  705. ("knotifications" ,knotifications)
  706. ("kpeople" ,kpeople)
  707. ("kpeoplevcard" ,kpeoplevcard)
  708. ("kwayland" ,kwayland)
  709. ("libfakekey" ,libfakekey)
  710. ("pulseaudio-qt" ,pulseaudio-qt)
  711. ("qca" ,qca)
  712. ("qqc2-desktop-style" ,qqc2-desktop-style)
  713. ("qtbase" ,qtbase-5)
  714. ("qtdeclarative" ,qtdeclarative)
  715. ("qtgraphicaleffects" ,qtgraphicaleffects)
  716. ("qtmultimedia" ,qtmultimedia)
  717. ("qtquickcontrols" ,qtquickcontrols)
  718. ("qtquickcontrols2" ,qtquickcontrols2)
  719. ("qtx11extras" ,qtx11extras)
  720. ("qtwayland" ,qtwayland)
  721. ("wayland" ,wayland)))
  722. (home-page "https://community.kde.org/KDEConnect")
  723. (synopsis "Enable your devices to communicate with each other")
  724. (description "KDE Connect is a project that enables all your devices to
  725. communicate with each other. Here's a few things KDE Connect can do:
  726. @enumerate
  727. @item Receive your phone notifications on your desktop computer and reply to messages
  728. @item Control music playing on your desktop from your phone
  729. @item Use your phone as a remote control for your desktop
  730. @item Run predefined commands on your PC from connected devices
  731. @item Check your phones battery level from the desktop
  732. @item Ring your phone to help finding it
  733. @item Share files and links between devices
  734. @item Browse your phone from the desktop
  735. @item Control the desktop's volume from the phone
  736. @end enumerate")
  737. (properties `((upstream-name . "kdeconnect-kde")))
  738. (license (list license:gpl2 license:gpl3)))) ; dual licensed
  739. (define-public labplot
  740. (package
  741. (name "labplot")
  742. (version "2.8.2")
  743. (source
  744. (origin
  745. (method url-fetch)
  746. (uri (string-append "mirror://kde/stable/labplot"
  747. "/" version "/labplot-"
  748. version ".tar.xz"))
  749. (sha256
  750. (base32 "1yhxnchwb4n83sxrbn4im41g2sqr0xsim2y242mvyd8pjzd83icf"))))
  751. (build-system qt-build-system)
  752. (arguments
  753. `(#:configure-flags
  754. (list "-DENABLE_CANTOR=OFF" ;not packaged
  755. "-DENABLE_MQTT=OFF" ;not packaged (qtmqtt)
  756. ;; FIXME: readstat (optional dependency) is available in the
  757. ;; statistics module, but that module can't be used here.
  758. "-DENABLE_READSTAT=OFF"
  759. ;; This is a bundled library that is not packaged.
  760. "-DENABLE_LIBORIGIN=ON")
  761. #:phases
  762. (modify-phases %standard-phases
  763. (replace 'check
  764. (lambda* (#:key tests? #:allow-other-keys)
  765. (when tests?
  766. ;; This test fails, I don't know why.
  767. (invoke "ctest" "-E" "parsertest"))
  768. #t)))))
  769. (native-inputs
  770. `(("bison" ,bison)
  771. ("extra-cmake-modules" ,extra-cmake-modules)
  772. ("pkg-config" ,pkg-config)
  773. ("python" ,python-wrapper)
  774. ("qttools" ,qttools)))
  775. (inputs
  776. `(("breeze" ,breeze) ;for dark themes
  777. ("breeze-icons" ,breeze-icons) ;for icons
  778. ("gsl" ,gsl)
  779. ("karchive" ,karchive)
  780. ("kcompletion" ,kcompletion)
  781. ("kconfig" ,kconfig)
  782. ("kconfigwidgets" ,kconfigwidgets)
  783. ("kcoreaddons" ,kcoreaddons)
  784. ("kcrash" ,kcrash)
  785. ("kdoctools" ,kdoctools)
  786. ("ki18n" ,ki18n)
  787. ("kiconthemes" ,kiconthemes)
  788. ("kio" ,kio)
  789. ("knewstuff" ,knewstuff)
  790. ("kparts" ,kparts)
  791. ("kservice" ,kservice)
  792. ("ksyntaxhighlighting" ,ksyntaxhighlighting)
  793. ("ktextwidgets" ,ktextwidgets)
  794. ("kuserfeedback" ,kuserfeedback)
  795. ("kwidgetsaddons" ,kwidgetsaddons)
  796. ("kxmlgui" ,kxmlgui)
  797. ("qtbase" ,qtbase-5)
  798. ("qtsvg" ,qtsvg)
  799. ("shared-mime-info" ,shared-mime-info)
  800. ;; Optional.
  801. ("cfitsio" ,cfitsio)
  802. ("fftw" ,fftw)
  803. ("hdf5" ,hdf5)
  804. ("libcerf" ,libcerf)
  805. ("lz4" ,lz4)
  806. ("netcdf" ,netcdf)
  807. ("qtserialport" ,qtserialport)
  808. ("zlib" ,zlib)))
  809. (home-page "https://labplot.kde.org/")
  810. (synopsis "Interactive graphing and analysis of scientific data")
  811. (description "LabPlot is a tool for interactive graphing and analysis of
  812. scientific data. It provides an easy way to create, manage and edit plots and
  813. to perform data analysis.")
  814. (license (list license:gpl2+ ;labplot
  815. license:gpl3+)))) ;liborigin
  816. (define-public kqtquickcharts
  817. (package
  818. (name "kqtquickcharts")
  819. (version "21.08.1")
  820. (source
  821. (origin
  822. (method url-fetch)
  823. (uri (string-append "mirror://kde/stable/release-service/"
  824. version "/src/kqtquickcharts-" version ".tar.xz"))
  825. (sha256
  826. (base32
  827. "0ghmxzy3jqzy3zdpp5zhjv3mcq6micnnk1jhnlq03v4z981rrs6h"))))
  828. (build-system cmake-build-system)
  829. (native-inputs
  830. `(("extra-cmake-modules" ,extra-cmake-modules)))
  831. (inputs
  832. `(("qtbase" ,qtbase-5)
  833. ("qtdeclarative" ,qtdeclarative)))
  834. (home-page "https://phabricator.kde.org/source/kqtquickcharts/")
  835. (synopsis "Interactive charts for Qt Quick")
  836. (description
  837. "Kqtquickcharts is a QtQuick plugin to render beautiful and interactive
  838. charts.")
  839. (license license:lgpl2.1+)))
  840. (define-public kdf
  841. (package
  842. (name "kdf")
  843. (version "21.08.1")
  844. (source (origin
  845. (method url-fetch)
  846. (uri (string-append "mirror://kde/stable/release-service/"
  847. version "/src/kdf-" version ".tar.xz"))
  848. (sha256
  849. (base32
  850. "1xmn7dhbnj9bhaw545ry0qwayxh3jhpgx9xa2fjcc0dhn8yx1spv"))))
  851. (build-system qt-build-system)
  852. (native-inputs
  853. `(("extra-cmake-modules" ,extra-cmake-modules)
  854. ("kdoctools" ,kdoctools)))
  855. (inputs
  856. `(("kcmutils" ,kcmutils)
  857. ("kconfigwidgets" ,kconfigwidgets)
  858. ("kcoreaddons" ,kcoreaddons)
  859. ("ki18n" ,ki18n)
  860. ("kiconthemes" ,kiconthemes)
  861. ("kio" ,kio)
  862. ("knotifications" ,knotifications)
  863. ("kwidgetsaddons" ,kwidgetsaddons)
  864. ("kxmlgui" ,kxmlgui)
  865. ("qtbase" ,qtbase-5)))
  866. (home-page "https://apps.kde.org/kdf/")
  867. (synopsis "View Disk Usage")
  868. (description "KDiskFree displays the available file devices (hard drive
  869. partitions, floppy and CD drives, etc.) along with information on their
  870. capacity, free space, type and mount point. It also allows you to mount and
  871. unmount drives and view them in a file manager.")
  872. (license license:gpl2+)))
  873. (define-public kcachegrind
  874. (package
  875. (name "kcachegrind")
  876. (version "21.08.1")
  877. (source (origin
  878. (method url-fetch)
  879. (uri (string-append "mirror://kde/stable/release-service/" version
  880. "/src/kcachegrind-" version ".tar.xz"))
  881. (sha256
  882. (base32
  883. "09zgilcya7asj2si747snli6h0s7wzgjzkns9f53rwvq06xbp2zv"))))
  884. (build-system cmake-build-system)
  885. (native-inputs
  886. `(("extra-cmake-modules" ,extra-cmake-modules)
  887. ("perl" ,perl)
  888. ("python" ,python)
  889. ("qttools" ,qttools)
  890. ("kdoctools" ,kdoctools)))
  891. (inputs
  892. `(("qtbase" ,qtbase-5)
  893. ("karchive" ,karchive)
  894. ("ki18n" ,ki18n)
  895. ("kio" ,kio)
  896. ("kdbusaddons" ,kdbusaddons)))
  897. ;; Note: The 'hotshot2calltree' and 'pprof2calltree' scripts depend on
  898. ;; Python and PHP, respectively. These are optional and we ignore them
  899. ;; for now.
  900. (home-page "https://kcachegrind.github.io/html/Home.html")
  901. (synopsis "Visualize profiles produces by Valgrind's Cachegrind tool")
  902. (description
  903. "The data files generated by the Callgrind of Valgrind, an application
  904. profiler, can be loaded into KCachegrind for browsing the performance results.
  905. There is also a command-line tool to get ASCII reports from data files without
  906. the need to use KCachegrind.
  907. The format of Callgrind output is documented. With conversion scripts,
  908. KCachegrind is able to visualize output of other profilers like OProfile, a
  909. system-wide profiler for Linux using statistical sampling with hardware
  910. performance counters. There also exist converters for profiling output of
  911. Python, PHP, and Perl.")
  912. (license license:gpl2)))
  913. (define-public libkdegames
  914. (package
  915. (name "libkdegames")
  916. (version "21.08.1")
  917. (source
  918. (origin
  919. (method url-fetch)
  920. (uri (string-append "mirror://kde/stable/release-service/" version
  921. "/src/libkdegames-" version ".tar.xz"))
  922. (sha256
  923. (base32 "0vfx3ksy6z5h4hjx0dl3fr3phfz3q590h86ksbp5q20lyylmdpji"))))
  924. (build-system qt-build-system)
  925. (native-inputs
  926. `(("extra-cmake-modules" ,extra-cmake-modules)))
  927. (inputs
  928. `(("karchive" ,karchive)
  929. ("kbookmarks" ,kbookmarks)
  930. ("kcodecs" ,kcodecs)
  931. ("kcompletion" ,kcompletion)
  932. ("kconfigwidgets" ,kconfigwidgets)
  933. ("kcrash" ,kcrash)
  934. ("kdbusaddons" ,kdbusaddons)
  935. ("kdeclarative" ,kdeclarative)
  936. ("kdnssd" ,kdnssd)
  937. ("kglobalaccel" ,kglobalaccel)
  938. ("kguiaddons" ,kguiaddons)
  939. ("ki18n" ,ki18n)
  940. ("kiconthemes" ,kiconthemes)
  941. ;("kio" ,kio)
  942. ("kitemviews" ,kitemviews)
  943. ("kjobwidgets" ,kjobwidgets)
  944. ("knewstuff" ,knewstuff)
  945. ("kservice" ,kservice)
  946. ("ktextwidgets" ,ktextwidgets)
  947. ("kwidgetsaddons" ,kwidgetsaddons)
  948. ("kxmlgui" ,kxmlgui)
  949. ("libsndfile" ,libsndfile)
  950. ("openal" ,openal)
  951. ("qtbase" ,qtbase-5)
  952. ("qtdeclarative" ,qtdeclarative)
  953. ("qtsvg" ,qtsvg)))
  954. (home-page "https://games.kde.org/")
  955. (synopsis "Runtime library for kdegames")
  956. (description "Runtime library for kdegames")
  957. (license (list license:gpl2+ license:fdl1.2+))))
  958. (define-public okular
  959. (package
  960. (name "okular")
  961. (version "21.08.1")
  962. (source
  963. (origin
  964. (method url-fetch)
  965. (uri (string-append "mirror://kde/stable/release-service/" version
  966. "/src/" name "-" version ".tar.xz"))
  967. (sha256
  968. (base32 "1vk1mn40i80b5vkxq47i1qf2i734n5nfa1wgx3748jwc1fws631p"))))
  969. (build-system qt-build-system)
  970. ;; The tests fail because they can't find the proper mimetype plugins:
  971. ;; "org.kde.okular.core: No plugin for mimetype '"image/jpeg"'."
  972. ;; The built program seems to work okay, so we skip the tests for now.
  973. (arguments
  974. `(#:tests? #f
  975. #:configure-flags
  976. (list "-DBUILD_TESTING=OFF")))
  977. (native-inputs
  978. `(("extra-cmake-modules" ,extra-cmake-modules)
  979. ("kdoctools" ,kdoctools)
  980. ("pkg-config" ,pkg-config)))
  981. (inputs
  982. `(("ebook-tools" ,ebook-tools)
  983. ("breeze-icons" ,breeze-icons)
  984. ("discount" ,discount)
  985. ("djvulibre" ,djvulibre)
  986. ("kactivities" ,kactivities)
  987. ("khtml" ,khtml)
  988. ("chmlib" ,chmlib)
  989. ("kdegraphics-mobipocket" ,kdegraphics-mobipocket)
  990. ("karchive" ,karchive)
  991. ("kbookmarks" ,kbookmarks)
  992. ("kcompletion" ,kcompletion)
  993. ("kconfig" ,kconfig)
  994. ("qtbase" ,qtbase-5)
  995. ("libjpeg-turbo" ,libjpeg-turbo)
  996. ("libtiff" ,libtiff)
  997. ("kirigami" ,kirigami)
  998. ("purpose" ,purpose)
  999. ("freetype" ,freetype)
  1000. ("kiconthemes" ,kiconthemes)
  1001. ("kio" ,kio)
  1002. ("kparts" ,kparts)
  1003. ("kpty" ,kpty)
  1004. ("qtspeech" ,qtspeech)
  1005. ("kwallet" ,kwallet)
  1006. ("kwindowsystem" ,kwindowsystem)
  1007. ("libkexiv2" ,libkexiv2)
  1008. ("libspectre" ,libspectre)
  1009. ("libzip" ,libzip)
  1010. ("phonon" ,phonon)
  1011. ("poppler-qt5" ,poppler-qt5)
  1012. ("qca" ,qca)
  1013. ("qtdeclarative" ,qtdeclarative)
  1014. ("qtsvg" ,qtsvg)
  1015. ("threadweaver" ,threadweaver)
  1016. ("kcrash" ,kcrash)
  1017. ("kjs" ,kjs)))
  1018. (home-page "https://apps.kde.org/okular/")
  1019. (synopsis "Document viewer")
  1020. (description
  1021. "Okular is a document viewer developed for KDE. It can display files in
  1022. a variety of formats, including PDF, PostScript, DejaVu, and EPub.")
  1023. (license license:gpl2+)))
  1024. (define-public poxml
  1025. (package
  1026. (name "poxml")
  1027. (version "21.08.1")
  1028. (source (origin
  1029. (method url-fetch)
  1030. (uri
  1031. (string-append "mirror://kde/stable/release-service/" version
  1032. "/src/poxml-" version ".tar.xz"))
  1033. (sha256
  1034. (base32
  1035. "10wwrbmhwbjk71m4ya1shb7mviil33fciykrzyqvvdnvx668aawm"))))
  1036. (build-system cmake-build-system)
  1037. (native-inputs
  1038. `(("extra-cmake-modules" ,extra-cmake-modules)
  1039. ("kdoctools" ,kdoctools)))
  1040. (inputs
  1041. `(("gettext" ,gettext-minimal)
  1042. ("qtbase" ,qtbase-5)))
  1043. (home-page "https://github.com/KDE/poxml/")
  1044. (synopsis "Tools for translating DocBook XML files with Gettext")
  1045. (description "This is a collection of tools that facilitate translating
  1046. DocBook XML files using Gettext message files (PO files). Also included are
  1047. several command-line utilities for manipulating DocBook XML files, PO files and
  1048. PO template files.")
  1049. (license license:gpl2+)))
  1050. (define-public kdegraphics-mobipocket
  1051. (package
  1052. (name "kdegraphics-mobipocket")
  1053. (version "21.08.1")
  1054. (source
  1055. (origin
  1056. (method url-fetch)
  1057. (uri (string-append "mirror://kde/stable/release-service/" version
  1058. "/src/" name "-" version ".tar.xz"))
  1059. (sha256
  1060. (base32 "06zpm5d58q10dalm2lm7v7lcjmainn3lmagra6a1f007yshm3i32"))))
  1061. (build-system cmake-build-system)
  1062. (native-inputs
  1063. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1064. (inputs
  1065. `(("kio" ,kio)
  1066. ("qtbase" ,qtbase-5)))
  1067. (home-page "https://apps.kde.org/kdegraphics_mobipocket/")
  1068. (synopsis "KDE thumbnailer for Mobipocket files")
  1069. (description "This package provides a KDE plugin that shows thumbnails of
  1070. Mobipocket e-books in Dolphin and other KDE apps.")
  1071. (license license:gpl2+)))
  1072. (define-public libkexiv2
  1073. (package
  1074. (name "libkexiv2")
  1075. (version "21.08.1")
  1076. (source
  1077. (origin
  1078. (method url-fetch)
  1079. (uri (string-append "mirror://kde/stable/release-service/" version
  1080. "/src/" name "-" version ".tar.xz"))
  1081. (sha256
  1082. (base32 "0wnpkzivb5f5z3d1dn5952cx07q8nw421xrs21r57cmbsss344xa"))))
  1083. (build-system cmake-build-system)
  1084. (native-inputs
  1085. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1086. (inputs
  1087. `(("exiv2" ,exiv2)
  1088. ("qtbase" ,qtbase-5)))
  1089. (home-page "https://invent.kde.org/graphics/libkexiv2")
  1090. (synopsis "Manipulate the metadata of images")
  1091. (description "Libkexiv2 wraps the Exiv2 library, allowing to manipulate
  1092. picture metadata as EXIF/IPTC and XMP.")
  1093. (license license:gpl2+)))
  1094. (define-public zeroconf-ioslave
  1095. (package
  1096. (name "zeroconf-ioslave")
  1097. (version "21.08.1")
  1098. (source
  1099. (origin
  1100. (method url-fetch)
  1101. (uri (string-append "mirror://kde/stable/release-service/" version
  1102. "/src/zeroconf-ioslave-" version ".tar.xz"))
  1103. (sha256
  1104. (base32 "113sp3lqzyxx7icww4sznc23kxarmxz0158kzl6nazxj4m6cnm4r"))))
  1105. (build-system qt-build-system)
  1106. (native-inputs
  1107. `(("extra-cmake-modules" ,extra-cmake-modules)))
  1108. (inputs
  1109. `(("kdbusaddons" ,kdbusaddons)
  1110. ("kdnssd" ,kdnssd)
  1111. ("ki18n" ,ki18n)
  1112. ("kio" ,kio)
  1113. ("qtbase" ,qtbase-5)))
  1114. (home-page "https://apps.kde.org/zeroconf_ioslave/")
  1115. (synopsis "DNS-SD Service Discovery Monitor")
  1116. (description "Adds an entry to Dolphin's Network page to show local
  1117. services such as printers which advertise themselves with DNSSD (called Avahi
  1118. or Bonjour by other projects).")
  1119. (license ;; GPL for programs, LGPL for libraries, FDL for documentation
  1120. (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
  1121. (define-public kuserfeedback
  1122. ;; FIXME: Try to reduce data collection and ensure transmission i disabled by default.
  1123. ;; FIXME: Check https://www.reddit.com/r/kde/comments/f7ojg9 for insights
  1124. (package
  1125. (name "kuserfeedback")
  1126. (version "1.0.0")
  1127. (source
  1128. (origin
  1129. (method url-fetch)
  1130. (uri (string-append "mirror://kde/stable/kuserfeedback/"
  1131. "/kuserfeedback-" version ".tar.xz"))
  1132. (sha256
  1133. (base32 "1dwx9fscnfp3zsxdir774skn8xvad2dvscnaaw3ji6mrnkmm6bss"))))
  1134. (build-system qt-build-system)
  1135. (native-inputs
  1136. `(("extra-cmake-modules" ,extra-cmake-modules)
  1137. ("qttools" ,qttools)
  1138. ;; For optional component "Survey target expression parser"
  1139. ("bison" ,bison)
  1140. ("flex" ,flex)
  1141. ;; For syntax checking and unit tests of PHP server code
  1142. ;;("php" ,php)
  1143. ;;("phpunit" ,phpunit)
  1144. ))
  1145. (inputs
  1146. `(("qtbase" ,qtbase-5)
  1147. ("qtcharts" ,qtcharts)
  1148. ("qtdeclarative" ,qtdeclarative)
  1149. ("qtsvg" ,qtsvg)))
  1150. (arguments
  1151. `(#:tests? #f)) ;; 4/17 fail
  1152. (home-page "https://api.kde.org/frameworks/kuserfeedback/html/")
  1153. (synopsis "Framework for collecting feedback from application users via
  1154. telemetry and targeted surveys")
  1155. (description "This framework consists of the following components:
  1156. @itemize
  1157. @item Libraries for use in applications.
  1158. @item QML bindings for the above.
  1159. @item A server application.
  1160. @item A management and analytics application.
  1161. @end itemize")
  1162. (license license:expat)))