You are not logged in.
I maintain the `gargoyle` AUR package, and I've just adopted the `qtads` package as well. These applications both open TADS 2 & 3 story files, and they both provide icons for the corresponding MIME types in `/usr/share/icons/hicolor/32x32/mimetypes`.
The icons provided by the two packages conflict with each other; and they differ, too, though I don't think it would be a problem if Gargoyle's icons were used when the `qtads` package was installed. The reverse might be questionable, since Gargoyle uses the same icon for many interactive fiction story formats, so TADS 2 & 3 files would be the only ones that looked different if the QTads icon were used for them.
My best idea to resolve this right now is to put the icons in a separate package named `gargoyle-icons` and list that package as a dependency of both `gargoyle` and `qtads`. Does anyone have a better alternative? Is there a way to let the packages install their icons in different places, ideally with Gargoyle's icons being chosen when both are installed?
I haven't pushed an update to `qtads` yet because I want to resolve this conflict first. These two packages also both provide MIME type database entries for these two types of file, which are identical aside from their "comment" fields. This at least doesn't seem like a problem.
As a side question: QTads has a built-in update checker. By default, it's configured to check for updates once a day. Should I patch the default setting to "never check for updates" when packaging it? It always bothers me when an application I've installed through a package manager automatically checks for updates.
Offline
put the icons in a separate package named `gargoyle-icons` and list that package as a dependency of both `gargoyle` and `qtads`
Unless you can/want to mutually conflict the gargoyle and qtads package, that's what you'll have to do.
patch the default setting to "never check for updates"
because
It always bothers me when an application I've installed through a package manager automatically checks for updates.
notably since they're not applicable.
Online
All right. I was hoping someone with freedesktop.org knowledge might have a secret that would let me avoid making a third package. But I'll split it up tomorrow and push a qtads update, unless that person shows up between now and then.
Offline
fdo.org means you're looking for different icon files (no package conflict) and a way to control extension/icon resolution preference?
https://unix.stackexchange.com/a/419926
Online
fdo.org means you're looking for different icon files (no package conflict) and a way to control extension/icon resolution preference?
https://unix.stackexchange.com/a/419926
I don't really need to be able to control the resolution process, but yes, that's the kind of solution I had in mind. It's not possible to install hicolor icons for the same MIME type without conflicts as far as I've been able to tell, which is extremely unfortunate, since adding MIME types to the shared MIME-info database without conflicts is perfectly possible.
Offline
Ah, the mediatype is "application" and "application-x-generic" would be wrong
A more disgusting approach could be to ship disjunct files in the packages and use post-install scripts to conditionally symlink them into place, but that's probably gonna messy on partial removal.
A 3rd package will be the much cleaner approach.
Online
Yeah... I think I'm going to use a split PKGBUILD for each package, providing X and X-icons for each, with gargoyle having gargoyle-icons as an optional dependency, and qtads having both gargoyle-icons and qtads-icons as optional dependencies. It's pretty painful, especially for AUR packages.
Offline