x11-toolkits/wlroots020 0.20.2 MidnightBSD
Modular Wayland compositor library (current 0.20.* series)
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
db106cd15a- License
- mit
- Categories
- x11-toolkits
Description
Pluggable, composable, unopinionated modules for building a Wayland compositor; or about 60,000 lines of code you were going to write anyway.
- wlroots provides backends that abstract the underlying display and input hardware, including KMS/DRM, libinput, Wayland, X11, and headless backends, plus any custom backends you choose to write, which can all be created or destroyed at runtime and used in concert with each other.
- wlroots provides unopinionated, mostly standalone implementations of many Wayland interfaces, both from wayland.xml and various protocol extensions. We also promote the standardization of portable extensions across many compositors.
- wlroots provides several powerful, standalone, and optional tools that implement components common to many compositors, such as the arrangement of outputs in physical space.
- wlroots provides an Xwayland abstraction that allows you to have excellent Xwayland support without worrying about writing your own X11 window manager on top of writing your compositor.
- wlroots provides a renderer abstraction that simple compositors can use to avoid writing GL code directly, but which steps out of the way when your needs demand custom rendering code.
wlroots implements a huge variety of Wayland compositor features and implements them *right*, so you can focus on the features that make your compositor unique. By using wlroots, you get high performance, excellent hardware compatibility, broad support for many wayland interfaces, and comfortable development tools - or any subset of these features you like, because all of them work independently of one another and freely compose with anything you want to implement yourself.
In the other systems
The newest version among them is 0.20.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | x11-toolkits/wlroots020 | 0.20.2 newest | no data | - | [email protected] | 2026-11-15 |
| FreeBSD | x11-toolkits/wlroots020 | 0.20.2_1 newest | none known | - | [email protected] | 2026-07-24 |
| DragonFly | x11-toolkits/wlroots020 | 0.20.2_1 newest | none known | - | [email protected] | - |
| HardenedBSD | x11-toolkits/wlroots020 | 0.20.2_1 newest | no data | - | [email protected] | - |
| GhostBSD | x11-toolkits/wlroots020 | 0.20.2_1 newest | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install wlroots020
From mports:
cd /usr/mports/x11-toolkits/wlroots020 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= wlroots020>0:x11-toolkits/wlroots020
LIB_DEPENDS= libwlroots.so:x11-toolkits/wlroots020
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
evdev-proto>0: devel/evdev-protowayland-protocols>=1.47: graphics/wayland-protocols
Library 3
libdrm.so: graphics/libdrmlibwayland-server.so: graphics/waylandlibxkbcommon.so: x11/libxkbcommon
Runtime 1
wayland-protocols>0: graphics/wayland-protocols
Build dependencies 5
Run dependencies 4
Required by 1
Configuration
Options name: x11-toolkits_wlroots
| Option | Default | Description |
|---|---|---|
| DRM | on | KMS console support |
| LCMS2 | on | |
| LIBLIFTOFF | on | libliftoff DRM interface (see WLR_DRM_FORCE_LIBLIFTOFF) |
| OPENGL | on | |
| VULKAN | on | Vulkan renderer |
| X11 | on |
- USES
- compiler:c11 gl meson pkgconfig xorg
- Service scripts
- none
Files
pkg-plist 125
- include/wlroots%%SUFFIX%%/wlr/backend.h
- include/wlroots%%SUFFIX%%/wlr/backend/drm.h
- include/wlroots%%SUFFIX%%/wlr/backend/headless.h
- include/wlroots%%SUFFIX%%/wlr/backend/interface.h
- include/wlroots%%SUFFIX%%/wlr/backend/libinput.h
- include/wlroots%%SUFFIX%%/wlr/backend/multi.h
- include/wlroots%%SUFFIX%%/wlr/backend/session.h
- include/wlroots%%SUFFIX%%/wlr/backend/wayland.h
- include/wlroots%%SUFFIX%%/wlr/backend/x11.h
- include/wlroots%%SUFFIX%%/wlr/config.h
- include/wlroots%%SUFFIX%%/wlr/interfaces/wlr_buffer.h
- include/wlroots%%SUFFIX%%/wlr/interfaces/wlr_ext_image_capture_source_v1.h
- include/wlroots%%SUFFIX%%/wlr/interfaces/wlr_keyboard.h
- include/wlroots%%SUFFIX%%/wlr/interfaces/wlr_output.h
- include/wlroots%%SUFFIX%%/wlr/interfaces/wlr_pointer.h
- include/wlroots%%SUFFIX%%/wlr/interfaces/wlr_switch.h
- include/wlroots%%SUFFIX%%/wlr/interfaces/wlr_tablet_pad.h
- include/wlroots%%SUFFIX%%/wlr/interfaces/wlr_tablet_tool.h
- include/wlroots%%SUFFIX%%/wlr/interfaces/wlr_touch.h
- include/wlroots%%SUFFIX%%/wlr/render/allocator.h
- include/wlroots%%SUFFIX%%/wlr/render/color.h
- include/wlroots%%SUFFIX%%/wlr/render/dmabuf.h
- include/wlroots%%SUFFIX%%/wlr/render/drm_format_set.h
- include/wlroots%%SUFFIX%%/wlr/render/drm_syncobj.h
- include/wlroots%%SUFFIX%%/wlr/render/egl.h
- include/wlroots%%SUFFIX%%/wlr/render/gles2.h
- include/wlroots%%SUFFIX%%/wlr/render/interface.h
- include/wlroots%%SUFFIX%%/wlr/render/pass.h
- include/wlroots%%SUFFIX%%/wlr/render/pixman.h
- include/wlroots%%SUFFIX%%/wlr/render/swapchain.h
- include/wlroots%%SUFFIX%%/wlr/render/vulkan.h
- include/wlroots%%SUFFIX%%/wlr/render/wlr_renderer.h
- include/wlroots%%SUFFIX%%/wlr/render/wlr_texture.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_alpha_modifier_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_buffer.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_color_management_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_color_representation_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_compositor.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_content_type_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_cursor.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_cursor_shape_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_damage_ring.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_data_control_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_data_device.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_drm.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_drm_lease_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_export_dmabuf_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_ext_data_control_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_ext_foreign_toplevel_list_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_ext_image_capture_source_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_ext_image_copy_capture_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_ext_workspace_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_fixes.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_foreign_toplevel_management_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_fractional_scale_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_gamma_control_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_idle_inhibit_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_idle_notify_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_input_device.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_input_method_v2.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_keyboard.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_keyboard_group.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_layer_shell_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_linux_dmabuf_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_linux_drm_syncobj_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_output.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_output_layer.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_output_layout.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_output_management_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_output_power_management_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_output_swapchain_manager.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_pointer.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_pointer_constraints_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_pointer_gestures_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_presentation_time.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_primary_selection.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_primary_selection_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_relative_pointer_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_scene.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_screencopy_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_seat.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_security_context_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_server_decoration.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_session_lock_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_shm.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_single_pixel_buffer_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_subcompositor.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_switch.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_tablet_pad.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_tablet_tool.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_tablet_v2.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_tearing_control_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_text_input_v3.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_touch.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_transient_seat_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_viewporter.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_virtual_keyboard_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_virtual_pointer_v1.h
- include/wlroots%%SUFFIX%%/wlr/types/wlr_xcursor_manager.h
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| wlroots-0.20.2.tar.bz2 | 525240 | 20c37b521dc3054b6e9627b79bdd45fc716db9ebc58bdf97e57e84d04b04610f |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
db106cd15a |
Lucas Holt | x11-toolkits/wlroots020: add wlroots 0.20.2 New port for the current 0.20 series, based on wlroots019 and the
FreeBSD port. Required by sway 1.12.
AI-Assisted-by: Claude Fable 5.2 <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |