From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ICqYO8WK2mW3TQEAqHPOHw:P1 (envelope-from ) for ; Sun, 25 Feb 2024 01:33:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ICqYO8WK2mW3TQEAqHPOHw (envelope-from ) for ; Sun, 25 Feb 2024 01:33:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=OMuCtYAi; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708821189; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SHsRGl/d76b5/NQ259N4xSfgavMsUIP6DHAd/pG8428=; b=Ve+fu/Q0qYRRjSjxZIeOKl3XMaRX0i82BSvdVB3zHQQDErfjWN529RoUVyoGGyW2oeQqYK BYGH4+wJUWRo9gg2utpBtEumZmQzrRXmnAfXHgni1KZoabj+mcrORtcYuhJuzUl+v3hGV6 GvTHxNJpd9/hwpJ9b22g4pyK5VWTji1CrFtLS2v/Qxn3s6P7ruYDQ5l42QxstbFLV8q5wi ri7ilzMTW/bwbhpWf4sV62582bXDG800wWGUCS3LWG7OTqx82FndCfqy9xr6DdQ1yqgYNr dAwEmD3IWu9gJKeDxN9wpkV3m3yVx1qz6zYOvwL9iSx+k2cVJ6N1LrbW4gpZSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=OMuCtYAi; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708821189; a=rsa-sha256; cv=none; b=PsK7PfvMxXcFErDG2A1cBukABDe5t7tXsTWSbYl+ncwBkCi6ruMcWXpAIzR1W25SDTqqhG 8jOtjHfAosIy7K7t0CeAIp5y0ETo0idR/VdCE6t3pcIGFomJh8Kurp+hDpiGddcZ2xApV4 lhjzJSzhpBu+XJTWa1ZWFm1p1rr4dPzfyER5tUFHCP88zBZe0dGYeyPka3eiWbGrFLDwhg lLlNaHWh+BrgBgoofk8YrXTHBx9j1r3ybd2qrimu0lhy8QHziVkaRnuVvExlp0YZJ49NIv Nsk/k8QSZ/ACBwqf7Qlpr+PiTkoc3R+x6TBEOGpN3OEZN91/AxeVv9ex+t8tCA== 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 7D9C62735D for ; Sun, 25 Feb 2024 01:33:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1re2Rg-00033T-UP; Sat, 24 Feb 2024 19:32:44 -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 1re2Rf-00033L-K3 for guix-devel@gnu.org; Sat, 24 Feb 2024 19:32:43 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1re2Rc-0001hG-Ii for guix-devel@gnu.org; Sat, 24 Feb 2024 19:32:43 -0500 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a3e8c1e4aa7so185644366b.2 for ; Sat, 24 Feb 2024 16:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708821158; x=1709425958; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SHsRGl/d76b5/NQ259N4xSfgavMsUIP6DHAd/pG8428=; b=OMuCtYAivW9v0C0t2dQag1Yhl4oXfIHOtcaCEDwsDPs+rmPmGbviFIOxyheQyAd3Df zdd1VpL316UL29hLNz81Vb/H56dEVS0K2USLkE79VH28MPa0qhmrV+qmHyWY0ygIE3zq hCMegsR303ZQk39aRaQTYEElKvywHB6OEPXhTNDSDjUFL5aHjdqEre1QbZT4f6PcQDJq BVO524e78ZUAwQs1ofvZfG7MUcrRYHt60ZsMg8ZVjm5N6yJPmLhg//EECKSS/W5X4PNu wmfPZlXObL+LSVjP7eIQY9A9/wFAqwIpw83yGtdQUSyusSNHSSfRll0Dy/8rK/QG5wva lB2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708821158; x=1709425958; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SHsRGl/d76b5/NQ259N4xSfgavMsUIP6DHAd/pG8428=; b=rShC6sGtUhgdQB2JvH5RItT/KpfGSAG0z37b0wJbIn1+W0PWeoHFofjh9PEEU9G6LD NxP81txOVekGN2nIpTqdjJ53xz7HIVmJifnyLc0/4iqjSCT/JnbWT3fGVjQH8+Q15t7y 7bXoStbvcjfB9bJeywSMPW3Wpwr3eiMSyhUjPJLZVT53ActREMDwQ6m2jBNzPUyFnm8d eZPkkNTygHQop5JdovPr/dz6GnhBkv7UG9eHrZmUwwQGP/F/sPqsj0iDyPCQA3tY9sI4 9P36UAi68fWhhx/ZBm5aVmEZ8V2sH9ASalyJ+zI7x8ghUcJvacrj7rOPHAQasnyCUFvn Rwfw== X-Gm-Message-State: AOJu0YwpdPNLAdNkxVDzby4Yq2aIhhofzq/HWDHu4Yz3WgwfefVEoYNt OipBD/oxYV4ClSeH3l0HvDxnnyIGhBZ+gzykV8qqKFyElrcR3Irqg41rzdhmzOXadgguMN16bVf 8Dz2boRUJtbEd3sbXKFvR95uzYt8= X-Google-Smtp-Source: AGHT+IFG7MDEqz2TQZRb5NC6V+rUsDa6f4iPOoMmyoY0+l3I4dTJw74XhO0D1Dt2Eftd9iwwMGGmgAOKShRpHqCbahk= X-Received: by 2002:a17:906:5fd0:b0:a3f:da63:49fb with SMTP id k16-20020a1709065fd000b00a3fda6349fbmr1808265ejv.73.1708821158187; Sat, 24 Feb 2024 16:32:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Lucy Coleclough Date: Sun, 25 Feb 2024 00:32:27 +0000 Message-ID: Subject: Re: Packaging Hyprland To: hutzdog Cc: guix-devel@gnu.org Content-Type: multipart/alternative; boundary="0000000000001e5886061229eed4" Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=coleclough.lucy@gmail.com; helo=mail-ej1-x635.google.com 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.70 X-Spam-Score: -7.70 X-Migadu-Queue-Id: 7D9C62735D X-TUID: efFFHmEbj3+l --0000000000001e5886061229eed4 Content-Type: text/plain; charset="UTF-8" Hey there, have been working on hyprland recently, I have got plugins working in my hyprland service, Each plugin can be built to a shared object and then referenced in the config plugins: https://gitlab.com/lucyCole/GuixChannel/-/blob/main/lucyChannel/packages/hyprlandPlugins.scm?ref_type=heads service: https://gitlab.com/lucyCole/GuixConfig/-/blob/main/variationAndSource/existingSystemOperation/home/services/temporary.scm?ref_type=heads#L278 I also made a tomlplusplus package and submitted it to the rosenthal repo but yh could probably just go in guix https://github.com/rakino/Rosenthal/pull/13/files#diff-43c57fc1a44f0d3b5b7642f365df293ffada6ebe4e756ac1ce08ba849f38e361R155 On Sat, 24 Feb 2024 at 20:48, hutzdog wrote: > Hi all, > > I've been working on moving over to GNU Guix recently, and have hit a > 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 > https://git.sr.ht/~hutzdog/patchwork/tree/master/item/patchwork/packages/desktop.scm > 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 (https://issues.guix.gnu.org/68844) > LibDRM -> 2.4.120 (https://issues.guix.gnu.org/68845) > > # 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) > Toml++ (package will be sent as a patch soon) > Hyprlang (for xdg-desktop-portal-hyprland, will publish after Hyprland) > > ## 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. > > # 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 --0000000000001e5886061229eed4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey there, have been working on hyprland recently,
I have got plugins working in my hyprland service,
Ea= ch plugin can be built to a shared object and then referenced in the config=
I also made a tomlplusplus package and submitted it to the rosenthal repo = but yh could probably just go in guix
https://github.com/rakino/Rosenthal/pull/13/file= s#diff-43c57fc1a44f0d3b5b7642f365df293ffada6ebe4e756ac1ce08ba849f38e361R155=

