Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
c4bb930
icu4c@78 78.1 (new formula)
botantony Oct 31, 2025
0ae0333
icu4c@77: revision bump (icu4c@78 78.1)
botantony Oct 31, 2025
159aed4
Aliases: change `icu4c` alias
botantony Oct 31, 2025
a93676d
workflow/triage: change `icu4c` major version
botantony Oct 31, 2025
faa2e61
versioned_keg_only_allowlist: update `icu4c` major version
botantony Oct 31, 2025
f4be9d6
clickhouse-odbc: migrate to icu4c@78
botantony Oct 31, 2025
29a841a
couchdb: migrate to icu4c@78
botantony Oct 31, 2025
d6bb098
dolt: migrate to icu4c@78
botantony Oct 31, 2025
3fd6f11
dwdiff: migrate to icu4c@78
botantony Oct 31, 2025
0e8dbbf
hfstospell: migrate to icu4c@78
botantony Oct 31, 2025
5efdb65
libzim: migrate to icu4c@78
botantony Oct 31, 2025
bf9b4f5
nuspell: migrate to icu4c@78
botantony Oct 31, 2025
c143c60
planck: migrate to icu4c@78
botantony Oct 31, 2025
dd2c983
samba: migrate to icu4c@78
botantony Oct 31, 2025
c30c145
tarantool: migrate to icu4c@78
botantony Oct 31, 2025
399aa6c
tinysparql: migrate to icu4c@78
botantony Oct 31, 2025
1a3bbf2
zk: migrate to icu4c@78
botantony Oct 31, 2025
b0b851c
apngasm: migrate to icu4c@78
botantony Nov 1, 2025
285995c
boost: migrate to icu4c@78
botantony Nov 1, 2025
75a4ea2
doltgres: migrate to icu4c@78
botantony Nov 1, 2025
99ffd73
easyrpg-player: migrate to icu4c@78
botantony Nov 1, 2025
41667f3
freeciv: migrate to icu4c@78
botantony Nov 1, 2025
6f192a8
freeling: migrate to icu4c@78
botantony Nov 1, 2025
78d0313
freerdp: migrate to icu4c@78
botantony Nov 1, 2025
4fb0b82
gnustep-base: migrate to icu4c@78
botantony Nov 1, 2025
42ea5d2
gspell: migrate to icu4c@78
botantony Nov 1, 2025
ec5f0cd
harfbuzz: migrate to icu4c@78
botantony Nov 1, 2025
36e2109
libcdr: migrate to icu4c@78
botantony Nov 1, 2025
c7762eb
libfreehand: migrate to icu4c@78
botantony Nov 1, 2025
1a9e992
libgedit-tepl: migrate to icu4c@78
botantony Nov 1, 2025
4849a3d
libical: migrate to icu4c@78
botantony Nov 1, 2025
350ed41
liblcf: migrate to icu4c@78
botantony Nov 1, 2025
f774b6c
libmspub: migrate to icu4c@78
botantony Nov 1, 2025
e198969
libphonenumber: migrate to icu4c@78
botantony Nov 1, 2025
4b21227
libpq: migrate to icu4c@78
botantony Nov 1, 2025
0f60f55
librime: migrate to icu4c@78
botantony Nov 1, 2025
fdb1c99
libspelling: migrate to icu4c@78
botantony Nov 1, 2025
98cd2a1
libvisio: migrate to icu4c@78
botantony Nov 1, 2025
34cf68e
libxml2: migrate to icu4c@78
botantony Nov 1, 2025
a22c30c
manticoresearch: migrate to icu4c@78
botantony Nov 1, 2025
74fe030
mapnik: migrate to icu4c@78
botantony Nov 1, 2025
505c4f2
mpd: migrate to icu4c@78
botantony Nov 1, 2025
e0583c4
mysql: migrate to icu4c@78
botantony Nov 1, 2025
e945f44
mysql@8: migrate to icu4c@78
botantony Nov 1, 2025
2794da4
mysql@8: migrate to icu4c@78
botantony Nov 1, 2025
dfe1bec
ncmpcpp: migrate to icu4c@78
botantony Nov 1, 2025
d495ec6
neovide: migrate to icu4c@78
botantony Nov 1, 2025
26b1e66
node: migrate to icu4c@78
botantony Nov 1, 2025
7a71e2c
pazpar2: migrate to icu4c@78
botantony Nov 1, 2025
e37ed81
percona-server: migrate to icu4c@78
botantony Nov 1, 2025
5750f10
percona-server@8: migrate to icu4c@78
botantony Nov 1, 2025
b936fbb
percona-xtrabackup: migrate to icu4c@78
botantony Nov 1, 2025
f77ba41
percona-xtrabackup@8: migrate to icu4c@78
botantony Nov 1, 2025
7791275
php-intl: migrate to icu4c@78
botantony Nov 1, 2025
7afb334
php@8: migrate to icu4c@78
botantony Nov 1, 2025
870e8d2
php@8: migrate to icu4c@78
botantony Nov 1, 2025
acb78b7
php@8: migrate to icu4c@78
botantony Nov 1, 2025
b3cc56c
plutobook: migrate to icu4c@78
botantony Nov 1, 2025
d388fb8
postgis: migrate to icu4c@78
botantony Nov 1, 2025
841b631
postgresql@17: migrate to icu4c@78
botantony Nov 1, 2025
bed13b9
postgresql@18: migrate to icu4c@78
botantony Nov 1, 2025
3320412
qt5compat: migrate to icu4c@78
botantony Nov 1, 2025
f04b392
qt@5: migrate to icu4c@78
botantony Nov 1, 2025
1666712
qtbase: migrate to icu4c@78
botantony Nov 1, 2025
9ce45c9
qtwebengine: migrate to icu4c@78
botantony Nov 1, 2025
402f06e
r: migrate to icu4c@78
botantony Nov 1, 2025
3fb5542
sile: migrate to icu4c@78
botantony Nov 1, 2025
8a6e8f5
simdutf: migrate to icu4c@78
botantony Nov 1, 2025
f990b06
spidermonkey: migrate to icu4c@78
botantony Nov 1, 2025
4ecab48
statesmith: migrate to icu4c@78
botantony Nov 1, 2025
d127505
systemd: migrate to icu4c@78
botantony Nov 1, 2025
f016c83
tectonic: migrate to icu4c@78
botantony Nov 1, 2025
27bb269
tesseract: migrate to icu4c@78
botantony Nov 1, 2025
a141898
unar: migrate to icu4c@78
botantony Nov 1, 2025
f2b94c6
urweb: migrate to icu4c@78
botantony Nov 1, 2025
91ed0be
vte3: migrate to icu4c@78
botantony Nov 1, 2025
1e2e787
webkitgtk: migrate to icu4c@78
botantony Nov 1, 2025
0866fae
widelands: migrate to icu4c@78
botantony Nov 1, 2025
e06845b
yaz: migrate to icu4c@78
botantony Nov 1, 2025
6079726
zebra: migrate to icu4c@78
botantony Nov 1, 2025
c281465
znc: migrate to icu4c@78
botantony Nov 1, 2025
d9e17ef
dotnet: migrate to icu4c@78
botantony Nov 1, 2025
72365f7
node@22: migrate to icu4c@78
botantony Nov 1, 2025
a474b6e
node@24: migrate to icu4c@78
botantony Nov 1, 2025
c1d5b7b
texlive: migrate to icu4c@78
botantony Nov 1, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
path: Formula/.+@.+
except:
- Formula/b/[email protected]
- Formula/i/icu4c@77.rb
- Formula/i/icu4c@78.rb
- Formula/lib/[email protected]
- Formula/o/[email protected]
- Formula/p/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Aliases/icu4c
2 changes: 1 addition & 1 deletion Formula/a/apngasm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Apngasm < Formula

