Update XDG information in support of bug report 892.

pull/1/head
Darrell Anderson 11 years ago
parent f2d71607e3
commit ec838bb400
  1. 2
      acinclude.m4
  2. 2
      installMandriva4.sh
  3. 10
      specs/knutclient.spec.mandriva.2009
  4. 4
      src/knutclient.desktop

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

@ -9,5 +9,5 @@ sh ./configure --prefix=/opt/trinity
make
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
mkdir -p %buildroot/opt/trinity/share/applications/kde/
mv %buildroot/opt/trinity/share/applnk/Utilities/knutclient.desktop %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/tde/
rmdir %buildroot/opt/trinity/share/applnk/Utilities
rm %buildroot/opt/trinity/share/applications/kde/Utilities/knutclient.desktop
rmdir %buildroot/opt/trinity/share/applications/kde/Utilities
rm %buildroot/opt/trinity/share/applications/tde/Utilities/knutclient.desktop
rmdir %buildroot/opt/trinity/share/applications/tde/Utilities
%find_lang %{name}
@ -64,7 +64,7 @@ rm -rf %{buildroot}
%doc README AUTHORS ChangeLog INSTALL TODO COPYING
/opt/trinity/bin/knutclient
%{_menudir}/%{name}
/opt/trinity/share/applications/kde/knutclient.desktop
/opt/trinity/share/applications/tde/knutclient.desktop
%dir /opt/trinity/share/apps/knutclient
/opt/trinity/share/apps/knutclient/knutclientui.rc
/opt/trinity/share/doc/tde/HTML/*/knutclient

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

Loading…
Cancel
Save