Wlroots/Sway/Labwc in pkgsrc
Robert Bagdan <[email protected]> Thu, 2 Apr 2026 10:28:23 +0200
| Newsgroups | gmane.os.netbsd.devel.packages |
|---|---|
| Message-ID | <CADsetiqvPZq8PRnvWOfgZ=uGM=eTEHzALppAXVVuVnguHRs5yg@mail.gmail.com> |
Hi, I have been working in pkgsrc-wip on wlroots, which is a library for building wayland compositors, along with sway (i3 like) and labwc (openbox like) compositors. I believe these packages are ready to be imported into pkgsrc. At least, I can run both labwc and sway on a NetBSD-11 amd64 i915drmkms system without issues. (I personally use labwc, as the tiling workflow is not familiar to me.) Note that wlroots requires NetBSD 11, as NetBSD 10 doesn’t allow DRM_IOCTL_GET_UNIQUE on render nodes, which causes the DRM backend initialization to fail. I have a few questions regarding the import: 1) Category for Wayland packages Currently, some related packages would go into x11, but I’m wondering whether introducing a separate "wayland" category would make sense. For example, OpenBSD ports has a dedicated wayland category, however FreeBSD ports doesn’t. Although the number of packages may remain relatively small, a dedicated category might better reflect their role. 2) xwayland package Pkgsrc currently provides the modular-xorg-xwayland, but I propose renaming it to xwayland. I have successfully built xwayland against the native X11, and it appears to work correctly. To achieve this, I made some changes to x11-links, which are available in pkgsrc-wip. I would also like to make this available in binary repositories, as wlroots can make use of xwayland support. The import candidate packages from pkgsrc-wip: * New packages: (sysutils)/seatd: Seat management daemon and library (graphics)/glslang: Front end for GLSL/ESSL, HLSL (partial) and SPIR-V generator (graphics)/vulkan-loader: Loader for Vulkan Graphics API (@nros) (graphics)/libliftoff: Lightweight KMS plane library (devel)/libopeninput: Wscons(4) and kqueue(2) based port of libinput (devel)/input-headers: Input headers from libopeninput (devel)/libevdev-chunk: Minimal set of libevdev functions (x11 or wayland)/wlroots: Wayland compositor library (devel)/libsfdo: Libraries which implement some of the freedesktop.org specifications (wm or wayland)/labwc: Wlroots-based compositor for Wayland, inspired by Openbox (devel)/basu: The sd-bus library, extracted from systemd (x11 or wayland)/sway: Tilling, i3-compatible Wayland compositor (devel)/tllist: C implementation of a typed linked list (@bsiegert) (fonts)/fcft: Simple library for font loading and glyph rasterization (@bsiegert) (x11 or wayland)/foot: Terminal for Wayland (@bsiegert) (x11 or wayland)/swaybg: Wallpaper tool for Wayland compositors (devel)/gtk-layer-shell: Library to create desktop components for Wayland (devel)/gtk4-layer-shell: Library to create desktop components for Wayland (devel)/chrono-date: Date and time library based on the C++11/14/17 <chrono> header (x11 or wayland)/sfwbar: S* Floating Window Bar for wayland compositors (x11 or wayland)/swayidle: Idle management daemon for Wayland compositors (x11 or wayland)/swaylock: Screen locker for Wayland compositors (x11 or wayland)/slurp: Tool to select a region in a Wayland compositor (x11 or wayland)/grim: Grab images from a Wayland compositor (x11 or wayland)/wl-clipboard: Command-line copy/paste utilities for Wayland (x11 or wayland)/wlr-randr: Utility to manage outputs of a Wayland compositor (x11 or wayland)/swappy: Screenshot tool for Wayland (devel)/libscfg: C library for a simple configuration file format (devel)/vali: C library and code generator for Varlink (x11 or wayland)/kanshi: Dynamic display configuration for Wayland (devel)/aml: Another main loop library (@wiz) (x11 or wayland)/neatvnc: Liberally licensed VNC server library with a clean interface (@wiz) (x11 or wayland)/wayvnc: VNC server for wlroots based Wayland compositors (@wiz) (x11 or wayland)/wlrctl: Utility for miscellaneous wlroots extensions (x11 or wayland)/wlopm: Wayland output power management * Changes on existed packages: x11/modular-xorg-xwayland: move to (x11 or wayland)/xwayland x11/dunst: enable wayland support pkgtools/x11-links: changes to build xwayland Any feedback or suggestions would be appreciated. If there are no objections, I plan to proceed with the import around April 11-12. -- Regards, kikadf