Bug 20366 - поправить desktop файл
Summary: поправить desktop файл
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: alterator-standalone (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-08 15:06 MSD by Andriy Stepanov (stanv)
Modified: 2011-02-02 22:51 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Stepanov (stanv) 2009-06-08 15:06:07 MSD
alterator-standalone-7.1-alt2

KDE4 ругается:

kbuildsycoca4(6154) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/acc.desktop" is not compliant with XDG standard (missing trailing semicolon).


Чтобы не ругалось нужно в /usr/share/applications/acc.desktop в строке начинающейся с Categories нужно добавить вконце `;'

Как то:
 grep -rn Categories .
./FBReader.desktop:14:Categories=Office;Viewer;Literature;

./acc.desktop:4:Categories=Settings;Alterator

./adobe_flash_player_eula.desktop:9:Categories=AudioVideo;
./firefox.desktop:81:Categories=GTK;WebBrowser;Network;
./ggl-qt.desktop:16:Categories=KDE;Qt;Network;News;
./gparted.desktop:51:Categories=GTK;System;Filesystem;
./indexhtml.desktop:8:Categories=System;Documentation;
./mc.desktop:8:Categories=ConsoleOnly;System;FileTools;FileManager;
./nm-applet.desktop:8:Categories=GTK;Network;Applet;
./nm-openvpn.desktop:9:Categories=GNOME;Network;
./nm-pptp.desktop:90:Categories=GNOME;Network;
./nm-vpnc.desktop:126:Categories=GNOME;Network;
./nvidia-settings.desktop:11:Categories=Settings;
./oobase.desktop:6:Categories=Application;Office;Database;
./oocalc.desktop:6:Categories=Application;Office;Spreadsheet;
./oodraw.desktop:6:Categories=Application;Office;Chart;
./ooimpress.desktop:6:Categories=Application;Office;Presentation;
./oomath.desktop:6:Categories=Application;Office;WordProcessor;
./oowriter.desktop:6:Categories=Application;Office;WordProcessor;
./qstardict.desktop:9:Categories=Qt;Dictionary;Utility;
./qt4-qtconfig.desktop:12:Categories=Qt;Settings
./ucview.desktop:10:Categories=AudioVideo;Video;Recorder;
./uxterm.desktop:10:Categories=System;TerminalEmulator;
./xkill.desktop:9:Categories=Application;System;Monitor;
./xterm.desktop:10:Categories=System;TerminalEmulator;


Ругань идет из:
kdelibs/kdecore/config/kconfiggroup.cpp

    }
    if (!val.isEmpty()) {
        kWarning() << "List entry" << key << "in" << config()->name() << "is not compliant with XDG standard (missing trailing semicolon).";
        value.append(val);
    }
    return value;
}
Comment 1 Alexey Rusakov 2009-07-29 00:03:32 MSD
И ещё, чтоб два раза не вставать: категория Alterator относится к нестандартным, следовательно, должна предваряться X-ALTLinux-.
Comment 2 Lenar Shakirov 2011-02-02 22:46:21 MSK
* Wed Feb 02 2011 Lenar Shakirov <snejok@altlinux.ru> 7.1-alt6
- fix non standart Alterator category by adding X-ALTLinux- before

* Wed Feb 02 2011 Lenar Shakirov <snejok@altlinux.ru> 7.1-alt5
- acc.desktop cleaned: thanks to desktop-file-validate!
Comment 3 Vladislav Zavjalov 2011-02-02 22:51:12 MSK
А нужна ли тут нестандартная категория? Есть же какая-то категория Settings, например. Могут ли какие-то специалисты по desktop-файлам высказать мнение на этот счет?