From nobody Fri Sep 08 15:14:07 2023 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 4Rj04v6fvZz4sRLw; Fri, 8 Sep 2023 15:14:07 +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 4Rj04v5RvVz3Ygv; Fri, 8 Sep 2023 15:14:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694186047; 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=CssjrN2ryWHx9HF5+TIt4+MIsMJ+vAvmlF01p7FlAYQ=; b=S2jRdIshWEZz0Aq5UcP47z8Y/7lXOFxCXy9s8Z42bty0tUvjvBsluoY+2JT5rOjpeanpMg K0SiyEMC1+S7rHZbwQBgO+C9zyIO9g71sJketUP34Bxyi6vr7QUuejXGCgVBylW35jir4s Xw0TWzccKQxKzmnd29B8j76eFL4Mzj/mIijjYwcrGtEPVNmy9dCS5UKwgQjfPrGMHrBJ1d Uzu2K25K3otLdUwGAyTyjnHNFl13ydZUjIvSfRZDJ5tDeCMSLcIvJrg8y7kKWstEKP5U4a okRIEIG4c/gjlL0DQFKwR3ipZulMGrtsdjg3CcuncstopZbSwJRpmiXDJnd8mQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694186047; a=rsa-sha256; cv=none; b=cD5H2zAwgx5Lo8Ez7l5dN5u76zLrpmrUZ+f9EhC3ELt9oEWgX7Fbp5P+916XXEAiZG5ya8 8CBf7ER6Jg9IlMSQbMVvqaQ/PHUVaDfokngA4BsHUmXbZbc7/6qIhlSJhnalYMjkUZcP7l SqISrc6jBr+no1VBRSxYhzz7xo2iVDR5dptoc3rqEdxilWuFf0KRp+KZIi1a+VpUOHE+ld VIKXM3F/M5UMA2AvspfVt0qOFaow5llOQwWnRhUSN+50O8X8xNdet5jPfwXy3+MUhbwfFU LzkmdSW8ErITgoeKJhIR6tah6ZA+QEAJdYVGOfafnj8VzV+WdO+XiI3+3i1WSQ== 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=1694186047; 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=CssjrN2ryWHx9HF5+TIt4+MIsMJ+vAvmlF01p7FlAYQ=; b=Osy0YRZCdAqqb9+1BKj5MswX4AJRqeFaM5kU4rwqDANA7yBLNabQula/IJ0mWK2dIIGli5 J7d+Ie372/IF0K5aMQJftSIMONcAgDOZRtQcWEeQbDln6Ot80kI3Z7nGbbfT9Vkkqzxm6l f8O8BZ4TqOPV8C+3DQHPCgNkqTCJ+kHv2dcrQjPAjMC/mlX1CSyCf5IeUMo0IXMpTZl0+N k81PNZe+WjGxKLcOYL0hMtUp10dLWIYQdAlEsRe6So3E8LYSbKUhh0v76R4jEMuxeG8Uii On07XK9NnPwRsV8Fa4GC/j4QKFwHozbLdZ5mTbL+Nv5lmUwihD2Ss/JWJctLPQ== 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 4Rj04v4Q9vzn0r; Fri, 8 Sep 2023 15:14:07 +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 388FE7ja044227; Fri, 8 Sep 2023 15:14:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 388FE7J6044224; Fri, 8 Sep 2023 15:14:07 GMT (envelope-from git) Date: Fri, 8 Sep 2023 15:14:07 GMT Message-Id: <202309081514.388FE7J6044224@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: 4ce3b4b71dcb - main - x11/xdg-desktop-portal-hyprland: update to 1.0.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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: 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: 4ce3b4b71dcbf414bd7304c7336a78b2721f77f2 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ce3b4b71dcbf414bd7304c7336a78b2721f77f2 commit 4ce3b4b71dcbf414bd7304c7336a78b2721f77f2 Author: Jan Beich AuthorDate: 2023-09-06 18:36:48 +0000 Commit: Jan Beich CommitDate: 2023-09-08 15:13:54 +0000 x11/xdg-desktop-portal-hyprland: update to 1.0.0 Changes: https://github.com/hyprwm/xdg-desktop-portal-hyprland/releases/tag/v1.0.0 Reported by: GitHub (watch releases) --- x11/hyprland-share-picker/Makefile | 5 +-- x11/hyprland-share-picker/distinfo | 6 +-- x11/xdg-desktop-portal-hyprland/Makefile | 67 +++++++++++++++++++++----------- x11/xdg-desktop-portal-hyprland/distinfo | 10 ++--- 4 files changed, 54 insertions(+), 34 deletions(-) diff --git a/x11/hyprland-share-picker/Makefile b/x11/hyprland-share-picker/Makefile index 8b64c6a732bf..d78c99384295 100644 --- a/x11/hyprland-share-picker/Makefile +++ b/x11/hyprland-share-picker/Makefile @@ -1,14 +1,13 @@ PORTNAME= hyprland-share-picker DISTVERSIONPREFIX= v -DISTVERSION= 0.5.0 -PORTREVISION= 1 +DISTVERSION= 1.0.0 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Share picker for xdg-desktop-portal-hyprland WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland -LICENSE= MIT +LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC:H}/LICENSE RUN_DEPENDS= slurp:x11/slurp diff --git a/x11/hyprland-share-picker/distinfo b/x11/hyprland-share-picker/distinfo index e1271eef1301..f182f57b3fe6 100644 --- a/x11/hyprland-share-picker/distinfo +++ b/x11/hyprland-share-picker/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1691082525 -SHA256 (hyprwm-xdg-desktop-portal-hyprland-v0.5.0_GH0.tar.gz) = d346cbe170e7042d5e364242a715d021d9b8da2078a169771cf84cda13f24e76 -SIZE (hyprwm-xdg-desktop-portal-hyprland-v0.5.0_GH0.tar.gz) = 50608 +TIMESTAMP = 1694025408 +SHA256 (hyprwm-xdg-desktop-portal-hyprland-v1.0.0_GH0.tar.gz) = 558ff12ad20d8421f3279d5bd39dd431eccc667cc19babd5479edaaf21487f10 +SIZE (hyprwm-xdg-desktop-portal-hyprland-v1.0.0_GH0.tar.gz) = 41589 diff --git a/x11/xdg-desktop-portal-hyprland/Makefile b/x11/xdg-desktop-portal-hyprland/Makefile index 0cdd191cdba8..ca2cc3ad5bb3 100644 --- a/x11/xdg-desktop-portal-hyprland/Makefile +++ b/x11/xdg-desktop-portal-hyprland/Makefile @@ -1,55 +1,49 @@ PORTNAME= xdg-desktop-portal-hyprland DISTVERSIONPREFIX= v -DISTVERSION= 0.5.0 +DISTVERSION= 1.0.0 CATEGORIES= x11 wayland -PATCH_SITES+= https://github.com/emersion/xdg-desktop-portal-wlr/commit/:wlr -PATCHFILES+= 8453779cf394.patch:-p1:wlr # https://github.com/emersion/xdg-desktop-portal-wlr/pull/279 - MAINTAINER= jbeich@FreeBSD.org COMMENT= xdg-desktop-portal backend for hyprland WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland -LICENSE= MIT +LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= wayland-protocols>=1.24:graphics/wayland-protocols -LIB_DEPENDS= libbasu.so:devel/basu \ - libinih.so:devel/inih \ +BROKEN_FreeBSD_12= libc++ too old + +BUILD_DEPENDS= wayland-protocols>=1.31:graphics/wayland-protocols +LIB_DEPENDS= libsdbus-c++.so:devel/sdbus-cpp \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ - libuuid.so:misc/e2fsprogs-libuuid \ libpipewire-0.3.so:multimedia/pipewire -RUN_DEPENDS= grim:x11/grim \ - hyprland-share-picker:x11/hyprland-share-picker@${FLAVOR} \ - slurp:x11/slurp +RUN_DEPENDS= hyprland-share-picker:x11/hyprland-share-picker@${FLAVOR} FLAVORS= qt5 qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME} qt6_PKGNAMESUFFIX= -qt6 -USES= compiler:c11 gl meson pkgconfig +USES= compiler:gcc-c++11-lib gl meson pkgconfig USE_GITHUB= yes USE_GL= gbm GH_ACCOUNT= hyprwm GH_TUPLE= hyprwm:hyprland-protocols:v0.2:hyprland_protocols/subprojects/hyprland-protocols -MESON_ARGS= -Dsd-bus-provider=basu -Dsystemd=disabled +MESON_ARGS= -Dsystemd=disabled PLIST_FILES= libexec/${PORTNAME} \ share/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service \ share/xdg-desktop-portal/portals/hyprland.portal -# 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 +.if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__format/write_escaped.h) +CXXFLAGS+= -D_LIBCPP_ENABLE_EXPERIMENTAL # std::vformat .endif -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097 -CFLAGS+= -D__BSD_VISIBLE -D__XSI_VISIBLE -.endif +post-patch: +# Drop unused dependencies + @${REINPLACE_CMD} -e '/cairo/d' \ + -e '/jpeg/d' \ + -e '/pango/d' \ + ${WRKSRC}/src/meson.build .ifdef GH_TUPLE post-configure: @@ -57,4 +51,31 @@ post-configure: --skip-subprojects/' ${BUILD_WRKSRC}/build.ninja .endif +# XXX Drop after FreeBSD 13.2 EOL around 2024-05-01 (don't forget distinfo) +.if ${CXX} == c++ && exists(/usr/lib/libc++.so) +.if !exists(/usr/include/c++/v1/__ranges/as_rvalue_view.h) || make(makesum) || make(fetch) +BUILD_DEPENDS+= ${CMAKE_BIN}:devel/cmake-core +CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" CPP="${CPP}" +CMAKE_BIN= ${LOCALBASE}/bin/cmake + +# XXX Move into separate port and standardize via USES +GH_TUPLE+= llvm:llvm-project:llvmorg-16.0.1:libcxx +CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx_prefix/include/c++/v1 +# Don't link against new libc++ as it's not necessary +#LDFLAGS+= -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lcxxrt + +pre-configure: bundled-libcxx +bundled-libcxx: + @${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} \ + -DLIBCXX_INCLUDE_BENCHMARKS:BOOL=OFF \ + -DCMAKE_INSTALL_PREFIX:PATH=${WRKDIR}/libcxx_prefix \ + -B ${WRKDIR}/libcxx_build -S ${WRKSRC_libcxx}/libcxx + @${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build +.endif +.endif # exists(/usr/lib/libc++.so) + .include + +# XXX USES=compiler:gcc-c++11-lib +RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*} +LDFLAGS+= -static-libgcc diff --git a/x11/xdg-desktop-portal-hyprland/distinfo b/x11/xdg-desktop-portal-hyprland/distinfo index 0ed6ac560030..0fcd6f9c0763 100644 --- a/x11/xdg-desktop-portal-hyprland/distinfo +++ b/x11/xdg-desktop-portal-hyprland/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1691082525 -SHA256 (hyprwm-xdg-desktop-portal-hyprland-v0.5.0_GH0.tar.gz) = d346cbe170e7042d5e364242a715d021d9b8da2078a169771cf84cda13f24e76 -SIZE (hyprwm-xdg-desktop-portal-hyprland-v0.5.0_GH0.tar.gz) = 50608 +TIMESTAMP = 1694025408 +SHA256 (hyprwm-xdg-desktop-portal-hyprland-v1.0.0_GH0.tar.gz) = 558ff12ad20d8421f3279d5bd39dd431eccc667cc19babd5479edaaf21487f10 +SIZE (hyprwm-xdg-desktop-portal-hyprland-v1.0.0_GH0.tar.gz) = 41589 SHA256 (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 106cb189d0fbe4ec0ee11a12a17238172f4c4cd1b2b26db904df144e5c7a05f0 SIZE (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 6342 -SHA256 (8453779cf394.patch) = 45d3dc817e34ef6126f2326917d17258ea67e3e4cfd8fa3dff2c748616e2b9ed -SIZE (8453779cf394.patch) = 881 +SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271 +SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803