Update XDG information in support of bug report 892.

pull/1/head
Darrell Anderson 12 years ago
parent f2d71607e3
commit ec838bb400

@ -489,7 +489,7 @@ if test "$1" = "default"; then
kde_widgetdir='\${libdir}/trinity/plugins/designer' kde_widgetdir='\${libdir}/trinity/plugins/designer'
fi fi
if test -z "$xdg_appsdir"; then if test -z "$xdg_appsdir"; then
xdg_appsdir='\${datadir}/applications/kde' xdg_appsdir='\${datadir}/applications/tde'
fi fi
if test -z "$xdg_menudir"; then if test -z "$xdg_menudir"; then
xdg_menudir='\${sysconfdir}/xdg/menus' xdg_menudir='\${sysconfdir}/xdg/menus'

@ -9,5 +9,5 @@ sh ./configure --prefix=/opt/trinity
make make
make install make install
mv /opt/trinity/share/applnk/Utilities/knutclient.desktop /opt/trinity/share/applications/kde/ mv /opt/trinity/share/applnk/Utilities/knutclient.desktop /opt/trinity/share/applications/tde/

@ -42,11 +42,11 @@ section="Applications/Monitoring"
EOF EOF
mkdir -p %buildroot/opt/trinity/share/applications/kde/ mkdir -p %buildroot/opt/trinity/share/applications/tde/
mv %buildroot/opt/trinity/share/applnk/Utilities/knutclient.desktop %buildroot/opt/trinity/share/applications/kde/ mv %buildroot/opt/trinity/share/applnk/Utilities/knutclient.desktop %buildroot/opt/trinity/share/applications/tde/
rmdir %buildroot/opt/trinity/share/applnk/Utilities rmdir %buildroot/opt/trinity/share/applnk/Utilities
rm %buildroot/opt/trinity/share/applications/kde/Utilities/knutclient.desktop rm %buildroot/opt/trinity/share/applications/tde/Utilities/knutclient.desktop
rmdir %buildroot/opt/trinity/share/applications/kde/Utilities rmdir %buildroot/opt/trinity/share/applications/tde/Utilities
%find_lang %{name} %find_lang %{name}
@ -64,7 +64,7 @@ rm -rf %{buildroot}
%doc README AUTHORS ChangeLog INSTALL TODO COPYING %doc README AUTHORS ChangeLog INSTALL TODO COPYING
/opt/trinity/bin/knutclient /opt/trinity/bin/knutclient
%{_menudir}/%{name} %{_menudir}/%{name}
/opt/trinity/share/applications/kde/knutclient.desktop /opt/trinity/share/applications/tde/knutclient.desktop
%dir /opt/trinity/share/apps/knutclient %dir /opt/trinity/share/apps/knutclient
/opt/trinity/share/apps/knutclient/knutclientui.rc /opt/trinity/share/apps/knutclient/knutclientui.rc
/opt/trinity/share/doc/tde/HTML/*/knutclient /opt/trinity/share/doc/tde/HTML/*/knutclient

@ -14,6 +14,6 @@ Comment[de]=
Comment[cs]=Klient pro UPS syst<73> NUT Comment[cs]=Klient pro UPS syst<73> NUT
Comment[es]=Cliente KDE para NUT Comment[es]=Cliente KDE para NUT
Terminal=0 Terminal=0
X-KDE-StartupNotify=true X-TDE-StartupNotify=true
OnlyShowIn=TDE; OnlyShowIn=TDE;
Categories=Qt;KDE;System;Monitor; Categories=Qt;TDE;System;Monitor;

Loading…
Cancel
Save