From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sFKgKrxc2mVr2QAA62LTzQ:P1 (envelope-from ) for ; Sat, 24 Feb 2024 22:16:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sFKgKrxc2mVr2QAA62LTzQ (envelope-from ) for ; Sat, 24 Feb 2024 22:16:44 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=Kgq8RIdj; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708809404; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VUoz2fYwF5MbFrL+r9Z0JQcWdktccJQk+Np7lNVrm78=; b=a/1ezYSm+g6WtAT5Ma9KcwMx9X0YX9xbPc6QcN4NN1rTXLBgnL5sM5GdA4ZJ4trnEPbwWG /db5wwE4VMYJom5ulzCn9pGjQ9vXjQ9chZKm25q0Hiarqp9ogeIc1/JG2BbUnKErpDRz26 6nMc7VD5TQ70fc8QKDsjjBMsqEyCLWbCYyrJ/nYRge7DkE5hUGu/SMSGUKGxfRVs+v945n hkTgWVRWm8aZFnxqPPjJhpCqxWGx2cO0wife1I+T4Q+rCIMhvW/9yu7L2ilzrOKFk5npyU hjokePv0j1P7w1HbN0NQESv/MpQGiKRUPH1f0aK5mNeYOrEHaejQskK/n3UxKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=Kgq8RIdj; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708809404; a=rsa-sha256; cv=none; b=sWVm2zOuh6zKrDshQPIJtnFEl3KYdNgIOTe0GRgMmYsI4CGslI6u4Y35cyxSgN79eueQK8 887ch4HyUsdnsU/XK7QdnmigRROaGSnNPmBZTGC/olrxucdLe1fb5Lo712DBORDUq7hxCM I9oPWd9DeWxKHdrkA2rZ6q7+ZWTK2dITk2Dy3CnqkuR+gnLtYFwfpvhDQUbh7q9xnFt676 49GbJKIHvP9G/VK0IKajB6VWWWHOv/+ZK3J7TrDyNBBDWcxIzsRj8IkSdjaeDaBqh/7gSC Juz3dWFVwJI91LEqCArs8FEknwtg1Hg0kW1fHyf0O5uvanGCbo40PEs6zzIoaA== 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 970EB3EACF for ; Sat, 24 Feb 2024 22:16:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdzNZ-0006m6-Aa; Sat, 24 Feb 2024 16:16:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdzNX-0006lc-OO for guix-devel@gnu.org; Sat, 24 Feb 2024 16:16:15 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdzNV-0005gx-2b for guix-devel@gnu.org; Sat, 24 Feb 2024 16:16:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1708809362; x=1709068562; bh=VUoz2fYwF5MbFrL+r9Z0JQcWdktccJQk+Np7lNVrm78=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Kgq8RIdj0+JXPU9BZ6pjwRKee6dM4r77F45uahDHsDPNhFmdROC1RAolqRY2ct02Z UnZ82tacD6LljVWknl8ndVZtkZf+QQgn9+iFl52tKAh9B6gHZB0V1jzqBxubulG++w iE0Gb39h8sBfK5hhbW3Nltk1b5Aq2oXs2Kb474zJASKxESdDuSmOtMxCY1w1b0EH7D HWlONnmJo0uB77+/z6iDFIetEHXtTMMCu96TeXjocZfnENL+mMwYEf3pNKew0R2kfM edLxGKr8rzfYUzG/aB8gqWJqPwC+YZgxrE4CKtqn/F045SAsOMX7bxA/6pWH+g77Tw 6MrS3gYb82S7A== Date: Sat, 24 Feb 2024 21:15:53 +0000 To: hutzdog From: John Kehayias Cc: guix-devel@gnu.org, Hilton Chain Subject: Re: Packaging Hyprland Message-ID: <87jzmtmum3.fsf@protonmail.com> In-Reply-To: References: Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=john.kehayias@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.64 X-Spam-Score: -9.64 X-Migadu-Queue-Id: 970EB3EACF X-Migadu-Scanner: mx13.migadu.com X-TUID: mHcQUQ68pZT7 Hi Hutzdog, On Fri, Feb 23, 2024 at 01:20 AM, hutzdog wrote: > Hi all, > > I've been working on moving over to GNU Guix recently, and have hit a Welcome to Guix! (For the first part, not the roadblock part...) > roadblock: there is no package for Hyprland (the one WLRoots based > compositor with single window capture and automatic window swallowing > that I know of). I've taken the liberty of packaging the latest > version (see > Funny enough, I just decided to take the plunge and try out Wayland finally with Hyprland, as a sucker for eye candy. I do miss using Lisp more (coming from lots of StumpWM time) and easy emacs keybindings everywhere. I'm using a package from a channel, I believe, of one of our committers, who I'm cc'ing as I was just about to ask them about upstreaming. Works great on my end, thanks to them! > for the package), but there are some changes that need to happen in > order for it to be upstreamed (as of v0.35.0). > > # Pending Patches > The following existing patches need to be merged: > LibInput -> 1.25.0 () I could take this on mesa-updates as I was going to be doing some updates so might as well take this. I'll add it locally and send a message to the bug number. Part of my motivation was to be able to upstream Hyprland as well. If this fits better on another existing branch, please let me know, someone. > LibDRM -> 2.4.120 () > I have this locally on my mesa-updates. I'll send a message to that bug number. > # New Patches > The following new patches will need to be created (I intend to submit > these at some point in the near future): > Cairo -> 1.18.0 (requires moving to Meson, I have a mostly complete > set of changes to make it work) I have this locally as well and will send some patches for review. It took a bit more work, though the final result is pretty simple, it needed a hidden cairo and a new cairo-with-documentation to build the docs. I built up to icecat locally and all was good from what I could see. Sorry for any duplicate work, perhaps your version can add something to mine. > Toml++ (package will be sent as a patch soon) > Hyprlang (for xdg-desktop-portal-hyprland, will publish after Hyprland) > I believe we'll need a more current version than the released wlroots as well. Possibly others based on the channel I referenced above, but the big update is libdrm and cairo, in terms of rebuilds. > ## HWData > As with packages using the release versions of WLRoots, due to how > Guix packages HWData a patch is needed to make Meson find it. We have > a few options: maintain a parallel package which simply farms all > outputs of HWData as symlinks and adds the pkg-config file, maintain a > patch on a much more volatile version of WLRoots, or find some other > solution. Was this handled already in for wlroots? Which has been merged. > > # Hyprland > This will allow me to submit packages for Hyprland and its XDG Desktop > Portal at version 0.35.0 (the latest release). As it's one of the more > popular Wayland compositors out there, I think it is worth adding it > to the repos. For now, the package is available through my Guix > channel (fair warning, it is still very WIP and I wouldn't recommend > using it yet outside of maybe pulling the Hyprland packages). I look > forward to working with Guix (Scheme is certainly a breath of fresh > air after dealing with Nix for a while) and contributing to its > ecosystem. > > --Hutzdog > Thanks for your efforts and helping get this conversation started! I think we can handle the bigger updates on the mesa-updates branch. I was planning on pushing that to get builds going once I send the cairo patch and have people take a look at that. Despite the big changes, I'm fairly confident in it since it seems pretty much everything we need is built by default now. And agreed that Hyprland has been pretty nice so far as my first step into Wayland. Though if anyone can point me to the best way to get emacs keys everywhere I will be forever thankful. Seems xremap can do it (which we have packaged) except it doesn't pick up different applications for where keys apply on Hyprland. I do miss in Stump how easy that was right in the config. John