Skip to content

Commit 1f2b1bf

Browse files
BrewTestBotdaeho-ro
authored andcommitted
sile 0.15.7
sile: remove patch
1 parent ee62108 commit 1f2b1bf

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

Formula/s/sile.rb

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
class Sile < Formula
22
desc "Modern typesetting system inspired by TeX"
33
homepage "https://sile-typesetter.org"
4-
url "https://github.com/sile-typesetter/sile/releases/download/v0.15.5/sile-0.15.5.tar.zst"
5-
sha256 "d20137b02d16302d287670fd285ad28ac3b8d3af916460aa6bc8cbff9321b9f9"
4+
url "https://github.com/sile-typesetter/sile/releases/download/v0.15.7/sile-0.15.7.tar.zst"
5+
sha256 "3e353a41f9fe1532f7bedeba9a42009ffb9758c3cf947f222ba076eb87a4222b"
66
license "MIT"
7-
revision 3
87

98
bottle do
109
sha256 cellar: :any, arm64_sequoia: "840aacf2bbfbac9fd5fc325774bf97b5b8f856744ac4d586b21818e2739409c6"
@@ -24,6 +23,7 @@ class Sile < Formula
2423
end
2524

2625
depends_on "jq" => :build
26+
depends_on "libtool" => :build
2727
depends_on "pkgconf" => :build
2828
depends_on "poppler" => :build
2929
depends_on "rust" => :build
@@ -45,8 +45,8 @@ class Sile < Formula
4545
end
4646

4747
resource "compat53" do
48-
url "https://luarocks.org/manifests/lunarmodules/compat53-0.12-1.rockspec"
49-
sha256 "880cdad8d1789a0756f2023d2c98f36d94e6d2c1cc507190b4f9883420435746"
48+
url "https://luarocks.org/manifests/lunarmodules/compat53-0.14.3-1.rockspec"
49+
sha256 "16218188112c20e9afa9e9057f753d29d7affb10fe3fb2ac74cab17c6de9a030"
5050
end
5151

5252
resource "linenoise" do
@@ -110,8 +110,8 @@ class Sile < Formula
110110

111111
# depends on luafilesystem
112112
resource "penlight" do
113-
url "https://luarocks.org/manifests/tieske/penlight-1.13.1-1.src.rock"
114-
sha256 "fa028f7057cad49cdb84acdd9fe362f090734329ceca8cc6abb2d95d43b91835"
113+
url "https://luarocks.org/manifests/tieske/penlight-1.14.0-2.src.rock"
114+
sha256 "f36affa14fb43e208a59f2e96d214f774b957bcd05d9c07ec52b39eac7f4a05d"
115115
end
116116

117117
# depends on penlight
@@ -143,10 +143,6 @@ class Sile < Formula
143143
end
144144

145145
def install
146-
# Workaround for ICU 76+.
147-
# Issue ref: https://github.com/sile-typesetter/sile/issues/2152
148-
inreplace "configure", '"icu-uc icu-io"', '"icu-uc icu-i18n icu-io"' if build.stable?
149-
150146
lua = Formula["luajit"]
151147
luaversion = "5.1"
152148
luapath = libexec/"vendor"
@@ -182,17 +178,17 @@ def install
182178
r.stage do
183179
rock = Pathname.pwd.children(false).first
184180
unpack_dir = Utils.safe_popen_read("luarocks", "unpack", rock).split("\n")[-2]
185-
186181
spec = "#{r.name}-#{r.version}.rockspec"
187182
cd(unpack_dir) { system "luarocks", "make", *luarocks_args, spec }
188183
end
189184
end
190185

191-
configure_args = %w[
186+
configure_args = %W[
192187
FCMATCH=true
193188
--disable-silent-rules
194189
--with-system-luarocks
195190
--with-system-lua-sources
191+
--with-vendored-luarocks-dir=#{luapath}
196192
]
197193

198194
system "./bootstrap.sh" if build.head?

0 commit comments

Comments
 (0)