Package: graphicsmagick-imagemagick-compat 
Version: 1.3.25-5
Severity: important
tags: patch

Hi,

Recent imagemagick (I am the maint of imagemagick) use alternative for convert 
and so on.

Could you use the alternative mechanism and remove the conflict ?

You could use prio below 100 for it.

The first step is to allow command name with extension for gm.

I think the line to patch is 
https://sources.debian.net/src/graphicsmagick/1.3.25-7/magick/command.c/?hl=17414#L17348

replace  LocaleCompare by    LocaleNCompare
line will become:
if(command_names[i]==NULL)
        break;
 if (LocaleNCompare(command,command_names[i],strlen(command_names[i])) == 0)
        break 

After you should create link convert.gm and so on and use postinst script.

thanks 

Bastien


Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to