GNU bug report logs - #58018
[PATCH] gnu: Add lite-xl.

Previous Next

Package: guix-patches;

Reported by: zamfofex <zamfofex <at> twdb.moe>

Date: Fri, 23 Sep 2022 07:02:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 58018 in the body.
You can then email your comments to 58018 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#58018; Package guix-patches. (Fri, 23 Sep 2022 07:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zamfofex <zamfofex <at> twdb.moe>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 23 Sep 2022 07:02:02 GMT) Full text and rfc822 format available.

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

From: zamfofex <zamfofex <at> twdb.moe>
To: guix-patches <at> gnu.org
Cc: zamfofex <zamfofex <at> twdb.moe>
Subject: [PATCH] gnu: Add lite-xl.
Date: Fri, 23 Sep 2022 04:00:59 -0300
* gnu/packages/text-editors.scm (lite-xl): New variable.
---
 gnu/packages/text-editors.scm | 40 +++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 0c30a70..6df2814 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2021 Calum Irwin <calumirwin1 <at> gmail.com>
 ;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com>
 ;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
+;;; Copyright © 2022 zamfofex <zamfofex <at> twdb.moe>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -45,6 +46,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 +64,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 graphics)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages haskell-xyz)
@@ -81,6 +84,7 @@ (define-module (gnu packages text-editors)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages regex)
   #:use-module (gnu packages ruby)
+  #:use-module (gnu packages sdl)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages terminals)
   #:use-module (gnu packages texinfo)
@@ -1260,3 +1264,39 @@ (define-public mle
 splitting, multiple cursors, and integration with various shell
 commands.")
     (license license:asl2.0)))
+
+(define-public lite-xl
+  (package
+    (name "lite-xl")
+    (version "2.0.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/lite-xl/lite-xl")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0l2i9mvbkc4kqkwk2p17zd1rlm5v41acdyp2xivi53p2hkj4x6pf"))
+              (modules '((guix build utils)))
+              (snippet '(substitute* "meson.build"
+                          (("dependency\\('lua5\\.2',")
+                           "dependency('lua-5.2',")))))
+    (build-system meson-build-system)
+    (inputs (list agg
+                  freetype
+                  lua-5.2
+                  pcre2
+                  reproc
+                  sdl2))
+    (native-inputs (list pkg-config))
+    (home-page "https://lite-xl.com")
+    (synopsis "A lightweight text editor written in Lua")
+    (description
+     "Lite XL is derived from lite. It is a lightweight text editor
+written mostly in Lua — it aims to provide something practical, pretty, small
+and fast easy to modify and extend, or to use without doing either.
+
+The aim of Lite XL compared to lite is to be more user friendly, improve the
+quality of font rendering, and reduce CPU usage.")
+    (license license:expat)))
-- 
2.37.3





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 29 Sep 2022 20:53:02 GMT) Full text and rfc822 format available.

Notification sent to zamfofex <zamfofex <at> twdb.moe>:
bug acknowledged by developer. (Thu, 29 Sep 2022 20:53:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: zamfofex <zamfofex <at> twdb.moe>
Cc: 58018-done <at> debbugs.gnu.org
Subject: Re: bug#58018: [PATCH] gnu: Add lite-xl.
Date: Thu, 29 Sep 2022 22:52:13 +0200
[Message part 1 (text/plain, inline)]
Hi,

zamfofex <zamfofex <at> twdb.moe> skribis:

> * gnu/packages/text-editors.scm (lite-xl): New variable.

Applied with the changes below.  Thanks!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 6df2814411..40d6d28b55 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -1291,12 +1291,12 @@ (define-public lite-xl
                   sdl2))
     (native-inputs (list pkg-config))
     (home-page "https://lite-xl.com")
-    (synopsis "A lightweight text editor written in Lua")
+    (synopsis "Lightweight text editor written in Lua")
     (description
-     "Lite XL is derived from lite. It is a lightweight text editor
-written mostly in Lua — it aims to provide something practical, pretty, small
-and fast easy to modify and extend, or to use without doing either.
+     "Lite XL is derived from lite.  It is a lightweight text editor written
+mostly in Lua.  It aims to provide something practical, pretty, small and fast
+easy to modify and extend, or to use without doing either.
 
-The aim of Lite XL compared to lite is to be more user friendly, improve the
+The aim of Lite XL compared to lite is to be more user-friendly, improve the
 quality of font rendering, and reduce CPU usage.")
     (license license:expat)))

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

This bug report was last modified 1 year and 174 days ago.

Previous Next


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