all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: hutzdog <hutzdog@proton.me>
To: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Packaging Hyprland
Date: Fri, 23 Feb 2024 01:20:13 +0000	[thread overview]
Message-ID: <X24_eLuOZy4L7h2CVIrXvx464iv2Z_1rTzOsZy036taE6MLIO3F1ZuthGjr04bokIt2RK_dozG46eM2zCscPITEMVtyNnW_NvTwAwSs7qhQ=@proton.me> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1978 bytes --]

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

[-- Attachment #1.2: publickey - hutzdog@proton.me - 0xD0A768D6.asc --]
[-- Type: application/pgp-keys, Size: 2446 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 680 bytes --]

             reply	other threads:[~2024-02-24 21:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23  1:20 hutzdog [this message]
2024-02-24 21:15 ` Packaging Hyprland John Kehayias
2024-02-24 22:32   ` hutzdog
2024-02-25  0:32 ` Lucy Coleclough
2024-02-25  1:07   ` hutzdog
2024-02-25  2:39   ` Hilton Chain
2024-03-02  2:04     ` John Kehayias
  -- strict thread matches above, loose matches on Subject: below --
2024-02-24 22:32 John Kehayias
2024-02-25 10:42 ` Efraim Flashner
2024-03-02  2:09   ` John Kehayias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='X24_eLuOZy4L7h2CVIrXvx464iv2Z_1rTzOsZy036taE6MLIO3F1ZuthGjr04bokIt2RK_dozG46eM2zCscPITEMVtyNnW_NvTwAwSs7qhQ=@proton.me' \
    --to=hutzdog@proton.me \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.