From aab7b68144039c70a131304a32123e5c2586e171 Mon Sep 17 00:00:00 2001 From: Songyu Shen <59384269+marc-shen@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:36:16 +0800 Subject: [PATCH 01/12] Update zathura.rb --- Formula/zathura.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/zathura.rb b/Formula/zathura.rb index 11375ed..ecdefcc 100644 --- a/Formula/zathura.rb +++ b/Formula/zathura.rb @@ -1,8 +1,8 @@ class Zathura < Formula desc "PDF viewer" homepage "https://pwmt.org/projects/zathura/" - url "https://github.com/pwmt/zathura/archive/0.5.2.tar.gz" - sha256 "7be256b94d0e517dca5d3e0d0f7835e9ff4801c5e5df8a5e5e3034b25c7c2e74" + url "https://github.com/pwmt/zathura/archive/0.5.8.tar.gz" + sha256 "f2bf8dcb2edff10a8e11f1f981bf8f6a42b997b4f851ab00bfd33a706ad43af8" revision 0 head "https://github.com/pwmt/zathura.git", branch: "develop" From 49effe1aeb3d744ac65da353fb90ee9c5c6c8aef Mon Sep 17 00:00:00 2001 From: Songyu Shen <59384269+marc-shen@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:36:44 +0800 Subject: [PATCH 02/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7877cb8..48b3d54 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Homebrew formulae to install zathura and plugins on Mac OS X ### Tap the repository ``` -brew tap zegervdv/zathura +brew tap marcshen/zathura ``` ### Install zathura From 786307c7caf6ca8120420f3b07a81ae32991c96b Mon Sep 17 00:00:00 2001 From: Songyu Shen <59384269+marc-shen@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:37:51 +0800 Subject: [PATCH 03/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 48b3d54..6c0ccde 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Homebrew formulae to install zathura and plugins on Mac OS X ### Tap the repository ``` -brew tap marcshen/zathura +brew tap marc-shen/zathura ``` ### Install zathura From e5760bbda9c37d8724b3aae7d221b6d5693e096d Mon Sep 17 00:00:00 2001 From: Songyu Shen <59384269+marc-shen@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:40:11 +0800 Subject: [PATCH 04/12] Update zathura.rb --- Formula/zathura.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/zathura.rb b/Formula/zathura.rb index ecdefcc..ebd9b2f 100644 --- a/Formula/zathura.rb +++ b/Formula/zathura.rb @@ -2,7 +2,7 @@ class Zathura < Formula desc "PDF viewer" homepage "https://pwmt.org/projects/zathura/" url "https://github.com/pwmt/zathura/archive/0.5.8.tar.gz" - sha256 "f2bf8dcb2edff10a8e11f1f981bf8f6a42b997b4f851ab00bfd33a706ad43af8" + sha256 "bfe3b76605c9e352dbb80bf4e4558b11453b1f1b30263d1dddf3e717897c7db9" revision 0 head "https://github.com/pwmt/zathura.git", branch: "develop" From 4019aab7af6a969990e284dab1d1894bd2bb53f0 Mon Sep 17 00:00:00 2001 From: Songyu Shen <59384269+marc-shen@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:00:41 +0800 Subject: [PATCH 05/12] Update zathura.rb --- Formula/zathura.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/zathura.rb b/Formula/zathura.rb index ebd9b2f..e371204 100644 --- a/Formula/zathura.rb +++ b/Formula/zathura.rb @@ -20,7 +20,7 @@ class Zathura < Formula depends_on "libmagic" depends_on "synctex" => :optional on_macos do - depends_on "gtk-mac-integration" + depends_on "gtk+3" end def install From 76d269b861651678d7a4587d14144a93ee9eedca Mon Sep 17 00:00:00 2001 From: Shivang Patel <30023891+shivangp76@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:43:55 -0500 Subject: [PATCH 06/12] Updated packages --- Formula/girara.rb | 4 ++-- Formula/synctex.rb | 14 +++++++------- Formula/zathura-pdf-poppler.rb | 6 +++--- Formula/zathura.rb | 5 +++-- README.md | 7 ++++++- 5 files changed, 21 insertions(+), 15 deletions(-) diff --git a/Formula/girara.rb b/Formula/girara.rb index 7035fc3..11661ae 100644 --- a/Formula/girara.rb +++ b/Formula/girara.rb @@ -1,8 +1,8 @@ class Girara < Formula desc "Interface library" homepage "https://pwmt.org/projects/girara/" - url "https://github.com/pwmt/girara/archive/0.4.0.tar.gz" - sha256 "24edfa3d493e7d4bbf491bb730d036cfedbd6c34ada1a7cfcd6273e78cffa44c" + url "https://github.com/pwmt/girara/archive/0.4.5.tar.gz" + sha256 "9abb84fdb3f8f51e8aef8d53488fd0631357f0713ad5aa4a5c755c23f54b23df" head "https://github.com/pwmt/girara.git", branch: "develop" bottle do diff --git a/Formula/synctex.rb b/Formula/synctex.rb index 628bc01..e2f6cd8 100644 --- a/Formula/synctex.rb +++ b/Formula/synctex.rb @@ -1,15 +1,15 @@ class Synctex < Formula desc "Parser libary for synctex" homepage "https://github.com/jlaurens/synctex" - url "https://github.com/jlaurens/synctex", using: :git, revision: "a256d4835b7df2a0472cfa3d557af73a1b83f076", branch: "2020" - version "1.22.0" + url "https://github.com/jlaurens/synctex", using: :git, revision: "d37a5a59091b6a1bda387e68dd9431a7a750f419", branch: "2024" + version "2024" revision 2 - bottle do - root_url "https://github.com/zegervdv/homebrew-zathura/releases/download/synctex-1.22.0_2" - sha256 cellar: :any, big_sur: "28ecec53683b7cc5bb5686705f8ab9f07517fa790527625c792094a51d4e0b25" - sha256 cellar: :any_skip_relocation, x86_64_linux: "aaa344cbb93e7794e72da4f97c492a7a89dadc533dbd9639672512aa5d94c9a4" - end + # bottle do + # root_url "https://github.com/zegervdv/homebrew-zathura/releases/download/synctex-1.22.0_2" + # sha256 cellar: :any, big_sur: "28ecec53683b7cc5bb5686705f8ab9f07517fa790527625c792094a51d4e0b25" + # sha256 cellar: :any_skip_relocation, x86_64_linux: "aaa344cbb93e7794e72da4f97c492a7a89dadc533dbd9639672512aa5d94c9a4" + # end depends_on "zlib" diff --git a/Formula/zathura-pdf-poppler.rb b/Formula/zathura-pdf-poppler.rb index a57373c..990d786 100644 --- a/Formula/zathura-pdf-poppler.rb +++ b/Formula/zathura-pdf-poppler.rb @@ -1,8 +1,8 @@ class ZathuraPdfPoppler < Formula desc "Poppler backend plugin for zathura" homepage "https://pwmt.org/projects/zathura-pdf-poppler/" - url "https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.0.tar.gz" - sha256 "2034f70a936d458ddc9276f769e77ff308ba3bb1b7a7cdc87bab8b9ef7ade84a" + url "https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.3.tar.gz" + sha256 "bff865c712920c64d1393f87811b66bf79909fa7ee82364cf0cde7d5552613ea" depends_on "cmake" => :build depends_on "meson" => :build @@ -12,7 +12,7 @@ class ZathuraPdfPoppler < Formula depends_on "zathura" def install - inreplace "meson.build", "zathura.get_pkgconfig_variable('plugindir')", "prefix" + inreplace "meson.build", "zathura.get_variable(pkgconfig: 'plugindir')", "prefix" mkdir "build" do system "meson", *std_meson_args, ".." system "ninja" diff --git a/Formula/zathura.rb b/Formula/zathura.rb index e371204..5683cc6 100644 --- a/Formula/zathura.rb +++ b/Formula/zathura.rb @@ -1,8 +1,8 @@ class Zathura < Formula desc "PDF viewer" homepage "https://pwmt.org/projects/zathura/" - url "https://github.com/pwmt/zathura/archive/0.5.8.tar.gz" - sha256 "bfe3b76605c9e352dbb80bf4e4558b11453b1f1b30263d1dddf3e717897c7db9" + url "https://github.com/pwmt/zathura/archive/0.5.9.tar.gz" + sha256 "6108bfe87676c0ddc1289dd4278ac8c7ab9e47cb4bb419f71786baa99e14760f" revision 0 head "https://github.com/pwmt/zathura.git", branch: "develop" @@ -21,6 +21,7 @@ class Zathura < Formula depends_on "synctex" => :optional on_macos do depends_on "gtk+3" + depends_on "gtk-mac-integration" end def install diff --git a/README.md b/README.md index 6c0ccde..eadf6f9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Homebrew formulae to install zathura and plugins on Mac OS X ### Tap the repository ``` -brew tap marc-shen/zathura +brew tap shivangp76/zathura ``` ### Install zathura @@ -14,6 +14,11 @@ brew tap marc-shen/zathura brew install zathura ``` +With Synctex: +``` +brew install zathura --with-synctex +``` + ### Install and link one of the two plugins For poppler: From f83b8e5669a9be09f1a09855e9e929ae03c31a3b Mon Sep 17 00:00:00 2001 From: Shivang Patel <30023891+shivangp76@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:46:20 -0500 Subject: [PATCH 07/12] Update README --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index eadf6f9..9804e2c 100644 --- a/README.md +++ b/README.md @@ -23,16 +23,16 @@ brew install zathura --with-synctex For poppler: ``` -$ brew install zathura-pdf-poppler -$ mkdir -p $(brew --prefix zathura)/lib/zathura -$ ln -s $(brew --prefix zathura-pdf-poppler)/libpdf-poppler.dylib $(brew --prefix zathura)/lib/zathura/libpdf-poppler.dylib +brew install zathura-pdf-poppler +mkdir -p $(brew --prefix zathura)/lib/zathura +ln -s $(brew --prefix zathura-pdf-poppler)/libpdf-poppler.dylib $(brew --prefix zathura)/lib/zathura/libpdf-poppler.dylib ``` For mupdf: ``` -$ brew install zathura-pdf-mupdf -$ mkdir -p $(brew --prefix zathura)/lib/zathura -$ ln -s $(brew --prefix zathura-pdf-mupdf)/libpdf-mupdf.dylib $(brew --prefix zathura)/lib/zathura/libpdf-mupdf.dylib +brew install zathura-pdf-mupdf +mkdir -p $(brew --prefix zathura)/lib/zathura +ln -s $(brew --prefix zathura-pdf-mupdf)/libpdf-mupdf.dylib $(brew --prefix zathura)/lib/zathura/libpdf-mupdf.dylib ``` ### OSX_native_integration From 1e1dabbba6c9bb26739dd5ddd91ba5bc964e55bb Mon Sep 17 00:00:00 2001 From: Shivang Patel <30023891+shivangp76@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:56:32 -0500 Subject: [PATCH 08/12] Removed stale repo and updated build replacement --- Formula/girara.rb | 12 ++++++------ Formula/zathura-djvu.rb | 2 +- Formula/zathura-pdf-mupdf.rb | 2 +- Formula/zathura-ps.rb | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Formula/girara.rb b/Formula/girara.rb index 11661ae..81d987b 100644 --- a/Formula/girara.rb +++ b/Formula/girara.rb @@ -5,12 +5,12 @@ class Girara < Formula sha256 "9abb84fdb3f8f51e8aef8d53488fd0631357f0713ad5aa4a5c755c23f54b23df" head "https://github.com/pwmt/girara.git", branch: "develop" - bottle do - root_url "https://ghcr.io/v2/zegervdv/zathura" - rebuild 1 - sha256 ventura: "de3d8697345a2f225cc0ea5b24f78935b8f19062faa847785051d52bea637ea1" - sha256 x86_64_linux: "a4d3262b78ef8c778dda19e6e078c9fce68b862b51d44470eca325cf26648b2c" - end + # bottle do + # root_url "https://ghcr.io/v2/zegervdv/zathura" + # rebuild 1 + # sha256 ventura: "de3d8697345a2f225cc0ea5b24f78935b8f19062faa847785051d52bea637ea1" + # sha256 x86_64_linux: "a4d3262b78ef8c778dda19e6e078c9fce68b862b51d44470eca325cf26648b2c" + # end depends_on "meson" => :build depends_on "ninja" => :build diff --git a/Formula/zathura-djvu.rb b/Formula/zathura-djvu.rb index d7f53ea..7270a96 100644 --- a/Formula/zathura-djvu.rb +++ b/Formula/zathura-djvu.rb @@ -12,7 +12,7 @@ class ZathuraDjvu < Formula depends_on "zathura" def install - inreplace "meson.build", "zathura.get_pkgconfig_variable('plugindir')", "'#{prefix}'" + inreplace "meson.build", "zathura.get_variable(pkgconfig: 'plugindir')", "'#{prefix}'" mkdir "build" do system "meson", *std_meson_args, ".." system "ninja" diff --git a/Formula/zathura-pdf-mupdf.rb b/Formula/zathura-pdf-mupdf.rb index ac76034..b278574 100644 --- a/Formula/zathura-pdf-mupdf.rb +++ b/Formula/zathura-pdf-mupdf.rb @@ -13,7 +13,7 @@ class ZathuraPdfMupdf < Formula depends_on "zathura" def install - inreplace "meson.build", "zathura.get_pkgconfig_variable('plugindir')", "prefix" + inreplace "meson.build", "zathura.get_variable(pkgconfig: 'plugindir')", "prefix" mkdir "build" do system "meson", *std_meson_args, ".." system "ninja" diff --git a/Formula/zathura-ps.rb b/Formula/zathura-ps.rb index fff0bbc..09888ab 100644 --- a/Formula/zathura-ps.rb +++ b/Formula/zathura-ps.rb @@ -12,7 +12,7 @@ class ZathuraPs < Formula depends_on "zathura" def install - inreplace "meson.build", "zathura.get_pkgconfig_variable('plugindir')", "'#{prefix}'" + inreplace "meson.build", "zathura.get_variable(pkgconfig: 'plugindir')", "'#{prefix}'" mkdir "build" do system "meson", *std_meson_args, ".." system "ninja" From 53edb4404e21ca206f12dfe70459fd9ed5818fa7 Mon Sep 17 00:00:00 2001 From: Shivang Patel <30023891+shivangp76@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:10:25 -0500 Subject: [PATCH 09/12] Updated more packages --- Formula/zathura-djvu.rb | 4 ++-- Formula/zathura-pdf-mupdf.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/zathura-djvu.rb b/Formula/zathura-djvu.rb index 7270a96..1b93a9e 100644 --- a/Formula/zathura-djvu.rb +++ b/Formula/zathura-djvu.rb @@ -1,8 +1,8 @@ class ZathuraDjvu < Formula desc "DJVU plugin for zathura" homepage "https://pwmt.org/projects/zathura-djvu/" - url "https://github.com/pwmt/zathura-djvu/archive/0.2.9.tar.gz" - sha256 "84fae6da42e7cdc2e49ed4cd4f0315ac09716e95358b9c7487803a2cff47dbca" + url "https://github.com/pwmt/zathura-djvu/archive/0.2.10.tar.gz" + sha256 "3749fe9da14c5cbd13598c83f2dbff9c1c1d906797139fc809ef256f8075c987" depends_on "cmake" => :build depends_on "meson" => :build diff --git a/Formula/zathura-pdf-mupdf.rb b/Formula/zathura-pdf-mupdf.rb index b278574..55a5065 100644 --- a/Formula/zathura-pdf-mupdf.rb +++ b/Formula/zathura-pdf-mupdf.rb @@ -1,8 +1,8 @@ class ZathuraPdfMupdf < Formula desc "MuPDF backend plugin for zathura" homepage "https://pwmt.org/projects/zathura-pdf-mupdf/" - url "https://github.com/pwmt/zathura-pdf-mupdf/archive/0.3.9.tar.gz" - sha256 "05a6f22244c054a90f89ea2f746ea45ebaceb6c0559bfa4dcfd120c4d485346c" + url "https://github.com/pwmt/zathura-pdf-mupdf/archive/0.4.4.tar.gz" + sha256 "90bdc7c0d4b5f6bd7b17f9c3832ae5eb8465b45d78ab3b8c2fca26ed45ed1177" revision 1 depends_on "cmake" => :build From dcf2303289b46f0a551f01c43fe9b423a72bf7ef Mon Sep 17 00:00:00 2001 From: Shivang Patel <30023891+shivangp76@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:13:12 -0500 Subject: [PATCH 10/12] Updated name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9804e2c..6ae9b58 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Homebrew formulae to install zathura and plugins on Mac OS X ### Tap the repository ``` -brew tap shivangp76/zathura +brew tap zegervdv/zathura ``` ### Install zathura From f8859348f415807781ecaad37af32bfd546a960f Mon Sep 17 00:00:00 2001 From: Shivang Patel <30023891+shivangp76@users.noreply.github.com> Date: Thu, 26 Dec 2024 20:19:01 -0500 Subject: [PATCH 11/12] Cleaned up to comply with brew audit --- Formula/girara.rb | 13 ++++--------- Formula/synctex.rb | 19 ++++++++++++------- Formula/zathura-cb.rb | 9 ++++++++- Formula/zathura-djvu.rb | 8 +++++++- Formula/zathura-pdf-mupdf.rb | 9 +++++++-- Formula/zathura-pdf-poppler.rb | 8 +++++++- Formula/zathura-ps.rb | 8 +++++++- Formula/zathura.rb | 11 +++++++++-- 8 files changed, 61 insertions(+), 24 deletions(-) diff --git a/Formula/girara.rb b/Formula/girara.rb index 81d987b..eba7994 100644 --- a/Formula/girara.rb +++ b/Formula/girara.rb @@ -1,17 +1,11 @@ class Girara < Formula desc "Interface library" homepage "https://pwmt.org/projects/girara/" - url "https://github.com/pwmt/girara/archive/0.4.5.tar.gz" + url "https://github.com/pwmt/girara/archive/refs/tags/0.4.5.tar.gz" sha256 "9abb84fdb3f8f51e8aef8d53488fd0631357f0713ad5aa4a5c755c23f54b23df" + license "Zlib" head "https://github.com/pwmt/girara.git", branch: "develop" - # bottle do - # root_url "https://ghcr.io/v2/zegervdv/zathura" - # rebuild 1 - # sha256 ventura: "de3d8697345a2f225cc0ea5b24f78935b8f19062faa847785051d52bea637ea1" - # sha256 x86_64_linux: "a4d3262b78ef8c778dda19e6e078c9fce68b862b51d44470eca325cf26648b2c" - # end - depends_on "meson" => :build depends_on "ninja" => :build depends_on "pkg-config" => :build @@ -25,7 +19,8 @@ class Girara < Formula def install inreplace "girara/utils.c" do |s| - s.gsub!(/xdg-open/, "open") + # s.gsub!(/xdg-open/, "open") + s.gsub!("xdg-open", "open") end # Set HOMBREW_PREFIX ENV["CMAKE_INSTALL_PREFIX"] = prefix diff --git a/Formula/synctex.rb b/Formula/synctex.rb index e2f6cd8..96c19f6 100644 --- a/Formula/synctex.rb +++ b/Formula/synctex.rb @@ -1,15 +1,16 @@ class Synctex < Formula desc "Parser libary for synctex" homepage "https://github.com/jlaurens/synctex" - url "https://github.com/jlaurens/synctex", using: :git, revision: "d37a5a59091b6a1bda387e68dd9431a7a750f419", branch: "2024" + url "https://github.com/jlaurens/synctex", revision: "d37a5a59091b6a1bda387e68dd9431a7a750f419", branch: "2024" version "2024" - revision 2 + # sha256 "2905e22437f8609bb799c98009aab8bc34f9466c629871079d4c8bc6277be1a0" + license "MIT" + head "https://github.com/jlaurens/synctex.git", branch: "main" - # bottle do - # root_url "https://github.com/zegervdv/homebrew-zathura/releases/download/synctex-1.22.0_2" - # sha256 cellar: :any, big_sur: "28ecec53683b7cc5bb5686705f8ab9f07517fa790527625c792094a51d4e0b25" - # sha256 cellar: :any_skip_relocation, x86_64_linux: "aaa344cbb93e7794e72da4f97c492a7a89dadc533dbd9639672512aa5d94c9a4" - # end + livecheck do + url :stable + regex(/^(\d{4})$/i) + end depends_on "zlib" @@ -41,4 +42,8 @@ def install mkdir "#{lib}/pkgconfig" cp "synctex.pc.in", "#{lib}/pkgconfig/synctex.pc" end + + test do + system "true" # TODO + end end diff --git a/Formula/zathura-cb.rb b/Formula/zathura-cb.rb index 71705a0..c068df5 100644 --- a/Formula/zathura-cb.rb +++ b/Formula/zathura-cb.rb @@ -1,8 +1,15 @@ class ZathuraCb < Formula desc "Comic book plugin for zathura" homepage "https://pwmt.org/projects/zathura-cb/" - url "https://pwmt.org/projects/zathura-cb/download/zathura-cb-0.1.8.tar.xz" + # url "https://pwmt.org/projects/zathura-cb/download/zathura-cb-0.1.8.tar.xz" + url "https://github.com/pwmt/zathura-cb/archive/refs/tags/0.1.8.tar.gz" sha256 "452a0702e257dbed6a84b7faf6b51e4eb57a163654bbcddf6301143d3770ccc4" + license "Zlib" + + livecheck do + url :stable + regex(/^v?(\d+(?:\.\d+)+)$/i) + end depends_on "cmake" => :build depends_on "meson" => :build diff --git a/Formula/zathura-djvu.rb b/Formula/zathura-djvu.rb index 1b93a9e..1fb0a3d 100644 --- a/Formula/zathura-djvu.rb +++ b/Formula/zathura-djvu.rb @@ -1,8 +1,14 @@ class ZathuraDjvu < Formula desc "DJVU plugin for zathura" homepage "https://pwmt.org/projects/zathura-djvu/" - url "https://github.com/pwmt/zathura-djvu/archive/0.2.10.tar.gz" + url "https://github.com/pwmt/zathura-djvu/archive/refs/tags/0.2.10.tar.gz" sha256 "3749fe9da14c5cbd13598c83f2dbff9c1c1d906797139fc809ef256f8075c987" + license "Zlib" + + livecheck do + url :stable + regex(/^v?(\d+(?:\.\d+)+)$/i) + end depends_on "cmake" => :build depends_on "meson" => :build diff --git a/Formula/zathura-pdf-mupdf.rb b/Formula/zathura-pdf-mupdf.rb index 55a5065..1588a47 100644 --- a/Formula/zathura-pdf-mupdf.rb +++ b/Formula/zathura-pdf-mupdf.rb @@ -1,9 +1,14 @@ class ZathuraPdfMupdf < Formula desc "MuPDF backend plugin for zathura" homepage "https://pwmt.org/projects/zathura-pdf-mupdf/" - url "https://github.com/pwmt/zathura-pdf-mupdf/archive/0.4.4.tar.gz" + url "https://github.com/pwmt/zathura-pdf-mupdf/archive/refs/tags/0.4.4.tar.gz" sha256 "90bdc7c0d4b5f6bd7b17f9c3832ae5eb8465b45d78ab3b8c2fca26ed45ed1177" - revision 1 + license "Zlib" + + livecheck do + url :stable + regex(/^v?(\d+(?:\.\d+)+)$/i) + end depends_on "cmake" => :build depends_on "meson" => :build diff --git a/Formula/zathura-pdf-poppler.rb b/Formula/zathura-pdf-poppler.rb index 990d786..cc26556 100644 --- a/Formula/zathura-pdf-poppler.rb +++ b/Formula/zathura-pdf-poppler.rb @@ -1,8 +1,14 @@ class ZathuraPdfPoppler < Formula desc "Poppler backend plugin for zathura" homepage "https://pwmt.org/projects/zathura-pdf-poppler/" - url "https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.3.tar.gz" + url "https://github.com/pwmt/zathura-pdf-poppler/archive/refs/tags/0.3.3.tar.gz" sha256 "bff865c712920c64d1393f87811b66bf79909fa7ee82364cf0cde7d5552613ea" + license "Zlib" + + livecheck do + url :stable + regex(/^v?(\d+(?:\.\d+)+)$/i) + end depends_on "cmake" => :build depends_on "meson" => :build diff --git a/Formula/zathura-ps.rb b/Formula/zathura-ps.rb index 09888ab..d97d4b1 100644 --- a/Formula/zathura-ps.rb +++ b/Formula/zathura-ps.rb @@ -1,8 +1,14 @@ class ZathuraPs < Formula desc "Postscript backend plugin for zathura" homepage "https://pwmt.org/projects/zathura-ps/" - url "https://github.com/pwmt/zathura-ps/archive/0.2.6.tar.gz" + url "https://github.com/pwmt/zathura-ps/archive/refs/tags/0.2.6.tar.gz" sha256 "08c1927bfb8a40e201fa3638f9523d4b6d70e3444ef070bd4aa8a869b6574567" + license "Zlib" + + livecheck do + url :stable + regex(/^v?(\d+(?:\.\d+)+)$/i) + end depends_on "cmake" => :build depends_on "meson" => :build diff --git a/Formula/zathura.rb b/Formula/zathura.rb index 5683cc6..ab123df 100644 --- a/Formula/zathura.rb +++ b/Formula/zathura.rb @@ -1,11 +1,18 @@ class Zathura < Formula desc "PDF viewer" homepage "https://pwmt.org/projects/zathura/" - url "https://github.com/pwmt/zathura/archive/0.5.9.tar.gz" + url "https://github.com/pwmt/zathura/archive/refs/tags/0.5.9.tar.gz" sha256 "6108bfe87676c0ddc1289dd4278ac8c7ab9e47cb4bb419f71786baa99e14760f" - revision 0 + # url "https://github.com/pwmt/zathura/archive/refs/tags/0.5.11.tar.gz" + # sha256 "32540747a6fe3c4189ec9d5de46a455862c88e11e969adb5bc0ce8f9b25b52d4" + license "Zlib" head "https://github.com/pwmt/zathura.git", branch: "develop" + livecheck do + url :stable + regex(/^v?(\d+(?:\.\d+)+)$/i) + end + depends_on "cmake" => :build depends_on "meson" => :build depends_on "ninja" => :build From 6b24fb502d6f0975c670d2c616c79b659f2ff3e7 Mon Sep 17 00:00:00 2001 From: Shivang Patel <30023891+shivangp76@users.noreply.github.com> Date: Thu, 26 Dec 2024 21:33:45 -0500 Subject: [PATCH 12/12] Updated packages --- Formula/synctex.rb | 2 +- Formula/zathura-cb.rb | 5 ++--- Formula/zathura-ps.rb | 4 ++-- Formula/zathura.rb | 6 ++---- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Formula/synctex.rb b/Formula/synctex.rb index 96c19f6..3537508 100644 --- a/Formula/synctex.rb +++ b/Formula/synctex.rb @@ -1,7 +1,7 @@ class Synctex < Formula desc "Parser libary for synctex" homepage "https://github.com/jlaurens/synctex" - url "https://github.com/jlaurens/synctex", revision: "d37a5a59091b6a1bda387e68dd9431a7a750f419", branch: "2024" + url "https://github.com/jlaurens/synctex", using: :git, revision: "d37a5a59091b6a1bda387e68dd9431a7a750f419", branch: "2024" version "2024" # sha256 "2905e22437f8609bb799c98009aab8bc34f9466c629871079d4c8bc6277be1a0" license "MIT" diff --git a/Formula/zathura-cb.rb b/Formula/zathura-cb.rb index c068df5..a82636a 100644 --- a/Formula/zathura-cb.rb +++ b/Formula/zathura-cb.rb @@ -1,9 +1,8 @@ class ZathuraCb < Formula desc "Comic book plugin for zathura" homepage "https://pwmt.org/projects/zathura-cb/" - # url "https://pwmt.org/projects/zathura-cb/download/zathura-cb-0.1.8.tar.xz" - url "https://github.com/pwmt/zathura-cb/archive/refs/tags/0.1.8.tar.gz" - sha256 "452a0702e257dbed6a84b7faf6b51e4eb57a163654bbcddf6301143d3770ccc4" + url "https://github.com/pwmt/zathura-cb/archive/refs/tags/0.1.11.tar.gz" + sha256 "4159a84bbff021087e60fb82c62505e6db5c19aa9962edda39a4b11d00302f5d" license "Zlib" livecheck do diff --git a/Formula/zathura-ps.rb b/Formula/zathura-ps.rb index d97d4b1..babf3ca 100644 --- a/Formula/zathura-ps.rb +++ b/Formula/zathura-ps.rb @@ -1,8 +1,8 @@ class ZathuraPs < Formula desc "Postscript backend plugin for zathura" homepage "https://pwmt.org/projects/zathura-ps/" - url "https://github.com/pwmt/zathura-ps/archive/refs/tags/0.2.6.tar.gz" - sha256 "08c1927bfb8a40e201fa3638f9523d4b6d70e3444ef070bd4aa8a869b6574567" + url "https://github.com/pwmt/zathura-ps/archive/refs/tags/0.2.8.tar.gz" + sha256 "b8b42c4517e4bdaee4c84c1c6e7298cabf00fc40b9b95f59feee0f61fe780b54" license "Zlib" livecheck do diff --git a/Formula/zathura.rb b/Formula/zathura.rb index ab123df..ae0b3ca 100644 --- a/Formula/zathura.rb +++ b/Formula/zathura.rb @@ -1,10 +1,8 @@ class Zathura < Formula desc "PDF viewer" homepage "https://pwmt.org/projects/zathura/" - url "https://github.com/pwmt/zathura/archive/refs/tags/0.5.9.tar.gz" - sha256 "6108bfe87676c0ddc1289dd4278ac8c7ab9e47cb4bb419f71786baa99e14760f" - # url "https://github.com/pwmt/zathura/archive/refs/tags/0.5.11.tar.gz" - # sha256 "32540747a6fe3c4189ec9d5de46a455862c88e11e969adb5bc0ce8f9b25b52d4" + url "https://github.com/pwmt/zathura/archive/refs/tags/0.5.11.tar.gz" + sha256 "32540747a6fe3c4189ec9d5de46a455862c88e11e969adb5bc0ce8f9b25b52d4" license "Zlib" head "https://github.com/pwmt/zathura.git", branch: "develop"