From nobody Sat Jan 8 13:23:19 2022 X-Original-To: dev-commits-ports-all@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 52AAE1945C8F; Sat, 8 Jan 2022 13:23:20 +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 4JWLPg6YFhz3qYm; Sat, 8 Jan 2022 13:23:19 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C265D1F54E; Sat, 8 Jan 2022 13:23:19 +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 208DNJTL041811; Sat, 8 Jan 2022 13:23:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 208DNJXs041810; Sat, 8 Jan 2022 13:23:19 GMT (envelope-from git) Date: Sat, 8 Jan 2022 13:23:19 GMT Message-Id: <202201081323.208DNJXs041810@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando Apestegu=C3=ADa?= Subject: git: 895728165688 - main - devel/jsonnet: Update to 0.18.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 895728165688246e1d7729c42679e9ee31ed3d70 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641648199; 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=tnC0V9Dgq4NwpN8+OhXqF39L36JEugMDT7jlS534oyE=; b=rdNF/DeMV/UWz+4/CuoQplnh1YnSvxG4cRdX2QRaHpDjKHO2H/UPWUMZG94CulNJ0UkUmb hSrmL28aAsCzGpfZE5uFtCcj3qtq2UvM0eSdGEaPHgfbJJVWO1XGQurhsM/SGPP6i2Nhpj KvdRSYBHRrCVgMEa9gm37Ov4R87PIcPEzebV8IIQUgKSokdrR6C7ILXk5f+FyNYF1VXlOk MuxlqhO9IuSUBqVwg+sUQiYo2hvZbf0IFytqRdunoLYPOXz41AE4O4G0QX061f+edM39rL 6mTCFtliX8BcYHwKaSalsTSgyIKiPHUf/fOX1szuCRlVRaIJfLjcCgCt6a9EZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641648199; a=rsa-sha256; cv=none; b=ZedREgCmeYxopwuH7pQtmUBLs20Bj8IpHzeDHg3b2rWOHJASsRRqg4+060DYugQhuZ6hQ/ vTeZDXGQQTn2/rjIhWo7RyZI1eTwbYvQjIB0xAR0sSegSebzT5B7I8lz5Rkbu47yl4HfIO boRR8mR7YnwCb830l6p/XP8P3rri92dhRCMwqezPVv/10ezuXDs+KR2DuZA9+7pT/OA84n NX0nLSKy4u+tRHWTNhG+e3d4erntOgRcs56nzkcWVbg8gP2jccBRKq52V59RqTC05gspiU vbLcNQoCOIasvjFKHQPl/zTZvU1c+EGf+rIZqCJD8DpWtwAt8W3w6wabyJ9d9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=895728165688246e1d7729c42679e9ee31ed3d70 commit 895728165688246e1d7729c42679e9ee31ed3d70 Author: Gasol Wu AuthorDate: 2022-01-08 13:08:55 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2022-01-08 13:21:54 +0000 devel/jsonnet: Update to 0.18.0 ChangeLog: https://github.com/google/jsonnet/releases/tag/v0.18.0 PR: 260998 Reported by: gasol.wu@gmail.com (maintainer) --- devel/jsonnet/Makefile | 9 ++++++--- devel/jsonnet/distinfo | 6 +++--- devel/jsonnet/files/patch-CMakeLists.txt | 10 ++++++++++ devel/jsonnet/files/patch-core_CMakeLists.txt | 11 +++++++++++ devel/jsonnet/files/patch-core_vm.cpp | 4 ++-- devel/jsonnet/pkg-descr | 2 +- 6 files changed, 33 insertions(+), 9 deletions(-) diff --git a/devel/jsonnet/Makefile b/devel/jsonnet/Makefile index f143c2c69420..2ce38c28f924 100644 --- a/devel/jsonnet/Makefile +++ b/devel/jsonnet/Makefile @@ -2,7 +2,7 @@ PORTNAME= jsonnet DISTVERSIONPREFIX= v -DISTVERSION= 0.17.0 +DISTVERSION= 0.18.0 CATEGORIES= devel MAINTAINER= gasol.wu@gmail.com @@ -12,15 +12,18 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nlohmann-json>=3.6.1:devel/nlohmann-json +LIB_DEPENDS= libc4core.so:devel/c4core \ + libryml.so:devel/rapidyaml -USES= compiler:c++11-lib cmake +USES= compiler:c++11-lib cmake localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= google USE_LDCONFIG= yes -CMAKE_ON= BUILD_JSONNET BUILD_JSONNETFMT BUILD_STATIC_LIBS BUILD_SHARED_BINARIES USE_SYSTEM_JSON +CMAKE_ON= BUILD_JSONNET BUILD_JSONNETFMT BUILD_STATIC_LIBS \ + BUILD_SHARED_BINARIES USE_SYSTEM_JSON CMAKE_OFF= BUILD_TESTS PLIST_SUB= PORTVERSION=${PORTVERSION} diff --git a/devel/jsonnet/distinfo b/devel/jsonnet/distinfo index b5c561aee0db..6b336c0ba352 100644 --- a/devel/jsonnet/distinfo +++ b/devel/jsonnet/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1623453189 -SHA256 (google-jsonnet-v0.17.0_GH0.tar.gz) = 076b52edf888c01097010ad4299e3b2e7a72b60a41abbc65af364af1ed3c8dbe -SIZE (google-jsonnet-v0.17.0_GH0.tar.gz) = 21854054 +TIMESTAMP = 1641409936 +SHA256 (google-jsonnet-v0.18.0_GH0.tar.gz) = 85c240c4740f0c788c4d49f9c9c0942f5a2d1c2ae58b2c71068107bc80a3ced4 +SIZE (google-jsonnet-v0.18.0_GH0.tar.gz) = 22472162 diff --git a/devel/jsonnet/files/patch-CMakeLists.txt b/devel/jsonnet/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..49c35302e18c --- /dev/null +++ b/devel/jsonnet/files/patch-CMakeLists.txt @@ -0,0 +1,10 @@ +--- CMakeLists.txt.orig 2021-12-21 17:55:49 UTC ++++ CMakeLists.txt +@@ -121,7 +121,6 @@ endif() + add_subdirectory(include) + add_subdirectory(stdlib) + add_subdirectory(third_party/md5) +-add_subdirectory(third_party/rapidyaml/rapidyaml ryml) + add_subdirectory(core) + add_subdirectory(cpp) + add_subdirectory(cmd) diff --git a/devel/jsonnet/files/patch-core_CMakeLists.txt b/devel/jsonnet/files/patch-core_CMakeLists.txt new file mode 100644 index 000000000000..5550a634f3bc --- /dev/null +++ b/devel/jsonnet/files/patch-core_CMakeLists.txt @@ -0,0 +1,11 @@ +--- core/CMakeLists.txt.orig 2022-01-06 06:59:54 UTC ++++ core/CMakeLists.txt +@@ -30,7 +30,7 @@ set(LIBJSONNET_SOURCE + + add_library(libjsonnet SHARED ${LIBJSONNET_HEADERS} ${LIBJSONNET_SOURCE}) + add_dependencies(libjsonnet md5 stdlib) +-target_link_libraries(libjsonnet md5 nlohmann_json::nlohmann_json ryml) ++target_link_libraries(libjsonnet md5 nlohmann_json::nlohmann_json ryml c4core) + + file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/../include/libjsonnet.h JSONNET_VERSION_DEF + REGEX "[#]define[ \t]+LIB_JSONNET_VERSION[ \t]+") diff --git a/devel/jsonnet/files/patch-core_vm.cpp b/devel/jsonnet/files/patch-core_vm.cpp index ad918c4d2b69..29f1ae59a6d1 100644 --- a/devel/jsonnet/files/patch-core_vm.cpp +++ b/devel/jsonnet/files/patch-core_vm.cpp @@ -1,4 +1,4 @@ ---- core/vm.cpp.orig 2021-06-20 03:31:11 UTC +--- core/vm.cpp.orig 2021-12-21 17:55:49 UTC +++ core/vm.cpp @@ -23,7 +23,7 @@ limitations under the License. @@ -8,4 +8,4 @@ +#include "nlohmann/json.hpp" #include "md5.h" #include "parser.h" - #include "state.h" + #include "ryml_std.hpp" // include this before any other ryml header diff --git a/devel/jsonnet/pkg-descr b/devel/jsonnet/pkg-descr index 2131938a5462..de6876f413ef 100644 --- a/devel/jsonnet/pkg-descr +++ b/devel/jsonnet/pkg-descr @@ -4,4 +4,4 @@ the same benefit to structured data that templating languages bring to plain text. The example below illustrates a few features -- referring to another part of the structure, overriding object fields, and string operations. -WWW: https://github.com/google/jsonnet +WWW: https://jsonnet.org