From unknown Sun Jun 15 08:56:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38881] [PATCH] Add manuskript Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Jan 2020 00:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38881 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38881@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157800972823006 (code B ref -1); Fri, 03 Jan 2020 00:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jan 2020 00:02:08 +0000 Received: from localhost ([127.0.0.1]:40209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inAPj-0005yu-TN for submit@debbugs.gnu.org; Thu, 02 Jan 2020 19:02:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:55474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inAPi-0005yn-7b for submit@debbugs.gnu.org; Thu, 02 Jan 2020 19:02:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36135) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inAPg-0005HB-Fp for guix-patches@gnu.org; Thu, 02 Jan 2020 19:02:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inAPe-0001eN-Bg for guix-patches@gnu.org; Thu, 02 Jan 2020 19:01:59 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:60423) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1inAPd-0001bL-Vh for guix-patches@gnu.org; Thu, 02 Jan 2020 19:01:58 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 03C12C0003 for ; Fri, 3 Jan 2020 00:01:54 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 03 Jan 2020 01:01:53 +0100 Message-ID: <87o8vlwgpa.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.198 X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) --=-=-= Content-Type: text/plain Hello, The following patch adds Manuskript. Feedback welcome. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-manuskript.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add manuskript >From 5d48847bc62fcfade79b349424e8a8e2eb9ee694 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 3 Jan 2020 00:59:01 +0100 Subject: [PATCH] gnu: Add manuskript. * gnu/packages/text-editors.scm (manuskript): New variable. --- gnu/packages/text-editors.scm | 106 +++++++++++++++++++++++++++++++++- 1 file changed, 105 insertions(+), 1 deletion(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 4ab6e1e2ec..b0d2af0033 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -8,7 +8,7 @@ ;;; Copyright =C2=A9 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 Efraim Flashner ;;; Copyright =C2=A9 2019 Andreas Enge -;;; Copyright =C2=A9 2019 Nicolas Goaziou +;;; Copyright =C2=A9 2019, 2020 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +33,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) #:use-module (guix build-system glib-or-gtk) + #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages assembly) @@ -45,6 +46,7 @@ #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages libbsd) #:use-module (gnu packages libreoffice) #:use-module (gnu packages lua) @@ -354,6 +356,108 @@ team.") environment with Markdown markup.") (license license:gpl3+))) ; icons/* under CC-BY-SA3 =20 +(define-public manuskript + (package + (name "manuskript") + (version "0.10.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/olivierkes/manuskript.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q413vym7hzjpyg3krj5y63hwpncdifjkyswqmr76zg5yqnklnh3")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ;no test + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share/manuskript"))) + ;; Install data. + (mkdir-p share) + (for-each + (lambda (d) + (let ((destination (string-append share "/" d))) + (mkdir-p destination) + (copy-recursively d destination))) + '("bin" "i18n" "icons" "libs" "manuskript" "resources")) + ;; Install documentation. + (let ((doc (string-append out + "/doc/manuskript-" ,version + "/sample-projects"))) + (mkdir-p doc) + (copy-recursively "sample-projects" doc)) + ;; Wrap executable in "$out/share/manuskript/bin" and + ;; link to it from "$out/bin". + (let ((bin (string-append out "/bin")) + (executable (string-append share "/bin/manuskript"))) + (wrap-program executable + (list "PYTHONPATH" 'prefix (list (getenv "PYTHONPATH"))= )) + (mkdir-p bin) + (with-directory-excursion bin + (symlink (string-append share "/bin/manuskript") + "manuskript"))) + ;; Install icons and create .desktop file. + (let ((apps (string-append out "/share/applications")) + (icons-dir (string-append out "/share/pixmaps"))) + (install-file "icons/Manuskript/manuskript.svg" icons-dir) + (mkdir-p apps) + (with-output-to-file (string-append apps "/manuskript.des= ktop") + (lambda _ + (format #t + "[Desktop Entry]~@ + Name=3DManuskript~@ + MimeType=3Dapplication/x-manuskript-book;~@ + Exec=3D~a/bin/manuskript %f~@ + Comment=3DTool for writers~@ + Comment[es]=3DHerramienta para escritores/as~@ + Keywords=3Dmanuskript;office;write;edit;novel;tex= t;msk~@ + Terminal=3Dfalse~@ + Type=3DApplication~@ + Icon=3Dmanuskript~@ + Categories=3DOffice;WordProcessor;~%" + out)))) + #t)))))) + (inputs + `(("ghc-pandoc" ,ghc-pandoc) + ("python-lxml" ,python-lxml) + ("python-markdown" ,python-markdown) + ("python-pyqt" ,python-pyqt) + ("qtsvg" ,qtsvg))) + (home-page "http://www.theologeek.ch/manuskript/") + (synopsis "Tool for writers") + (description "Manuskript provides a rich environment to help +writers create their first draft and then further refine and edit +their masterpiece. With Manuskript you can: + +@itemize +@item Grow your premise from one sentence, to a paragraph, to a full +summary, +@item Create characters, +@item Conceive plots, +@item Construct outlines (Outline mode and/or Index cards), +@item Write with focus (Distraction free mode), +@item Build worlds, +@item Track items, +@item Edit and re-organize chapters and scenes, +@item View Story line, +@item Compose with fiction or non-fiction templates and writing modes, +@item Import and export document formats such as HTML, ePub, +OpenDocument, DocX, and more. +@end itemize + +Additionally Manuskript can help in many more ways with a spell +checker, markdown highlighter, frequency analyzer, and automatic save +in plain text file format.") + (license license:gpl3+))) + (define-public editorconfig-core-c (package (name "editorconfig-core-c") --=20 2.24.1 --=-=-=-- From unknown Sun Jun 15 08:56:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38881] [PATCH] Add manuskript Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Jan 2020 21:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38881 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 38881@debbugs.gnu.org Received: via spool by 38881-submit@debbugs.gnu.org id=B38881.157912236515326 (code B ref 38881); Wed, 15 Jan 2020 21:07:02 +0000 Received: (at 38881) by debbugs.gnu.org; 15 Jan 2020 21:06:05 +0000 Received: from localhost ([127.0.0.1]:35841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irprV-0003yt-Aj for submit@debbugs.gnu.org; Wed, 15 Jan 2020 16:06:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irprP-0003yQ-F6 for 38881@debbugs.gnu.org; Wed, 15 Jan 2020 16:05:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1irprJ-0007eT-RO; Wed, 15 Jan 2020 16:05:49 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52498 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1irprJ-0005Fh-6p; Wed, 15 Jan 2020 16:05:49 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o8vlwgpa.fsf@nicolasgoaziou.fr> Date: Wed, 15 Jan 2020 22:05:47 +0100 In-Reply-To: <87o8vlwgpa.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 03 Jan 2020 01:01:53 +0100") Message-ID: <87eew0ph04.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Nicolas Goaziou skribis: >>>From 5d48847bc62fcfade79b349424e8a8e2eb9ee694 Mon Sep 17 00:00:00 2001 > From: Nicolas Goaziou > Date: Fri, 3 Jan 2020 00:59:01 +0100 > Subject: [PATCH] gnu: Add manuskript. > > * gnu/packages/text-editors.scm (manuskript): New variable. LGTM, thanks! Ludo=E2=80=99. From unknown Sun Jun 15 08:56:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nicolas Goaziou Subject: bug#38881: closed (Re: [bug#38881] [PATCH] Add manuskript) Message-ID: References: <87sgkgv0s2.fsf@nicolasgoaziou.fr> <87o8vlwgpa.fsf@nicolasgoaziou.fr> X-Gnu-PR-Message: they-closed 38881 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 38881@debbugs.gnu.org Date: Wed, 15 Jan 2020 22:00:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1579125602-20963-1" This is a multi-part message in MIME format... ------------=_1579125602-20963-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38881: [PATCH] Add manuskript which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38881@debbugs.gnu.org. --=20 38881: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38881 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1579125602-20963-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38881-done) by debbugs.gnu.org; 15 Jan 2020 21:59:46 +0000 Received: from localhost ([127.0.0.1]:36411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irqhW-0005RP-Gi for submit@debbugs.gnu.org; Wed, 15 Jan 2020 16:59:46 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:54405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irqhV-0005RH-4W for 38881-done@debbugs.gnu.org; Wed, 15 Jan 2020 16:59:46 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 46973240004; Wed, 15 Jan 2020 21:59:43 +0000 (UTC) From: Nicolas Goaziou To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#38881] [PATCH] Add manuskript References: <87o8vlwgpa.fsf@nicolasgoaziou.fr> <87eew0ph04.fsf@gnu.org> Date: Wed, 15 Jan 2020 22:59:41 +0100 In-Reply-To: <87eew0ph04.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 15 Jan 2020 22:05:47 +0100") Message-ID: <87sgkgv0s2.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 38881-done Cc: 38881-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Ludovic Court=C3=A8s writes: > Nicolas Goaziou skribis: > >>>>From 5d48847bc62fcfade79b349424e8a8e2eb9ee694 Mon Sep 17 00:00:00 2001 >> From: Nicolas Goaziou >> Date: Fri, 3 Jan 2020 00:59:01 +0100 >> Subject: [PATCH] gnu: Add manuskript. >> >> * gnu/packages/text-editors.scm (manuskript): New variable. > > LGTM, thanks! Applied as 1fffba664d71f3a8669b5eefd2c4a83dca5bacce. Thank you! Regards, --=20 Nicolas Goaziou ------------=_1579125602-20963-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Jan 2020 00:02:08 +0000 Received: from localhost ([127.0.0.1]:40209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inAPj-0005yu-TN for submit@debbugs.gnu.org; Thu, 02 Jan 2020 19:02:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:55474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inAPi-0005yn-7b for submit@debbugs.gnu.org; Thu, 02 Jan 2020 19:02:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36135) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inAPg-0005HB-Fp for guix-patches@gnu.org; Thu, 02 Jan 2020 19:02:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inAPe-0001eN-Bg for guix-patches@gnu.org; Thu, 02 Jan 2020 19:01:59 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:60423) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1inAPd-0001bL-Vh for guix-patches@gnu.org; Thu, 02 Jan 2020 19:01:58 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 03C12C0003 for ; Fri, 3 Jan 2020 00:01:54 +0000 (UTC) From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] Add manuskript Date: Fri, 03 Jan 2020 01:01:53 +0100 Message-ID: <87o8vlwgpa.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.198 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) --=-=-= Content-Type: text/plain Hello, The following patch adds Manuskript. Feedback welcome. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-manuskript.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add manuskript >From 5d48847bc62fcfade79b349424e8a8e2eb9ee694 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 3 Jan 2020 00:59:01 +0100 Subject: [PATCH] gnu: Add manuskript. * gnu/packages/text-editors.scm (manuskript): New variable. --- gnu/packages/text-editors.scm | 106 +++++++++++++++++++++++++++++++++- 1 file changed, 105 insertions(+), 1 deletion(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 4ab6e1e2ec..b0d2af0033 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -8,7 +8,7 @@ ;;; Copyright =C2=A9 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 Efraim Flashner ;;; Copyright =C2=A9 2019 Andreas Enge -;;; Copyright =C2=A9 2019 Nicolas Goaziou +;;; Copyright =C2=A9 2019, 2020 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +33,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) #:use-module (guix build-system glib-or-gtk) + #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages assembly) @@ -45,6 +46,7 @@ #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages libbsd) #:use-module (gnu packages libreoffice) #:use-module (gnu packages lua) @@ -354,6 +356,108 @@ team.") environment with Markdown markup.") (license license:gpl3+))) ; icons/* under CC-BY-SA3 =20 +(define-public manuskript + (package + (name "manuskript") + (version "0.10.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/olivierkes/manuskript.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q413vym7hzjpyg3krj5y63hwpncdifjkyswqmr76zg5yqnklnh3")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ;no test + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share/manuskript"))) + ;; Install data. + (mkdir-p share) + (for-each + (lambda (d) + (let ((destination (string-append share "/" d))) + (mkdir-p destination) + (copy-recursively d destination))) + '("bin" "i18n" "icons" "libs" "manuskript" "resources")) + ;; Install documentation. + (let ((doc (string-append out + "/doc/manuskript-" ,version + "/sample-projects"))) + (mkdir-p doc) + (copy-recursively "sample-projects" doc)) + ;; Wrap executable in "$out/share/manuskript/bin" and + ;; link to it from "$out/bin". + (let ((bin (string-append out "/bin")) + (executable (string-append share "/bin/manuskript"))) + (wrap-program executable + (list "PYTHONPATH" 'prefix (list (getenv "PYTHONPATH"))= )) + (mkdir-p bin) + (with-directory-excursion bin + (symlink (string-append share "/bin/manuskript") + "manuskript"))) + ;; Install icons and create .desktop file. + (let ((apps (string-append out "/share/applications")) + (icons-dir (string-append out "/share/pixmaps"))) + (install-file "icons/Manuskript/manuskript.svg" icons-dir) + (mkdir-p apps) + (with-output-to-file (string-append apps "/manuskript.des= ktop") + (lambda _ + (format #t + "[Desktop Entry]~@ + Name=3DManuskript~@ + MimeType=3Dapplication/x-manuskript-book;~@ + Exec=3D~a/bin/manuskript %f~@ + Comment=3DTool for writers~@ + Comment[es]=3DHerramienta para escritores/as~@ + Keywords=3Dmanuskript;office;write;edit;novel;tex= t;msk~@ + Terminal=3Dfalse~@ + Type=3DApplication~@ + Icon=3Dmanuskript~@ + Categories=3DOffice;WordProcessor;~%" + out)))) + #t)))))) + (inputs + `(("ghc-pandoc" ,ghc-pandoc) + ("python-lxml" ,python-lxml) + ("python-markdown" ,python-markdown) + ("python-pyqt" ,python-pyqt) + ("qtsvg" ,qtsvg))) + (home-page "http://www.theologeek.ch/manuskript/") + (synopsis "Tool for writers") + (description "Manuskript provides a rich environment to help +writers create their first draft and then further refine and edit +their masterpiece. With Manuskript you can: + +@itemize +@item Grow your premise from one sentence, to a paragraph, to a full +summary, +@item Create characters, +@item Conceive plots, +@item Construct outlines (Outline mode and/or Index cards), +@item Write with focus (Distraction free mode), +@item Build worlds, +@item Track items, +@item Edit and re-organize chapters and scenes, +@item View Story line, +@item Compose with fiction or non-fiction templates and writing modes, +@item Import and export document formats such as HTML, ePub, +OpenDocument, DocX, and more. +@end itemize + +Additionally Manuskript can help in many more ways with a spell +checker, markdown highlighter, frequency analyzer, and automatic save +in plain text file format.") + (license license:gpl3+))) + (define-public editorconfig-core-c (package (name "editorconfig-core-c") --=20 2.24.1 --=-=-=-- ------------=_1579125602-20963-1--