depends_on "cmake" => :build
depends_on "boost"
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "libpng"
depends_on "lzlib"

Expand Down
3 changes: 2 additions & 1 deletion Formula/b/boost.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Boost < Formula
url "https://github.com/boostorg/boost/releases/download/boost-1.89.0/boost-1.89.0-b2-nodocs.tar.xz"
sha256 "875cc413afa6b86922b6df3b2ad23dec4511c8a741753e57c1129e7fa753d700"
license "BSL-1.0"
revision 1
head "https://github.com/boostorg/boost.git", branch: "master"

livecheck do
Expand All @@ -27,7 +28,7 @@ class Boost < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "1bbe66a1b57f7696e9f6815a1a0aef5e476827840a010dcc76a097ac2bf5ea6f"
end

depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "xz"
depends_on "zstd"

Expand Down
4 changes: 2 additions & 2 deletions Formula/c/clickhouse-odbc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
url "https://github.com/ClickHouse/clickhouse-odbc/archive/refs/tags/v1.2.1.20220905.tar.gz"
sha256 "ca8666cbc7af9e5d4670cd05c9515152c34543e4f45e2bc8fa94bee90d724f1b"
license "Apache-2.0"
revision 9
revision 10
head "https://github.com/ClickHouse/clickhouse-odbc.git", branch: "master"

