guix-commits
[Top][All Lists]
Advanced

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

05/05: gnu: emacs-next-pgtk: Define in terms of emacs-next.


From: guix-commits
Subject: 05/05: gnu: emacs-next-pgtk: Define in terms of emacs-next.
Date: Sat, 14 May 2022 10:14:46 -0400 (EDT)

lilyp pushed a commit to branch master
in repository guix.

commit 527952945c59f69665e40b6b416141554084e057
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Thu Apr 28 18:40:27 2022 +0200

    gnu: emacs-next-pgtk: Define in terms of emacs-next.
    
    * gnu/packages/emacs.scm (emacs-next-pgtk)[version,source]: Drop fields,
    inheriting from emacs-next instead.
---
 gnu/packages/emacs.scm | 46 ++++++++++++++++------------------------------
 1 file changed, 16 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 0e2c3d2c38..0e03455282 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -342,36 +342,22 @@ languages.")
          (prepend autoconf))))))
 
 (define-public emacs-next-pgtk
-  (let ((commit "ae18c8ec4f0ef37c8c9cda473770ff47e41291e2")
-        (revision "1"))
-    (package
-      (inherit emacs-next)
-      (name "emacs-next-pgtk")
-      (version (git-version "28.0.50" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://git.savannah.gnu.org/git/emacs.git/";)
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "07hgfqh965zmra0rbmnf63p3lsinpv5hn5payqcrjx25pl75xnaf"))))
-      (arguments
-       (substitute-keyword-arguments (package-arguments emacs-next)
-         ((#:configure-flags flags ''())
-          `(cons* "--with-pgtk" "--with-xwidgets" ,flags))))
-      (propagated-inputs
-       (list gsettings-desktop-schemas glib-networking))
-      (inputs
-       `(("webkitgtk" ,webkitgtk-with-libsoup2)
-         ,@(package-inputs emacs-next)))
-      (home-page "https://github.com/masm11/emacs";)
-      (synopsis "Emacs text editor with @code{pgtk} and @code{xwidgets} 
support")
-      (description "This is an unofficial Emacs fork build with a pure-GTK
-graphical toolkit to work natively on Wayland.  In addition to that, xwidgets
-also enabled and works without glitches even on X server."))))
+  (package
+    (inherit emacs-next)
+    (name "emacs-next-pgtk")
+    (arguments
+     (substitute-keyword-arguments (package-arguments emacs-next)
+       ((#:configure-flags flags ''())
+        `(cons* "--with-pgtk" "--with-xwidgets" ,flags))))
+    (propagated-inputs
+     (list gsettings-desktop-schemas glib-networking))
+    (inputs
+     `(("webkitgtk" ,webkitgtk-with-libsoup2)
+       ,@(package-inputs emacs-next)))
+    (home-page "https://github.com/masm11/emacs";)
+    (synopsis "Emacs text editor with @code{pgtk} and @code{xwidgets} support")
+    (description "This Emacs build implements graphical UI purely in terms of
+GTK and also enables xwidgets.")))
 
 (define-public emacs-minimal
   ;; This is the version that you should use as an input to packages that just



reply via email to

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