aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2005-11-18 01:49:25 +0000
committerJason Woodward2005-11-18 01:49:25 +0000
commit4a713752b08099069761e0aaac3023d99758f206 (patch)
tree7a3375817cae37a033130c6d52bfebfef9f98841
parent2200d2928b6cb8866ca7cadc04b09c0810ab0c65 (diff)
downloadgslapt-4a713752b08099069761e0aaac3023d99758f206.tar.gz
updated .desktop entry to NotShowIn KDE, added gslapt-kde.desktop
-rw-r--r--ChangeLog3
-rw-r--r--Makefile.am8
-rw-r--r--gslapt-kde.desktop35
-rw-r--r--gslapt.desktop8
4 files changed, 48 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 096c11b..50ad150 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
-0.3.10 Nov 16, 2005
+0.3.10 Nov 17, 2005
+ * updated .desktop entry to NotShowIn KDE, added gslapt-kde.desktop
* added call to usr/bin/update-desktop-database in doinst.sh (freerock)
* updated Russian and Unkrainian translations
diff --git a/Makefile.am b/Makefile.am
index 335959c..7d82857 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,6 +15,7 @@ install-data-local:
$(mkinstalldirs) $(DESTDIR)/$(datadir)/doc/@PACKAGE@ ; \
$(INSTALL_DATA) AUTHORS ChangeLog COPYING FAQ README $(DESTDIR)/$(datadir)/doc/@PACKAGE@ ; \
$(INSTALL_DATA) gslapt.desktop $(DESTDIR)/$(datadir)/applications/gslapt.desktop; \
+ $(INSTALL_DATA) gslapt-kde.desktop $(DESTDIR)/$(datadir)/applications/gslapt-kde.desktop; \
$(mkinstalldirs) $(DESTDIR)/$(datadir)/pixmaps; \
$(INSTALL_DATA) pixmaps/gslapt.png $(DESTDIR)/$(datadir)/pixmaps/; \
if test -d $(srcdir)/pixmaps; then \
@@ -43,9 +44,12 @@ pkg: all
install slack-required $(PKGDIR)/install/
-chown root:bin $(PKGDIR)/$(sbindir)
-chown root:bin $(PKGDIR)/$(sbindir)/@PACKAGE@
- @echo -n DESKTOPFILE= > $(PKGDIR)/install/doinst.sh
- @echo "$(DESTDIR)/$(datadir)/applications/gslapt.desktop" |sed -re "s/^\/+//" >> $(PKGDIR)/install/doinst.sh
+ @echo -n "for DESKTOPFILE in " > $(PKGDIR)/install/doinst.sh
+ @echo -n "$(DESTDIR)/$(datadir)/applications/gslapt.desktop " |sed -re "s/^\/+//" >> $(PKGDIR)/install/doinst.sh
+ @echo "$(DESTDIR)/$(datadir)/applications/gslapt-kde.desktop" |sed -re "s/^\/+//" >> $(PKGDIR)/install/doinst.sh
+ @echo "do" >> $(PKGDIR)/install/doinst.sh
@echo 'if [ -f $$DESKTOPFILE ]; then if [ -x usr/bin/gksudo ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1gksudo \2/" $$DESKTOPFILE; elif [ -x usr/bin/gksu ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1gksu \2/" $$DESKTOPFILE; elif [ -x usr/bin/gnomesu ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1gnomesu \2/" $$DESKTOPFILE; elif [ -x usr/bin/kdesu ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1kdesu \2/" $$DESKTOPFILE; fi; fi' >> $(PKGDIR)/install/doinst.sh
+ @echo "done" >> $(PKGDIR)/install/doinst.sh
@echo 'if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database &>/dev/null; fi' >> $(PKGDIR)/install/doinst.sh
strip --strip-unneeded $(PKGDIR)/$(sbindir)/@PACKAGE@
( cd $(PKGDIR) && /sbin/makepkg -l y -c n @PACKAGE@-@VERSION@-@host_cpu@-1.tgz )
diff --git a/gslapt-kde.desktop b/gslapt-kde.desktop
new file mode 100644
index 0000000..32539f7
--- /dev/null
+++ b/gslapt-kde.desktop
@@ -0,0 +1,35 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=/usr/sbin/gslapt
+Name=Gslapt Package Manager
+Name[pl]=Gslapt Menedżer Pakietów
+Name[de]=Gslapt-Paketverwaltung
+Name[es]=Gestor de Paquetes Gslapt
+Name[fr]=Gestionnaire de paquets Gslapt
+Name[hu]=Gslapt csomagkezelő
+Name[it]=Gestore pacchetti Gslapt
+Name[nl]=Gslapt pakketbeheer
+Name[no]=Gslapt Pakkeadministrasjon
+Name[pt_BR]=Gerenciador de Pacotes Gslapt
+Name[pt_PT]=Gestor de Pacotes Gslapt
+Name[sl]=Upravitelj paketov Gslapt
+# FIXME these aren't UTF
+#Name[ru]= Gslapt
+#Name[uk]= i Gslapt
+GenericName=Gslapt
+Comment=Install, remove and upgrade software packages
+Comment[de]=Software-Pakete installieren, entfernen und aktualisieren
+Comment[es]=Instalar, eliminar y actualizar los paquetes de software
+Comment[fr]=Installer, désinstaller et mettre à jour les paquets de logiciels
+Comment[it]=Installa, rimuove e aggiorna i pacchetti software
+Comment[nl]=Softwarepakketten installeren, verwijderen of bijwerken
+Comment[no]=Installer, fjern eller oppgrader programvare pakker
+Comment[pl]=Instalacja, usuwanie i aktualizacja pakietów z oprogramowaniem
+Comment[pt_BR]=Instalar, remover e atualizar pacotes
+Comment[pt_PT]=Instalar, remover e actualizar pacotes
+Icon=/usr/share/pixmaps/gslapt.png
+Terminal=false
+jategories=PackageManager;System;Application
+StartupNotify=true
+Type=Application
+OnlyShowIn=KDE
diff --git a/gslapt.desktop b/gslapt.desktop
index 9d6c84e..cae9f8f 100644
--- a/gslapt.desktop
+++ b/gslapt.desktop
@@ -13,8 +13,9 @@ Name[no]=Gslapt Pakkeadministrasjon
Name[pt_BR]=Gerenciador de Pacotes Gslapt
Name[pt_PT]=Gestor de Pacotes Gslapt
Name[sl]=Upravitelj paketov Gslapt
-Name[ru]= Gslapt
-Name[uk]= i Gslapt
+# FIXME these aren't UTF
+#Name[ru]= Gslapt
+#Name[uk]= i Gslapt
GenericName=Gslapt
Comment=Install, remove and upgrade software packages
Comment[de]=Software-Pakete installieren, entfernen und aktualisieren
@@ -28,6 +29,7 @@ Comment[pt_BR]=Instalar, remover e atualizar pacotes
Comment[pt_PT]=Instalar, remover e actualizar pacotes
Icon=/usr/share/pixmaps/gslapt.png
Terminal=false
-Categories=GNOME;Application;System;Utility;Settings;
+jategories=PackageManager;GTK;System;Settings
StartupNotify=true
Type=Application
+NotShowIn=KDE