diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-01-13 23:39:52 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-01-13 23:45:53 -0500 |
commit | 01f0707207741ce2a5d7509a175464799b08aea6 (patch) | |
tree | 08e8f4da56f26363c3b53e0442a21b286b55e0e5 /gnu/packages/kde.scm | |
parent | 734bcf13139119daf8685f93b056c3422dbfa264 (diff) | |
parent | 6985a1acb3e9cc4cad8b6f63d77154842d25c929 (diff) | |
download | guix-01f0707207741ce2a5d7509a175464799b08aea6.tar.gz |
Merge branch 'staging' into 'core-updates'.
Conflicts: gnu/local.mk gnu/packages/cmake.scm gnu/packages/curl.scm gnu/packages/gl.scm gnu/packages/glib.scm gnu/packages/guile.scm gnu/packages/node.scm gnu/packages/openldap.scm gnu/packages/package-management.scm gnu/packages/python-xyz.scm gnu/packages/python.scm gnu/packages/tls.scm gnu/packages/vpn.scm gnu/packages/xorg.scm
Diffstat (limited to 'gnu/packages/kde.scm')
-rw-r--r-- | gnu/packages/kde.scm | 216 |
1 files changed, 205 insertions, 11 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 546d8caa9b..0cc47e6337 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2016 David Craven <david@craven.ch> ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be> ;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org> -;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com> ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2018, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> @@ -11,6 +11,7 @@ ;;; Copyright © 2020 Marius Bakke <marius@gnu.org> ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com> +;;; Copyright © 2020 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -46,8 +47,12 @@ #:use-module (gnu packages cpp) #:use-module (gnu packages compression) #:use-module (gnu packages curl) + #:use-module (gnu packages djvu) #:use-module (gnu packages documentation) + #:use-module (gnu packages gnupg) + #:use-module (gnu packages ebook) #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) @@ -59,6 +64,7 @@ #:use-module (gnu packages kde-plasma) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) + #:use-module (gnu packages markup) #:use-module (gnu packages maths) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) @@ -120,6 +126,7 @@ This package contains GUI widgets for baloo.") (base32 "0gabc5cb0sf00s7m5v2jnq55qsrdbrq6nqd15y1i15p788zifsjx")) (patches (search-patches "grantlee-merge-theme-dirs.patch")))) (build-system qt-build-system) + (arguments `(#:tests? #f)) ; unexpected error in the test suite. (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("libxml2" ,libxml2))) ;; xmllint required for tests @@ -130,12 +137,83 @@ This package contains GUI widgets for baloo.") ("kiconthemes" ,kiconthemes) ("knewstuff" ,knewstuff) ("qtbase" ,qtbase))) - (home-page "https://cgit.kde.org/grantleetheme.git") + (home-page "https://invent.kde.org/pim/grantleetheme") (synopsis "Library providing Grantlee theme support") (description "This library provides Grantlee theme support.") (license ;; LGPL for libraries, FDL for documentation (list license:lgpl2.1+ license:fdl1.2+)))) +(define-public akregator + (package + (name "akregator") + (version "20.04.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/akregator-" version ".tar.xz")) + (sha256 + (base32 "1711yhwsdq9iyc3wm3a4xmz81p73hvvc0h58sasc89ifpry50k2p")))) + (build-system qt-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-qt-process-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/akregator")) + (qt-process-path (string-append + (assoc-ref inputs "qtwebengine") + "/lib/qt5/libexec/QtWebEngineProcess"))) + (wrap-program bin + `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path))) + #t)))))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools))) + (inputs + `(("akonadi" ,akonadi) + ("akonadi-contacts" ,akonadi-contacts) + ("akonadi-mime" ,akonadi-mime) + ("boost" ,boost) + ("breeze-icons" ,breeze-icons) + ("gpgme" ,gpgme) + ("grantlee" ,grantlee) + ("grantleetheme" ,grantleetheme) + ("kcmutils" ,kcmutils) + ("kcontacts" ,kcontacts) + ("kcrash" ,kcrash) + ("kimap" ,kimap) + ("kitemmodels" ,kitemmodels) + ("kmessagelib" ,kmessagelib) + ("kmime" ,kmime) + ("knotifications" ,knotifications) + ("knotifyconfig" ,knotifyconfig) + ("kontactinterface" ,kontactinterface) + ("kpimcommon" ,kpimcommon) + ("kpimtextedit" ,kpimtextedit) + ("kqtquickcharts" ,kqtquickcharts) + ("ktexteditor" ,ktexteditor) + ("kuserfeedback" ,kuserfeedback) + ("libkdepim" ,libkdepim) + ("libkleo" ,libkleo) + ("qgpgme" ,qgpgme) + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtwebchannel" ,qtwebchannel) + ("qtwebengine" ,qtwebengine) + ("syndication" ,syndication))) + (home-page "https://apps.kde.org/en/akregator") + (synopsis "KDE Feed Reader") + (description + "Akregator is a news feed reader. It enables you to follow news +sites, blogs and other RSS/Atom-enabled websites without the need to manually +check for updates using a web browser. Akregator is designed to be both easy to +use and to be powerful enough to read hundreds of news sources conveniently. +It comes with a fast search, advanced archiving functionality and an internal +browser for easy news reading.") + (license license:gpl2+))) + (define-public kdenlive (let ((version "20.08.3")) (package @@ -180,7 +258,8 @@ This package contains GUI widgets for baloo.") ("qtquickcontrols" ,qtquickcontrols) ("qtquickcontrols2" ,qtquickcontrols2) ("kiconthemes" ,kiconthemes) - ("breeze" ,breeze) + ("breeze" ,breeze) ; make dark them available easily + ("breeze-icons" ,breeze-icons) ; recommended icon set ("purpose" ,purpose) ("qtwebkit" ,qtwebkit) ("qtgraphicaleffects" ,qtgraphicaleffects) @@ -195,12 +274,14 @@ This package contains GUI widgets for baloo.") (qtbase (assoc-ref inputs "qtbase")) (frei0r (assoc-ref inputs "frei0r-plugins")) (ffmpeg (assoc-ref inputs "ffmpeg")) - (breeze (assoc-ref inputs "breeze"))) + (breeze (assoc-ref inputs "breeze")) + (breeze-icons (assoc-ref inputs "breeze-icons"))) (wrap-program (string-append out "/bin/kdenlive") `("PATH" ":" prefix ,(list (string-append ffmpeg "/bin"))) `("XDG_DATA_DIRS" ":" prefix - ,(list (string-append breeze "/share"))) + ,(list (string-append breeze "/share") + (string-append breeze-icons "/share"))) `("QT_PLUGIN_PATH" ":" prefix ,(list (getenv "QT_PLUGIN_PATH"))) `("FREI0R_PATH" ":" = @@ -225,7 +306,7 @@ projects.") (define-public kdevelop (package (name "kdevelop") - (version "5.5.2") + (version "5.6.1") (source (origin (method url-fetch) @@ -233,7 +314,7 @@ projects.") "/" version "/src/kdevelop-" version ".tar.xz")) (sha256 - (base32 "1nkl3z1n1l7ly2zvmbx2sdhx5q72wcvpwhzsz3qgw1474qd9i3i2")))) + (base32 "02ip5r67hjfpywkm3mz86n6wbqcr7996ifzfd2fyzsvm4998hi4y")))) (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) @@ -362,7 +443,7 @@ for some KDevelop language plugins (Ruby, PHP, CSS...).") (inputs `(("qtbase" ,qtbase) ("qtsvg" ,qtsvg))) - (home-page "https://cgit.kde.org/kdiagram.git/") + (home-page "https://invent.kde.org/graphics/kdiagram") (synopsis "Libraries for creating business diagrams") (description "This package provides libraries for integrating business diagrams in Qt-based applications. @@ -497,7 +578,7 @@ used in KDE development tools Kompare and KDevelop.") (define-public qca (package (name "qca") - (version "2.3.0") + (version "2.3.1") (source (origin (method url-fetch) @@ -505,7 +586,7 @@ used in KDE development tools Kompare and KDevelop.") "/qca-" version ".tar.xz")) (sha256 (base32 - "1mrj748yz1grgzmfbmffgjkpcqiaj1l3m4pbddwcj7dnl50yys0x")))) + "0jsfjwz84fc5jnl16aiwrcd6pgs5lzizm2896wildz5yk8852f61")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -518,7 +599,7 @@ used in KDE development tools Kompare and KDevelop.") straightforward and cross-platform API for a range of cryptographic features, including SSL/TLS, X.509 certificates, SASL, OpenPGP, S/MIME CMS, and smart cards.") - (license license:lgpl2.1))) + (license license:lgpl2.1+))) (define-public kpmcore (package @@ -765,6 +846,119 @@ Python, PHP, and Perl.") (description "Runtime library for kdegames") (license (list license:gpl2+ license:fdl1.2+)))) +(define-public okular + (package + (name "okular") + (version "20.12.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/" name "-" version ".tar.xz")) + (sha256 + (base32 "0gpm7n47yijsjg4yba561j5pbvd98hgvr93w1kvzk851nb87m89c")))) + (build-system qt-build-system) + ;; The tests fail because they can't find the proper mimetype plugins: + ;; "org.kde.okular.core: No plugin for mimetype '"image/jpeg"'." + ;; The built program seems to work okay, so we skip the tests for now. + (arguments + `(#:tests? #f + #:configure-flags + (list "-DBUILD_TESTING=OFF"))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools) + ("pkg-config" ,pkg-config))) + (inputs + `(("ebook-tools" ,ebook-tools) + ("breeze-icons" ,breeze-icons) + ("discount" ,discount) + ("djvulibre" ,djvulibre) + ("kactivities" ,kactivities) + ("khtml" ,khtml) + ("chmlib" ,chmlib) + ("kdegraphics-mobipocket" ,kdegraphics-mobipocket) + ("karchive" ,karchive) + ("kbookmarks" ,kbookmarks) + ("kcompletion" ,kcompletion) + ("kconfig" ,kconfig) + ("qtbase" ,qtbase) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libtiff" ,libtiff) + ("kirigami" ,kirigami) + ("purpose" ,purpose) + ("freetype" ,freetype) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("kparts" ,kparts) + ("kpty" ,kpty) + ("qtspeech" ,qtspeech) + ("kwallet" ,kwallet) + ("kwindowsystem" ,kwindowsystem) + ("libkexiv2" ,libkexiv2) + ("libspectre" ,libspectre) + ("libzip" ,libzip) + ("phonon" ,phonon) + ("poppler-qt5" ,poppler-qt5) + ("qca" ,qca) + ("qtdeclarative" ,qtdeclarative) + ("qtsvg" ,qtsvg) + ("threadweaver" ,threadweaver) + ("kcrash" ,kcrash) + ("kjs" ,kjs))) + (home-page "https://kde.org/applications/graphics/okular/") + (synopsis "Document viewer") + (description + "Okular is a document viewer developed for KDE. It can display files in +a variety of formats, including PDF, PostScript, DejaVu, and EPub.") + (license license:gpl2+))) + +(define-public kdegraphics-mobipocket + (package + (name "kdegraphics-mobipocket") + (version "20.12.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/" name "-" version ".tar.xz")) + (sha256 + (base32 "0fm880lp9g60zgrkjyh4jxws6x0s77l9ia4f8pza3w8sxcbbswk5")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("kio" ,kio) + ("qtbase" ,qtbase))) + (home-page "https://apps.kde.org/en/kdegraphics_mobipocket") + (synopsis "KDE thumbnailer for Mobipocket files") + (description "This package provides a KDE plugin that shows thumbnails of +Mobipocket e-books in Dolphin and other KDE apps.") + (license license:gpl2+))) + +(define-public libkexiv2 + (package + (name "libkexiv2") + (version "20.12.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/" name "-" version ".tar.xz")) + (sha256 + (base32 "0k0iinf7s8qlk3fwvq7iic1b4zn2gm65rfd58q7d3wb1i1j2hjjk")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("exiv2" ,exiv2) + ("qtbase" ,qtbase))) + (home-page "https://invent.kde.org/graphics/libkexiv2") + (synopsis "Manipulate the metadata of images") + (description "Libkexiv2 wraps the Exiv2 library, allowing to manipulate +picture metadata as EXIF/IPTC and XMP.") + (license license:gpl2+))) + (define-public zeroconf-ioslave (package (name "zeroconf-ioslave") |