GNU bug report logs - #76635
[PATCH v2] gnu: Add dte.

Previous Next

Package: guix-patches;

Reported by: ashish.is <at> lostca.se

Date: Fri, 28 Feb 2025 09:45:04 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76635 in the body.
You can then email your comments to 76635 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#76635; Package guix-patches. (Fri, 28 Feb 2025 09:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to ashish.is <at> lostca.se:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 28 Feb 2025 09:45:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ashish.is <at> lostca.se
To: guix-patches <at> gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH] gnu: Add dte.
Date: Fri, 28 Feb 2025 10:42:10 +0100
From: Ashish SHUKLA <ashish.is <at> lostca.se>

* gnu/packages/text-editors.scm (dte): New variable.

Change-Id: I1fdee33377b055a43cf61364f43a6dcbaf04a024
---
Hi,

This patch adds dte, a console based text editor, which is fairly fast, portable, and has a few modern features.

Thanks!

 gnu/packages/text-editors.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index e96fceb510..d006b7909d 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -37,6 +37,7 @@
 ;;; Copyright © 2024 Murilo <murilo <at> disroot.org>
 ;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010 <at> zohomail.in>
 ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus <at> gmail.com>
+;;; Copyright © 2025 Ashish SHUKLA <ashish.is <at> lostca.se>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -104,6 +105,7 @@ (define-module (gnu packages text-editors)
   #:use-module (gnu packages image)
   #:use-module (gnu packages lesstif)
   #:use-module (gnu packages libbsd)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages lisp-check)
   #:use-module (gnu packages lisp-xyz)
   #:use-module (gnu packages llvm)
@@ -1898,3 +1900,34 @@ (define-public xnedit
      "XNEdit is a fast and classic X11 text editor, based on NEdit,
 with full unicode support and antialiased text rendering.")
     (license license:gpl2+)))
+
+(define-public dte
+  (package
+    (name "dte")
+    (version "1.11.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.com/craigbarnes/dte")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "1q43jvhj6r1ws58ngpcq8mzj4di7mj2a4bmigk9zy0f3riagnlv1"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list util-linux))
+    (arguments
+     (list
+      #:make-flags
+      #~(list (string-append "CC=" #$(cc-for-target))
+              (string-append "prefix=" #$output))
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure))))
+    (home-page "https://gitlab.com/craigbarnes/dte/")
+    (synopsis "Small and easy to use console text editor.")
+    (description
+     "@command{dte} is a portable console text editor with features like multiple buffers/tabs,
+syntax highlighting, customizable color scheme (including support for 24-bit true
+colours), kitty keyboard protocol, editorconfig support, amongst other features.")
+    (license license:gpl2)))

base-commit: a76708a872e65230931f3c5c3b079d0a39d5cb84
-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#76635; Package guix-patches. (Wed, 05 Mar 2025 01:01:02 GMT) Full text and rfc822 format available.

Message #8 received at 76635 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: ashish.is <at> lostca.se
Cc: 76635 <at> debbugs.gnu.org
Subject: Re: [bug#76635] [PATCH] gnu: Add dte.
Date: Wed, 05 Mar 2025 09:04:37 +0800
Hello,

ashish.is <at> lostca.se writes:

> [...]
> +(define-public dte
> +  (package
> +    (name "dte")
> +    (version "1.11.1")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://gitlab.com/craigbarnes/dte")
> +                    (commit (string-append "v" version))))
> +              (sha256
> +               (base32
> +                "1q43jvhj6r1ws58ngpcq8mzj4di7mj2a4bmigk9zy0f3riagnlv1"))))

When using git-fetch, it's required to also use '(file-name (git-file-name ...))'.

