8

Zenity is required for some apps like winetrick-gtk and its not installed automatically when you install winetricks. The problem is brew install zenity does not work, as such a package does not exist. The question is how can I install it manually in Homebrew?

I have installed zenity using Macports. However, every time I use Homebrew I get a warning complaining that Macports is installed. So if I can install it using Homebrew I will be able to get rid of Macports as I don't use it at all.

K.H.A.
  • 376
  • 3
  • 12

3 Answers3

15

For anyone arriving now, the x11 tap has been merged upstream, so you can simply brew install zenity and everything should work.

Cogito
  • 357
  • 2
  • 5
4

The homebrew-x11 tap provides a formula for zenity, so just brew install homebrew/x11/zenity.

ford
  • 10,687
  • 3
  • 47
  • 54
  • From the homebrew-x11 tap page on GitHub: it looks like homebrew-x11 formulae "were migrated to homebrew-core or deleted" (see https://stackoverflow.com/a/48472547/1283667). – brodybits Jul 02 '18 at 16:50
0

If anyone wants a (largely compatible) "port" that doesn't require X:

brew install ncruces/tap/zenity

Source code: https://github.com/ncruces/zenity

Nuno Cruces
  • 1,584
  • 15
  • 18