conjure icon indicating copy to clipboard operation
conjure copied to clipboard

[Packaging] Binary name conflicts with Imagemagick 'conjure' binary

Open yochananmarqos opened this issue 2 years ago • 4 comments
trafficstars

Imagemagick includes a conjure binary packaged in /usr/bin/ with distro packages. To avoid conflicts, could you rename it to io.github.nate_xyz.Conjure instead?

I've added this to the AUR as conjure and manually renamed the binary for now.

yochananmarqos avatar Mar 01 '23 18:03 yochananmarqos

Is there a way to build / depend on ImageMagick without that script? Using reverse DNS naming for a distro package seems unwieldy to me.

nate-xyz avatar Mar 10 '23 21:03 nate-xyz

I'm not sure what you mean. I can add imagemagick as a dependency, sure.

yochananmarqos avatar Mar 10 '23 21:03 yochananmarqos

I guess I mean depending on a different ImageMagick pkg in the AUR that builds without the script to avoid conflict? Idek if that's possible though.

It wasn't a dependency already? Does the python-wand pkg have the dependency? If so no need to add it.

If there's no alternative I'll change the binary name but I've found using the reverse DNS names outside of the context of flatpak / flathub weird, esp if people use some app launcher like dmenu or rofi or something where you actually type out the package name. What do you think?

nate-xyz avatar Mar 10 '23 21:03 nate-xyz

depending on a different ImageMagick pkg in the AUR that builds without the script to avoid conflict?

Er? No, it doesn't work that way. Then no one would be able to install the imagemagick repo package with your application installed.

Does the python-wand pkg have the dependency?

Yes, it does. Forgot about that.

If you do rename the binary, I'll just do the reverse and make a symlink, so it'll work out the same:

ln -s "/usr/bin/$_app_id" "$pkgdir/usr/bin/$pkgname"

yochananmarqos avatar Mar 10 '23 21:03 yochananmarqos