Hi
This updates wlroots to 0.18.1. It will be needed for sway
0.10. Wayfire will need an update too (landry is working on it)
Index: Makefile
===================================================================
RCS file: /local/cvs/ports/wayland/wlroots/Makefile,v
diff -u -p -u -r1.9 Makefile
--- Makefile 30 Jun 2024 13:22:53 -0000 1.9
+++ Makefile 5 Nov 2024 09:57:39 -0000
@@ -1,6 +1,6 @@
COMMENT = modular Wayland compositor library
-V = 0.17.4
+V = 0.18.1
EPOCH = 0
DISTNAME = wlroots-${V}
CATEGORIES = wayland
@@ -12,12 +12,12 @@ HOMEPAGE = https://gitlab.freedesktop.or
# MIT
PERMIT_PACKAGE = Yes
-SHARED_LIBS += wlroots 0.1 # 0.0
+SHARED_LIBS += wlroots-0.18 0.0 # 0.0
MODULES = devel/meson
WANTLIB += EGL GLESv2 drm gbm m pixman-1
-WANTLIB += display-info liftoff udev
+WANTLIB += display-info lcms2 liftoff udev
WANTLIB += input seat
WANTLIB += vulkan wayland-client wayland-server
WANTLIB += xcb xcb-composite xcb-dri3 xcb-errors xcb-ewmh
@@ -37,6 +37,7 @@ BUILD_DEPENDS = \
wayland/xwayland
LIB_DEPENDS = \
+ graphics/lcms2 \
graphics/libliftoff \
graphics/vulkan-loader \
sysutils/libdisplay-info \
Index: distinfo
===================================================================
RCS file: /local/cvs/ports/wayland/wlroots/distinfo,v
diff -u -p -u -r1.6 distinfo
--- distinfo 30 Jun 2024 13:22:53 -0000 1.6
+++ distinfo 5 Nov 2024 09:57:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (wlroots-0.17.4.tar.gz) = 0xkNGdA0RpVeaKksd9THSveDhLDbOahaCxWCrcgPNtE=
-SIZE (wlroots-0.17.4.tar.gz) = 609179
+SHA256 (wlroots-0.18.1.tar.gz) = ucS/70Ej/p+GYigLhR48V0GSdFcXQxWCaCe/u3BhKHg=
+SIZE (wlroots-0.18.1.tar.gz) = 628648
Index: patches/patch-meson_build
===================================================================
RCS file: /local/cvs/ports/wayland/wlroots/patches/patch-meson_build,v
diff -u -p -u -r1.1 patch-meson_build
--- patches/patch-meson_build 25 Nov 2023 11:16:14 -0000 1.1
+++ patches/patch-meson_build 5 Nov 2024 09:57:39 -0000
@@ -1,7 +1,9 @@
+No librt on OpenBSD
+
Index: meson.build
--- meson.build.orig
+++ meson.build
-@@ -145,7 +145,6 @@ pixman = dependency('pixman-1',
+@@ -134,7 +134,6 @@ pixman = dependency('pixman-1',
default_options: ['werror=false'],
)
math = cc.find_library('m')
@@ -9,7 +11,7 @@ Index: meson.build
wlr_files = []
wlr_deps = [
-@@ -154,7 +153,6 @@ wlr_deps = [
+@@ -143,7 +142,6 @@ wlr_deps = [
xkbcommon,
pixman,
math,
Index: patches/patch-render_vulkan_vulkan_c
===================================================================
RCS file: /local/cvs/ports/wayland/wlroots/patches/patch-render_vulkan_vulkan_c,v
diff -u -p -u -r1.1 patch-render_vulkan_vulkan_c
--- patches/patch-render_vulkan_vulkan_c 25 Nov 2023 11:16:14 -0000 1.1
+++ patches/patch-render_vulkan_vulkan_c 5 Nov 2024 09:57:39 -0000
@@ -4,8 +4,8 @@ Index: render/vulkan/vulkan.c
--- render/vulkan/vulkan.c.orig
+++ render/vulkan/vulkan.c
@@ -1,4 +1,4 @@
--#if !defined(__FreeBSD__)
-+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
- #define _POSIX_C_SOURCE 200809L
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__)
+ #undef _POSIX_C_SOURCE
No comments:
Post a Comment