1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

x11-toolkits/wlroots-devel: update to 0.16.0.656

Changes:	88942d43fd...b18c76642a
This commit is contained in:
Jan Beich 2023-07-16 09:55:09 +00:00
parent bf0af791ab
commit 27b50932c7
6 changed files with 41 additions and 13 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= wlroots
DISTVERSION= 0.16.0-651
DISTVERSIONSUFFIX= -g88942d43fd
DISTVERSION= 0.16.0-656
DISTVERSIONSUFFIX= -gb18c76642a
CATEGORIES= x11-toolkits
PKGNAMESUFFIX= -devel

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1689339973
SHA256 (wlroots-0.16.0-651-g88942d43fd.tar.bz2) = cba3a3642550b5a7a24bea2c544266873c5af5e752d3c06d3021bb910d9c3361
SIZE (wlroots-0.16.0-651-g88942d43fd.tar.bz2) = 473827
TIMESTAMP = 1689501309
SHA256 (wlroots-0.16.0-656-gb18c76642a.tar.bz2) = 98850aa24f35bd1edf1adb02b8da9ddbc7551a9e74fd7e63e0ae90a40024dbfd
SIZE (wlroots-0.16.0-656-gb18c76642a.tar.bz2) = 474185
SHA256 (10f80a8f1bb2.patch) = ca65f8eecf32e7364d5ba43cd9ee91060710a6fb8392892c86ad71e4f2a4c0b5
SIZE (10f80a8f1bb2.patch) = 6097
SHA256 (3196c73d487f.patch) = 69c6bc4658852bb45a24b129f625a7faaed8035dab0d79c388ae74d650beacdc

View File

@ -1,6 +1,7 @@
PORTNAME= hyprland
DISTVERSIONPREFIX= v
DISTVERSION= 0.27.0
PORTREVISION= 1
CATEGORIES= x11-wm wayland
MAINTAINER= jbeich@FreeBSD.org
@ -13,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cmake:devel/cmake-core \
evdev-proto>0:devel/evdev-proto \
wayland-protocols>=1.25:graphics/wayland-protocols \
wlroots>=0.16.0.529<0.17.0:x11-toolkits/wlroots
wlroots>=0.16.0.654<0.17.0:x11-toolkits/wlroots
LIB_DEPENDS= libwayland-server.so:graphics/wayland \
libwlroots.so:x11-toolkits/wlroots \
libinput.so:x11/libinput \

View File

@ -28,6 +28,15 @@ Apply https://github.com/swaywm/sway/commit/6f1a3b6652b9
wlr_xcursor_manager_set_cursor_image(g_pCompositor->m_sWLRXCursorMgr, "left_ptr", g_pCompositor->m_sWLRCursor);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Apply https://github.com/swaywm/sway/commit/91079079690c
../src/render/Renderer.cpp:60:9: error: use of undeclared identifier 'wlr_presentation_surface_sampled_on_output'; did you mean 'wlr_presentation_surface_textured_on_output'?
wlr_presentation_surface_sampled_on_output(g_pCompositor->m_sWLRPresentation, surface, RDATA->pMonitor->output);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/render/Renderer.cpp:780:5: error: use of undeclared identifier 'wlr_presentation_surface_sampled_on_output'; did you mean 'wlr_presentation_surface_textured_on_output'?
wlr_presentation_surface_sampled_on_output(g_pCompositor->m_sWLRPresentation, PSURFACE, pMonitor->output);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- src/Compositor.cpp.orig 2023-07-11 02:50:09 UTC
+++ src/Compositor.cpp
@@ -458,7 +458,7 @@ void CCompositor::startCompositor() {
@ -109,7 +118,25 @@ Apply https://github.com/swaywm/sway/commit/6f1a3b6652b9
std::string CInputManager::deviceNameToInternalString(std::string in) {
--- src/render/Renderer.cpp.orig 2023-07-11 02:50:09 UTC
+++ src/render/Renderer.cpp
@@ -1895,7 +1895,7 @@ void CHyprRenderer::ensureCursorRenderingMode() {
@@ -57,7 +57,7 @@ void renderSurface(struct wlr_surface* surface, int x,
if (!g_pHyprRenderer->m_bBlockSurfaceFeedback) {
wlr_surface_send_frame_done(surface, RDATA->when);
- wlr_presentation_surface_sampled_on_output(g_pCompositor->m_sWLRPresentation, surface, RDATA->pMonitor->output);
+ wlr_presentation_surface_scanned_out_on_output(g_pCompositor->m_sWLRPresentation, surface, RDATA->pMonitor->output);
}
// reset the UV, we might've set it above
@@ -777,7 +777,7 @@ bool CHyprRenderer::attemptDirectScanout(CMonitor* pMo
timespec now;
clock_gettime(CLOCK_MONOTONIC, &now);
wlr_surface_send_frame_done(PSURFACE, &now);
- wlr_presentation_surface_sampled_on_output(g_pCompositor->m_sWLRPresentation, PSURFACE, pMonitor->output);
+ wlr_presentation_surface_scanned_out_on_output(g_pCompositor->m_sWLRPresentation, PSURFACE, pMonitor->output);
if (wlr_output_commit(pMonitor->output)) {
if (!m_pLastScanout) {
@@ -1916,7 +1916,7 @@ void CHyprRenderer::ensureCursorRenderingMode() {
m_bHasARenderedCursor = true;
if (!m_bWindowRequestedCursorHide)

View File

@ -1,6 +1,6 @@
PORTNAME= sway
DISTVERSION?= 1.8.1-169 # git rev-list --count 1.8.1..b
DISTVERSIONSUFFIX?= -g6c234d013
DISTVERSION?= 1.8.1-170 # git rev-list --count 1.8.1..
DISTVERSIONSUFFIX?= -g910790796
CATEGORIES= x11-wm wayland
PKGNAMESUFFIX?= -devel
@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
wayland-protocols>=1.24:graphics/wayland-protocols \
wlroots>=0.16.0.556<0.17.0:x11-toolkits/wlroots
wlroots>=0.16.0.654<0.17.0:x11-toolkits/wlroots
LIB_DEPENDS= libjson-c.so:devel/json-c \
libevdev.so:devel/libevdev \
libudev.so:devel/libudev-devd \

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1689280066
SHA256 (swaywm-sway-1.8.1-169-g6c234d013_GH0.tar.gz) = f24360c8c5bab252567dbcaed2c6957c60a3108297dee05741a2723bcaf95d0c
SIZE (swaywm-sway-1.8.1-169-g6c234d013_GH0.tar.gz) = 5584615
TIMESTAMP = 1689427295
SHA256 (swaywm-sway-1.8.1-170-g910790796_GH0.tar.gz) = 5f381dded377cbe4086ec198c448ebd2b8bfa8633eb53c001c611938cbba65d9
SIZE (swaywm-sway-1.8.1-170-g910790796_GH0.tar.gz) = 5584594
SHA256 (cd9d1038a822.patch) = 266891cbe27a67f81740879dbe39819e3bf0f17b681bdc93087ae05987c2f88d
SIZE (cd9d1038a822.patch) = 8968
SHA256 (1f1c83e83a1a.patch) = 59d24c7e69a871d92b65095c46fc994900440453064dd70ffc7de2f0ff728655