On Mon, 2015-11-30 at 12:09 -0600, Rex Dieter wrote:
Matthias Clasen wrote:
> On Mon, 2015-11-30 at 07:11 -0600, Rex Dieter wrote:
> > I missed that, but I would say gedit is being erroneous by adding
> > dependencies, at least with respect to desktop-file-utils.
> I added the dependency for a new enough desktop-file-utils build
> because the desktop-file-utils package does not contain the file
> trigger section before 0.22-6
Sure, but that's conceptually no different than the case where gedit
the scriptlet but (also) had no dependency on desktop-file-utils.
either way, if desktop-file-utils is not present, the effect is
happens. We only care about the case when desktop-file-utils *is*
and that case already works without adding any package dependencies.
This all is of course largely theoretical (in practice, desktop-file-
utils will be installed, and f24 will have a build of d-f-u with the
file trigger), but I don't entirely agree. If you install the gedit
package, and nothing happens, your system is now in an inconsistent
state - the installed desktop files contain mime handler information
that is not reflected in the mime db. The fact that installing d-f-u
later will bring your system back into consistency doesn't change the
fact that it is inconsistent between the end of the gedit installation
and the time you decide to install d-f-u.