<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5ee8865ede42f4c3ed3fc28845d450d466cdf85b">https://github.com/macports/macports-ports/commit/5ee8865ede42f4c3ed3fc28845d450d466cdf85b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 5ee8865ede4 ocrmypdf: drop pngquant dep to avoid rust on 10.8-
</span>5ee8865ede4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5ee8865ede42f4c3ed3fc28845d450d466cdf85b
</span>Author: i0ntempest <i0ntempest@i0ntempest.com>
AuthorDate: Fri Jan 10 20:24:21 2025 +0800
<span style='display:block; white-space:pre;color:#404040;'> ocrmypdf: drop pngquant dep to avoid rust on 10.8-
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Move some deps to runtime only
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/71776
</span>---
textproc/ocrmypdf/Portfile | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/ocrmypdf/Portfile b/textproc/ocrmypdf/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3fbffd4c616..0b0810c5ea9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/ocrmypdf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/ocrmypdf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup python 1.0
</span>
name ocrmypdf
version 16.7.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories textproc
homepage https://github.com/ocrmypdf/OCRmyPDF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,14 +51,9 @@ depends_build-append \
</span> port:py${python.version}-hatchling \
port:py${python.version}-hatch-vcs
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:ghostscript \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:img2pdf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:jbig2enc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:img2pdf \
</span> port:libpng \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pngquant \
</span> port:qpdf \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:tesseract \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:unpaper \
</span> port:py${python.version}-deprecation \
port:py${python.version}-freetype \
port:py${python.version}-packaging \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,7 +65,17 @@ depends_lib-append port:ghostscript \
</span> port:py${python.version}-pyheif \
port:py${python.version}-rich
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run-append port:tesseract-eng
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run-append port:ghostscript \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:jbig2enc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:tesseract \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:tesseract-eng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:unpaper
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Avoid rust on 10.7 and lower
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.subplatform} eq "macosx" && ${os.major} >= 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pngquant
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
notes "
English support is enabled by default.
</pre><pre style='margin:0'>
</pre>