unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Craven <david@craven.ch>
To: guix-devel@gnu.org
Subject: [PATCH 25/31] gnu: Add ktexteditor.
Date: Fri, 26 Aug 2016 23:52:54 +0200	[thread overview]
Message-ID: <20160826215300.12913-26-david@craven.ch> (raw)
In-Reply-To: <20160826215300.12913-1-david@craven.ch>

* 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

  parent reply	other threads:[~2016-08-26 21:54 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26 21:52 [PATCH 00/31] KDE Tier 3 Packages David Craven
2016-08-26 21:52 ` [PATCH 01/31] gnu: qtbase: Add native search paths David Craven
2016-08-27  6:21   ` Ricardo Wurmus
2016-08-28  5:36     ` Efraim Flashner
2016-08-28 13:16       ` David Craven
2016-08-26 21:52 ` [PATCH 02/31] gnu: qt: Import licenses using #:prefix license: David Craven
2016-08-27  6:25   ` Ricardo Wurmus
2016-08-26 21:52 ` [PATCH 03/31] build: Add wrap-qt-program David Craven
2016-08-27  6:30   ` Ricardo Wurmus
2016-08-26 21:52 ` [PATCH 04/31] gnu: Add baloo David Craven
2016-08-27  6:32   ` Ricardo Wurmus
2016-08-29 11:21     ` David Craven
2016-08-30 20:43       ` David Craven
2016-08-26 21:52 ` [PATCH 05/31] gnu: Add kactivities David Craven
2016-08-27  6:38   ` Ricardo Wurmus
2016-08-28  9:38   ` Efraim Flashner
2016-08-28 10:14     ` David Craven
2016-08-26 21:52 ` [PATCH 06/31] gnu: Add kactivities-stats David Craven
2016-08-27  6:41   ` Ricardo Wurmus
2016-08-27  8:41     ` David Craven
2016-08-26 21:52 ` [PATCH 07/31] gnu: Add kbookmarks David Craven
2016-08-26 21:52 ` [PATCH 08/31] gnu: Add kcmutils David Craven
2016-08-26 21:52 ` [PATCH 09/31] gnu: Add kconfigwidgets David Craven
2016-08-26 21:52 ` [PATCH 10/31] gnu: Add kdeclarative David Craven
2016-08-26 21:52 ` [PATCH 11/31] gnu: Add kded David Craven
2016-08-26 21:52 ` [PATCH 12/31] gnu: Add kdesignerplugin David Craven
2016-08-26 21:52 ` [PATCH 13/31] gnu: Add kdesu David Craven
2016-08-26 21:52 ` [PATCH 14/31] gnu: Add kemoticons David Craven
2016-08-26 21:52 ` [PATCH 15/31] gnu: Add kglobalaccel David Craven
2016-08-26 21:52 ` [PATCH 16/31] gnu: Add kiconthemes David Craven
2016-08-26 21:52 ` [PATCH 17/31] gnu: Add kinit David Craven
2016-08-26 21:52 ` [PATCH 18/31] gnu: Add kio David Craven
2016-08-26 21:52 ` [PATCH 19/31] gnu: Add knewstuff David Craven
2016-08-26 21:52 ` [PATCH 20/31] gnu: Add knotifyconfig David Craven
2016-08-26 21:52 ` [PATCH 21/31] gnu: Add kparts David Craven
2016-08-26 21:52 ` [PATCH 22/31] gnu: Add kpeople David Craven
2016-08-26 21:52 ` [PATCH 23/31] gnu: Add krunner David Craven
2016-08-26 21:52 ` [PATCH 24/31] gnu: Add kservice David Craven
2016-08-26 21:52 ` David Craven [this message]
2016-08-26 21:52 ` [PATCH 26/31] gnu: Add ktextwidgets David Craven
2016-08-26 21:52 ` [PATCH 27/31] gnu: Add kwallet David Craven
2016-08-26 21:52 ` [PATCH 28/31] gnu: Add kxmlgui David Craven
2016-08-26 21:52 ` [PATCH 29/31] gnu: Add kxmlrpcclient David Craven
2016-08-26 21:52 ` [PATCH 30/31] gnu: Add plasma-framework David Craven
2016-08-26 21:53 ` [PATCH 31/31] gnu: Add kpmcore David Craven
2016-08-29  7:56 ` [PATCH 00/31] KDE Tier 3 Packages Hartmut Goebel
2016-08-31 20:29   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160826215300.12913-26-david@craven.ch \
    --to=david@craven.ch \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).