all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sughosha via Guix-patches via <guix-patches@gnu.org>
To: 74047@debbugs.gnu.org
Cc: Sughosha <sughosha@disroot.org>
Subject: [bug#74047] [PATCH 2/2] gnu: Add ghostwriter.
Date: Sun, 27 Oct 2024 21:38:15 +0530	[thread overview]
Message-ID: <3e0dc8cc9f96d65153e4eb2837f9cb84218f426a.1730045295.git.sughosha@disroot.org> (raw)
In-Reply-To: <b9a5eb071e5d2a0e9edbd3e31ff3929262d829a2.1730045295.git.sughosha@disroot.org>

* 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	other threads:[~2024-10-27 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-27 16:02 [bug#74047] [PATCH 0/2] gnu: ghostwriter: Redefine variable Sughosha via Guix-patches via
2024-10-27 16:08 ` [bug#74047] [PATCH 1/2] gnu: Remove ghostwriter Sughosha via Guix-patches via
2024-10-27 16:08   ` Sughosha via Guix-patches via [this message]
2024-10-28  4:33 ` [bug#74047] [PATCH 0/2] gnu: ghostwriter: Redefine variable Z572

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

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

  git send-email \
    --in-reply-to=3e0dc8cc9f96d65153e4eb2837f9cb84218f426a.1730045295.git.sughosha@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=74047@debbugs.gnu.org \
    --cc=sughosha@disroot.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.