Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| softwares:giocoso:macos [2026/02/03 20:49] – hjr | softwares:giocoso:macos [2026/02/03 21:24] (current) – [2.1 Installing ImageMagick] hjr | ||
|---|---|---|---|
| Line 112: | Line 112: | ||
| ...and, again, make sure you see some sort of response that mentions fontconfig and freetype. | ...and, again, make sure you see some sort of response that mentions fontconfig and freetype. | ||
| - | I emphasise: **you only do one of these three scenarios**. Either things work first time, or they work with the imagemagick-full | + | Now, just to add icing on the cake: Giocoso will actually try to install //both// the imagemagick |
| + | So, here's a worked example (using Homebrew on Tahoe, a bang up-to-date scenario): I've got both imagemagick and imagemagick-full installed, thanks to Giocoso. Here's my paths file: | ||
| + | |||
| + | hjr@Howards-iMac ~ % cat / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | /usr/bin | ||
| + | /bin | ||
| + | /usr/sbin | ||
| + | /sbin | ||
| + | |||
| + | So which version will get used first? In this case, it'll be the " | ||
| + | |||
| + | hjr@Howards-iMac ~ % magick --version | ||
| + | Version: ImageMagick 7.1.2-13 Q16-HDRI aarch64 23522 https:// | ||
| + | Copyright: (C) 1999 ImageMagick Studio LLC | ||
| + | License: https:// | ||
| + | Features: Cipher DPC HDRI Modules | ||
| + | Delegates (built-in): bzlib heic jng jpeg lcms ltdl lzma png tiff webp xml zlib zstd | ||
| + | | ||
| + | Notice that the Delegates line // | ||
| + | |||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | /usr/bin | ||
| + | /bin | ||
| + | /usr/sbin | ||
| + | /sbin | ||
| + | |||
| + | Quit Terminal and re-launch and I'd hope that you would now expect the -full version of imagemagick to be found and used, right? Wrong! | ||
| + | |||
| + | hjr@Howards-iMac ~ % magick --version | ||
| + | Version: ImageMagick 7.1.2-13 Q16-HDRI aarch64 23522 https:// | ||
| + | Copyright: (C) 1999 ImageMagick Studio LLC | ||
| + | License: https:// | ||
| + | Features: Cipher DPC HDRI Modules | ||
| + | Delegates (built-in): bzlib heic jng jpeg lcms ltdl lzma png tiff webp xml zlib zstd | ||
| + | | ||
| + | Still the font-less version! The reason //this// happens is because Homebrew is too damned clever for its own good! It modifies //another// file which trumps the contents of the /etc/paths file: $HOME/ | ||
| + | |||
| + | | ||
| + | eval " | ||
| + | |||
| + | That " | ||
| + | |||
| + | export PATH="/ | ||
| + | | ||
| + | ...to the end of the file. That manually forces the -full version to the front of the path once more. Save the edited .zprofile, then quit terminal once more and launch a new one: | ||
| + | |||
| + | hjr@Howards-iMac ~ % magick --version | ||
| + | Version: ImageMagick 7.1.2-13 Q16-HDRI aarch64 23522 https:// | ||
| + | Copyright: (C) 1999 ImageMagick Studio LLC | ||
| + | License: https:// | ||
| + | Features: Cipher DPC HDRI Modules OpenMP | ||
| + | Delegates (built-in): bzlib cairo fontconfig freetype gslib heic jng jp2 jpeg jxl... | ||
| + | | ||
| + | Bingo! We have fontconfig support at last. | ||
| + | |||
| + | I wish I could simplify this for you, but it //is// tricky and it all depends on the age of your operating system and the specific version of Homebrew you're using. If you are very lucky, a vanilla imagemagick install will have font support and will be at the front of the path by default: the simultaneous existence of an imagemagick-full install won't matter, because it's in a location that no-one will search for and Giocoso doesn' | ||
| + | |||
| + | On more recent Homebrew and macOS versions, however, both versions will be present and the vanilla imagemagick will //not// have font support, which will break Giocoso. You therefore need to manipulate system paths to make the -full version searchable and discoverable and thus the one that Giocoso will use. | ||
| + | |||
| + | This is definitely the sort of low-level shenanigans that Unix and Linux administrators eat for breakfast. It's unlikely to be appealing to a lot of Mac users, but there it is! | ||
| ==== 2.2 Add Homebrew Binaries to Path ==== | ==== 2.2 Add Homebrew Binaries to Path ==== | ||
| Assuming you finally get the correct response from ImageMagic, you need to make sure that the **/ | Assuming you finally get the correct response from ImageMagic, you need to make sure that the **/ | ||