livecheck do
Expand All @@ -29,7 +29,7 @@
depends_on "cmake" => :build
depends_on "folly" => :build
depends_on "pkgconf" => :build
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "openssl@3"
depends_on "poco"
depends_on "utf8proc"
Expand All @@ -49,7 +49,7 @@
sha256 "29f3aeaa05609d53b942903868cb52ddcfcb3b35d32e8075d152cd2ca0ff5242"
end

def install

Check failure on line 52 in Formula/c/clickhouse-odbc.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew install --verbose --formula --build-bottle clickhouse-odbc` failed on macOS Sequoia (15) on Apple Silicon!

cd /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/build/driver && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_IPv6 -DPOCO_NO_STAT64 -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -I/private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/contrib/folly -I/private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/build -I/private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905 -isystem /opt/homebrew/opt/openssl@3/include -O3 -DNDEBUG -DNDEBUG -DBUILD_TYPE_RELEASE -std=c++17 -flto=thin -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT driver/CMakeFiles/clickhouse-odbc-impl.dir/utils/type_parser.cpp.o -MF CMakeFiles/clickhouse-odbc-impl.dir/utils/type_parser.cpp.o.d -o CMakeFiles/clickhouse-odbc-impl.dir/utils/type_parser.cpp.o -c /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/utils/type_parser.cpp In file included from /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/utils/type_info.cpp:1: In file included from /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/utils/type_info.h:4: In file included from /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/utils/utils.h:4: In file included from /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/exception.h:6: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/string:821:42: error: implicit instantiation of undefined template 'std::char_traits<signed char>' 821 | static_assert(is_same<_CharT, typename traits_type::char_type>::value, | ^ /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/utils/resize_without_initialization.h:9:1: note: in instantiation of template class 'std::basic_string<signed char>' requested here 9 | FOLLY_DECLARE_STRING_RESIZE_WITHOUT_INIT(signed char) | ^ /opt/homebrew/include/folly/memory/UninitializedMemoryHacks.h:182:22: note: expanded from macro 'FOLLY_DECLARE_STRING_RESIZE_WITHOUT_INIT' 182 | template void std::basic_string<TYPE>::__set_size(std::size_t); \ | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here 23 | struct _LIBCPP_TEMPLATE_VIS char_traits; | ^ In file included from /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/utils/type_info.cpp:1: In file included from /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/utils/type_info.h:4: In file included from /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/utils/utils.h:4: In file included from /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/exception.h:6: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/string:821:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>' 821 | static_assert(is_same<_CharT, typename traits_type::char_type>::value, | ^ /private/tmp/clickhouse-odbc-20251101-19044-ovn30w/clickhouse-odbc-1.2.1.20220905/driver/utils/resize_without_initialization.h:10:1: note: in instantiation of template class 'std::basic_string<unsigned char>' requested here 10 | FOLLY_DECLARE_STRING_RESIZE_WITHOUT_INIT(unsigned char) | ^ /opt/homebrew/include/folly/memory/UninitializedMemoryHacks.h:182:22: note: expanded from macro 'FOLLY_DECLARE_STRING_RESIZE_WITHOUT_INIT' 182 | template void std::basic_string<TYPE>::__set_size(std::size_t); \ | ^ /Librar
# Remove bundled libraries
%w[folly googletest nanodbc poco ssl].each { |l| rm_r(buildpath/"contrib"/l) }

Expand Down
3 changes: 2 additions & 1 deletion Formula/c/couchdb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Couchdb < Formula
mirror "https://archive.apache.org/dist/couchdb/source/3.5.0/apache-couchdb-3.5.0.tar.gz"
sha256 "6a98b90a9a980bbef2c35b4996a8e71a2f1ae5227546c85f04c436101bdf78bf"
license "Apache-2.0"
revision 1

bottle do
sha256 cellar: :any, arm64_tahoe: "bd3b94f54a24f135c734c12ccfad7c224d5fa0aaaed5e6952dc4ed59bf104cc4"
Expand All @@ -23,7 +24,7 @@ class Couchdb < Formula
depends_on "erlang" => :build
depends_on "libtool" => :build
depends_on "pkgconf" => :build
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "openssl@3"

uses_from_macos "ncurses"
Expand Down
3 changes: 2 additions & 1 deletion Formula/d/dolt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Dolt < Formula
url "https://github.com/dolthub/dolt/archive/refs/tags/v1.76.3.tar.gz"
sha256 "cc8b40f804d2ad3ada7382c9178085dfe37ccfcb79ea22478145589c4536c609"
license "Apache-2.0"
revision 1
version_scheme 1
head "https://github.com/dolthub/dolt.git", branch: "main"

Expand All @@ -22,7 +23,7 @@ class Dolt < Formula
end

depends_on "go" => :build
depends_on "icu4c@77"
depends_on "icu4c@78"

def install
ENV["CGO_ENABLED"] = "1"
Expand Down
3 changes: 2 additions & 1 deletion Formula/d/doltgres.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Doltgres < Formula
url "https://github.com/dolthub/doltgresql/archive/refs/tags/v0.52.3.tar.gz"
sha256 "6845271979c18e05061329faf4bcc9c4aa61d095cb53722fcefe516ccc0b1289"
license "Apache-2.0"
revision 1
head "https://github.com/dolthub/doltgresql.git", branch: "main"

# Upstream creates releases that use a stable tag (e.g., `v1.2.3`) but are
Expand All @@ -25,7 +26,7 @@ class Doltgres < Formula

depends_on "go" => :build
depends_on "libpq" => :test
depends_on "icu4c@77"
depends_on "icu4c@78"

def install
ENV["CGO_ENABLED"] = "1" if OS.linux? && Hardware::CPU.arm?
Expand Down
3 changes: 2 additions & 1 deletion Formula/d/dotnet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
desc ".NET Core"
homepage "https://dotnet.microsoft.com/"
license "MIT"
revision 1
version_scheme 1
head "https://github.com/dotnet/dotnet.git", branch: "main"

Expand Down Expand Up @@ -41,7 +42,7 @@
depends_on "pkgconf" => :build
depends_on "rapidjson" => :build
depends_on "brotli"
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "openssl@3"

uses_from_macos "python" => :build
Expand All @@ -62,7 +63,7 @@
conflicts_with cask: "dotnet-sdk"
conflicts_with cask: "dotnet-sdk@preview"

def install

Check failure on line 66 in Formula/d/dotnet.rb

View workflow job for this annotation

GitHub Actions / Linux x86_64

`brew install --verbose --formula --build-bottle dotnet` failed on Linux x86_64!

::error::dotnet 9.0.8 did not build
if OS.mac?
# Need GNU grep (Perl regexp support) to use release manifest rather than git repo
ENV.prepend_path "PATH", Formula["grep"].libexec/"gnubin"
Expand Down Expand Up @@ -117,7 +118,7 @@
CAVEATS
end

test do

Check warning on line 121 in Formula/d/dotnet.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

`brew test --verbose dotnet` failed on macOS Sonoma (14)!

/usr/local/Homebrew/Library/Homebrew/test.rb:59:in '<main>'
target_framework = "net#{version.major_minor}"

(testpath/"test.cs").write <<~CS
Expand Down
4 changes: 2 additions & 2 deletions Formula/d/dwdiff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Dwdiff < Formula
url "https://os.ghalkes.nl/dist/dwdiff-2.1.4.tar.bz2"
sha256 "df16fec44dcb467d65a4246a43628f93741996c1773e930b90c6dde22dd58e0a"
license "GPL-3.0-only"
revision 10
revision 11

livecheck do
url "https://os.ghalkes.nl/dist/"
Expand All @@ -26,7 +26,7 @@ class Dwdiff < Formula

depends_on "gettext" => :build
depends_on "pkgconf" => :build
depends_on "icu4c@77"
depends_on "icu4c@78"

on_macos do
depends_on "gettext"
Expand Down
4 changes: 2 additions & 2 deletions Formula/e/easyrpg-player.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class EasyrpgPlayer < Formula
url "https://easyrpg.org/downloads/player/0.8.1.1/easyrpg-player-0.8.1.1.tar.xz"
sha256 "52ab46efdc5253a5ef08d3eee49c84d5c5cbb770929f28a08681fe01e5279bb2"
license "GPL-3.0-or-later"
revision 1
revision 2

livecheck do
url "https://easyrpg.org/player/downloads/"
Expand All @@ -26,7 +26,7 @@ class EasyrpgPlayer < Formula
depends_on "fmt"
depends_on "freetype"
depends_on "harfbuzz"
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "liblcf"
depends_on "libpng"
depends_on "libsndfile"
Expand Down
3 changes: 2 additions & 1 deletion Formula/f/freeciv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Freeciv < Formula
url "https://downloads.sourceforge.net/project/freeciv/Freeciv%203.2/3.2.1/freeciv-3.2.1.tar.xz"
sha256 "3fc01ef55bfc9b9c2d71432d22a9fc5ab5892285d15d3dc888ec4bb288d21caa"
license "GPL-2.0-or-later"
revision 1

livecheck do
url :stable
Expand Down Expand Up @@ -38,7 +39,7 @@ class Freeciv < Formula
depends_on "glib"
depends_on "gtk+3"
depends_on "harfbuzz"
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "pango"
depends_on "readline"
depends_on "sdl2"
Expand Down
4 changes: 2 additions & 2 deletions Formula/f/freeling.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Freeling < Formula
url "https://github.com/TALP-UPC/FreeLing/releases/download/4.2/FreeLing-src-4.2.1.tar.gz"
sha256 "c672a6379142ac2e872741e7662f17eccd8230bffc680564d2843d87480f1600"
license "AGPL-3.0-only"
revision 11
revision 12

no_autobump! because: :requires_manual_review

Expand All @@ -22,7 +22,7 @@ class Freeling < Formula
depends_on "cmake" => :build
depends_on "boost"
depends_on "dynet"
depends_on "icu4c@77"
depends_on "icu4c@78"

uses_from_macos "zlib"

Expand Down
3 changes: 2 additions & 1 deletion Formula/f/freerdp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Freerdp < Formula
url "https://github.com/FreeRDP/FreeRDP/releases/download/3.17.2/freerdp-3.17.2.tar.gz"
sha256 "c42c712ad879bf06607b78b8c3fad98e08c82f73f4e0bc1693552900041e692a"
license "Apache-2.0"
revision 1

bottle do
sha256 arm64_tahoe: "a6b9ea4959c3b78207b5f65c1764ef46586f387ad938521c1a552bd825d1de75"
Expand Down Expand Up @@ -45,7 +46,7 @@ class Freerdp < Formula
on_linux do
depends_on "alsa-lib"
depends_on "glib"
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "krb5"
depends_on "libfuse"
depends_on "systemd"
Expand Down
4 changes: 2 additions & 2 deletions Formula/g/gnustep-base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class GnustepBase < Formula
url "https://github.com/gnustep/libs-base/releases/download/base-1_31_1/gnustep-base-1.31.1.tar.gz"
sha256 "e7546f1c978a7c75b676953a360194a61e921cb45a4804497b4f346a460545cd"
license "GPL-2.0-or-later"
revision 1
revision 2

livecheck do
url :stable
Expand Down Expand Up @@ -42,7 +42,7 @@ class GnustepBase < Formula
uses_from_macos "zlib"

on_system :linux, macos: :big_sur_or_older do
depends_on "icu4c@77"
depends_on "icu4c@78"
end

on_linux do
Expand Down
4 changes: 2 additions & 2 deletions Formula/g/gspell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Gspell < Formula
url "https://download.gnome.org/sources/gspell/1.14/gspell-1.14.0.tar.xz"
sha256 "64ea1d8e9edc1c25b45a920e80daf67559d1866ffcd7f8432fecfea6d0fe8897"
license "LGPL-2.1-or-later"
revision 3
revision 4

bottle do
sha256 arm64_tahoe: "389bde910e732feb9e461e8ad1f3eca669252f5662a6cbf3decbc4a1d93d9125"
Expand All @@ -30,7 +30,7 @@ class Gspell < Formula
depends_on "glib"
depends_on "gtk+3"
depends_on "harfbuzz"
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "pango"

on_macos do
Expand Down
3 changes: 2 additions & 1 deletion Formula/h/harfbuzz.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Harfbuzz < Formula
url "https://github.com/harfbuzz/harfbuzz/archive/refs/tags/12.1.0.tar.gz"
sha256 "0238bf7ada6b1fb92984f69f8b9cd66518af83cf24f7db1cfe60c772c42312d3"
license "MIT"
revision 1
head "https://github.com/harfbuzz/harfbuzz.git", branch: "main"

bottle do
Expand All @@ -26,7 +27,7 @@ class Harfbuzz < Formula
depends_on "freetype"
depends_on "glib"
depends_on "graphite2"
depends_on "icu4c@77"
depends_on "icu4c@78"

def install
args = %w[
Expand Down
4 changes: 2 additions & 2 deletions Formula/h/hfstospell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Hfstospell < Formula
url "https://github.com/hfst/hfst-ospell/releases/download/v0.5.4/hfst-ospell-0.5.4.tar.bz2"
sha256 "ab644c802f813a06a406656c3a873d31f6a999e13cafc9df68b03e76714eae0e"
license "Apache-2.0"
revision 4
revision 5

livecheck do
url :stable
Expand All @@ -26,7 +26,7 @@ class Hfstospell < Formula
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkgconf" => :build
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "libarchive"

def install
Expand Down
18 changes: 2 additions & 16 deletions Formula/i/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,7 @@ class Icu4cAT77 < Formula
version "77.1"
sha256 "588e431f77327c39031ffbb8843c0e3bc122c211374485fa87dc5f3faff24061"
license "ICU"

# We allow the livecheck to detect new `icu4c` major versions in order to
# automate version bumps. To make sure PRs are created correctly, we output
# an error during installation to notify when a new formula is needed.
livecheck do
url :stable
regex(/^release[._-]v?(\d+(?:[.-]\d+)+)$/i)
strategy :git do |tags, regex|
tags.filter_map { |tag| tag[regex, 1]&.tr("-", ".") }
end
end

no_autobump! because: :requires_manual_review
revision 1

bottle do
sha256 cellar: :any, arm64_tahoe: "57af4061e0e0d0b6266470343d2db56fc51a0cbaa1bd459bd3bee3c916c0fab9"
Expand All @@ -30,11 +18,9 @@ class Icu4cAT77 < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "f82d4ca07fbdcf99cb5553ae9cf298bbff475a465f13e1c5d934dcbcb1e14741"
end

keg_only :shadowed_by_macos, "macOS provides libicucore.dylib (but nothing else)"
keg_only :versioned_formula

def install
odie "Major version bumps need a new formula!" if version.major.to_s != name[/@(\d+)$/, 1]

args = %w[
--disable-samples
--disable-tests
Expand Down
46 changes: 46 additions & 0 deletions Formula/i/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
class Icu4cAT78 < Formula
desc "C/C++ and Java libraries for Unicode and globalization"
homepage "https://icu.unicode.org/home"
url "https://github.com/unicode-org/icu/releases/download/release-78.1/icu4c-78.1-sources.tgz"
sha256 "6217f58ca39b23127605cfc6c7e0d3475fe4b0d63157011383d716cb41617886"
license "ICU"

# We allow the livecheck to detect new `icu4c` major versions in order to
# automate version bumps. To make sure PRs are created correctly, we output
# an error during installation to notify when a new formula is needed.
livecheck do
url :stable
regex(/^release[._-]v?(\d+(?:[.-]\d+)+)$/i)
strategy :git do |tags, regex|
tags.filter_map { |tag| tag[regex, 1]&.tr("-", ".") }
end
end

keg_only :shadowed_by_macos, "macOS provides libicucore.dylib (but nothing else)"

def install
odie "Major version bumps need a new formula!" if version.major.to_s != name[/@(\d+)$/, 1]

args = %w[
--disable-samples
--disable-tests
--enable-static
--with-library-bits=64
]

cd "source" do
system "./configure", *args, *std_configure_args
system "make"
system "make", "install"
end
end

test do
if File.exist? "/usr/share/dict/words"
system bin/"gendict", "--uchars", "/usr/share/dict/words", "dict"
else
(testpath/"hello").write "hello\nworld\n"
system bin/"gendict", "--uchars", "hello", "dict"
end
end
end
4 changes: 2 additions & 2 deletions Formula/lib/libcdr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Libcdr < Formula
url "https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.8.tar.xz"
sha256 "ced677c8300b29c91d3004bb1dddf0b99761bf5544991c26c2ee8f427e87193c"
license "MPL-2.0"
revision 1
revision 2

livecheck do
url "https://dev-www.libreoffice.org/src/"
Expand All @@ -24,7 +24,7 @@ class Libcdr < Formula

depends_on "boost" => :build
depends_on "pkgconf" => :build
depends_on "icu4c@77"
depends_on "icu4c@78"
depends_on "librevenge"
depends_on "little-cms2"

Expand Down
Loading
Loading