From unknown Sat Jun 14 18:38:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43922 <43922@debbugs.gnu.org> To: bug#43922 <43922@debbugs.gnu.org> Subject: Status: [PATCH] installer: Add Emacs EXWM desktop environment. [WAS Re: Call for 1.2 installer testing.] Reply-To: bug#43922 <43922@debbugs.gnu.org> Date: Sun, 15 Jun 2025 01:38:29 +0000 retitle 43922 [PATCH] installer: Add Emacs EXWM desktop environment. [WAS R= e: Call for 1.2 installer testing.] reassign 43922 guix-patches submitter 43922 Jan Nieuwenhuizen severity 43922 normal tag 43922 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 11 09:33:45 2020 Received: (at submit) by debbugs.gnu.org; 11 Oct 2020 13:33:45 +0000 Received: from localhost ([127.0.0.1]:39333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRbTt-00065K-9j for submit@debbugs.gnu.org; Sun, 11 Oct 2020 09:33:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:38078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRbTq-00065A-7H for submit@debbugs.gnu.org; Sun, 11 Oct 2020 09:33:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRbTp-0007EY-Qm; Sun, 11 Oct 2020 09:33:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52243) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRbTp-0007iI-Gk; Sun, 11 Oct 2020 09:33:41 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=51448 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kRbTo-0000vr-85; Sun, 11 Oct 2020 09:33:40 -0400 From: Jan Nieuwenhuizen To: Mathieu Othacehe To: guix-patches@gnu.org Subject: [PATCH] installer: Add Emacs EXWM desktop environment. [WAS Re: Call for 1.2 installer testing.] Organization: AvatarAcademy.nl References: <87h7r3k1qc.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Sun, 11 Oct 2020 15:33:38 +0200 In-Reply-To: <87h7r3k1qc.fsf@gnu.org> (Mathieu Othacehe's message of "Fri, 09 Oct 2020 14:44:43 +0200") Message-ID: <87blh8anv1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: guix-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Mathieu Othacehe writes: Hi, > The 1.2 release is on its way. So here's the traditional call for > installer testing. This time, the CI is building latest installer > images, which should ease testing. It works for me; I found Emacs EXWM missing however. After zenny also asked about that this morning, I decided to create a patch. Greetings, Janneke --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-installer-Add-Emacs-EXWM-desktop-environment.patch Content-Transfer-Encoding: quoted-printable >From 130480c4e76d7133f32a83cb1fa30aa171944383 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Sun, 11 Oct 2020 12:45:00 +0200 Subject: [PATCH] installer: Add Emacs EXWM desktop environment. Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=3DUTF-8 Suggested by zenny via IRC. * gnu/installer/services.scm (%system-services): Add emacs, emacs-exwm, emacs-desktop-environment. * etc/release-manifest.scm (%system-packages): Likewise. * gnu/system/examples/lightweight-desktop.tmpl: Likewise. * gnu/installer/newt/services.scm (run-desktop-environments-cbt-page): Make one entry taller. --- etc/release-manifest.scm | 2 ++ gnu/installer/newt/services.scm | 3 ++- gnu/installer/services.scm | 6 ++++++ gnu/system/examples/lightweight-desktop.tmpl | 3 ++- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/etc/release-manifest.scm b/etc/release-manifest.scm index caa200c673..7f54fe8768 100644 --- a/etc/release-manifest.scm +++ b/etc/release-manifest.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2020 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ TARGET." (append (map specification->package '("xorg-server" "xfce" "gnome" "mate" "enlightenment" "openbox" "awesome" "i3-wm" "ratpoison" + "emacs" "emacs-exwm" "emacs-desktop-environment" "xlockmore" "slock" "libreoffice" "connman" "network-manager" "network-manager-applet" "openssh" "ntp" "tor" diff --git a/gnu/installer/newt/services.scm b/gnu/installer/newt/services.= scm index 4f32d9077b..6d431cb4bb 100644 --- a/gnu/installer/newt/services.scm +++ b/gnu/installer/newt/services.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2018 Mathieu Othacehe ;;; Copyright =C2=A9 2019 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -40,7 +41,7 @@ choose the one to use on the log-in screen.") #:items items #:selection (map system-service-recommended? items) #:item->text system-service-name ;no i18n for DE names - #:checkbox-tree-height 8 + #:checkbox-tree-height 9 #:exit-button-callback-procedure (lambda () (raise diff --git a/gnu/installer/services.scm b/gnu/installer/services.scm index dbac79196d..ec5ea30594 100644 --- a/gnu/installer/services.scm +++ b/gnu/installer/services.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2018 Mathieu Othacehe ;;; Copyright =C2=A9 2019 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -82,6 +83,11 @@ (name "ratpoison") (packages '((specification->package "ratpoison") (specification->package "xterm")))) + (desktop-environment + (name "Emacs EXWM") + (packages '((specification->package "emacs") + (specification->package "emacs-exwm") + (specification->package "emacs-desktop-environment")))) =20 ;; Networking. (system-service diff --git a/gnu/system/examples/lightweight-desktop.tmpl b/gnu/system/exam= ples/lightweight-desktop.tmpl index b4037d4f79..8e38095a03 100644 --- a/gnu/system/examples/lightweight-desktop.tmpl +++ b/gnu/system/examples/lightweight-desktop.tmpl @@ -4,7 +4,7 @@ =20 (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) -(use-package-modules bootloaders certs ratpoison suckless wm xorg) +(use-package-modules bootloaders certs emacs-xyz ratpoison suckless wm xor= g) =20 (operating-system (host-name "antelope") @@ -43,6 +43,7 @@ (packages (append (list ;; window managers ratpoison i3-wm i3status dmenu + emacs-exwm emacs-desktop-environment ;; terminal emulator xterm ;; for HTTPS access --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 12:03:03 2020 Received: (at submit) by debbugs.gnu.org; 13 Oct 2020 16:03:03 +0000 Received: from localhost ([127.0.0.1]:48503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSMlT-0001yL-DK for submit@debbugs.gnu.org; Tue, 13 Oct 2020 12:03:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:60378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSMlR-0001xv-FL for submit@debbugs.gnu.org; Tue, 13 Oct 2020 12:03:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSMlR-00088y-3N; Tue, 13 Oct 2020 12:03:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37931) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSMlQ-0007W0-P0; Tue, 13 Oct 2020 12:03:00 -0400 Received: from [2a01:cb18:832e:5f00:1013:8f9a:f686:d929] (port=37692 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kSMlP-0003nu-Sf; Tue, 13 Oct 2020 12:03:00 -0400 From: Mathieu Othacehe To: Jan Nieuwenhuizen Subject: Re: [PATCH] installer: Add Emacs EXWM desktop environment. [WAS Re: Call for 1.2 installer testing.] References: <87h7r3k1qc.fsf@gnu.org> <87blh8anv1.fsf@gnu.org> Date: Tue, 13 Oct 2020 18:02:57 +0200 In-Reply-To: <87blh8anv1.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sun, 11 Oct 2020 15:33:38 +0200") Message-ID: <87h7qym7v2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: guix-devel@gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hey janneke, > It works for me; I found Emacs EXWM missing however. After zenny also > asked about that this morning, I decided to create a patch. Thanks for testing and for the patch! I think it might be necessary to add "emacs-exwm" to "installation-target-os-for-gui-tests" in (gnu tests install) module. To make sure that it's working fine you can run: --8<---------------cut here---------------start------------->8--- make check-system TESTS="gui-installed-os gui-installed-os-encrypted gui-installed-desktop-os-encrypted" --8<---------------cut here---------------end--------------->8--- Otherwise, it looks fine. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 15:26:45 2020 Received: (at 43922-done) by debbugs.gnu.org; 13 Oct 2020 19:26:45 +0000 Received: from localhost ([127.0.0.1]:48892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSPwa-0000pi-PW for submit@debbugs.gnu.org; Tue, 13 Oct 2020 15:26:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSPwX-0000pU-HJ for 43922-done@debbugs.gnu.org; Tue, 13 Oct 2020 15:26:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41732) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSPwR-0000Sv-GC; Tue, 13 Oct 2020 15:26:35 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=59664 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kSPwP-0005RR-G7; Tue, 13 Oct 2020 15:26:33 -0400 From: Jan Nieuwenhuizen To: Mathieu Othacehe Subject: Re: [PATCH] installer: Add Emacs EXWM desktop environment. [WAS Re: Call for 1.2 installer testing.] Organization: AvatarAcademy.nl References: <87h7r3k1qc.fsf@gnu.org> <87blh8anv1.fsf@gnu.org> <87h7qym7v2.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Tue, 13 Oct 2020 21:26:31 +0200 In-Reply-To: <87h7qym7v2.fsf@gnu.org> (Mathieu Othacehe's message of "Tue, 13 Oct 2020 18:02:57 +0200") Message-ID: <87imbeexlk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43922-done Cc: guix-devel@gnu.org, 43922-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Mathieu Othacehe writes: Hi Mathieu, >> It works for me; I found Emacs EXWM missing however. After zenny also >> asked about that this morning, I decided to create a patch. > > Thanks for testing Using it is real easy, pleasant, and fast. One thing that I got wrong a couple of times is to actually select a suggested option while partitioning, I pressed TAB and RET (like in previous screens), then selecting the button that is clearly marked EXIT. Then it tries to continue with a non-partitioned or badly partitioned drive, which then may give an unexpected error. Clearly a user error, not a problem and I also do not have a better suggestion. Also, my mistake was very obvious to me later. > and for the patch! I think it might be necessary to > add "emacs-exwm" to "installation-target-os-for-gui-tests" in (gnu tests > install) module. Good call. I verified that the test fails without it.. > To make sure that it's working fine you can run: > > make check-system TESTS=3D"gui-installed-os gui-installed-os-encrypted > gui-installed-desktop-os-encrypted" --8<---------------cut here---------------start------------->8--- cannot build derivation `/gnu/store/7xnhrap7xsv2x717yn9wrgisxpppxrmy-emacs-= 27.1.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/kkfdhpc81h0f0sz0mj1ayin0sxy7vkmq-emacs-= desktop-environment-0.3.0.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/3amvkhwa4jv8fghljgkcvlkpg4mpwc8v-emacs-= exwm-0.24.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/q4pxd90hb9mah7cs9r1cjyb2pif1ixmz-emacs-= xelb-0.18.drv': 1 dependencies couldn't be built --8<---------------cut here---------------end--------------->8--- and veried that it passes when I adding them. > Otherwise, it looks fine. Thanks, pushed to master as 1197b8b20f4fca4ce03bbc5fa75e18d54e3717c0. Greetings, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From unknown Sat Jun 14 18:38:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 11 Nov 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator