Hi there Anton and Bernd,

I'm not sure if this is your preferred patch submission channel or if
you would prefer some kind of pull request (I maintain a fork on
github, for what it's worth). Please let me know if you'd like me to
resubmit it a different way.

I've tested this patch on macOS (26.3.1, arm64). I didn't use any LLM
for this. Carthago delenda est.

cheers, Matt.

---

Yodl was removed as a dependency for SWIG in SWIG 3.0.8. Gforth uses a
fork of SWIG which merged the upstream 3.0.8, so it no longer requires
Yodl, or (transitively) the `forthy42/homebrew-zsh` keg.

References:

- SWIG patch to remove Yodl
<https://github.com/swig/swig/commit/64dcd50b9953cad388db44f772c7dbee1cb34b7d>
- GeraldWodni SWIG merge of 3.0.8 shows that the SWIG patch is in the
fork used for Gforth
<https://github.com/GeraldWodni/swig/commit/0e84bc798ffe686a8ae244488f04c1cf84dd33e5>
- Yodl <https://fbb-git.gitlab.io/yodl/>
---
 docker/builder/Dockerfile | 4 ++--
 install-deps.sh           | 5 ++---
 snap/snapcraft.yaml.in    | 1 -
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/docker/builder/Dockerfile b/docker/builder/Dockerfile
index c20d4dd5..2af717a9 100644
--- a/docker/builder/Dockerfile
+++ b/docker/builder/Dockerfile
@@ -17,7 +17,7 @@ RUN echo Specified gcc version is ${GCC} \
      libfreetype-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
      libopus-dev libva-dev libavcodec-dev libavutil-dev libstb-dev
lsb-release \
      libxkbcommon-dev libwebp-dev libv4l-dev libyuv-dev emacs-nox \
-     yodl bison libboost-dev binutils-dev git && \
+     bison libboost-dev binutils-dev git && \
      if test "${GCC%%[0-9]*}" = "gcc-"; then echo ln -fs
/usr/bin/$GCC /usr/bin/gcc; ln -fs /usr/bin/$GCC /usr/bin/gcc; if test
-f /usr/bin/x86_64-linux-gnu-$GCC; then ln -fs
/usr/bin/x86_64-linux-gnu-$GCC /usr/bin/x86_64-linux-gnu-gcc; fi; fi
 RUN if ! apt -y install gforth; then \
          if which wcurl >/dev/null 2>&1; then \
@@ -42,7 +42,7 @@ RUN cd /tmp/ \
     && make install \
     && cd .. \
     && rm -rf swig \
-    && apt-get remove -y yodl bison libboost-dev git \
+    && apt-get remove -y bison libboost-dev git \
     && apt-get clean
 RUN apt-get install -y libpulse-dev libharfbuzz-dev \
   && apt-get clean
diff --git a/install-deps.sh b/install-deps.sh
index 49b3c0d4..6c275cc3 100755
--- a/install-deps.sh
+++ b/install-deps.sh
@@ -2,7 +2,7 @@
 which sudo || alias sudo=eval
 install_debian() {
   sudo apt-get -y update
-  sudo apt-get -y -m install libffi-dev libltdl7 libsoil-dev
binutils-dev libtool make gcc automake m4 texinfo texi2html
texlive-base install-info dpkg-dev debhelper yodl bison libboost-dev
g++ git # yodl, bison, ... git: are for swig
+  sudo apt-get -y -m install libffi-dev libltdl7 libsoil-dev
binutils-dev libtool make gcc automake m4 texinfo texi2html
texlive-base install-info dpkg-dev debhelper bison libboost-dev g++
git # bison, ... git: are for swig
   if ! sudo apt-get -y -m install libpcre3-dev
   then
       git clone https://github.com/nektro/pcre-8.45.git
@@ -65,10 +65,9 @@ install_linuxmint() {

 install_osx() {
   which brew || /bin/bash -c "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-  brew tap forthy42/homebrew-zsh
   brew update > /dev/null
   brew upgrade > /dev/null
-  brew install gcc harfbuzz texinfo xz mesa premake automake yodl libtool
+  brew install gcc harfbuzz texinfo xz mesa premake automake libtool
   export PATH="/usr/local/opt/texinfo/bin:$PATH"
   brew install --cask xquartz mactex
   export PATH="/Library/TeX/texbin:$PATH"
diff --git a/snap/snapcraft.yaml.in b/snap/snapcraft.yaml.in
index de105299..3170eab2 100755
--- a/snap/snapcraft.yaml.in
+++ b/snap/snapcraft.yaml.in
@@ -151,7 +151,6 @@ parts:
       - texinfo
       - git
       - g++
-      - yodl
       - bison
       - libpcre3-dev
       - libboost-dev
-- 
2.53.0

Reply via email to