Bug 481352
Summary: | xdg-desktop-menu installs in /usr/local/share/applications | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jerry James <loganjerry> |
Component: | aqsis | Assignee: | Nicolas Chauvet (kwizart) <kwizart> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | denis, kwizart, pertusus, rdieter |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-02-19 10:22:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jerry James
2009-01-23 17:30:46 UTC
aqsis shouldn't be calling xdg-desktop-menu in %post (that's something for *build* time, not *install* time, which it already does via desktop-file-install) and is a packaging bug, reassigning In short, just remove all the xdg-desktop-menu calls in %post (etc...) , and all should well. Looking closer in cvs, I'm not sure you really want to be doing all those 'uninstall' operations in %pre either. rpm is funky, one upgrade, the scriplets from the old pkgs are run *after* those from the upgraded one. So, in the least, you'll want to wrap those in something like if [ $1 -eq 0 ]; then fi to ensure they're only run on erasure, and not pkg upgrades. to be clear, that last comment was intended for the aqsis maintainer(s) OK, double-checked, instead of xdg-desktop-menu --install use xdg-desktop-menu forceupdate I'm pretty sure you want to replace the xdg-icon-resource --install with install icons during %build, and add to scriptlets: xdg-icon-resource forceupdate --theme hicolor too. It seems that's shouldn't have trusted upstream when they started to make rpm. Their needs doesn't really fit ours as they cannot expect some tools to be available while registering the desktop files , icons and the mimetype. Shoudn't the xdg tools done for that purpose after all ? (to be distro agnostic?) On the other hand, if it install unowned files in /usr/local, that doesn't worth to use the xdg tools, I will revert back to the well documented %post install scriplet to register the icons and desktop files with the mime-types (I'm just not sure about xdg-icon-resource equivalent). aqsis-1.4.2-2.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update aqsis'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-1199 This bug was fix with the above update |