Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsoncpp 1.9.6 #189352

Merged
merged 28 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
42ae96a
jsoncpp 1.9.6
chenrui333 Sep 13, 2024
bc22250
bamtools: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
6a26019
drogon: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
3673fc6
f3d: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
23ec671
lgogdownloader: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
51882b0
libjson-rpc-cpp: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
e552758
libsbol: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
c10368e
mavsdk: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 15, 2024
789b297
minetest: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
454fd8c
opencv: revision bump (jsoncpp 1.9.6)
carlocab Sep 24, 2024
741505f
redex: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
7065823
sysdig: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 15, 2024
22438cf
vtk: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
22e88c9
vulkan-profiles: revision bump (jsoncpp 1.9.6)
chenrui333 Sep 13, 2024
2ddba41
bamtools: update 2.5.2_2 bottle.
carlocab Sep 24, 2024
ea80310
drogon: update 1.9.7_1 bottle.
carlocab Sep 24, 2024
01818d6
f3d: update 2.5.0_2 bottle.
carlocab Sep 24, 2024
61dab4f
jsoncpp: update 1.9.6 bottle.
carlocab Sep 24, 2024
843ebf1
lgogdownloader: update 3.15_1 bottle.
carlocab Sep 24, 2024
94e8b1d
libjson-rpc-cpp: update 1.4.1_3 bottle.
carlocab Sep 24, 2024
69d79a9
libsbol: update 2.3.2_3 bottle.
carlocab Sep 24, 2024
7eec28b
mavsdk: update 2.12.6_2 bottle.
carlocab Sep 24, 2024
ba55f54
minetest: update 5.9.1_1 bottle.
carlocab Sep 24, 2024
f4e040a
opencv: update 4.10.0_8 bottle.
carlocab Sep 24, 2024
f145e79
redex: update 2017.10.31_17 bottle.
carlocab Sep 24, 2024
b10795b
sysdig: update 0.38.1_4 bottle.
carlocab Sep 24, 2024
2382401
vtk: update 9.3.1_2 bottle.
carlocab Sep 24, 2024
10f52c2
vulkan-profiles: update 1.3.295_1 bottle.
carlocab Sep 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1325,6 +1325,7 @@ json-fortran
json-glib
json2ts
json2tsv
jsoncpp
jsonnet
jsonnet-bundler
jsonrpc-glib
Expand Down
2 changes: 1 addition & 1 deletion Formula/b/bamtools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Bamtools < Formula
url "https://github.com/pezmaster31/bamtools/archive/refs/tags/v2.5.2.tar.gz"
sha256 "4d8b84bd07b673d0ed41031348f10ca98dd6fa6a4460f9b9668d6f1d4084dfc8"
license "MIT"
revision 1
revision 2
head "https://github.com/pezmaster31/bamtools.git", branch: "master"

bottle do
Expand Down
1 change: 1 addition & 0 deletions Formula/d/drogon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class Drogon < Formula
tag: "v1.9.7",
revision: "73406d122543f548c9d07076e16880b777bfc109"
license "MIT"
revision 1
head "https://github.com/drogonframework/drogon.git", branch: "master"

bottle do
Expand Down
2 changes: 1 addition & 1 deletion Formula/f/f3d.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class F3d < Formula

Check warning on line 1 in Formula/f/f3d.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

No bottle built for f3d!

f3d has unbottled dependencies, so a bottle will not be built.

