unrecognized options in graphicsmagick #22919
Comments
Weird, I'm sure I tested all these options. Thanks, will fix. |
Though graphicsmagick is called a "drop-in replacement" for imagemagick, that just means it offers nearly the same functionality as imagemagick. It doesn't mean that it takes all the same build options, still less that its options have the same names as the corresponding ones in imagemagick. In the graphcismagick formula, the flag Moreover, at the top of the formula there are a bunch of :optional ones. I'm focusing right now on There ARE in |
The little-cms2 dependency is optional, if not a configure option. I'll fix this up at some point but if you could submit a PR that would be fantastic (and get this resolved sooner) |
Working on a PR. I'm not a programmer, but looking at the configure script it appears that the option for using freetype is Does this mean that we can't use |
If freetype is going to be optional, then the goal is to (a) be able to build gm without freetype support, and (b) to not be forced to brew freetype if a freetype-less build is requested. I don't know how to do this without wrecking the |
It selects the user-facing option in Homebrew, but the option that's actually passed to configure can be anything fortunately. |
@mistydemeo Thanks. Re svg support: from the package's readme:
|
Also not recognized by the package: |
Also not recognizded: |
Also not recognized: |
The package apparently will use libxml2 for svg support by default. |
The cms stuff isn't really :optional, at least not as I understand how that works. As I understand it, brew should not build gm with cms support unless one does However, if you happen to already have cms{2} on your system, then you brew gm, it will be brewed with cms support even if you don't ask for it. That's because (I think) gm has both cms's turned on by default (probably it picks one of them if both are present). |
|
Playing around with this, I found I could not forcibly deactive cms support when little-cms2 is already brewed. Not even commenting out the depends_on in the formula and manually passing the flags |
This is a brew bug, as doing it outside of homebrew results in deactivation of little-cms2. |
Never mind, fixed in latest commit of PR. |
Closes Homebrew#22919. Closes Homebrew#22929. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Recently all the option-names and such from the imagemagick formula were put into the graphicsmagick formula.
At least two of those options don't exist for graphicsmagick.
Both
--with-rsvg
and--with-webp
are rejected by the./configure
script as unrecognized, and neither is mentioned in./configure --help
.The text was updated successfully, but these errors were encountered: