From nobody Sat Apr 06 21:51:02 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 4VBpvV2Bwjz5HPhR; Sat, 6 Apr 2024 21:51:02 +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 4VBpvV1mvzz4gyn; Sat, 6 Apr 2024 21:51:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712440262; 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=8vKLX+Hxu+D82+sYIiaSMVQSa2Kz5MoAOzlS7v6GWpw=; b=yLhyH3jcVeWkpxSe/2/jSJv/E0l0ivG258bTk3eSDuYDg+ZNrvKXtCatnC0/Wu69j5Zqeo jGh0G+dqRPjg8to0ASa6LBeE+BaIQ0wZIZPJ2nmA+B1cU9Q/zs7mSIjc+2lJ7QID2vYU8b MnBrBt4rpSeT+jrECV0fsiWSS99IhQA/d59S16i/8Ko2tPVhuTuliw3MRE8Wm2yICTPhRo akkbZjXCfDMCC4cus/gk6hVr/uiGYXVZuK4kcFzrbCmX8Hn/4r1rOXPvcKLufqD4GX9s2H i04eayB5bpRVMAhQUFIR8GsAxQn504d9YNjw3piZHeL4H4eY8x/oN5BG5H4gtQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712440262; a=rsa-sha256; cv=none; b=kE+Z35o6XU4u2LddZJSxaVSwkcSqPFtTm/JrKN89OHZVNprzZK3gOVVjPoASgxz5rEVAyd 920jwbtFPIof4DykOJnVukiQItwAHzkVjiBzC+gs+gZ746NkOY5LMhiRKDhYyi6UxcmZKJ V66t4L2Mlc3CZpRL05aaqUb7LPuf64Hmw68trobhW9J+4z59N2Zx3V7LEylHhpz1x3UtiP IGCJFMb0gX6xBPwpxSusQNqYixIzrjAas6FLMDVGupdZMlZ6HEl826g1Acz6E6CjiabG27 ozvySvYUgk402WEc3zmAKqPN17mO6AR5A33xYHngYm0OVLzndMnR0ST6so2SQg== 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=1712440262; 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=8vKLX+Hxu+D82+sYIiaSMVQSa2Kz5MoAOzlS7v6GWpw=; b=M1iSVD7/fLuZ9Eo7WQyzVL5Hqr6IeB0fSfcgWSnS6TfvOhs+4OP0seu2CcdT9zMAgJw+NC +B97Fm7qZcucPKPhQr84qvicx1jgmJWWxIMqvg2TVsNkXRWg3hXJOAQQMwo3yDf86qW8fb 3vBol0JhXx2onD47/52JBwsqdnz5ojdHC3sANUULcTuVUIlHMGYLjucKnSUiMiOlzdwB7y M059FYXuH2b9rRoqyYxEDJ0Fk8dGX2OgH+cqw/Kbrm68CEdDxS2dUGz1xg6ZZ/AvgNBI0M tLKZslp2Az/IZu6lwUF2LqVk50AY5oeKOYncnGI/IBJljmAqEecCpe3KVCy0VQ== 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 4VBpvV1Kz7z11LK; Sat, 6 Apr 2024 21:51:02 +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 436Lp2Zr093350; Sat, 6 Apr 2024 21:51:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 436Lp2YD093347; Sat, 6 Apr 2024 21:51:02 GMT (envelope-from git) Date: Sat, 6 Apr 2024 21:51:02 GMT Message-Id: <202404062151.436Lp2YD093347@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: c11191d175a7 - main - x11/hyprcursor: update to 0.1.6 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: c11191d175a7cd8c951ee5645c0a653a79a61348 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=c11191d175a7cd8c951ee5645c0a653a79a61348 commit c11191d175a7cd8c951ee5645c0a653a79a61348 Author: Jan Beich AuthorDate: 2024-04-06 20:18:01 +0000 Commit: Jan Beich CommitDate: 2024-04-06 21:49:07 +0000 x11/hyprcursor: update to 0.1.6 Changes: https://github.com/hyprwm/hyprcursor/releases/tag/v0.1.6 Reported by: GitHub (watch releases) --- x11/hyprcursor/Makefile | 31 +++++++++++++++++++++++++++---- x11/hyprcursor/distinfo | 8 +++++--- 2 files changed, 32 insertions(+), 7 deletions(-) diff --git a/x11/hyprcursor/Makefile b/x11/hyprcursor/Makefile index 376249153231..213b59b2a1a8 100644 --- a/x11/hyprcursor/Makefile +++ b/x11/hyprcursor/Makefile @@ -1,6 +1,6 @@ PORTNAME= hyprcursor DISTVERSIONPREFIX= v -DISTVERSION= 0.1.5 +DISTVERSION= 0.1.6 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org @@ -11,7 +11,8 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libzip.so:archivers/libzip \ - libhyprlang.so:devel/hyprlang + libhyprlang.so:devel/hyprlang \ + libtomlplusplus.so:devel/tomlplusplus RUN_DEPENDS= xcur2png:x11/xcur2png USES= compiler:c++11-lib cmake:testing gnome pathfix pkgconfig @@ -21,8 +22,7 @@ GH_ACCOUNT= hyprwm PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} # XXX Drop after FreeBSD 14.0 EOL around 2025-03-01 -.if exists(/usr/include/c++/v1/__format/format_functions.h) && \ - !exists(/usr/include/c++/v1/__format/write_escaped.h) +.if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__format/write_escaped.h) CXXFLAGS+= -fexperimental-library .endif @@ -31,4 +31,27 @@ post-patch: @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/lib${PORTNAME}/${PORTNAME}.cpp +# XXX Drop after FreeBSD 13.2 EOL around 2024-07-01 (don't forget distinfo) +.if ${CXX} == c++ && exists(/usr/lib/libc++.so) +.if !exists(/usr/include/c++/v1/expected) || make(makesum) || make(fetch) +USES+= llvm:min=16,build,export +PATH:= ${LLVM_PREFIX}/bin:${PATH} # XXX _CMAKE_TOOLCHAIN_SUFFIX vs. devel/llvm* +CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" CPP="${CPP}" + +# 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 diff --git a/x11/hyprcursor/distinfo b/x11/hyprcursor/distinfo index ede0d662cbfd..c80dc54edd3c 100644 --- a/x11/hyprcursor/distinfo +++ b/x11/hyprcursor/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1711250633 -SHA256 (hyprwm-hyprcursor-v0.1.5_GH0.tar.gz) = 3958b0d7b80bcabca1c46841016c7354afc3cbcbf86b785b7b6289524cb5ec5c -SIZE (hyprwm-hyprcursor-v0.1.5_GH0.tar.gz) = 20096 +TIMESTAMP = 1712434681 +SHA256 (hyprwm-hyprcursor-v0.1.6_GH0.tar.gz) = e07b711fab98d483c1e82d2ba14377c641632dd9bea7a94ba21cc0e7a1227335 +SIZE (hyprwm-hyprcursor-v0.1.6_GH0.tar.gz) = 25562 +SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271 +SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803