Check warning on line 1 in Formula/f/f3d.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew linkage --cached --test --strict f3d` failed on Linux!

jsoncpp
desc "Fast and minimalist 3D viewer"
homepage "https://f3d-app.github.io/f3d/"
url "https://github.com/f3d-app/f3d/archive/refs/tags/v2.5.0.tar.gz"
sha256 "d7f6dd7d9e4465c1f44d168c3a38aad24569a25907673180c8791a783e73f02f"
license "BSD-3-Clause"
revision 1
revision 2

# Upstream creates releases that use a stable tag (e.g., `v1.2.3`) but are
# labeled as "pre-release" on GitHub before the version is released, so it's
Expand Down
32 changes: 25 additions & 7 deletions Formula/j/jsoncpp.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Jsoncpp < Formula
desc "Library for interacting with JSON"
homepage "https://github.com/open-source-parsers/jsoncpp"
url "https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/1.9.5.tar.gz"
sha256 "f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2"
url "https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/1.9.6.tar.gz"
sha256 "f93b6dd7ce796b13d02c108bc9f79812245a82e577581c4c9aabe57075c90ea2"
license "MIT"
head "https://github.com/open-source-parsers/jsoncpp.git", branch: "master"

Expand Down Expand Up @@ -30,6 +30,14 @@ class Jsoncpp < Formula
# https://github.com/Homebrew/homebrew-core/pull/103386
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "cmake" => :test

# remove check_required_components for meson build
# upstream pr ref, https://github.com/open-source-parsers/jsoncpp/pull/1570
patch do
url "https://github.com/open-source-parsers/jsoncpp/commit/3d47db0edcfa5cb5a6237c43efbe443221a32702.patch?full_index=1"
sha256 "1d042632c3272e6946ac9ac1a7cb3b1f0b2a61f901bd20001bed53fc6892d0e0"
end

def install
system "meson", "setup", "build", *std_meson_args
Expand All @@ -38,6 +46,17 @@ def install
end

test do
(testpath/"CMakeLists.txt").write <<~EOS
cmake_minimum_required(VERSION 3.10)
project(TestJsonCpp)

set(CMAKE_CXX_STANDARD 11)
find_package(jsoncpp REQUIRED)

add_executable(test test.cpp)
target_link_libraries(test jsoncpp_lib)
EOS

(testpath/"test.cpp").write <<~EOS
#include <json/json.h>
int main() {
Expand All @@ -49,10 +68,9 @@ def install
return Json::parseFromStream(builder, stream1, &root, &errs) ? 0: 1;
}
EOS
system ENV.cxx, "-std=c++11", testpath/"test.cpp", "-o", "test",
"-I#{include}/jsoncpp",
"-L#{lib}",
"-ljsoncpp"
system "./test"

system "cmake", "-S", ".", "-B", "build"
system "cmake", "--build", "build"
system "./build/test"
end
end
1 change: 1 addition & 0 deletions Formula/l/lgogdownloader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Lgogdownloader < Formula
url "https://github.com/Sude-/lgogdownloader/releases/download/v3.15/lgogdownloader-3.15.tar.gz"
sha256 "9946558bb30b72cd5ed712e7fc425eef4b2a1fd22b5475d1a998720800cd25f0"
license "WTFPL"
revision 1
head "https://github.com/Sude-/lgogdownloader.git", branch: "master"

livecheck do
Expand Down
2 changes: 1 addition & 1 deletion Formula/lib/libjson-rpc-cpp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class LibjsonRpcCpp < Formula
url "https://github.com/cinemast/libjson-rpc-cpp/archive/refs/tags/v1.4.1.tar.gz"
sha256 "7a057e50d6203e4ea0a10ba5e4dbf344c48b177e5a3bf82e850eb3a783c11eb5"
license "MIT"
revision 2
revision 3
head "https://github.com/cinemast/libjson-rpc-cpp.git", branch: "master"

bottle do
Expand Down
2 changes: 1 addition & 1 deletion Formula/lib/libsbol.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Libsbol < Formula
url "https://github.com/SynBioDex/libSBOL/archive/refs/tags/v2.3.2.tar.gz"
sha256 "c85de13b35dec40c920ff8a848a91c86af6f7c7ee77ed3c750f414bbbbb53924"
license "Apache-2.0"
revision 2
revision 3

bottle do
sha256 cellar: :any, arm64_sequoia: "69ae9b8d6f988efdd8c97c6d88356a91b8eb73067168ddcc71d233c367448bc3"
Expand Down
2 changes: 1 addition & 1 deletion Formula/m/mavsdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Mavsdk < Formula
tag: "v2.12.6",
revision: "cee4eeaaf788c24c2f53d6b5326ff7394b6f91bf"
license "BSD-3-Clause"
revision 1
revision 2

livecheck do
url :stable
Expand Down
1 change: 1 addition & 0 deletions Formula/m/minetest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ class Minetest < Formula
desc "Free, open source voxel game engine and game"
homepage "https://www.minetest.net/"
license "LGPL-2.1-or-later"
revision 1

stable do
url "https://github.com/minetest/minetest/archive/refs/tags/5.9.1.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion Formula/o/opencv.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Opencv < Formula

Check warning on line 1 in Formula/o/opencv.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

No bottle built for opencv!

opencv has unbottled dependencies, so a bottle will not be built.

Check warning on line 1 in Formula/o/opencv.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew linkage --cached --test --strict opencv` failed on Linux!

jsoncpp
desc "Open source computer vision library"
homepage "https://opencv.org/"
url "https://github.com/opencv/opencv/archive/refs/tags/4.10.0.tar.gz"
sha256 "b2171af5be6b26f7a06b1229948bbb2bdaa74fcf5cd097e0af6378fce50a6eb9"
license "Apache-2.0"
revision 7
revision 8
head "https://github.com/opencv/opencv.git", branch: "4.x"

livecheck do
Expand Down
2 changes: 1 addition & 1 deletion Formula/r/redex.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Redex < Formula
desc "Bytecode optimizer for Android apps"
homepage "https://github.com/facebook/redex"
license "MIT"
revision 16
revision 17
head "https://github.com/facebook/redex.git", branch: "main"

stable do
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/sysdig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Sysdig < Formula
desc "System-level exploration and troubleshooting tool"
homepage "https://sysdig.com/"
license "Apache-2.0"
revision 3
revision 4

stable do
url "https://github.com/draios/sysdig/archive/refs/tags/0.38.1.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion Formula/v/vtk.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Vtk < Formula

Check warning on line 1 in Formula/v/vtk.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

No bottle built for vtk!

vtk has unbottled dependencies, so a bottle will not be built.
desc "Toolkit for 3D computer graphics, image processing, and visualization"
homepage "https://www.vtk.org/"
url "https://www.vtk.org/files/release/9.3/VTK-9.3.1.tar.gz"
sha256 "8354ec084ea0d2dc3d23dbe4243823c4bfc270382d0ce8d658939fd50061cab8"
license "BSD-3-Clause"
revision 1
revision 2
head "https://gitlab.kitware.com/vtk/vtk.git", branch: "master"

bottle do
Expand Down
1 change: 1 addition & 0 deletions Formula/v/vulkan-profiles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class VulkanProfiles < Formula
url "https://github.com/KhronosGroup/Vulkan-Profiles/archive/refs/tags/v1.3.295.tar.gz"
sha256 "9f44e8c7814750b0bb6b5558d1b236579edf7a20b65f018d6d22a1c35af5d7e1"
license "Apache-2.0"
revision 1
head "https://github.com/KhronosGroup/Vulkan-Profiles.git", branch: "main"

livecheck do
Expand Down
Loading