provide icon and *.desktop-file for xterm
authorMirko Vogt <mirko@openwrt.org>
Sun, 5 Jul 2009 12:11:35 +0000 (12:11 +0000)
committerMirko Vogt <mirko@openwrt.org>
Sun, 5 Jul 2009 12:11:35 +0000 (12:11 +0000)
SVN-Revision: 16687

Xorg/app/xterm/Makefile
Xorg/app/xterm/files/terminal.png [new file with mode: 0644]
Xorg/app/xterm/files/xterm.desktop [new file with mode: 0644]

index cbed340..81edaa2 100644 (file)
@@ -39,9 +39,11 @@ define Build/Configure
 endef
 
 define Package/xterm/install
-       $(INSTALL_DIR) $(1)/usr/
+       $(INSTALL_DIR) $(1)/usr/ $(1)/usr/share/applications $(1)/usr/share/icons
        $(CP) $(PKG_INSTALL_DIR)/usr/bin $(1)/usr/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib $(1)/usr/
+       $(CP) ./files/xterm.desktop $(1)/usr/share/applications/
+       $(CP) ./files/terminal.png $(1)/usr/share/icons/
 endef
 
 $(eval $(call BuildPackage,xterm))
diff --git a/Xorg/app/xterm/files/terminal.png b/Xorg/app/xterm/files/terminal.png
new file mode 100644 (file)
index 0000000..309e046
Binary files /dev/null and b/Xorg/app/xterm/files/terminal.png differ
diff --git a/Xorg/app/xterm/files/xterm.desktop b/Xorg/app/xterm/files/xterm.desktop
new file mode 100644 (file)
index 0000000..eda286f
--- /dev/null
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=XTerm
+Comment=XTerm Terminal Emulator
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Exec=xterm   
+Icon=terminal
+Terminal=false
+Categories=GTK;Application;PIM
+SingleInstance=false
+StartupNotify=true