Skip to content

Instantly share code, notes, and snippets.

@iamitava
Created September 20, 2017 21:22
Show Gist options
  • Save iamitava/97d2e225889c78270f0610c5f18905fc to your computer and use it in GitHub Desktop.
Save iamitava/97d2e225889c78270f0610c5f18905fc to your computer and use it in GitHub Desktop.
Homebrew config for shared-mime-info issue

brew config

$ brew config
HOMEBREW_VERSION: 1.3.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 751334a257d81851e68da7ab390982d4e9fdf909
Last commit: 2 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 4037d045834815b9292d9ca3e86bd25460030688
Core tap last commit: 23 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 9.0 build 900
Git: 2.13.5 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_131
macOS: 10.12.6-x86_64
Xcode: 9.0
CLT: 9.0.0.0.1.1504363082
X11: 2.7.11 => /opt/X11

brew doctor

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so
  echo 'set -g fish_user_paths "/usr/local/sbin" $fish_user_paths' >> ~/.config/fish/config.fish

shared-mime-info

$ brew info shared-mime-info
shared-mime-info: stable 1.9 (bottled), HEAD
Database of common MIME types
https://wiki.freedesktop.org/www/Software/shared-mime-info
/usr/local/Cellar/shared-mime-info/1.8_1 (83 files, 4.4MB)
  Poured from bottle on 2017-05-01 at 14:07:07
/usr/local/Cellar/shared-mime-info/1.9 (81 files, 4.5MB) *
  Poured from bottle on 2017-09-20 at 16:52:24
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/shared-mime-info.rb
==> Dependencies
Build: pkg-config ✔, intltool ✘
Required: gettext ✔, glib ✔

$ brew uses --installed shared-mime-info
<nothing>

$ brew uninstall shared-mime-info
Error: Refusing to uninstall /usr/local/Cellar/shared-mime-info/1.9
because it is required by librsvg 2.40.18, which is currently installed.
You can override this and force removal with:
  brew uninstall --ignore-dependencies shared-mime-info

librsvg

$ brew info librsvg
librsvg: stable 2.40.18 (bottled)
Library to render SVG files using Cairo
https://live.gnome.org/LibRsvg
/usr/local/Cellar/librsvg/2.40.18 (51 files, 1.6MB) *
  Poured from bottle on 2017-08-25 at 15:17:55
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/librsvg.rb
==> Dependencies
Build: pkg-config ✔
Required: cairo ✔, gdk-pixbuf ✔, glib ✔, libcroco ✔, pango ✔
Optional: gtk+3 ✘
==> Options
--with-gtk+3
	Build with gtk+3 support
  
$ brew deps librsvg
cairo
fontconfig
freetype
gdk-pixbuf
gettext
glib
gobject-introspection
graphite2
harfbuzz
icu4c
jpeg
libcroco
libffi
libpng
libtiff
pango
pcre
pixman
pkg-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment