From 39ba7d5777f8dc1ce5d1e1f530596038a2b295ff Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 4 Jan 2025 17:08:08 -0500 Subject: [PATCH 1/4] libngspice: rebuild (libngspice 44) Signed-off-by: Rui Chen --- Formula/lib/libngspice.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Formula/lib/libngspice.rb b/Formula/lib/libngspice.rb index 18e84b690fd58..09c6736a5bd3f 100644 --- a/Formula/lib/libngspice.rb +++ b/Formula/lib/libngspice.rb @@ -2,9 +2,8 @@ class Libngspice < Formula desc "Spice circuit simulator as shared library" homepage "https://ngspice.sourceforge.io/" url "https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/44/ngspice-44.tar.gz" - sha256 "8fef0e80b324df1f6ac6c73a9ed9a4120a9a17b62c13e83e1f674a9d9e6a4142" + sha256 "3865d13ab44f1f01f68c7ac0e0716984e45dce5a86d126603c26d8df30161e9b" license :cannot_represent - head "https://git.code.sf.net/p/ngspice/ngspice.git", branch: "master" livecheck do formula "ngspice" @@ -19,17 +18,18 @@ class Libngspice < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "218acdeadf683ee2a6bb96cf7899b974facfedf90ba7e02db9e5750377423647" end - depends_on "autoconf" => :build - depends_on "automake" => :build - depends_on "libtool" => :build + head do + url "https://git.code.sf.net/p/ngspice/ngspice.git", branch: "master" + + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + end uses_from_macos "bison" => :build uses_from_macos "flex" => :build def install - # upstream bug report on the `configure` script, https://sourceforge.net/p/ngspice/bugs/731/ - system "./autogen.sh" - args = %w[ --with-ngshared --enable-cider From 7a74acbd0af6ad0d8027c4e3214a1d71cc8142d3 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 4 Jan 2025 17:08:24 -0500 Subject: [PATCH 2/4] ngspice: rebuild (ngspice 44) Signed-off-by: Rui Chen --- Formula/n/ngspice.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Formula/n/ngspice.rb b/Formula/n/ngspice.rb index 1283b094d50e4..0bea9c83f1fdf 100644 --- a/Formula/n/ngspice.rb +++ b/Formula/n/ngspice.rb @@ -2,9 +2,8 @@ class Ngspice < Formula desc "Spice circuit simulator" homepage "https://ngspice.sourceforge.io/" url "https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/44/ngspice-44.tar.gz" - sha256 "8fef0e80b324df1f6ac6c73a9ed9a4120a9a17b62c13e83e1f674a9d9e6a4142" + sha256 "3865d13ab44f1f01f68c7ac0e0716984e45dce5a86d126603c26d8df30161e9b" license :cannot_represent - head "https://git.code.sf.net/p/ngspice/ngspice.git", branch: "master" livecheck do url :stable @@ -20,9 +19,13 @@ class Ngspice < Formula sha256 x86_64_linux: "7a233aef2813b9f45d2d1234f7292c35073299762f6b11f0e047f64fae8fba71" end - depends_on "autoconf" => :build - depends_on "automake" => :build - depends_on "libtool" => :build + head do + url "https://git.code.sf.net/p/ngspice/ngspice.git", branch: "master" + + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + end depends_on "fftw" depends_on "freetype" @@ -43,9 +46,6 @@ class Ngspice < Formula end def install - # upstream bug report on the `configure` script, https://sourceforge.net/p/ngspice/bugs/731/ - system "./autogen.sh" - # Xft #includes , not , hence freetype2 # must be put into the search path. ENV.append "CFLAGS", "-I#{Formula["freetype"].opt_include}/freetype2" From 8445ebdbd1fdab2dca42f0a2742bb76e7e4f042f Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 5 Jan 2025 05:17:27 +0000 Subject: [PATCH 3/4] libngspice: update 44 bottle. --- Formula/lib/libngspice.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Formula/lib/libngspice.rb b/Formula/lib/libngspice.rb index 09c6736a5bd3f..63e5dd166957c 100644 --- a/Formula/lib/libngspice.rb +++ b/Formula/lib/libngspice.rb @@ -10,12 +10,13 @@ class Libngspice < Formula end bottle do - sha256 cellar: :any, arm64_sequoia: "162528e8b920abfc6a8a3d3192cf18d29e638d369950a4b2b3dda055edff13e5" - sha256 cellar: :any, arm64_sonoma: "4f722ecb18f76649425033f0d34b67d5a7887c2bb0def3550043c810a7fd4774" - sha256 cellar: :any, arm64_ventura: "af49126c2318f5f85e86eadd45bc13e8e21d389604592c138e3a2936823183ef" - sha256 cellar: :any, sonoma: "5009ea314d109cb54449c4561661de49ef2fa9f170f50a2a4ba51d34db5445e5" - sha256 cellar: :any, ventura: "dd2623ded67bc39adfb2375697f2b526f20428e0a57ad252ae94267d1a11d2e5" - sha256 cellar: :any_skip_relocation, x86_64_linux: "218acdeadf683ee2a6bb96cf7899b974facfedf90ba7e02db9e5750377423647" + rebuild 1 + sha256 cellar: :any, arm64_sequoia: "5ca4aafb0d8d00dbec59105f6e9394ad41cac1d336bfa99d6df6f498e092b46d" + sha256 cellar: :any, arm64_sonoma: "1dbae25eadece6a55ef3587f036e57637b5445584e01c7f81207d561a0c61157" + sha256 cellar: :any, arm64_ventura: "976c56210d4d2b8c696a6459655aca268c76c95046823c56b918ac8f2d67e752" + sha256 cellar: :any, sonoma: "84ce8f9c8baad54f2fd1fde08a05377ee63105197676e81a3806fccfa4a3a483" + sha256 cellar: :any, ventura: "a9d65308d6198d261cc580c5fccef2e3db31e1809f2b244c9e9ab71b6761f787" + sha256 cellar: :any_skip_relocation, x86_64_linux: "5130aeefd3dfecc8dc59bda538e1b11da9c6b6540b225fa5d3ee00fc71db7b09" end head do From d722ce745afe28f341022e4990d111e55ddb715b Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 5 Jan 2025 05:17:28 +0000 Subject: [PATCH 4/4] ngspice: update 44 bottle. --- Formula/n/ngspice.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Formula/n/ngspice.rb b/Formula/n/ngspice.rb index 0bea9c83f1fdf..408bf021fb762 100644 --- a/Formula/n/ngspice.rb +++ b/Formula/n/ngspice.rb @@ -11,12 +11,13 @@ class Ngspice < Formula end bottle do - sha256 arm64_sequoia: "3137db5e486825253c5189af8a360ccba86b51a1f43bcb4bd20903d0558d52d9" - sha256 arm64_sonoma: "bfaa71b5943132e959147136b50c81295aa949d4be3e6e455b15680ee6f380ba" - sha256 arm64_ventura: "ae6abd74200c1b1efa83d64c0d2908b30b3cf90836b8f40367c7fdb4b457d9c8" - sha256 sonoma: "3957caa308e93b869cdbdff5d68b88356a1bc5da4e97dce03901037e9b9005c9" - sha256 ventura: "ca0b4853b3efd4df944b12fcd24b5254786e6312fc589c5b0cea0944f58817c8" - sha256 x86_64_linux: "7a233aef2813b9f45d2d1234f7292c35073299762f6b11f0e047f64fae8fba71" + rebuild 1 + sha256 arm64_sequoia: "4065a95b82cd0068743ab9c2ddfeeaa0fcbb17f6fe80bd8e06a69ed63959243d" + sha256 arm64_sonoma: "16cd3c95576f9a01a8d959a9ebf739fd2ba66d19d64fd573b135f1e58bbb57ae" + sha256 arm64_ventura: "0a95925e6f1851e96d36e5a3011f65b724f11dec96ebf852c84a5253bf980bee" + sha256 sonoma: "a092da5427590a00c6037df644c7624c69d93894dafd78d6b1e918ddd802011a" + sha256 ventura: "5231f6839262cfa786e058ec34df2c008971abbbeb5c9298fd762f764f780369" + sha256 x86_64_linux: "08f6e7e51b425b129347542106eb86d3024f3492eb0bbdc87ad3edf77e9757d4" end head do