diff mbox series

[bug#69524] gnu: lite-xl: Update to 2.1.3.

Message ID 6c34a21f0decd8ffb74d24d186cd1991a5db6d6e.1709475374.git.poomklao@yahoo.com
State New
Headers show
Series [bug#69524] gnu: lite-xl: Update to 2.1.3. | expand

Commit Message

Parnikkapore March 3, 2024, 2:16 p.m. UTC
* gnu/packages/text-editors.scm (lite-xl): Update to 2.1.3.
[source]: Remove snippet. The code being patched no longer exists.
[inputs]: Remove agg and reproc. These dependencies are removed in 2.1.0.

Change-Id: If3a57587ce2049f94e4ac7791c680d29a4e7d222
---
 gnu/packages/text-editors.scm | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)


base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c

Comments

宋文武 March 10, 2024, 4:17 a.m. UTC | #1
Parnikkapore <poomklao@yahoo.com> writes:

> * gnu/packages/text-editors.scm (lite-xl): Update to 2.1.3.
> [source]: Remove snippet. The code being patched no longer exists.
> [inputs]: Remove agg and reproc. These dependencies are removed in 2.1.0.

Pushed as commit b4e60b8362, with small adjust of comment and commit
message.  Thank you!
diff mbox series

Patch

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 977a101c97..d13cd8698a 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -1473,7 +1473,7 @@  (define-public mle
 (define-public lite-xl
   (package
     (name "lite-xl")
-    (version "2.1.1")
+    (version "2.1.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1482,18 +1482,13 @@  (define-public lite-xl
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1pnmax68hvk1ry4bjsxwq4qimfn55pai8jlljw6jiqzcmh4mp7xm"))
-              (modules '((guix build utils)))
-              (snippet '(substitute* "meson.build"
-                          (("dependency\\('lua5\\.4',")
-                           "dependency('lua-5.4',")))))
+                "19wdq8w6ickyynx6r2wg2vf5isl2577zjizgwbzql9vhqdsi8ag3"))))
     (build-system meson-build-system)
-    (inputs (list agg
-                  freetype
-                  lua-5.4
-                  pcre2
-                  reproc
-                  sdl2))
+    (arguments
+      (list
+       ;; Don't try to download Lua
+       #:configure-flags #~'("-Duse_system_lua=true")))
+    (inputs (list lua-5.4 pcre2 freetype sdl2))
     (native-inputs (list pkg-config))
     (home-page "https://lite-xl.com")
     (synopsis "Lightweight text editor written in Lua")