The system-config-kickstart spec file has the following chunk in it: desktop-file-install --vendor system --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category Application \ --add-category System \ --add-category X-Red-Hat-Base \ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop This fails to build in a devel build root because of the following error messages: + desktop-file-install --vendor system --delete-original --dir /var/tmp/system-config-kickstart-2.6.15-root/usr/share/applications --add-category Application --add-category System --add-category X-Red-Hat-Base /var/tmp/system-config-kickstart-2.6.15-root/usr/share/applications/system-config-kickstart.desktop /var/tmp/system-config-kickstart-2.6.15-root/usr/share/applications/system-config-kickstart.desktop: missing encoding (guessed UTF-8) /var/tmp/system-config-kickstart-2.6.15-root/usr/share/applications/system-config-kickstart.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "X-Red-Hat-Base") /var/tmp/system-config-kickstart-2.6.15-root/usr/share/applications/system-config-kickstart.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "Application") desktop-file-install created an invalid desktop file! This same build works on a RHEL5 build root.
So first off, we have to either get Application added to the spec or change it to X-Application (and update our .menu files). Also we have to make desktop-file-install not choke on categories that start with X-
I believe "Application" would be a bit redundant, since all the desktop files that are relevant for menus should have Type=Application anyway. Another thing that the validator may want to check is the main/additional category distinction made in the menu spec.
It barfed on me too, with "Application" (which I'm going to remove if that's intentionally not valid), "X-Fedora" and "X-Red-Hat-Base". Does it already know (again) about the "X-" category exception? I'd like to be able to build again ;-).
Adding myself to CC since this is preventing builds.
I commited a workaround for now to get builds going again.
Haven't had any problems here for a long while.