From nobody Wed Feb 21 15:04:46 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 4Tg01W3f0tz59cVF; Wed, 21 Feb 2024 15:04:47 +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 4Tg01W1QHpz4s64; Wed, 21 Feb 2024 15:04:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708527887; 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=1lU3ViEP7OAlQXisYT7EGKdM7H5FZgRJgSsIdJ3eZWc=; b=WtbaQxKTlitqwUxd6MNfwaM6ANsNXyp8niW56lDiY48AHcRC/AkUmssjRE2Rcfu8v6oGr9 7AaBPidEPGYRjqtN370DjPYDN3DGdqcrqFPM9gIryd/sNfRStJLnSm6+yiMPQf6UFW8roo 4wViOUbHSus/DIij63obAcRPbfOq5JKPSx0wdL+TKfK0GhMzNLUWmdfGsjeaf7v3czRu88 B8qbTgyYCuKmVgG3yVlfXDfyCcxrtmn5vwGIWwz1osDK/xSNOL8q53HIlSN7gVC7fpV1po JjJiVzHTqrps13ZPI6ZcSTcsolEovGCM1zMlG8WcSpQDNEr1Qw8IzZhAZUVf4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708527887; 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=1lU3ViEP7OAlQXisYT7EGKdM7H5FZgRJgSsIdJ3eZWc=; b=VikDMcc7sN557aI4HoaEWOQr25pVrluh+7PLSNlcrs9LUlenYK+OiYKISKv7qB9ioE1sMI chAUMb54sf0fHl+YOl/i0kYO9Ap5o+H/IN8/yOSbYIldgAQ/nRQ7x9UtUqgvkMyEB5LKZ8 S3hLLBv1EwgK/sYwPyJvfKdObNcNaYWtKSIH0KAr6mrMVlH/itQjecBIlwDWLaM1mve1zP eRmsni41OEIBOKVO1WIA6HbWkBJIiOHVTUCrTLHWsfAN2jPZG97wd4h5gK7wKEW7YxlPKf u4mKyWbjmwuPgT5OIyoVKmW8a9FKKXd98jnvIKugiJbkR+KCdTQ1qyw6OatSqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708527887; a=rsa-sha256; cv=none; b=fQ862BUxUOngz1dvpg5uQnJ6oz98FO7J6B5AeE0fbY2qYOe5f85bb4oz9ll/F8FMKAxQNF 2woLy0TcTlj+xjiXbIoUgv134nyMBKp2efwsavVFY+cTvZKjgXD2RB7QUCL4Sq0Av00utu IsT/qx/IZRD0EflgZsow8drTKApONwOw8NF7uusDpczQ+wqERYW98WxauYZXWZNsjD9Lwn 77xRszOomXKK5VTm6mwJ3h01vpDu55wmCjYYk40R5Ng+iVp55tOy+zERPd5SVaRhlbkUwe 3ghBj5s3W8sk0AYR0cvyRTsTI9PltABob4DUDVhRnjWmgySqPljPEGZJxSdaIw== 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 4Tg01W0DYjz16Bv; Wed, 21 Feb 2024 15:04:47 +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 41LF4kFF085349; Wed, 21 Feb 2024 15:04:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LF4kCk085346; Wed, 21 Feb 2024 15:04:46 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:04:46 GMT Message-Id: <202402211504.41LF4kCk085346@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: e4e07338f4f9 - main - devel/hyprlang: update to 0.3.1 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: e4e07338f4f9bce1be4d852d83d6295c7b3f6ef7 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=e4e07338f4f9bce1be4d852d83d6295c7b3f6ef7 commit e4e07338f4f9bce1be4d852d83d6295c7b3f6ef7 Author: Jan Beich AuthorDate: 2024-02-12 21:46:12 +0000 Commit: Jan Beich CommitDate: 2024-02-21 15:03:28 +0000 devel/hyprlang: update to 0.3.1 Changes: https://github.com/hyprwm/hyprlang/releases/tag/v0.3.1 Reported by: GitHub (watch releases) --- devel/hyprlang/Makefile | 33 ++++++++++++++++++++++++++------- devel/hyprlang/distinfo | 8 +++++--- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/devel/hyprlang/Makefile b/devel/hyprlang/Makefile index 9983449d4777..09597b94081c 100644 --- a/devel/hyprlang/Makefile +++ b/devel/hyprlang/Makefile @@ -1,6 +1,6 @@ PORTNAME= hyprlang DISTVERSIONPREFIX= v -DISTVERSION= 0.3.0 +DISTVERSION= 0.3.1 CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org @@ -10,10 +10,6 @@ WWW= https://hyprland.org/hyprlang LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_armv7= https://github.com/hyprwm/hyprlang/issues/8 -BROKEN_i386= https://github.com/hyprwm/hyprlang/issues/8 -BROKEN_powerpc= https://github.com/hyprwm/hyprlang/issues/8 - USES= cmake:testing compiler:c++11-lib USE_GITHUB= yes USE_LDCONFIG= yes @@ -25,9 +21,32 @@ PLIST_FILES= include/${PORTNAME}.hpp \ libdata/pkgconfig/${PORTNAME}.pc # 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 +# 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/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}" +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 diff --git a/devel/hyprlang/distinfo b/devel/hyprlang/distinfo index 1794c16e5005..3256d51f1126 100644 --- a/devel/hyprlang/distinfo +++ b/devel/hyprlang/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1707510626 -SHA256 (hyprwm-hyprlang-v0.3.0_GH0.tar.gz) = 6355ae011b1d9d77f95d435fd79582a547cf08db3c0189f2a4ed0a6a25d9b4a1 -SIZE (hyprwm-hyprlang-v0.3.0_GH0.tar.gz) = 61520 +TIMESTAMP = 1707774372 +SHA256 (hyprwm-hyprlang-v0.3.1_GH0.tar.gz) = 17c9b2674d396ac5f081c65b91b1ad391e99f7091dfda2afb025cd8fd220a73f +SIZE (hyprwm-hyprlang-v0.3.1_GH0.tar.gz) = 62091 +SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271 +SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803