From nobody Mon Apr 15 13:44:34 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 4VJ7h33rVxz5GcT9; Mon, 15 Apr 2024 13:44:35 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJ7h30DkNz4RCY; Mon, 15 Apr 2024 13:44:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713188675; 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=1azYalKTLwkqJUWjECc1+WeSJY2x+hzwpYULJl8UNdM=; b=I0d97K8WxauCnoGDKiz3rhe3KUUXPVEh3fefmFaSLcc3O1kz+5Yx2hRyzFE+M1I1C5cg/L e4lR6R0TBD4JcIjQ75Vfol8XQWXJyTz1B1fyAWwAJhChjoK0/5QrAVsSgvLkFzLw561RnB Yp1Z3IVgYwBiSB29osvacNJcydFT8E/pBrd5+5vkFFI9/1kmx2q7I92/Ofspe8gAx8DBaO endeLxPYDrB8nsTJahujpzhH2Ytm3s8zwRri/F+CuJ7SJKOM2wJ9chL6f/O88RnX4kRr0y TH00fovQ+qQ83nz3EUKmWJdYTglYeSHqjp1PLGokwRdiL5WAEeaB39wU70FJSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713188675; a=rsa-sha256; cv=none; b=XtCHMCNx7ZaB2yRATMMCyFPs527Dwftb8vBMeiCVrv7Cz6jwLwBy94jlOAnVDQA02w2rVR KjHvIYiGlejo4fw/J0XeYFM8/iSu3TaDtorJ1v3N/bi3Wtzs9prQyTep8XLz9ID3o+tTte O3DlirnFbdmfyhD0M3DL04fb/KDoV0boEUGuQD4c8LW0bx3V7PlfAKEcXkoQe+0WSi/+Zr 0+8LL57Bu/Q9HyKiir0FYAM1F5Dwi+bSLiSD1i7c2sIoU7dsGrpUZECszhpYoXPTjxU9tj 0bW/TxhKwD+9r1PwmdChDS0Guu5itX03OkdzhkoS3lKdFGz2x6n4CF6DjuVuNQ== 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=1713188675; 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=1azYalKTLwkqJUWjECc1+WeSJY2x+hzwpYULJl8UNdM=; b=dPawWNcsALWY1YQsRmRTqqYV8VWOtf4zmPBnuFUGR1AkTziaqol0/20z92OVlBOkBdprkz mdxRxvpzuz+c9lPB6KPPo9pykTq2B9GER85+lFu9BiSa4LhGwlVj/mVZTnKn6arUj0BlZL HSNI8FiD5ByJl6vYkvXTL4/cy4o4nTWimhyIuzAP6GS2aKr6M6mHkxq4ceA1vy5TX8/EnN nRhiuFaTlwH+y9P5LxeP9Ervr5oMINfEUsvRIJ0pWQ/cVNmThc1TxDPN0Qhw6ifS+mFCPQ XPQfuqH0CZuX7FVraF1BMIkL7BxIHgLK6xRGGf5VEMSaFvvSQKl9il4ufHeAjg== 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 4VJ7h26W8hz124N; Mon, 15 Apr 2024 13:44:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43FDiYTM034197; Mon, 15 Apr 2024 13:44:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43FDiYOG034194; Mon, 15 Apr 2024 13:44:34 GMT (envelope-from git) Date: Mon, 15 Apr 2024 13:44:34 GMT Message-Id: <202404151344.43FDiYOG034194@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: d59b388c4e67 - main - x11-wm/hyprland: update to 0.39.0 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: d59b388c4e67414691234d06275dbf5f323d8026 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=d59b388c4e67414691234d06275dbf5f323d8026 commit d59b388c4e67414691234d06275dbf5f323d8026 Author: Jan Beich AuthorDate: 2024-04-14 18:48:28 +0000 Commit: Jan Beich CommitDate: 2024-04-15 13:44:22 +0000 x11-wm/hyprland: update to 0.39.0 Changes: https://github.com/hyprwm/Hyprland/releases/tag/v0.39.0 Reported by: GitHub (watch releases) --- x11-wm/hyprland/Makefile | 15 ++++++++++++--- x11-wm/hyprland/distinfo | 8 +++++--- x11-wm/hyprland/files/patch-system-wlroots | 28 ++++++++++++++-------------- x11-wm/hyprland/pkg-plist | 6 ++++++ 4 files changed, 37 insertions(+), 20 deletions(-) diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile index cc830a14d576..92d37c769483 100644 --- a/x11-wm/hyprland/Makefile +++ b/x11-wm/hyprland/Makefile @@ -1,9 +1,11 @@ PORTNAME= hyprland DISTVERSIONPREFIX= v -DISTVERSION= 0.38.1 -PORTREVISION= 1 +DISTVERSION= 0.39.0 CATEGORIES= x11-wm wayland +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 2ea367839bf6.patch:-p1 # https://github.com/hyprwm/Hyprland/pull/5595 + MAINTAINER= jbeich@FreeBSD.org COMMENT= Dynamic tiling Wayland compositor that doesn't sacrifice on its looks #' WWW= https://hyprland.org/ @@ -35,13 +37,19 @@ GH_TUPLE= hyprwm:hyprland-protocols:v0.2-4-g0c2ce70:hyprland_protocols/subprojec MESON_ARGS= -Dsystemd=disabled # Generated by "make update-hash" for commit_pins in hyprpm.toml -GH_HASH= 360ede79d124ffdeebbe8401f1ac4bc0dbec2c91 +GH_HASH= e93fbd7c4f991cb8ef03e433ccc4d43587923e15 # XXX Drop after FreeBSD 14.0 EOL around 2025-03-01 .if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__format/write_escaped.h) CXXFLAGS+= -fexperimental-library .endif +# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 +# https://cgit.freebsd.org/src/commit/?id=af93fea71038 +.if !exists(/usr/include/sys/timerfd.h) +LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim +.endif + OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 @@ -61,6 +69,7 @@ post-patch: '/TIMESTAMP/ { print $$3 }' ${DISTINFO_FILE}))\"/" \ -e '/^DIRTY/s/=.*/=portbld/' \ -e '/^TAG/s/=.*/=${DISTVERSIONFULL}/' \ + -e '/^COMMITS/s/=.*/="?"/' \ ${WRKSRC}/scripts/generateVersion.sh # Respect PREFIX for wallpapers diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo index d08429b31261..dd58b7216dbc 100644 --- a/x11-wm/hyprland/distinfo +++ b/x11-wm/hyprland/distinfo @@ -1,9 +1,11 @@ -TIMESTAMP = 1712413453 -SHA256 (hyprwm-Hyprland-v0.38.1_GH0.tar.gz) = e183eac80c940477a31d236a344939b18e51b0145295d6559a26b3c8084fd0f3 -SIZE (hyprwm-Hyprland-v0.38.1_GH0.tar.gz) = 47880233 +TIMESTAMP = 1713120508 +SHA256 (hyprwm-Hyprland-v0.39.0_GH0.tar.gz) = cf268af89b61a5d7a1535a6837997b43955da26b2dde9a71ff72a57dccefc470 +SIZE (hyprwm-Hyprland-v0.39.0_GH0.tar.gz) = 47898832 SHA256 (hyprwm-hyprland-protocols-v0.2-4-g0c2ce70_GH0.tar.gz) = d8eb9712d66a167a22a0dae829b6dba2b85814b566d0a87918c944e7c0388d1b SIZE (hyprwm-hyprland-protocols-v0.2-4-g0c2ce70_GH0.tar.gz) = 6478 SHA256 (canihavesomecoffee-udis86-1.7.2-186-g5336633_GH0.tar.gz) = 69aff959179ff6247b375b92e797221dbd8e078eabbf1366280b0532617e7fb8 SIZE (canihavesomecoffee-udis86-1.7.2-186-g5336633_GH0.tar.gz) = 116938 SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271 SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803 +SHA256 (2ea367839bf6.patch) = ca06b9d357e050c130e6195137a86c830e5eb0e66b392afe48a80ef85040df9a +SIZE (2ea367839bf6.patch) = 4269 diff --git a/x11-wm/hyprland/files/patch-system-wlroots b/x11-wm/hyprland/files/patch-system-wlroots index cdd4e4d97185..113ad5a4ad85 100644 --- a/x11-wm/hyprland/files/patch-system-wlroots +++ b/x11-wm/hyprland/files/patch-system-wlroots @@ -1,32 +1,32 @@ Allow system wlroots to reduce maintenance (wlroots has tons of options) ---- meson.build.orig 2023-09-22 23:07:52 UTC +--- meson.build.orig 2024-04-14 18:48:28 UTC +++ meson.build -@@ -39,8 +39,8 @@ add_project_arguments( - ], - language: 'cpp') +@@ -33,8 +33,8 @@ endif + add_project_arguments('-DHAS_EXECINFO', language: 'cpp') + endif --wlroots = subproject('wlroots', default_options: ['examples=false', 'renderers=gles2']) +-wlroots = subproject('wlroots-hyprland', default_options: ['examples=false', 'renderers=gles2']) -have_xwlr = wlroots.get_variable('features').get('xwayland') +wlroots = dependency('wlroots', version: ['>=0.18.0', '<0.19.0'], default_options: ['examples=false', 'renderers=gles2']) +have_xwlr = wlroots.get_variable(pkgconfig: 'have_xwayland', internal: 'have_xwayland') == 'true' xcb_dep = dependency('xcb', required: get_option('xwayland')) cmake = import('cmake') ---- src/meson.build.orig 2023-03-14 21:56:31 UTC +--- src/meson.build.orig 2024-04-14 18:48:28 UTC +++ src/meson.build -@@ -7,7 +7,7 @@ executable('Hyprland', src, +@@ -9,7 +9,7 @@ executable('Hyprland', src, server_protos, dependency('wayland-server'), dependency('wayland-client'), - wlroots.get_variable('wlroots'), + wlroots, dependency('cairo'), - dependency('libdrm'), - dependency('egl'), ---- hyprpm/src/core/PluginManager.cpp.orig 2024-02-05 01:59:02 UTC + dependency('hyprcursor'), + dependency('hyprlang', version: '>= 0.3.2'), +--- hyprpm/src/core/PluginManager.cpp.orig 2024-04-14 18:48:28 UTC +++ hyprpm/src/core/PluginManager.cpp -@@ -285,9 +285,6 @@ eHeadersErrors CPluginManager::headersValid() { +@@ -316,9 +316,6 @@ eHeadersErrors CPluginManager::headersValid() { eHeadersErrors CPluginManager::headersValid() { const auto HLVER = getHyprlandVersion(); @@ -34,13 +34,13 @@ Allow system wlroots to reduce maintenance (wlroots has tons of options) - return HEADERS_MISSING; - // find headers commit - std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkg-config --cflags --keep-system-cflags hyprland", DataState::getHeadersPath()); + std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkgconf --cflags --keep-system-cflags hyprland", DataState::getHeadersPath()); auto headers = execAndGet(cmd.c_str()); -@@ -307,7 +304,7 @@ eHeadersErrors CPluginManager::headersValid() { +@@ -338,7 +335,7 @@ eHeadersErrors CPluginManager::headersValid() { else headers = ""; -- if (PATH.ends_with("protocols") || PATH.ends_with("wlroots")) +- if (PATH.ends_with("protocols") || PATH.ends_with("wlroots-hyprland")) + if (PATH.ends_with("protocols") || PATH.contains("wlroots")) continue; diff --git a/x11-wm/hyprland/pkg-plist b/x11-wm/hyprland/pkg-plist index 9587e6b1a9e8..a823e3cff4d8 100644 --- a/x11-wm/hyprland/pkg-plist +++ b/x11-wm/hyprland/pkg-plist @@ -1,6 +1,10 @@ bin/Hyprland bin/hyprctl bin/hyprpm +share/bash-completions/hyprctl +share/bash-completions/hyprpm +share/fish/vendor_completions.d/hyprctl.fish +share/fish/vendor_completions.d/hyprpm.fish %%DATADIR%%/hyprland.conf %%DATADIR%%/wall0.png %%DATADIR%%/wall1.png @@ -10,3 +14,5 @@ share/man/man1/hyprctl.1.gz share/pkgconfig/hyprland.pc share/wayland-sessions/hyprland.desktop share/xdg-desktop-portal/hyprland-portals.conf +share/zsh/site-functions/_hyprctl +share/zsh/site-functions/_hyprpm