Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yochananmarqos opened this issue Mar 1, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@yochananmarqos
Copy link

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.

@nate-xyz
Copy link
Owner

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

@yochananmarqos
Copy link
Author

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

@nate-xyz
Copy link
Owner

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?

@yochananmarqos
Copy link
Author

yochananmarqos commented Mar 10, 2023

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"

@nate-xyz nate-xyz added the bug Something isn't working label Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants