From nobody Sat Jul 13 00:38:54 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WLV2R1z4Nz5R887; Sat, 13 Jul 2024 00:38:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WLV2Q6hjWz4KK1; Sat, 13 Jul 2024 00:38:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720831135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VrXBIJOMEhnzIiurd52UiqRmnzbtztXKxX49MNswq/M=; b=AbfOoD3aJlnCtBRspkF0oHllj6O2Cbq9eROO9GKWgpUSDQjnsxQmK9LA1qrz1w8HZPYBxx 5IVIgzwv0inKfP2u20VVkmoZMYQ9KbFpZfbAy0BsoP5sGXm0H4Uvofp2iRwPgvUHSiedHT uaD3IycO5CbuLQjIWY8EZVQCpagmoNlN+MKazbtHG4Nbo9caeJFe4tb2SJpa7II9UDM5cO 00KNge2ZCsZ5/g87hnCEPhb9UlZ0XbT+Pb7RaRiTnOoYgRCd66c5F0w1y3QALZSjvKLkcH eMGFauIAK+7DlJGCsmqk9+IvtD1hEwJzSJUpWjDzhq9pYhIXPAL3j3rz3X9qfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720831135; a=rsa-sha256; cv=none; b=m03vETS/veZe1BqNr+7yyzH75YKXfJ8fGMTHXoCSWnoJ20MrsysJIOmUtwaydEYfw9UPT7 b535ibwjXlhqrMqa8l8QgI/uI/GFfdzi3s4CKzfd0T91HoSwJrvr4uTCDb/bJFyAa/GTFM g5EjWlCgiUCNRk8B09f5WwQXRJVI9PZaOfoKQp9dor77TwCqZgZXgRBNgqOvkY3QQj/h9s 0pegJDXwJdW9AhySAoNpeqgNxaI3SDCVbE+wK1tp0CT1WLwbEunxgOIRYq6sK3YIBTv7Rw pfKDi8CVGqT79lKHF4u0wP2F7erUxRFKuxTdlek3Pq2Wb5eeMk3JuYnsRpNDRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720831135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VrXBIJOMEhnzIiurd52UiqRmnzbtztXKxX49MNswq/M=; b=Bxgw6/y9C3JjY8WHcPswdQreTx084gzyWGHMzcpbpcIn86MDeY5uo/EG/o8gMd2AFQ1g+1 1XwiHG7a+CaaP2oSywE5bIvqhaWacz9hxc3BDws1pf4RhUL49DskzBbtdmEaPogS2cV34Y EmFSkD+hs0aBwvGoNFnvE3OgC3RPKuxiaR2vibS2KCgIgMofLc8asm/UeCHs8Sjnawcfkz 5j4eFxweLMBcal8UkBzHbjkWCoMsdDzTe+UedtrpfHhxFzUcP1RsLz593DLrTldzclCCyZ Qfeae9TWETYVi2U0ROc7W/yHMrRJcik7dOtda18T6Zp4Yd7oCTi00pMThP/SBw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WLV2Q6Gb8z14hl; Sat, 13 Jul 2024 00:38:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46D0csXA034707; Sat, 13 Jul 2024 00:38:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46D0cs7i034704; Sat, 13 Jul 2024 00:38:54 GMT (envelope-from git) Date: Sat, 13 Jul 2024 00:38:54 GMT Message-Id: <202407130038.46D0cs7i034704@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 985c92a2f2d6 - main - x11-toolkits/wlroots: fork 0.17 into a pinned port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 985c92a2f2d66660e0ebd600abb5d270fe97b886 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=985c92a2f2d66660e0ebd600abb5d270fe97b886 commit 985c92a2f2d66660e0ebd600abb5d270fe97b886 Author: Jan Beich AuthorDate: 2024-07-12 23:59:31 +0000 Commit: Jan Beich CommitDate: 2024-07-13 00:36:34 +0000 x11-toolkits/wlroots: fork 0.17 into a pinned port Some consumers are ready for 0.18 API but many are not. --- x11-toolkits/Makefile | 1 + x11-toolkits/wlroots017/Makefile | 68 +++++++++++++++++++++++ x11-toolkits/wlroots017/distinfo | 3 ++ x11-toolkits/wlroots017/pkg-descr | 28 ++++++++++ x11-toolkits/wlroots017/pkg-plist | 110 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 210 insertions(+) diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 29c060b1ee90..81512ad31616 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -249,6 +249,7 @@ SUBDIR += wlroots-hyprland SUBDIR += wlroots015 SUBDIR += wlroots016 + SUBDIR += wlroots017 SUBDIR += wmapp SUBDIR += wxgtk30 SUBDIR += wxgtk32 diff --git a/x11-toolkits/wlroots017/Makefile b/x11-toolkits/wlroots017/Makefile new file mode 100644 index 000000000000..22acd77523a9 --- /dev/null +++ b/x11-toolkits/wlroots017/Makefile @@ -0,0 +1,68 @@ +PORTNAME= wlroots +DISTVERSION= 0.17.4 +CATEGORIES= x11-toolkits +PKGNAMESUFFIX= 017 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Modular Wayland compositor library (deprecated 0.17.* series) +WWW= https://gitlab.freedesktop.org/wlroots/wlroots + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= wayland-protocols>=1.32:graphics/wayland-protocols +LIB_DEPENDS= libdrm.so:graphics/libdrm \ + libwayland-server.so:graphics/wayland \ + libxkbcommon.so:x11/libxkbcommon + +USES= compiler:c11 gl meson pkgconfig xorg +USE_GITLAB= yes +USE_GL= gbm +USE_XORG= pixman +USE_LDCONFIG= yes +GL_SITE= https://gitlab.freedesktop.org +MESON_ARGS= -Dexamples=false -Dbackends=${BACKENDS:ts,} -Drenderers=${RENDERERS:ts,} + +PORTSCOUT= limit:^0\.17\. + +OPTIONS_DEFINE= DRM OPENGL VULKAN X11 +OPTIONS_DEFAULT=DRM OPENGL VULKAN X11 +OPTIONS_SUB= yes + +DRM_DESC= KMS console support +DRM_BUILD_DEPENDS= hwdata>0:misc/hwdata +DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ + libliftoff.so:graphics/libliftoff \ + libdisplay-info.so:sysutils/libdisplay-info \ + libseat.so:sysutils/seatd \ + libinput.so:x11/libinput +DRM_MESON_ENABLED= session +DRM_VARS= BACKENDS+="drm libinput" + +OPENGL_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri +OPENGL_USE= GL=egl,glesv2 +OPENGL_VARS= RENDERERS+=gles2 + +VULKAN_DESC= Vulkan renderer +VULKAN_BUILD_DEPENDS= glslangValidator:graphics/glslang \ + vulkan-headers>0:graphics/vulkan-headers +VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader +VULKAN_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri +VULKAN_VARS= RENDERERS+=vulkan + +X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ + libxcb-render-util.so:x11/xcb-util-renderutil \ + libxcb-icccm.so:x11/xcb-util-wm +X11_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ + Xwayland:x11-servers/xwayland +X11_RUN_DEPENDS= Xwayland:x11-servers/xwayland +X11_USE= XORG=xcb +X11_MESON_ENABLED= xwayland +X11_VARS= BACKENDS+=x11 + +post-patch: +# Extract (snapshot) version from the port instead of meson.build + @${REINPLACE_CMD} "/STR/s/meson.project_version()/'${DISTVERSIONFULL}'/" \ + ${WRKSRC}/include/wlr/meson.build + +.include diff --git a/x11-toolkits/wlroots017/distinfo b/x11-toolkits/wlroots017/distinfo new file mode 100644 index 000000000000..c97bf46ee8a9 --- /dev/null +++ b/x11-toolkits/wlroots017/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1719512708 +SHA256 (wlroots-0.17.4.tar.bz2) = 76cea5143c966640000efad32d5961b1d2303744497d30ef5e78aaf50360288d +SIZE (wlroots-0.17.4.tar.bz2) = 454301 diff --git a/x11-toolkits/wlroots017/pkg-descr b/x11-toolkits/wlroots017/pkg-descr new file mode 100644 index 000000000000..6daf6a788b68 --- /dev/null +++ b/x11-toolkits/wlroots017/pkg-descr @@ -0,0 +1,28 @@ +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. diff --git a/x11-toolkits/wlroots017/pkg-plist b/x11-toolkits/wlroots017/pkg-plist new file mode 100644 index 000000000000..453bcf649184 --- /dev/null +++ b/x11-toolkits/wlroots017/pkg-plist @@ -0,0 +1,110 @@ +include/wlr/backend.h +%%DRM%%include/wlr/backend/drm.h +include/wlr/backend/headless.h +include/wlr/backend/interface.h +%%DRM%%include/wlr/backend/libinput.h +include/wlr/backend/multi.h +%%DRM%%include/wlr/backend/session.h +include/wlr/backend/wayland.h +%%X11%%include/wlr/backend/x11.h +include/wlr/config.h +include/wlr/interfaces/wlr_buffer.h +include/wlr/interfaces/wlr_keyboard.h +include/wlr/interfaces/wlr_output.h +include/wlr/interfaces/wlr_pointer.h +include/wlr/interfaces/wlr_switch.h +include/wlr/interfaces/wlr_tablet_pad.h +include/wlr/interfaces/wlr_tablet_tool.h +include/wlr/interfaces/wlr_touch.h +include/wlr/render/allocator.h +include/wlr/render/dmabuf.h +include/wlr/render/drm_format_set.h +%%OPENGL%%include/wlr/render/egl.h +%%OPENGL%%include/wlr/render/gles2.h +include/wlr/render/interface.h +include/wlr/render/pass.h +include/wlr/render/pixman.h +include/wlr/render/swapchain.h +%%VULKAN%%include/wlr/render/vulkan.h +include/wlr/render/wlr_renderer.h +include/wlr/render/wlr_texture.h +include/wlr/types/wlr_buffer.h +include/wlr/types/wlr_compositor.h +include/wlr/types/wlr_content_type_v1.h +include/wlr/types/wlr_cursor.h +include/wlr/types/wlr_cursor_shape_v1.h +include/wlr/types/wlr_damage_ring.h +include/wlr/types/wlr_data_control_v1.h +include/wlr/types/wlr_data_device.h +include/wlr/types/wlr_drm.h +%%DRM%%include/wlr/types/wlr_drm_lease_v1.h +include/wlr/types/wlr_export_dmabuf_v1.h +include/wlr/types/wlr_foreign_toplevel_management_v1.h +include/wlr/types/wlr_fractional_scale_v1.h +include/wlr/types/wlr_fullscreen_shell_v1.h +include/wlr/types/wlr_gamma_control_v1.h +include/wlr/types/wlr_idle_inhibit_v1.h +include/wlr/types/wlr_idle_notify_v1.h +include/wlr/types/wlr_input_device.h +include/wlr/types/wlr_input_inhibitor.h +include/wlr/types/wlr_input_method_v2.h +include/wlr/types/wlr_keyboard.h +include/wlr/types/wlr_keyboard_group.h +include/wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h +include/wlr/types/wlr_layer_shell_v1.h +include/wlr/types/wlr_linux_dmabuf_v1.h +include/wlr/types/wlr_matrix.h +include/wlr/types/wlr_output.h +include/wlr/types/wlr_output_layer.h +include/wlr/types/wlr_output_layout.h +include/wlr/types/wlr_output_management_v1.h +include/wlr/types/wlr_output_power_management_v1.h +include/wlr/types/wlr_pointer.h +include/wlr/types/wlr_pointer_constraints_v1.h +include/wlr/types/wlr_pointer_gestures_v1.h +include/wlr/types/wlr_presentation_time.h +include/wlr/types/wlr_primary_selection.h +include/wlr/types/wlr_primary_selection_v1.h +include/wlr/types/wlr_region.h +include/wlr/types/wlr_relative_pointer_v1.h +include/wlr/types/wlr_scene.h +include/wlr/types/wlr_screencopy_v1.h +include/wlr/types/wlr_seat.h +include/wlr/types/wlr_security_context_v1.h +include/wlr/types/wlr_server_decoration.h +include/wlr/types/wlr_session_lock_v1.h +include/wlr/types/wlr_shm.h +include/wlr/types/wlr_single_pixel_buffer_v1.h +include/wlr/types/wlr_subcompositor.h +include/wlr/types/wlr_switch.h +include/wlr/types/wlr_tablet_pad.h +include/wlr/types/wlr_tablet_tool.h +include/wlr/types/wlr_tablet_v2.h +include/wlr/types/wlr_tearing_control_v1.h +include/wlr/types/wlr_text_input_v3.h +include/wlr/types/wlr_touch.h +include/wlr/types/wlr_viewporter.h +include/wlr/types/wlr_virtual_keyboard_v1.h +include/wlr/types/wlr_virtual_pointer_v1.h +include/wlr/types/wlr_xcursor_manager.h +include/wlr/types/wlr_xdg_activation_v1.h +include/wlr/types/wlr_xdg_decoration_v1.h +include/wlr/types/wlr_xdg_foreign_registry.h +include/wlr/types/wlr_xdg_foreign_v1.h +include/wlr/types/wlr_xdg_foreign_v2.h +include/wlr/types/wlr_xdg_output_v1.h +include/wlr/types/wlr_xdg_shell.h +include/wlr/util/addon.h +include/wlr/util/box.h +include/wlr/util/edges.h +include/wlr/util/log.h +include/wlr/util/region.h +include/wlr/version.h +include/wlr/xcursor.h +%%X11%%include/wlr/xwayland.h +%%X11%%include/wlr/xwayland/server.h +%%X11%%include/wlr/xwayland/shell.h +%%X11%%include/wlr/xwayland/xwayland.h +lib/libwlroots.so +lib/libwlroots.so.12 +libdata/pkgconfig/wlroots.pc