From patchwork Sun Oct 27 16:08:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 69538 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7D74C27BBEA; Sun, 27 Oct 2024 16:09:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0DD7327BBE2 for ; Sun, 27 Oct 2024 16:09:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t55pZ-0007f5-3U; Sun, 27 Oct 2024 12:09:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t55pX-0007ew-HC for guix-patches@gnu.org; Sun, 27 Oct 2024 12:09:27 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t55pX-0004va-95 for guix-patches@gnu.org; Sun, 27 Oct 2024 12:09:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=d74J7S686IMLp2HXsmUX4qHrEJP66MClNkft4KcFiOo=; b=r8PsoIU6eo98Nz0O5om0If4hNdDT7ZUVpezn4kq5J5lx0qbMSReaxZdrTSWSFCZxoogJnCJ1+Ew1ubaugLYKXCvrtciXoS8sGW7Yzs9MLrDS+MXjM2p3YKN7D/ofnG6NZEJmR5yNKfVBDsQLW6RKk3Kb4vbGZVoveSAXPw1cRBKso1Dn4VEB+IfYEkrb5EzMW4qfL00egCd4xIk3WrhnnJKF8NUVVGLpVO4DoB1HmgCdmCCZfz/nFUO3DptBfUXwxwf0hiSKK2JndR3Y5KUkpbhi3Ul0KMkEJI050oB0n+EtlLd+ctJJxlVIZzV78YfFY+bpmXqk2OqIrDyxAYSaOA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t55q6-0005fU-5j for guix-patches@gnu.org; Sun, 27 Oct 2024 12:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74047] [PATCH 2/2] gnu: Add ghostwriter. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Oct 2024 16:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74047 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74047@debbugs.gnu.org Cc: Sughosha Received: via spool by 74047-submit@debbugs.gnu.org id=B74047.173004537821736 (code B ref 74047); Sun, 27 Oct 2024 16:10:02 +0000 Received: (at 74047) by debbugs.gnu.org; 27 Oct 2024 16:09:38 +0000 Received: from localhost ([127.0.0.1]:45980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t55ph-0005eW-HN for submit@debbugs.gnu.org; Sun, 27 Oct 2024 12:09:37 -0400 Received: from layka.disroot.org ([178.21.23.139]:33064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t55pf-0005eM-JC for 74047@debbugs.gnu.org; Sun, 27 Oct 2024 12:09:36 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 033C425189; Sun, 27 Oct 2024 17:09:00 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id b_Abhh2xuo6h; Sun, 27 Oct 2024 17:08:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1730045339; bh=gSvl8G2RQ+xq4epk49j1GfRzVW86zZqYS0EHv/OcZpg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=YVXuhK0YeupChqLPcaxTl0SY3DNQkMhy+EA8ku9VZf2tQeTSr5KKpxyqcOoR2vNdE CZGnRwIDYpYdTXzdWJdCbE5rsiiqi44f3gN0HSEZaEGwxWc4nPnOg32o2sL/KZVbTG 4kPVlJ+s6fzqFJ54KoZ8AEBcuVBF/pmuToNTA5lLlr1uiaHJFyhLxHXD/iUVY5bND0 5s2XYq7PC7SYncxbprVPr5JOCVb8mM5Go3zzD5KNbJbn07VXmJVAilM5pHZAf4IGW0 l5caGQksQjK+wIQkr+aUSrRE3H9WKDXyBqWKl6OY19jlmFL9z+Vzu0RIDO9UmaqB60 lGGYowm1wiXlQ== Date: Sun, 27 Oct 2024 21:38:15 +0530 Message-ID: <3e0dc8cc9f96d65153e4eb2837f9cb84218f426a.1730045295.git.sughosha@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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+)))