all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pavel Shlyak <p.shlyak@pantherx.org>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 56840@debbugs.gnu.org
Subject: [bug#56840] [PATCH] FeatherPad package
Date: Mon, 1 Aug 2022 23:51:18 +0300	[thread overview]
Message-ID: <E41C1718-4610-4F58-9924-29859E23EDF3@pantherx.org> (raw)
In-Reply-To: <b339ec97-3e25-4029-ad28-d7991dabd86f@telenet.be>

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]


> -- quite likely, it won't actually work without -- try "guix shell --pure featherpad -- featherpad" (the --pure is important). Does that work?

It works fine on my machine. However, I decided to follow guidelines and to use qt-build-system just in case. Here is the patch.

[-- Attachment #2: 0001-gnu-featherpad-new-package.patch --]
[-- Type: application/octet-stream, Size: 2714 bytes --]

From aac4a029a0dfc0489ec5d0c03d7f1b46062d9128 Mon Sep 17 00:00:00 2001
From: Pavel Shlyak <p.shlyak@pantherx.org>
Date: Sat, 30 Jul 2022 13:57:30 +0300
Subject: [PATCH] gnu: featherpad: new package.

    * gnu/packages/text-editors.scm (featherpad): new package.
---
 gnu/packages/text-editors.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 0c8531cc4d..a2a311643f 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -19,6 +19,9 @@
 ;;; Copyright © 2021 Calum Irwin <calumirwin1@gmail.com>
 ;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
 ;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
+;;; Copyright © 2018 Fakhri Sajadi <f.sajadi@pantherx.org>
+;;; Copyright © 2021 Reza Alizadeh Majd <r.majd@pantherx.org>
+;;; Copyright © 2022 Pavel Shlyak <p.shlyak@pantherx.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -46,6 +49,7 @@ (define-module (gnu packages text-editors)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system qt)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages)
   #:use-module (gnu packages aspell)
@@ -849,6 +853,32 @@ (define-public editorconfig-core-c
 editors.")
     (license license:bsd-2)))
 
+(define-public featherpad
+  (package
+    (name "featherpad")
+    (version "1.3.0")
+    (home-page "https://github.com/tsujan/FeatherPad")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "V" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1knxf05lfvpfkj4lxi71kidg2f7nfkgsidb45m86h9mnbqmxzjcg"))))
+    (build-system qt-build-system)
+    (arguments (list #:tests? #f))           ;no upstream tests
+    (native-inputs (list pkg-config qttools))           ; for lrelease
+    (inputs (list hunspell qtsvg qtx11extras qtbase-5))
+    (synopsis "GUI Plain-text editor")
+    (description "FeatherPad is a GUI plain-text editor.
+It is independent of any desktop environment and has
+syntax highlighting, session management, side-pane mode, auto-saving,
+spell checking, drag and drop support, instant highlighting
+and automatic detection of text encoding..")
+    (license license:gpl3+)))
+
 (define-public texmacs
   (package
     (name "texmacs")
-- 
2.32.1 (Apple Git-133)


  reply	other threads:[~2022-08-01 20:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-30 12:31 [bug#56840] [PATCH] FeatherPad package Pavel Shlyak
2022-07-30 13:00 ` Maxime Devos
2022-07-30 14:59   ` Pavel Shlyak
2022-07-30 21:52     ` Pavel Shlyak
2022-07-30 23:17       ` Maxime Devos
2022-08-01 20:51         ` Pavel Shlyak [this message]
2022-08-01 21:58           ` Pavel Shlyak
2022-08-11  7:58             ` Mathieu Othacehe
2022-10-05 15:37               ` Pavel Shlyak
2022-07-30 13:52 ` Tsu Jan
2022-07-30 23:31   ` Maxime Devos
2022-08-20 10:26 ` Pavel Shlyak

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=E41C1718-4610-4F58-9924-29859E23EDF3@pantherx.org \
    --to=p.shlyak@pantherx.org \
    --cc=56840@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /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.