From 186e815d7b4c8d06bbce87de56f8b21a5980acb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Sat, 17 Dec 2022 12:02:41 +0100 Subject: [PATCH 1/4] amc-pango: rebuild bottle to fix "missing symbol" --- amc-pango.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amc-pango.rb b/amc-pango.rb index 2834d0e..5d9642c 100644 --- a/amc-pango.rb +++ b/amc-pango.rb @@ -6,7 +6,7 @@ class AmcPango < Formula homepage "https://www.pango.org/" url "https://download.gnome.org/sources/pango/1.42/pango-1.42.4.tar.xz" sha256 "1d2b74cd63e8bd41961f2f8d952355aa0f9be6002b52c8aa7699d9f5da597c9d" - revision 2 + revision 3 bottle do root_url "https://github.com/maelvls/homebrew-amc/releases/download/amc-pango-1.42.4_2" From 56b9c3b20d44d067d53182ca873c6b22ded30d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Wed, 11 Jan 2023 16:45:44 +0100 Subject: [PATCH 2/4] brew style maelvls/amc --fix --- auto-multiple-choice.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auto-multiple-choice.rb b/auto-multiple-choice.rb index 7d63ae8..cc5f296 100644 --- a/auto-multiple-choice.rb +++ b/auto-multiple-choice.rb @@ -472,7 +472,7 @@ def install # broke things. Now c++11 is needed and I use pkg-config for conveniency. # And since pkg-config is used, CFLAGS, CXXFLAGS and LDFLAGS aren't needed # anymore. - inreplace "Makefile", "opencv\)", "opencv4)" + inreplace "Makefile", "opencv)", "opencv4)" inreplace "Makefile", "$(GCC_OPENCV) $(GCC_OPENCV_LIBS)", "$(GCC_OPENCV) $(GCC_OPENCV_LIBS) -std=c++11" inreplace "Makefile-brew.conf", /^GCC_.*/, "" inreplace "Makefile-brew.conf", /^CFLAGS.*/, "" @@ -502,8 +502,8 @@ def install (bin/"auto-multiple-choice").write_env_script libexec/"bin/auto-multiple-choice", PERL5LIB: ENV["PERL5LIB"], # netpbm, poppler and imagemagick@6 must be in the PATH - PATH: "#{libexec}/bin:#{Formula["qpdf"].bin}:#{Formula["netpbm"].bin}"\ - ":#{Formula["poppler"].bin}:#{Formula["imagemagick@6"].bin}"\ + PATH: "#{libexec}/bin:#{Formula["qpdf"].bin}:#{Formula["netpbm"].bin}" \ + ":#{Formula["poppler"].bin}:#{Formula["imagemagick@6"].bin}" \ ":#{Formula["gobject-introspection"].bin}:$PATH", AMCBASEDIR: prefix From b1bd66805ff24892a379a0c1f0e402b86bf9c342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Sat, 4 Dec 2021 11:47:09 +0100 Subject: [PATCH 3/4] amc: build a bottle for macOS 12 Monterey (x86_64 only) --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c2c756f..0522d57 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,8 +18,9 @@ jobs: # Remember to re-enable it one day. # # - ubuntu-latest - + # https://github.com/actions/virtual-environments/#available-environments + - macos-12 - macos-11 - macos-10.15 runs-on: ${{ matrix.os }} From 7c8dbe7229e9b5676240fa6c9978fe63dcf882b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Fri, 13 Jan 2023 10:12:45 +0100 Subject: [PATCH 4/4] fix "revisions should only increment (from 8 to 0)" --- auto-multiple-choice.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-multiple-choice.rb b/auto-multiple-choice.rb index cc5f296..7f9e0f7 100644 --- a/auto-multiple-choice.rb +++ b/auto-multiple-choice.rb @@ -3,7 +3,7 @@ class AutoMultipleChoice < Formula homepage "https://www.auto-multiple-choice.net" url "https://gitlab.com/jojo_boulix/auto-multiple-choice/uploads/3262cbab3161e5e63239a281e9a2ce23/auto-multiple-choice_1.5.0_dist.tar.gz" sha256 "2e48ebb11a215c7882212c46f31d9013bb488c32899104008b0840e67f716948" - revision 0 + revision 1 bottle do root_url "https://github.com/maelvls/homebrew-amc/releases/download/auto-multiple-choice-1.5.0"