guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74047] [PATCH 2/2] gnu: Add ghostwriter.


From: Sughosha
Subject: [bug#74047] [PATCH 2/2] gnu: Add ghostwriter.
Date: Sun, 27 Oct 2024 21:38:15 +0530

* gnu/packages/kde-office.scm (ghostwriter): New variable.

Change-Id: I634e4ecab8c53aa67eb521f479d1acff6540c9fe
---
 gnu/packages/kde-office.scm | 40 +++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm
index c4e3c757b5..66ec5ec0ec 100644
--- a/gnu/packages/kde-office.scm
+++ b/gnu/packages/kde-office.scm
@@ -30,6 +30,7 @@ (define-module (gnu packages kde-office)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages graphics)
+  #:use-module (gnu packages hunspell)
   #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages libreoffice)
@@ -142,3 +143,42 @@ (define-public calligra
 @item KFormula: Mathematical formulas
 @end itemize")
     (license (list license:lgpl2.0+ license:gpl2+))))
+
+(define-public ghostwriter
+  (package
+    (name "ghostwriter")
+    (version "24.05.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/release-service/" 
version
+                                    "/src/ghostwriter-" version ".tar.xz"))
+              (sha256
+               (base32 
"181izld9wnbwlknw7h876ysranqqvbvb0h2p4ky54jfb82f9h513"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase
+            #:configure-flags
+            #~(list "-DQT_MAJOR_VERSION=6"
+                     "-DBUILD_TESTING=ON")))
+    (native-inputs
+     (list extra-cmake-modules kdoctools pkg-config qttools))
+    (inputs
+     (list hunspell
+            kconfigwidgets
+            kcoreaddons
+            kwidgetsaddons
+            kxmlgui
+            qt5compat
+            qtsvg
+            qtwebchannel
+            qtwebengine
+            sonnet))
+    (home-page "https://ghostwriter.kde.org/";)
+    (synopsis "Text editor for Markdown")
+    (description "@code{ghostwriter} is a text editor for Markdown, which is a 
plain
+text markup format.  It features a live HTML preview as you type, theme
+creation, focus mode, fullscreen mode, live word count, and document navigation
+in an aesthetic writing environment.  It comes with the cmark-gfm Markdown
+processor built in, and can integrate with Pandoc, MultiMarkdown, Discount, and
+cmark processors if they are installed.")
+    (license license:gpl3+)))
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]