> +    (build-system gnu-build-system)
> +    (native-inputs
> +     (list util-linux))
> +    (arguments
> +     (list
> +      #:make-flags
> +      #~(list (string-append "CC=" #$(cc-for-target))
> +              (string-append "prefix=" #$output))
> +      #:phases
> +      #~(modify-phases %standard-phases
> +          (delete 'configure))))
> +    (home-page "https://gitlab.com/craigbarnes/dte/")
Prefer a real home page if existed, so should be: https://craigbarnes.gitlab.io/dte/

> +    (synopsis "Small and easy to use console text editor.")
synopsis should not ends with '.'.


Otherwise looks good, could you send an update patch?  Thanks.




Information forwarded to guix-patches <at> gnu.org:
bug#76635; Package guix-patches. (Wed, 05 Mar 2025 14:09:02 GMT) Full text and rfc822 format available.

Message #11 received at 76635 <at> debbugs.gnu.org (full text, mbox):

From: ashish.is <at> lostca.se
To: iyzsong <at> envs.net
Cc: 76635 <at> debbugs.gnu.org, Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH v2] gnu: Add dte.
Date: Wed,  5 Mar 2025 15:07:34 +0100
From: Ashish SHUKLA <ashish.is <at> lostca.se>

* gnu/packages/text-editors.scm (dte): New variable.

Change-Id: I1fdee33377b055a43cf61364f43a6dcbaf04a024
---
Hi,

Thanks for taking time to review.

 gnu/packages/text-editors.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index e96fceb510..d32ba3b7b1 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -37,6 +37,7 @@
 ;;; Copyright © 2024 Murilo <murilo <at> disroot.org>
 ;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010 <at> zohomail.in>
 ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus <at> gmail.com>
+;;; Copyright © 2025 Ashish SHUKLA <ashish.is <at> lostca.se>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -104,6 +105,7 @@ (define-module (gnu packages text-editors)
   #:use-module (gnu packages image)
   #:use-module (gnu packages lesstif)
   #:use-module (gnu packages libbsd)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages lisp-check)
   #:use-module (gnu packages lisp-xyz)
   #:use-module (gnu packages llvm)
@@ -1898,3 +1900,35 @@ (define-public xnedit
      "XNEdit is a fast and classic X11 text editor, based on NEdit,
 with full unicode support and antialiased text rendering.")
     (license license:gpl2+)))
+
+(define-public dte
+  (package
+    (name "dte")
+    (version "1.11.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.com/craigbarnes/dte")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1q43jvhj6r1ws58ngpcq8mzj4di7mj2a4bmigk9zy0f3riagnlv1"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list util-linux))
+    (arguments
+     (list
+      #:make-flags
+      #~(list (string-append "CC=" #$(cc-for-target))
+              (string-append "prefix=" #$output))
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure))))
+    (home-page "https://craigbarnes.gitlab.io/dte/")
+    (synopsis "Small and easy to use console text editor")
+    (description
+     "@command{dte} is a portable console text editor with features like multiple buffers/tabs,
+syntax highlighting, customizable color scheme (including support for 24-bit true
+colours), kitty keyboard protocol, editorconfig support, amongst other features.")
+    (license license:gpl2)))

base-commit: cc71a8e8ea21584353e22771be643bdaadfa0c12
-- 
2.48.1





Changed bug title to '[PATCH v2] gnu: Add dte.' from '[PATCH] gnu: Add dte.' Request was from "Ashish SHUKLA" <ashish.is <at> lostca.se> to control <at> debbugs.gnu.org. (Wed, 05 Mar 2025 14:10:02 GMT) Full text and rfc822 format available.

Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Thu, 03 Apr 2025 15:08:02 GMT) Full text and rfc822 format available.

Notification sent to ashish.is <at> lostca.se:
bug acknowledged by developer. (Thu, 03 Apr 2025 15:08:02 GMT) Full text and rfc822 format available.

Message #18 received at 76635-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 76635-done <at> debbugs.gnu.org
Subject: Close
Date: Thu, 3 Apr 2025 17:05:40 +0200
Pushed, thanks!

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 May 2025 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.