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

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

bug#44738: closed ([PATCH] gnu: Add emacs-next-pgtk)


From: GNU bug Tracking System
Subject: bug#44738: closed ([PATCH] gnu: Add emacs-next-pgtk)
Date: Thu, 26 Nov 2020 22:14:01 +0000

Your message dated Thu, 26 Nov 2020 23:13:10 +0100
with message-id <87y2inzs09.fsf@gnu.org>
and subject line Re: [bug#44738] [PATCH] gnu: Add emacs-next-pgtk
has caused the debbugs.gnu.org bug report #44738,
regarding [PATCH] gnu: Add emacs-next-pgtk
to be marked as done.

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


-- 
44738: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44738
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Add Emacs for Wayland Date: Thu, 19 Nov 2020 17:46:12 +0300
Add a package for Emacs fork, which uses pure-gtk3.
https://github.com/masm11/emacs/

It works natively with Wayland, but also works for X11.

Tested on sway and i3.

-- 
Best regards,
Andrew Tropin

Attachment: 0001-gnu-Add-emacs-next-pgtk.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: [bug#44738] [PATCH] gnu: Add emacs-next-pgtk Date: Thu, 26 Nov 2020 23:13:10 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Hi Andrew,

Andrew Tropin <andrew@trop.in> skribis:

> From 168310a375b13081b73ad6ddeb26100bc7bcb61c Mon Sep 17 00:00:00 2001
> From: Andrew Tropin <andrew@trop.in>
> Date: Thu, 19 Nov 2020 17:36:11 +0300
> Subject: [PATCH] gnu: Add emacs-next-pgtk
>
> * gnu/packages/emacs.scm (emacs-next-pgtk): New variable.

As a welcome gift ;-), I applied the following cosmetic changes for you,
most of which were suggested by ‘guix lint’.

Thanks!

Ludo’.

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 957338af5d..6fb323deaf 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -321,31 +321,29 @@ languages.")
       (version (git-version "28.0.50" revision commit))
       (source
        (origin
-        (method git-fetch)
-        (uri (git-reference
-              (url "https://github.com/masm11/emacs";)
-              (commit commit)))
-        (sha256
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/masm11/emacs";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
           (base32
            "1c677c97b9avhlzysg09cvf6bd69iz41ggppnszw8chhphk3knfc"))))
       (arguments
-       (substitute-keyword-arguments
-          (package-arguments emacs-next)
-        ((#:configure-flags flags ''())
-         `(cons* "--with-pgtk" "--with-xwidgets" ,flags))))
-      (propagated-inputs `(("gsettings-desktop-schemas" 
,gsettings-desktop-schemas)
-                          ("glib-networking" ,glib-networking)))
+       (substitute-keyword-arguments (package-arguments emacs-next)
+         ((#:configure-flags flags ''())
+          `(cons* "--with-pgtk" "--with-xwidgets" ,flags))))
+      (propagated-inputs
+       `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+         ("glib-networking" ,glib-networking)))
       (inputs
        `(("webkitgtk" ,webkitgtk)
-        ,@(package-inputs emacs-next)))
-
+         ,@(package-inputs emacs-next)))
       (home-page "https://github.com/masm11/emacs";)
-      (synopsis "The fork of extensible, customizable,
-self-documenting text editor (with pgtk toolkit and xwidgets
-support)")
-      (description "This is an unofficial Emacs fork build with
-pure-gtk to work natively on Wayland. In addition to that xwidgets
-also enabled and work without glitches even on X server."))))
+      (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."))))
 
 (define-public emacs-minimal
   ;; This is the version that you should use as an input to packages that just

--- End Message ---

reply via email to

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