From 1a243702a175b2f3913a817837746fc7bfa17131 Mon Sep 17 00:00:00 2001 From: Seeker Date: Sun, 8 Nov 2020 09:56:13 -0800 Subject: [PATCH 1/2] feh: migrate to brewed X11 Before: ``` % brew linkage feh System libraries: /opt/X11/lib/libX11.6.dylib /opt/X11/lib/libXinerama.1.dylib /usr/lib/libSystem.B.dylib /usr/lib/libcurl.4.dylib Homebrew libraries: /usr/local/opt/imlib2/lib/libImlib2.1.dylib (imlib2) /usr/local/opt/libexif/lib/libexif.12.dylib (libexif) /usr/local/opt/libpng/lib/libpng16.16.dylib (libpng) Indirect dependencies with linkage: libpng ``` After: ``` % brew linkage feh System libraries: /usr/lib/libSystem.B.dylib /usr/lib/libcurl.4.dylib Homebrew libraries: /usr/local/opt/imlib2/lib/libImlib2.1.dylib (imlib2) /usr/local/opt/libexif/lib/libexif.12.dylib (libexif) /usr/local/opt/libpng/lib/libpng16.16.dylib (libpng) /usr/local/opt/libx11/lib/libX11.6.dylib (libx11) /usr/local/opt/libxinerama/lib/libXinerama.1.dylib (libxinerama) Indirect dependencies with linkage: libpng ``` --- Formula/feh.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Formula/feh.rb b/Formula/feh.rb index 5b363bea76fa6..01c5d4a513b95 100644 --- a/Formula/feh.rb +++ b/Formula/feh.rb @@ -4,6 +4,7 @@ class Feh < Formula url "https://feh.finalrewind.org/feh-3.5.tar.bz2" sha256 "388f9dcc8284031023364355e23a82c276e79ca614f2dcd64d2f927857a4531e" license "MIT-feh" + revision 1 livecheck do url :homepage @@ -18,7 +19,8 @@ class Feh < Formula depends_on "imlib2" depends_on "libexif" - depends_on :x11 + depends_on "libx11" + depends_on "libxinerama" def install system "make", "PREFIX=#{prefix}", "verscmp=0", "exif=1" From 82e5d54589f31dc91f672f4d4ea135332e193b82 Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Mon, 9 Nov 2020 16:33:25 +1100 Subject: [PATCH 2/2] feh: libxt for x11/intrinsic.h --- Formula/feh.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/feh.rb b/Formula/feh.rb index 01c5d4a513b95..3c71a7a691ebb 100644 --- a/Formula/feh.rb +++ b/Formula/feh.rb @@ -21,6 +21,7 @@ class Feh < Formula depends_on "libexif" depends_on "libx11" depends_on "libxinerama" + depends_on "libxt" def install system "make", "PREFIX=#{prefix}", "verscmp=0", "exif=1"