On Sat, 24 Feb 2024 at 20:48, hutzdog <hutzdog@proton.me> wrote:
Hi all,

I've been working on moving over to GNU Guix recently, and have hit a r= oadblock: there is no package for Hyprland (the one WLRoots based composito= r with single window capture and automatic window swallowing that I know of= ). I've taken the liberty of packaging the latest version (see https://git.sr.ht/~hutz= dog/patchwork/tree/master/item/patchwork/packages/desktop.scm for the p= ackage), 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 (https://issues.guix.gnu.org/68844)
LibDRM -> 2.4.120 (https://issues.guix.gnu.org/68845)

# 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)
Toml++ (package will be sent as a patch soon)
Hyprlang (for xdg-desktop-portal-hyprland, will publish after Hyprland)

## HWData
As with packages using the release versions of WLRoots, due to how Guix pac= kages 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 s= ymlinks and adds the pkg-config file, maintain a patch on a much more volat= ile version of WLRoots, or find some other solution.

# Hyprland
This will allow me to submit packages for Hyprland and its XDG Desktop Port= al at version 0.35.0 (the latest release). As it's one of the more popu= lar Wayland compositors out there, I think it is worth adding it to the rep= os. 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 whi= le) and contributing to its ecosystem.

--Hutzdog
--0000000000001e5886061229eed4--