Skip to content

Commit 892ee44

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

File tree

1 file changed

+12
-21
lines changed

1 file changed

+12
-21
lines changed

Formula/s/sile.rb

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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
7+
head "https://github.com/sile-typesetter/sile.git", branch: "master"
88

99
bottle do
1010
sha256 cellar: :any, arm64_sequoia: "840aacf2bbfbac9fd5fc325774bf97b5b8f856744ac4d586b21818e2739409c6"
@@ -15,15 +15,10 @@ class Sile < Formula
1515
sha256 cellar: :any_skip_relocation, x86_64_linux: "dbd247ab127cc9f68e3f25e4404974e1ec87e074af1210fb19240bde79dd4ff1"
1616
end
1717

18-
head do
19-
url "https://github.com/sile-typesetter/sile.git", branch: "master"
20-
21-
depends_on "autoconf" => :build
22-
depends_on "automake" => :build
23-
depends_on "libtool" => :build
24-
end
25-
18+
depends_on "autoconf" => :build
19+
depends_on "automake" => :build
2620
depends_on "jq" => :build
21+
depends_on "libtool" => :build
2722
depends_on "pkgconf" => :build
2823
depends_on "poppler" => :build
2924
depends_on "rust" => :build
@@ -45,8 +40,8 @@ class Sile < Formula
4540
end
4641

4742
resource "compat53" do
48-
url "https://luarocks.org/manifests/lunarmodules/compat53-0.12-1.rockspec"
49-
sha256 "880cdad8d1789a0756f2023d2c98f36d94e6d2c1cc507190b4f9883420435746"
43+
url "https://luarocks.org/manifests/lunarmodules/compat53-0.14.3-1.rockspec"
44+
sha256 "16218188112c20e9afa9e9057f753d29d7affb10fe3fb2ac74cab17c6de9a030"
5045
end
5146

5247
resource "linenoise" do
@@ -110,8 +105,8 @@ class Sile < Formula
110105

111106
# depends on luafilesystem
112107
resource "penlight" do
113-
url "https://luarocks.org/manifests/tieske/penlight-1.13.1-1.src.rock"
114-
sha256 "fa028f7057cad49cdb84acdd9fe362f090734329ceca8cc6abb2d95d43b91835"
108+
url "https://luarocks.org/manifests/tieske/penlight-1.14.0-2.src.rock"
109+
sha256 "f36affa14fb43e208a59f2e96d214f774b957bcd05d9c07ec52b39eac7f4a05d"
115110
end
116111

117112
# depends on penlight
@@ -143,10 +138,6 @@ class Sile < Formula
143138
end
144139

145140
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-
150141
lua = Formula["luajit"]
151142
luaversion = "5.1"
152143
luapath = libexec/"vendor"
@@ -182,17 +173,17 @@ def install
182173
r.stage do
183174
rock = Pathname.pwd.children(false).first
184175
unpack_dir = Utils.safe_popen_read("luarocks", "unpack", rock).split("\n")[-2]
185-
186176
spec = "#{r.name}-#{r.version}.rockspec"
187177
cd(unpack_dir) { system "luarocks", "make", *luarocks_args, spec }
188178
end
189179
end
190180

191-
configure_args = %w[
181+
configure_args = %W[
192182
FCMATCH=true
193183
--disable-silent-rules
194184
--with-system-luarocks
195185
--with-system-lua-sources
186+
--with-vendored-luarocks-dir=#{luapath}
196187
]
197188

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

0 commit comments

Comments
 (0)