From nobody Mon Jun 05 16:05:48 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 4QZdkP2060z4Z7Rh; Mon, 5 Jun 2023 16:05:49 +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 4QZdkP1TXXz4Lfh; Mon, 5 Jun 2023 16:05:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685981149; 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=KHkuUyZkir2wIfBft3BzJGuHK7eI8QG3f9gQWYlGfbw=; b=jdkNGRBRZe0gRdKLnVxapal4YrPEyE4c7E3AUIMJyg2WTNONUMlNcQwEnlXDerm5xNocAr vtmBiGyAzc4ykTG78x+aIBC9pKo9VEul0OSTcTPsbUlmHe7ytISCxFyBsjvRknb6CHt10m 4bx2u3YVzXC9wJrtDNlQv4NE8OVU6DZNZEJccNJZjThkPJ0idki0UJJoWvu3azXNXh92Z2 c0evYfRKt5IyO7idfZmLltDSI8qiTmo7gd4qY2yDBnFyDTH6N86trpwGo/yGbbcf9e5bFc /V1cftA4HjCbKhFX3YjKAT3nxp/JGv5mD+Ogx4v9P0Gd9U70ZOnYD9wqZNJjcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685981149; 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=KHkuUyZkir2wIfBft3BzJGuHK7eI8QG3f9gQWYlGfbw=; b=vkRy7MftTfjUvRbDxJHCbkfFapBSiHyEjxaBLlNUFBy80eb/WAS9uzrUcYSSbHsMNOir0X RtHjYb4HKxY5Wph/bcXdD/KN1Ts0Pqg27bbkTSwRBSVvzXLDIvKn2fn6mPJKdOnr7pJgc+ u3YE1Zsm18NlldzY7NL4htbZexRHdQc4XS+PTi5GE1y2nr2qHTde+SAIp8nxAj4vue1aBq 9sZZrG9lkfIDV5g8pWfkTmhbAcdUdQt+lgAx+eNFsJ38tap7voCdmV9IgzirC7spb0ogX+ aSCys5JNU4TBGzgOAfDY+Yf3OQPdAEiJNR10/CA0rnb4Ahwc2aTSTykLnlNANA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685981149; a=rsa-sha256; cv=none; b=CLVQST4FV0Ewk34Lgz3P71ECjxKaenkXmGh/JkfxN9C6vuVJqW2EY6U8CYi11x8MPoxsQm yHyG5hx6FufIAXiJrKpDRTEyiGhRSwfmEm6iu2e9KJi4abptxXxKWaqureqP9NI/qqF57K Bqe3bI1+X2fvQV9zZfkfwbq8YWvbQebxIwJzCNo4T0wNORwS/yJiXrAveu63XZIKSVx7zA xUG678POj3GUXjTOnv1UUNHwlVUc0qEtHdvdphx0JFae3nZZpmJdCLIouPct+GJBrLxmhz hIyZupABPahvsxTUrzLSO0Cd73VxZUSEUV64+DNvCEiJ0s43eOwDG1+TucXliQ== 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 4QZdkP0XwZztjQ; Mon, 5 Jun 2023 16:05:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 355G5mpO067455; Mon, 5 Jun 2023 16:05:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 355G5mAp067454; Mon, 5 Jun 2023 16:05:48 GMT (envelope-from git) Date: Mon, 5 Jun 2023 16:05:48 GMT Message-Id: <202306051605.355G5mAp067454@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 52bf11c32f61 - main - =?utf-8?Q?devel/criterion:=20Update=202.4.1-13=20=E2=86=92=202.4.2?= 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 52bf11c32f6192bcac5f1bb9a7ec872cf41d11e9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=52bf11c32f6192bcac5f1bb9a7ec872cf41d11e9 commit 52bf11c32f6192bcac5f1bb9a7ec872cf41d11e9 Author: Yuri Victorovich AuthorDate: 2023-06-05 16:05:40 +0000 Commit: Yuri Victorovich CommitDate: 2023-06-05 16:05:46 +0000 devel/criterion: Update 2.4.1-13 → 2.4.2 Reported by: portscout --- devel/criterion/Makefile | 20 +++++++------- devel/criterion/distinfo | 8 +++--- devel/criterion/files/patch-meson.build | 47 ++++++++++++++++++++++++--------- 3 files changed, 49 insertions(+), 26 deletions(-) diff --git a/devel/criterion/Makefile b/devel/criterion/Makefile index 1b375e0ff1d6..fbd8e2a66be6 100644 --- a/devel/criterion/Makefile +++ b/devel/criterion/Makefile @@ -1,7 +1,6 @@ PORTNAME= criterion DISTVERSIONPREFIX= v -DISTVERSION= 2.4.1-13 -DISTVERSIONSUFFIX= -g2f48d0f +DISTVERSION= 2.4.2 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -11,7 +10,8 @@ WWW= https://github.com/Snaipe/Criterion LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \ +BUILD_DEPENDS= ${LOCALBASE}/include/klib/khash.h:devel/klib \ + ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \ nanopb>0:devel/nanopb \ cmake:devel/cmake-core \ protoc:devel/protobuf @@ -27,11 +27,14 @@ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= Snaipe GH_PROJECT= Criterion -GH_TUPLE= attractivechaos:klib:cdb7e92:klib/dependencies/klib \ - MrAnno:debugbreak:83bf7e9:debugbreak/dependencies/debugbreak +GH_TUPLE= MrAnno:debugbreak:83bf7e9:debugbreak SHEBANG_FILES= src/protocol/gen-pb.py +CFLAGS+= -fPIC \ + -I${LOCALBASE}/include/klib \ + -I${WRKSRC_debugbreak} + MESON_ARGS= -Dtests=false -Dsamples=false quick-test: @@ -43,10 +46,9 @@ quick-test: ./a.out # test succeeds when simple::Test fails with assertion do-test: - @cd ${WRKSRC} && \ - ${RM} -rf _build && \ - ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} -Dtests=true -Dsamples=false && \ + cd ${WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} --reconfigure ${CONFIGURE_ARGS} -Dtests=true && \ cd ${BUILD_WRKSRC} && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} test + ${DO_MAKE_BUILD} ${ALL_TARGET} test .include diff --git a/devel/criterion/distinfo b/devel/criterion/distinfo index 2cf917f04778..0e1880529d3f 100644 --- a/devel/criterion/distinfo +++ b/devel/criterion/distinfo @@ -1,7 +1,5 @@ -TIMESTAMP = 1678602173 -SHA256 (Snaipe-Criterion-v2.4.1-13-g2f48d0f_GH0.tar.gz) = 62a427b71fd7fce4a8fb82f72c3d2e1f6232821528c4add7aee435331ba4fefa -SIZE (Snaipe-Criterion-v2.4.1-13-g2f48d0f_GH0.tar.gz) = 871145 -SHA256 (attractivechaos-klib-cdb7e92_GH0.tar.gz) = 659a9b920bc77a88c30e61053cfaecd673ab2120df31efadaf544c195415f390 -SIZE (attractivechaos-klib-cdb7e92_GH0.tar.gz) = 99298 +TIMESTAMP = 1685979400 +SHA256 (Snaipe-Criterion-v2.4.2_GH0.tar.gz) = 83e1a39c8c519fbef0d64057dc61c8100b3a5741595788c9f094bba2eeeef0df +SIZE (Snaipe-Criterion-v2.4.2_GH0.tar.gz) = 874664 SHA256 (MrAnno-debugbreak-83bf7e9_GH0.tar.gz) = 6ec24bdf3d361ec2bb7d128c56b8e870a1bb2d6b22eab3c2821eb1e15ccb8919 SIZE (MrAnno-debugbreak-83bf7e9_GH0.tar.gz) = 7060 diff --git a/devel/criterion/files/patch-meson.build b/devel/criterion/files/patch-meson.build index 769ec915be7f..1bc48a1752ce 100644 --- a/devel/criterion/files/patch-meson.build +++ b/devel/criterion/files/patch-meson.build @@ -1,22 +1,45 @@ - use the shared library for nanopb ---- meson.build.orig 2022-07-03 16:28:55 UTC +--- meson.build.orig 2023-05-13 16:02:30 UTC +++ meson.build -@@ -171,7 +171,7 @@ else - config.set('NN_REQREP_H', '') +@@ -138,9 +138,9 @@ deps = [] + + cmake = import('cmake') + +-debugbreak = dependency('debugbreak') ++#debugbreak = dependency('debugbreak') + +-klib = dependency('klib') ++#klib = dependency('klib') + + threads = dependency('threads') + +@@ -178,7 +178,7 @@ else endif --nanopb = dependency('nanopb', required: false, method: 'cmake', modules: ['nanopb::protobuf-nanopb-static']) -+nanopb = dependency('nanopb', required: false, method: 'cmake', modules: ['nanopb::protobuf-nanopb']) + nanopb = dependency('nanopb', required: get_option('wrap_mode') == 'nofallback', method: 'cmake', +- modules: ['nanopb::protobuf-nanopb-static']) ++ modules: ['nanopb::protobuf-nanopb']) must_regenerate_pb = nanopb.found() - if not nanopb.found() - nanopb_proj = cmake.subproject('nanopb', -@@ -181,7 +181,7 @@ if not nanopb.found() - '-DCMAKE_C_FLAGS=-DPB_ENABLE_MALLOC=1 -DPB_NO_PACKED_STRUCTS=1', - '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', - ]) + if (not nanopb.found() + or get_option('wrap_mode') == 'forcefallback' +@@ -192,7 +192,7 @@ if (not nanopb.found() + 'CMAKE_POSITION_INDEPENDENT_CODE': true, + }) + nanopb_proj = cmake.subproject('nanopb-cmake', options: nanopb_opts) - nanopb = nanopb_proj.dependency('protobuf-nanopb-static') + nanopb = nanopb_proj.dependency('protobuf-nanopb') endif - libgit2 = dependency('libgit2', required: false) + libgit2 = dependency('libgit2', required: get_option('wrap_mode') == 'nofallback') +@@ -244,8 +244,8 @@ else + endif + + deps += [ +- debugbreak, +- klib, ++ #debugbreak, ++ #klib, + threads, + boxfort, + libffi,