[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/31: gnu: Add ktexteditor.
From: |
David Craven |
Subject: |
25/31: gnu: Add ktexteditor. |
Date: |
Tue, 30 Aug 2016 20:39:57 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit def00811a427db5e65f4cfbdcd2fd41e57a28b2c
Author: David Craven <address@hidden>
Date: Sun Aug 7 20:24:49 2016 +0200
gnu: Add ktexteditor.
* gnu/packages/kde-frameworks.scm (ktexteditor): New variable.
---
gnu/packages/kde-frameworks.scm | 68 +++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index f536861..9afbf90 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))
@@ -2417,3 +2418,70 @@ services. Services can be applications or libraries.
They can be bound to MIME
types or handled by application specific code.")
;; triple licensed
(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" "1")
+ #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.")
+ ;; triple licensed
+ (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
- 12/31: gnu: Add kdesignerplugin., (continued)
- 12/31: gnu: Add kdesignerplugin., David Craven, 2016/08/30
- 19/31: gnu: Add knewstuff., David Craven, 2016/08/30
- 23/31: gnu: Add krunner., David Craven, 2016/08/30
- 07/31: gnu: Add kbookmarks., David Craven, 2016/08/30
- 08/31: gnu: Add kcmutils., David Craven, 2016/08/30
- 13/31: gnu: Add kdesu., David Craven, 2016/08/30
- 01/31: gnu: qtbase: Add native search paths., David Craven, 2016/08/30
- 16/31: gnu: Add kiconthemes., David Craven, 2016/08/30
- 17/31: gnu: Add kinit., David Craven, 2016/08/30
- 24/31: gnu: Add kservice., David Craven, 2016/08/30
- 25/31: gnu: Add ktexteditor.,
David Craven <=
- 09/31: gnu: Add kconfigwidgets., David Craven, 2016/08/30
- 22/31: gnu: Add kpeople., David Craven, 2016/08/30
- 03/31: build: Add wrap-qt-program., David Craven, 2016/08/30
- 20/31: gnu: Add knotifyconfig., David Craven, 2016/08/30
- 31/31: gnu: Add kpmcore., David Craven, 2016/08/30
- 18/31: gnu: Add kio., David Craven, 2016/08/30
- 26/31: gnu: Add ktextwidgets., David Craven, 2016/08/30
- 29/31: gnu: Add kxmlrpcclient., David Craven, 2016/08/30
- 30/31: gnu: Add plasma-framework., David Craven, 2016/08/30
- 15/31: gnu: Add kglobalaccel., David Craven, 2016/08/30