emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#57999: closed ([PATCH] gnu: Add textpieces)


From: GNU bug Tracking System
Subject: bug#57999: closed ([PATCH] gnu: Add textpieces)
Date: Tue, 18 Oct 2022 10:16:01 +0000

Your message dated Tue, 18 Oct 2022 11:15:18 +0100
with message-id <875yghh1ym.fsf@cbaines.net>
and subject line Re: [bug#57999] [PATCH] gnu: Add textpieces
has caused the debbugs.gnu.org bug report #57999,
regarding [PATCH] gnu: Add textpieces
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
57999: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57999
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add textpieces Date: Thu, 22 Sep 2022 06:23:13 +0000
From: Sughosha <sughosha@proton.me>

* gnu/packages/text-editors.scm (textpieces): New variable.
---
 gnu/packages/text-editors.scm | 55 +++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 0c30a705b9..8852bbf067 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -45,6 +45,7 @@ (define-module (gnu packages text-editors)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages)
@@ -62,6 +63,7 @@ (define-module (gnu packages text-editors)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages haskell-xyz)
@@ -1260,3 +1262,56 @@ (define-public mle
 splitting, multiple cursors, and integration with various shell
 commands.")
     (license license:asl2.0)))
+
+(define-public textpieces
+  (package
+    (name "textpieces")
+    (version "3.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/liferooter/textpieces";)
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "14zq2c7js80m4cq8wpdb3kyz5sw96l8znbz027w8s94gqhm632ff"))))
+    (arguments
+     `(#:tests? #f ;fails to validate appstream file
+       #:glib-or-gtk? #t))
+    (build-system meson-build-system)
+    (native-inputs (list pkg-config
+                         vala
+                         desktop-file-utils
+                         appstream-glib
+                         gettext-minimal
+                         `(,glib "bin")
+                         blueprint-compiler
+                         `(,gtk "bin")))
+    (inputs (list gtk
+                  libadwaita
+                  gtksourceview
+                  json-glib
+                  libgee
+                  python
+                  python-pygobject
+                  python-pyyaml))
+    (home-page "https://github.com/liferooter/textpieces";)
+    (synopsis "Quick text processor")
+    (description
+     "Text Pieces tool for quick text transformations such as checksums,
+encoding, decoding and so on.
+
+The basic features of Text Pieces are:
+@itemize
+@item Base64 encoding and decoding
+@item SHA-1, SHA-2 and MD5 checksums
+@item Prettify and minify JSON
+@item Covert JSON to YAML and vice versa
+@item Count lines, symbols and words
+@item Escape and unescape string, URL and HTML
+@item Remove leading and trailing whitespaces
+@item Sort and reverse sort lines
+@item Reverse lines and whole text
+@item You can write your own scripts and create custom tools
+@end itemize")
+    (license license:gpl3)))
-- 
2.37.3



--- End Message ---
--- Begin Message --- Subject: Re: [bug#57999] [PATCH] gnu: Add textpieces Date: Tue, 18 Oct 2022 11:15:18 +0100 User-agent: mu4e 1.8.9; emacs 28.1
Sughosha <Sughosha@proton.me> writes:

> From c5737d59c0854162dfed9f580ca30b2c4a5fdfad Mon Sep 17 00:00:00 2001
> From: Sughosha <sughosha@proton.me>
> Date: Mon, 17 Oct 2022 07:09:40 +0200
> Subject: [PATCH] gnu: textpieces: Reorder dependencies and fix description
>
> * gnu/packages/textpieces.scm (textpieces)[description]: Fix description.
> [inputs]: Reorder dependencies.
> [native-inputs]: Reorder dependencies.
> ---
>  gnu/packages/text-editors.scm | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)

Thanks, I've pushed this to master as
3c7d4fdc30530f35005d2555a50bbe9fa4b12da7.

Chris

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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