Summary: | media-gfx/gimp-2.8.2 - QA Notice: This package installs one or more .desktop files that do not pass validation. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ilya Gordeev <mirraz1> |
Component: | [OLD] GNOME | Assignee: | Sebastian Pipping <sping> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nikoli, szymluk86 |
Priority: | Low | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://git.gnome.org/browse/gimp/commit/configure.ac?h=gimp-2-8&id=0ed3b482a422ff684c8921b7de9f44ea7b20345c | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 444206 |
Description
Ilya Gordeev
2012-08-28 07:50:51 UTC
Hello Ilya, that's probably both an easy and tough one: * File zzz.desktop is the renamed version of gimp.desktop. That's specific to Gentoo. * gimp.desktop is made from [gimp-2.8.2]/desktop/gimp.desktop.in.in and its @MIME_TYPES@ is filled during runtime of ./configure (which is generated from configure.ac at packaging time). * configure.ac has code to add mime type "application/pdf" twice, first by # The list of MIME types that are supported by plug-ins that \ # are compiled unconditionally: MIME_TYPES="application/postscript;application/pdf;[..]" and a second time by ## If both poppler and cairo-pdf are enabled then we have \ # complete PDF support if test "x$have_cairo_pdf" = xyes && test "x$have_poppler" = xyes; then MIME_TYPES="$MIME_TYPES;application/pdf" fi Either "application/pdf" is truly independent of any build time options (i.e. it's unconditional) or it requires cairo and poppler. Once we know which, one addition of "application/pdf" can be picked for removal. Now the question is: How do we approach upstream about it, best? To make them want to fix it would be cool to offer - a demo minimal .desktop file and the command line to trigger this very warning - ideally, a rationale why this is relevant to them beyond just killing the warning for us. Any help would on that end would rock. Have you opened bugs at GNOME's bugzilla before? *** Bug 472304 has been marked as a duplicate of this bug. *** + 05 Jun 2013; Sebastian Pipping <sping@gentoo.org> gimp-2.8.4.ebuild, + +files/gimp-2.8.4-valid-desktop-file.patch: + Fix duplicate PDF MIME type in .desktop file with upstream patch (bug + #433028) + |