Bug 460690

Summary: Unclear error messages for .desktop files with repository openSuSE 11.1
Product: [openSUSE] openSUSE.org Reporter: Kevin James <kjames>
Component: BuildServiceAssignee: Adrian Schröter <adrian.schroeter>
Status: RESOLVED WORKSFORME QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Normal    
Priority: P5 - None CC: schaefer.frank
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Kevin James 2008-12-19 12:40:45 UTC
I have a package that builds fine for repository openSuSE 11.0. When building the same package for repository openSuSE 11.1, I get the following errors

ERROR: No sufficient Category definition: /var/tmp/btnx-config-0.4.9-build//usr/share/applications/btnx-config.desktop
ERROR: translation is neither enabled nor disabled for this file: /var/tmp/btnx-config-0.4.9-build//usr/share/applications/btnx-config.desktop

I was told on the mailing list that this is because I should be using the macro %suse_update_desktop_file, and asked to file a bug to get this error message to be more meaningful.
Comment 1 Frank Schäfer 2009-01-02 14:45:22 UTC
I can confirm this. The error message is definitely wrong, because translation is enabled in my desktop-file (I also tried without any translations, but I get the same error).
Spec files works for openSUSE 11.0, Mandriva 2009, Fedora 10 and builds on my local 11.1-machine.
I already mailed Stephan Binner 2 weeks ago (as displayed in the error message) but didn't get a reply.
Hopefully, this bug is not a political decision...
Comment 2 Adrian Schröter 2009-08-10 11:37:18 UTC
I would need a real life example. But this is not my package (containing the check) either.