From nobody Wed Aug 07 21:20:39 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 4WfNPh0K4Xz5Sx5q; Wed, 07 Aug 2024 21:20:40 +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 4WfNPg5VdTz4hrX; Wed, 7 Aug 2024 21:20:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723065639; 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=3/PpY/PmGzGkfaXqCAgN48oExAPuiHKyWUgWiA3QZ0I=; b=RJCwAOMMXHmt9RE6sRpHnzpCQ5glwIhL5mHUMBakm3Cs6/F/tnS+31koQBYPcW2poqTR2s lLlcCw33uctC6/i4LnchBPh7t7uZzhyXi88vs7/10VeE/QDNogkw+PemvMfha4i6ZVxGHI hARK6XuXJhIEq9kopQ/o11Rxg9eOeco4byLbwwZ51h15jE5zMDRIuUlnbC3cgbbq+aHz7A gN4llmZdS6O6IqyGoMc3PHxQThEY2UOHbezLTQh0ZWnaB7zt7JLTl6O4KbHWwbTo1NdFsW bBY4kEPNzd+mmVsmtQIgfLTCKEt8Z3fl+lSZKzaklwY333iycuWaAJha/bu+rA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723065639; a=rsa-sha256; cv=none; b=AF6SOC4k+MF+aZFjvrQqksEMbFI4S3NvGvqTKtqc3uRr5B+RV952sGC+0rnGNPA8Xla54Q ZF1dOChmmAxytBp/za8wZfUwJoLxZIhoOkdK0ni843X0X1oyK7SPB+WukT6zpm05IaqYqN Iy5ctjnx5K5P02yLPrInvEvESMQx/J6rbK3bIC4/oI85UACZKz8FfksmtVgTWzxTeSGFCf RVy/Iy+IlI0KqUf6NT8ttn18jtCptl2qhPEJnsd5+Fut9fG76LZzDgBiasHmSwMeGarM4V DPnmyxwhkfmRrcbWjfaf8rP+30P9Pz/W0TkzSJ2vJMvBiZyX8a6BDpr2byExtA== 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=1723065639; 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=3/PpY/PmGzGkfaXqCAgN48oExAPuiHKyWUgWiA3QZ0I=; b=dRrg/wI/fTM6MLRCgoZ/9gnfz7R0YmLanpxnjVcx38+immIEuNkFj3cZsUdirSvzakKmB8 ksX3Oq/rIvMoI2iY7ykxbkUC5t/VLNcPzFdVHxnYjvyuvs1s7fYUJfvA28u9sf9amsttFy ZWb4xWVTWLSaBsK55wC6d8CTkxYBJQOpiFQsu3n7+LSFppmv3vQcghxvHouSaxH2dQE43r noGDhZs2VGYllhl+hEXHFw/oVVV14n1Jytfm9OAf+QrhuvZ8zfw5MhUg8fg9xniXTeKHiN bWELUaiz3fIbf/pZmnhKdRvGdH/WZzOXvHuzwtIJaDhUmNdjVDY5EOTgcjsjYQ== 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 4WfNPg56Pvz167K; Wed, 7 Aug 2024 21:20:39 +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 477LKdWO010967; Wed, 7 Aug 2024 21:20:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 477LKdB5010964; Wed, 7 Aug 2024 21:20:39 GMT (envelope-from git) Date: Wed, 7 Aug 2024 21:20:39 GMT Message-Id: <202408072120.477LKdB5010964@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: 7e5a449f395b - main - x11-wm/hyprland: update to 0.42.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: 7e5a449f395be9e6daca2b63dd90542bf47da1ca Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e5a449f395be9e6daca2b63dd90542bf47da1ca commit 7e5a449f395be9e6daca2b63dd90542bf47da1ca Author: Jan Beich AuthorDate: 2024-08-07 19:17:10 +0000 Commit: Jan Beich CommitDate: 2024-08-07 21:19:09 +0000 x11-wm/hyprland: update to 0.42.0 Changes: https://github.com/hyprwm/Hyprland/releases/tag/v0.42.0 Reported by: GitHub (watch releases) --- x11-wm/hyprland/Makefile | 11 ++++--- x11-wm/hyprland/distinfo | 6 ++-- x11-wm/hyprland/files/patch-hyprpm | 14 +++++++++ x11-wm/hyprland/files/patch-system-wlroots | 46 ------------------------------ x11-wm/hyprland/pkg-plist | 8 +++--- 5 files changed, 26 insertions(+), 59 deletions(-) diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile index 7998197655b5..50994a12ee87 100644 --- a/x11-wm/hyprland/Makefile +++ b/x11-wm/hyprland/Makefile @@ -1,7 +1,6 @@ PORTNAME= hyprland DISTVERSIONPREFIX= v -DISTVERSION= 0.41.2 -PORTREVISION= 1 +DISTVERSION= 0.42.0 CATEGORIES= x11-wm wayland MAINTAINER= jbeich@FreeBSD.org @@ -20,16 +19,16 @@ LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libuuid.so:misc/e2fsprogs-libuuid \ - libwlroots-${PORTNAME}.so:x11-toolkits/wlroots-${PORTNAME} \ + libaquamarine.so:x11-toolkits/aquamarine \ libhyprcursor.so:x11/hyprcursor \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= cmake:indirect compiler:c++11-lib gl gnome meson pkgconfig xorg USE_GITHUB= yes -USE_GL= egl opengl +USE_GL= egl gbm opengl USE_GNOME= cairo pango -USE_XORG= pixman +USE_XORG= pixman xcursor GH_ACCOUNT= hyprwm GH_PROJECT= Hyprland GH_TUPLE= hyprwm:hyprland-protocols:v0.2-5-ge06482e:hyprland_protocols/subprojects/hyprland-protocols \ @@ -37,7 +36,7 @@ GH_TUPLE= hyprwm:hyprland-protocols:v0.2-5-ge06482e:hyprland_protocols/subprojec MESON_ARGS= -Dsystemd=disabled # Generated by "make update-hash" for commit_pins in hyprpm.toml -GH_HASH= 918d8340afd652b011b937d29d5eea0be08467f5 +GH_HASH= 9a09eac79b85c846e3a865a9078a3f8ff65a9259 # XXX Drop after FreeBSD 14.0 EOL around 2024-10-01 .if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__format/write_escaped.h) diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo index 5d7171de50cd..c92f7eddc2d2 100644 --- a/x11-wm/hyprland/distinfo +++ b/x11-wm/hyprland/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1719317162 -SHA256 (hyprwm-Hyprland-v0.41.2_GH0.tar.gz) = bba2cf0ec1451eb86761e88cbc3d00e9acbfa1ea732d6ed103a2186400e93dc9 -SIZE (hyprwm-Hyprland-v0.41.2_GH0.tar.gz) = 48025946 +TIMESTAMP = 1723058230 +SHA256 (hyprwm-Hyprland-v0.42.0_GH0.tar.gz) = 70f67725c7a1745d0287a954790f323e75519a1a188a3bf4b21fd968be3f5e4a +SIZE (hyprwm-Hyprland-v0.42.0_GH0.tar.gz) = 48049320 SHA256 (hyprwm-hyprland-protocols-v0.2-5-ge06482e_GH0.tar.gz) = 05055f71e1f08496320bab54daa190f2fafec1a0e019af244edf1d37cdbf9b8a SIZE (hyprwm-hyprland-protocols-v0.2-5-ge06482e_GH0.tar.gz) = 7424 SHA256 (canihavesomecoffee-udis86-1.7.2-186-g5336633_GH0.tar.gz) = 69aff959179ff6247b375b92e797221dbd8e078eabbf1366280b0532617e7fb8 diff --git a/x11-wm/hyprland/files/patch-hyprpm b/x11-wm/hyprland/files/patch-hyprpm new file mode 100644 index 000000000000..308729eb409b --- /dev/null +++ b/x11-wm/hyprland/files/patch-hyprpm @@ -0,0 +1,14 @@ +Avoid hyprpm rebuilding Hyprland outside of ports + +--- hyprpm/src/core/PluginManager.cpp.orig 2024-04-14 18:48:28 UTC ++++ hyprpm/src/core/PluginManager.cpp +@@ -316,9 +316,6 @@ eHeadersErrors CPluginManager::headersValid() { + eHeadersErrors CPluginManager::headersValid() { + const auto HLVER = getHyprlandVersion(); + +- if (!std::filesystem::exists(DataState::getHeadersPath() + "/share/pkgconfig/hyprland.pc")) +- return HEADERS_MISSING; +- + // find headers commit + std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkgconf --cflags --keep-system-cflags hyprland", DataState::getHeadersPath()); + auto headers = execAndGet(cmd.c_str()); diff --git a/x11-wm/hyprland/files/patch-system-wlroots b/x11-wm/hyprland/files/patch-system-wlroots deleted file mode 100644 index 9c0643e27f17..000000000000 --- a/x11-wm/hyprland/files/patch-system-wlroots +++ /dev/null @@ -1,46 +0,0 @@ -Allow system wlroots to reduce maintenance (wlroots has tons of options) - ---- meson.build.orig 2024-04-14 18:48:28 UTC -+++ meson.build -@@ -33,8 +33,8 @@ endif - add_project_arguments('-DHAS_EXECINFO', language: 'cpp') - endif - --wlroots = subproject('wlroots-hyprland', default_options: ['examples=false', 'renderers=gles2']) --have_xwlr = wlroots.get_variable('features').get('xwayland') -+wlroots = dependency('wlroots-hyprland', 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') -@@ -89,5 +89,6 @@ import('pkgconfig').generate( - url: 'https://github.com/hyprwm/Hyprland', - description: 'Hyprland header files', - install_dir: pkg_install_dir, -- subdirs: ['', 'hyprland/protocols', 'hyprland/wlroots'], -+ subdirs: ['', 'hyprland/protocols'], -+ requires_private: wlroots, - ) ---- src/meson.build.orig 2024-04-14 18:48:28 UTC -+++ src/meson.build -@@ -9,7 +9,7 @@ executable('Hyprland', src, - server_protos, - dependency('wayland-server'), - dependency('wayland-client'), -- wlroots.get_variable('wlroots'), -+ wlroots, - dependency('cairo'), - 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 -@@ -316,9 +316,6 @@ eHeadersErrors CPluginManager::headersValid() { - eHeadersErrors CPluginManager::headersValid() { - const auto HLVER = getHyprlandVersion(); - -- if (!std::filesystem::exists(DataState::getHeadersPath() + "/share/pkgconfig/hyprland.pc")) -- return HEADERS_MISSING; -- - // find headers commit - std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkgconf --cflags --keep-system-cflags hyprland", DataState::getHeadersPath()); - auto headers = execAndGet(cmd.c_str()); diff --git a/x11-wm/hyprland/pkg-plist b/x11-wm/hyprland/pkg-plist index c9917f96dde3..70f5c4aecaba 100644 --- a/x11-wm/hyprland/pkg-plist +++ b/x11-wm/hyprland/pkg-plist @@ -5,10 +5,10 @@ share/bash-completion/completions/hyprctl share/bash-completion/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 -%%DATADIR%%/wall2.png +share/hypr/hyprland.conf +share/hypr/wall0.png +share/hypr/wall1.png +share/hypr/wall2.png share/man/man1/Hyprland.1.gz share/man/man1/hyprctl.1.gz share/pkgconfig/hyprland.pc