Skip to content

Instantly share code, notes, and snippets.

@uebayasi
Created June 20, 2017 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uebayasi/ff9b56db764628c35e7bf8d1b381ab92 to your computer and use it in GitHub Desktop.
Save uebayasi/ff9b56db764628c35e7bf8d1b381ab92 to your computer and use it in GitHub Desktop.
  • Clone Inkscape Git repo
  • Install brew
    • Update to the latest
  • Build Inkscape following the Wiki except:
    • Install into $HOME/.local instead of ../inst
  • If build fails, install the missing thing by brew install something
    • Repeat until build finishes
  • Fix shared-mime-info
    • mkdir -p /usr/local/share/mime/packages
    • cp /usr/local/Cellar/shared-mime-info/1.8_1/share/shared-mime-info/packages/freedesktop.org.xml /usr/local/share/mime/packages
    • update-mime-database /usr/local/share/mime
    • mkdir -p $HOME/.local/share/mime/packages
    • cp /usr/local/Cellar/shared-mime-info/1.8_1/share/shared-mime-info/packages/freedesktop.org.xml $HOME/.local/share/mime/packages
    • update-mime-database $HOME/.local/share/mime
  • Fix fontconfig
    • brew postinstall fontconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment