Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urlview 0.9-23.1 #190754

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions Formula/u/urlview.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
class Urlview < Formula
desc "URL extractor/launcher"
homepage "https://packages.debian.org/sid/misc/urlview"
# TODO: Consider switching to new Debian maintainer's fork if it is adopted
# by other repositories as allowed by our documented policy. Alternatively,
# we could introduce the fork as `urlview-ng` and deprecate this formula.
url "https://deb.debian.org/debian/pool/main/u/urlview/urlview_0.9.orig.tar.gz"
version "0.9-24"
version "0.9-23.1"
sha256 "746ff540ccf601645f500ee7743f443caf987d6380e61e5249fc15f7a455ed42"
license "GPL-2.0-or-later"

Expand Down Expand Up @@ -33,8 +36,8 @@ class Urlview < Formula
end

patch do
url "http://ftp.debian.org/debian/pool/main/u/urlview/urlview_0.9-24.debian.tar.xz"
sha256 "2dd710baa5af98f5dc32ffedfa051220a83cb8b1d7250e75966d7658cf2e2228"
url "http://ftp.debian.org/debian/pool/main/u/urlview/urlview_0.9-23.1.debian.tar.xz"
sha256 "bdb3b403b165ff1fe7d1a7c05275b6c865e4740d9ed46fd9c81495be1fbe2b9f"
apply "patches/debian.patch",
"patches/Fix-warning-about-implicit-declaration-of-function.patch",
"patches/invoke-AM_INIT_AUTOMAKE-with-foreign.patch",
Expand All @@ -43,6 +46,9 @@ class Urlview < Formula
end

def install
# Workaround for newer Clang
ENV.append_to_cflags "-Wno-implicit-int" if DevelopmentTools.clang_build_version >= 1403

man1.mkpath

url_handler = OS.mac? ? "open" : etc/"urlview/url_handler.sh"
Expand Down
Loading