libgdiplus icon indicating copy to clipboard operation
libgdiplus copied to clipboard

Update build instructions for macOS

Open filipnavara opened this issue 6 years ago • 3 comments

The current build instructions for builds with X11 support cause an outdated cairo to be used. There's Cairo 1.14.6 distributed with XQuartz and the suggested build command (in README.md) picks it up instead of the cairo build from Homebrew.

To pick-up the Homebrew Cairo it needs to be changed from

PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig ./autogen.sh --prefix=YOUR_PREFIX

to

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig  ./autogen.sh --prefix=YOUR_PREFIX

Unfortunately the default cairo Homebrew build is built without X11 support, so furthermore the following is needed:

brew uninstall cairo
brew install --with-x11 cairo

filipnavara avatar Mar 27 '18 12:03 filipnavara

Homebrew killed the --with-x11 option on the cairo package. Unfortunately there's no other easy option to build this configuration.

filipnavara avatar Oct 05 '19 14:10 filipnavara

Do people still use MacPorts? I also know one of the pkgsrc maintainers for macOS, if that helps.

NattyNarwhal avatar Oct 05 '19 14:10 NattyNarwhal

I think at this point the only sane option is to mark it as unsupported configuration and remove it from the instructions.

filipnavara avatar Oct 05 '19 15:10 filipnavara