[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 25/31] gnu: Add ktexteditor.
From: |
David Craven |
Subject: |
[PATCH 25/31] gnu: Add ktexteditor. |
Date: |
Fri, 26 Aug 2016 23:52:54 +0200 |
* gnu/packages/kde-frameworks.scm (ktexteditor): New variable.
---
gnu/packages/kde-frameworks.scm | 67 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 57a9638..d90e9de 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -45,6 +45,7 @@
#:use-module (gnu packages polkit)
#:use-module (gnu packages python)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
@@ -2421,3 +2422,69 @@ typed.")
services. Services can be applications or libraries. They can be bound to
MIME
types or handled by application specific code.")
(license (list license:gpl2+ license:gpl3+ license:lgpl2.1+))))
+
+(define-public ktexteditor
+ (package
+ (name "ktexteditor")
+ (version "5.24.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1ykj1kvm7k1vxb1w235d5hp2swwdqjyp2y4c3pxbvkn999h9x5q5"))))
+ (build-system cmake-build-system)
+ (propagated-inputs
+ `(("kparts" ,kparts)))
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+ (inputs
+ `(("karchive" ,karchive)
+ ("kauth" ,kauth)
+ ("kbookmarks" ,kbookmarks)
+ ("kcodecs" ,kcodecs)
+ ("kcompletion" ,kcompletion)
+ ("kconfig" ,kconfig)
+ ("kconfigwidgets" ,kconfigwidgets)
+ ("kcoreaddons" ,kcoreaddons)
+ ("kguiaddons" ,kguiaddons)
+ ("kiconthemes" ,kiconthemes)
+ ("kio" ,kio)
+ ("kitemviews" ,kitemviews)
+ ("ki18n" ,ki18n)
+ ("kjobwidgets" ,kjobwidgets)
+ ("kservice" ,kservice)
+ ("ktextwidgets" ,ktextwidgets)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("kxmlgui" ,kxmlgui)
+ ("libgit2" ,libgit2)
+ ("perl" ,perl)
+ ("qtbase" ,qtbase)
+ ("qtscript" ,qtscript)
+ ("qtxmlpatterns" ,qtxmlpatterns)
+ ("solid" ,solid)
+ ("sonnet" ,sonnet)))
+ (arguments
+ `(#:tests? #f ; FIXME: 2/54 tests fail: Cannot find fontdirectory
qtbase/lib/font
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'setup
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "XDG_DATA_DIRS" ; FIXME build phase doesn't find
parts.desktop
+ (string-append (assoc-ref inputs "kparts") "/share"))
+ #t))
+ (add-before 'check 'check-setup
+ (lambda _
+ (setenv "HOME" (getcwd))
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ (setenv "CTEST_OUTPUT_ON_FAILURE")
+ #t)))))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "Full text editor component")
+ (description "KTextEditor provides a powerful text editor component that
you
+can embed in your application, either as a KPart or using the KF5::TextEditor
+library.")
+ (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
--
2.9.0
- [PATCH 23/31] gnu: Add krunner., (continued)
- [PATCH 23/31] gnu: Add krunner., David Craven, 2016/08/26
- [PATCH 21/31] gnu: Add kparts., David Craven, 2016/08/26
- [PATCH 18/31] gnu: Add kio., David Craven, 2016/08/26
- [PATCH 24/31] gnu: Add kservice., David Craven, 2016/08/26
- [PATCH 28/31] gnu: Add kxmlgui., David Craven, 2016/08/26
- [PATCH 29/31] gnu: Add kxmlrpcclient., David Craven, 2016/08/26
- [PATCH 30/31] gnu: Add plasma-framework., David Craven, 2016/08/26
- [PATCH 26/31] gnu: Add ktextwidgets., David Craven, 2016/08/26
- [PATCH 22/31] gnu: Add kpeople., David Craven, 2016/08/26
- [PATCH 31/31] gnu: Add kpmcore., David Craven, 2016/08/26
- [PATCH 25/31] gnu: Add ktexteditor.,
David Craven <=
- [PATCH 27/31] gnu: Add kwallet., David Craven, 2016/08/26
- Re: [PATCH 00/31] KDE Tier 3 Packages, Hartmut Goebel, 2016/08/29