From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SIoyMmRMVGETRAAAgWs5BA (envelope-from ) for ; Wed, 29 Sep 2021 13:22:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ww7rLWRMVGGpdgAAB5/wlQ (envelope-from ) for ; Wed, 29 Sep 2021 11:22:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 865ABFF8E for ; Wed, 29 Sep 2021 13:22:12 +0200 (CEST) Received: from localhost ([::1]:53548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVXf9-0003lT-NX for larch@yhetil.org; Wed, 29 Sep 2021 07:22:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVXf0-0003l9-Ha for guix-patches@gnu.org; Wed, 29 Sep 2021 07:22:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVXf0-0006mN-6l for guix-patches@gnu.org; Wed, 29 Sep 2021 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVXf0-000781-28 for guix-patches@gnu.org; Wed, 29 Sep 2021 07:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50563] [PATCH [0/2] gnu: GDM: Add Wayland support Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Sep 2021 11:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Josselin Poiret Cc: 50563@debbugs.gnu.org Received: via spool by 50563-submit@debbugs.gnu.org id=B50563.163291447727345 (code B ref 50563); Wed, 29 Sep 2021 11:22:02 +0000 Received: (at 50563) by debbugs.gnu.org; 29 Sep 2021 11:21:17 +0000 Received: from localhost ([127.0.0.1]:47894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVXeG-00076z-Uu for submit@debbugs.gnu.org; Wed, 29 Sep 2021 07:21:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVXeB-00076i-J5 for 50563@debbugs.gnu.org; Wed, 29 Sep 2021 07:21:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52308) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVXe5-00069Y-EK; Wed, 29 Sep 2021 07:21:05 -0400 Received: from [46.183.103.8] (port=19033 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVXe2-0000P8-IG; Wed, 29 Sep 2021 07:21:04 -0400 From: Mathieu Othacehe References: Date: Wed, 29 Sep 2021 11:20:58 +0000 In-Reply-To: (Josselin Poiret's message of "Mon, 13 Sep 2021 07:35:29 +0000") Message-ID: <87tui31vc5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632914532; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=xRA2iywytrMuRpy03Jd/DgmbruXqCbznU/0l56ndr1c=; b=OEsro9v3cRgRlfOLX0IU3Bn7kGmcwXP2W4SsGKP+8cWB9eswUkRfp3A0twVc1Yh26AT6ZB vD+2JOmyWgxkaVdJC+VhekdGl7vrRfVMdysLHP1/wOyH3dyK/oyFM1rRa2ACC9ul5e66uP mfkaqqlm2/Xf5UaM4xc066y4wnw/MucohTNBfpwhM3GU7hy9Mnyv+VSy8JM2AR1bV1rgXu fIRA7kFzkk+IfayU4kMIbFoNjXSJlldsgXzJMpkYrnKTk5is5Qmpi/hU+7z4GgIfNTUdgF 0UlNHnrIFq8/hA5IVUcDb/dizCXREnIK67q4/mVCPlH9nSMBJyrIlv3ht7CvtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632914532; a=rsa-sha256; cv=none; b=hiy6+YobnJ2k6qd8FXVuIBZjL4SwNQmH/OfkB0UXbp268HACkmySQo/Q89h47tDwFM14cf IeRW75EMwAyQrTuUKvegoIrzSOHLHUlhRBn19mO88cDmJBzOeTcjimWBa2jdXRv7W8bO9v h+ioQd6hSPIGmHrRQMg1HvxdRgq6OmjUlp7Vy/UcUxTpjoLdsRFpABPV999Pa//faNARCy D37DZ2J+k9Vvo0OBEDWkobOHfR4R0Rab+UfIsso0I945eHVn6zFAbGXiIHOVmmHzjYXKAk E5v7diKmDGfd9/4tOwJaD5hdjR9gPUafKIanIQ75sGbR8E1DEDzEb7XIom2kCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 865ABFF8E X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: fQVMqGCcbIHs Hello Josselin, > This is my first contribution, so do not hesitate to give any feedback > (I also haven't setup `git send-email` yet so this is a manual mail). Thanks for this first contribution! I was able to apply the patches just fine. However, it would nice if you could write commit messages respecting the ChangeLog format as explained here: https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html. > 1. Enables optional support for launching a Wayland GDM session. > 2. Adds a wrapper for Wayland sessions in order to setup the > environment, similar to the default `/etc/profile` or `xinitrc`. I tried to apply both patches on top of the wip-gnome40 branch to see if I can get Wayland support. There are minor merge conflicts that are solved on the wip-gnome40-wayland branch. I then edited the desktop.tmpl file this way: --8<---------------cut here---------------start------------->8--- --- a/gnu/system/examples/desktop.tmpl +++ b/gnu/system/examples/desktop.tmpl @@ -64,12 +64,15 @@ ;; by clicking the gear. Use the "desktop" services, which ;; include the X11 log-in service, networking with ;; NetworkManager, and more. - (services (append (list (service gnome-desktop-service-type) - (service xfce-desktop-service-type) - (set-xorg-configuration - (xorg-configuration - (keyboard-layout keyboard-layout)))) - %desktop-services)) + (services (modify-services + (append (list (service gnome-desktop-service-type) + (set-xorg-configuration + (xorg-configuration + (keyboard-layout keyboard-layout)))) + %desktop-services) + (gdm-service-type config => + (gdm-configuration + (wayland? #t))))) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --8<---------------cut here---------------end--------------->8--- And tested it by running: --8<---------------cut here---------------start------------->8--- $(./pre-inst-env guix system vm gnu/system/examples/desktop.tmpl --no-grafts --no-offload -v3 -K) -m 2048 --8<---------------cut here---------------end--------------->8--- Looks like there's a good old xorg-server running, plus the "About" section in GNOME configuration reports that it is running using the X11 window system. Anything wrong with my integration? Thanks, Mathieu