GNU bug report logs - #55419
[PATCH 0/5] Use new package style for Emacs variants.

Previous Next

Package: guix-patches;

Reported by: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Date: Sat, 14 May 2022 22:31:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

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 55419 in the body.
You can then email your comments to 55419 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#55419; Package guix-patches. (Sat, 14 May 2022 22:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 14 May 2022 22:31:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/5] Use new package style for Emacs variants.
Date: Sun, 15 May 2022 00:14:13 +0200
Hi Guix,

earlier "today" (or yesterday depending on your timezones), I pushed a
bunch of patches that update Emacs to 28.1 and also uses the new package
style.  Sadly this was not reflected in most Emacs variants leading to a
lot of failing builds.  The most important one – emacs-minimal – was
already fixed silently, this series ought to take care of the rest.

I'm currently building these locally, but chances are that for some of
you these changes will arrive too late by the time I'll be able to push
them, so I'm sharing them here for those with a faster machine or access
to the CI :)

Cheers

Liliana Marie Prikler (5):
  gnu: emacs-next-pgtk: Use new package style.
  gnu: emacs-xwidgets: Use new package style.
  gnu: emacs-no-x: Use new package style.
  gnu: emacs-no-x-toolkit: Use new package style.
  gnu: emacs-wide-int: Use new package style.

 gnu/packages/emacs.scm | 60 ++++++++++++++++++++----------------------
 1 file changed, 29 insertions(+), 31 deletions(-)

-- 
2.36.0





Information forwarded to guix-patches <at> gnu.org:
bug#55419; Package guix-patches. (Sat, 14 May 2022 22:33:01 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 55419 <at> debbugs.gnu.org
Subject: [PATCH 1/5] gnu: emacs-next-pgtk: Use new package style.
Date: Sun, 15 May 2022 00:07:43 +0200
* gnu/packages/emacs.scm (emacs-next-pgtk)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
---
 gnu/packages/emacs.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 9649334e45..af902ac9f9 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -348,13 +348,13 @@ (define-public emacs-next-pgtk
     (name "emacs-next-pgtk")
     (arguments
      (substitute-keyword-arguments (package-arguments emacs-next)
-       ((#:configure-flags flags ''())
-        `(cons* "--with-pgtk" "--with-xwidgets" ,flags))))
+       ((#: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)))
+     (modify-inputs (package-inputs emacs-next)
+       (prepend webkitgtk-with-libsoup2)))
     (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
-- 
2.36.0





Information forwarded to guix-patches <at> gnu.org:
bug#55419; Package guix-patches. (Sat, 14 May 2022 22:33:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 55419 <at> debbugs.gnu.org
Subject: [PATCH 2/5] gnu: emacs-xwidgets: Use new package style.
Date: Sun, 15 May 2022 00:10:19 +0200
* gnu/packages/emacs.scm (emacs-xwidgets)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
---
 gnu/packages/emacs.scm | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index af902ac9f9..e3eba851ff 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -391,16 +391,15 @@ (define-public emacs-xwidgets
     (build-system gnu-build-system)
     (arguments
      (substitute-keyword-arguments (package-arguments emacs)
-       ((#:configure-flags flags ''())
-        `(cons "--with-xwidgets" ,flags))
+       ((#:configure-flags flags #~'())
+        #~(cons "--with-xwidgets" #$flags))
        ((#:phases phases)
-        `(modify-phases ,phases
-           (delete 'restore-emacs-pdmp)
-           (delete 'strip-double-wrap)))))
+        #~(modify-phases #$phases
+            (delete 'restore-emacs-pdmp)
+            (delete 'strip-double-wrap)))))
     (inputs
-     `(("webkitgtk" ,webkitgtk-with-libsoup2)
-       ("libxcomposite" ,libxcomposite)
-       ,@(package-inputs emacs)))))
+     (modify-inputs (package-inputs emacs)
+       (prepend webkitgtk-with-libsoup2 libxcomposite)))))
 
 (define-public emacs-no-x
   (package/inherit emacs
-- 
2.36.0





Information forwarded to guix-patches <at> gnu.org:
bug#55419; Package guix-patches. (Sat, 14 May 2022 22:33:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 55419 <at> debbugs.gnu.org
Subject: [PATCH 3/5] gnu: emacs-no-x: Use new package style.
Date: Sun, 15 May 2022 00:10:59 +0200
* gnu/packages/emacs.scm (emacs-no-x)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
---
 gnu/packages/emacs.scm | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e3eba851ff..027afc811a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -407,22 +407,20 @@ (define-public emacs-no-x
     (synopsis "The extensible, customizable, self-documenting text
 editor (console only)")
     (build-system gnu-build-system)
-    (inputs (fold alist-delete
-                  (package-inputs emacs)
-                  '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
-                    "imagemagick" "libpng" "librsvg" "libxpm" "libice"
-                    "libsm" "cairo" "pango" "harfbuzz"
-
-                    ;; These depend on libx11, so remove them as well.
-                    "libotf" "m17n-lib" "dbus")))
+    (inputs (modify-inputs (package-inputs emacs)
+              (delete "libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
+                      "imagemagick" "libpng" "librsvg" "libxpm" "libice"
+                      "libsm" "cairo" "pango" "harfbuzz"
+                      ;; These depend on libx11, so remove them as well.
+                      "libotf" "m17n-lib" "dbus")))
     (arguments
      (substitute-keyword-arguments (package-arguments emacs)
-       ((#:configure-flags flags ''())
-        `(delete "--with-cairo" ,flags))
+       ((#:configure-flags flags #~'())
+        #~(delete "--with-cairo" #$flags))
        ((#:phases phases)
-        `(modify-phases ,phases
-           (delete 'restore-emacs-pdmp)
-           (delete 'strip-double-wrap)))))))
+        #~(modify-phases #$phases
+            (delete 'restore-emacs-pdmp)
+            (delete 'strip-double-wrap)))))))
 
 (define-public emacs-no-x-toolkit
   (package/inherit emacs
-- 
2.36.0





Information forwarded to guix-patches <at> gnu.org:
bug#55419; Package guix-patches. (Sat, 14 May 2022 22:33:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 55419 <at> debbugs.gnu.org
Subject: [PATCH 4/5] gnu: emacs-no-x-toolkit: Use new package style.
Date: Sun, 15 May 2022 00:11:22 +0200
* gnu/packages/emacs.scm (emacs-no-x-toolkit)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
---
 gnu/packages/emacs.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 027afc811a..392b3297b0 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -428,14 +428,15 @@ (define-public emacs-no-x-toolkit
     (synopsis "The extensible, customizable, self-documenting text
 editor (without an X toolkit)" )
     (build-system gnu-build-system)
-    (inputs (append `(("inotify-tools" ,inotify-tools))
-                    (alist-delete "gtk+" (package-inputs emacs))))
+    (inputs (modify-inputs (package-inputs emacs)
+              (delete "gtk+")
+              (prepend inotify-tools)))
     (arguments
      (substitute-keyword-arguments (package-arguments emacs)
-       ((#:configure-flags flags ''())
-        `(cons "--with-x-toolkit=no" ,flags))
+       ((#:configure-flags flags #~'())
+        #~(cons "--with-x-toolkit=no" #$flags))
        ((#:phases phases)
-        `(modify-phases ,phases
+        #~(modify-phases #$phases
            (delete 'restore-emacs-pdmp)
            (delete 'strip-double-wrap)))))))
 
-- 
2.36.0





Information forwarded to guix-patches <at> gnu.org:
bug#55419; Package guix-patches. (Sat, 14 May 2022 22:33:03 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 55419 <at> debbugs.gnu.org
Subject: [PATCH 5/5] gnu: emacs-wide-int: Use new package style.
Date: Sun, 15 May 2022 00:11:41 +0200
* gnu/packages/emacs.scm (emacs-wide-int)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
---
 gnu/packages/emacs.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 392b3297b0..25dab7ef59 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -448,7 +448,7 @@ (define-public emacs-wide-int
     (arguments
      (substitute-keyword-arguments (package-arguments emacs)
        ((#:configure-flags flags)
-        `(cons "--with-wide-int" ,flags))))))
+        #~(cons "--with-wide-int" #$flags))))))
 
 (define-public guile-emacs
   (let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
-- 
2.36.0





Information forwarded to guix-patches <at> gnu.org:
bug#55419; Package guix-patches. (Sun, 15 May 2022 08:45:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 55419 <at> debbugs.gnu.org
Subject: Re: [bug#55419] [PATCH 0/5] Use new package style for Emacs variants.
Date: Sun, 15 May 2022 10:43:59 +0200
[Message part 1 (text/plain, inline)]
The patches theirselves LGTM, but I did not build the packages.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sun, 15 May 2022 11:15:02 GMT) Full text and rfc822 format available.

Notification sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
bug acknowledged by developer. (Sun, 15 May 2022 11:15:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Maxime Devos <maximedevos <at> telenet.be>, 55419-done <at> debbugs.gnu.org
Subject: Re: [bug#55419] [PATCH 0/5] Use new package style for Emacs variants.
Date: Sun, 15 May 2022 13:14:26 +0200
Am Sonntag, dem 15.05.2022 um 10:43 +0200 schrieb Maxime Devos:
> The patches theirselves LGTM, but I did not build the packages.
Thanks.  The packages all built locally, so I pushed them.

Cheers




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

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

Previous Next


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