get-scripts rev 48
bitcoin/litecoin, dropbox, firefox-official, opera: change .desktop files
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 05 01:05:48 2015 +0300 (2015-06-05) |
parents | 098249e83144 |
children | 6dd110506bad |
files | bitcoin dropbox firefox-official opera |
line diff
1.1 --- a/bitcoin Thu Jun 04 18:56:03 2015 +0200 1.2 +++ b/bitcoin Fri Jun 05 01:05:48 2015 +0300 1.3 @@ -41,16 +41,13 @@ 1.4 mkdir -p usr/share/applications 1.5 cat > usr/share/applications/$PACKAGE.desktop <<EOT 1.6 [Desktop Entry] 1.7 -Version=1.0 1.8 -Encoding=UTF-8 1.9 +Type=Application 1.10 Name=$PACKAGE 1.11 +Comment=$SHORT_DESC 1.12 Exec=/usr/bin/$PACKAGE-qt 1.13 -Icon=stock_certificate.png 1.14 +Icon=stock_certificate 1.15 Terminal=false 1.16 -Categories=Application 1.17 -Comment=$SHORT_DESC 1.18 -Type=Application 1.19 -Categories=Office; 1.20 +Categories=Office;Finance; 1.21 EOT 1.22 cd ../.. 1.23 set +e
2.1 --- a/dropbox Thu Jun 04 18:56:03 2015 +0200 2.2 +++ b/dropbox Fri Jun 05 01:05:48 2015 +0300 2.3 @@ -34,7 +34,7 @@ 2.4 Exec=dropboxd 2.5 Icon=dropbox 2.6 Terminal=false 2.7 -Categories=Network 2.8 +Categories=Network;FileTransfer; 2.9 EOT 2.10 2.11 # Symlink to have Dropbox in PATH and fake nautilus
3.1 --- a/firefox-official Thu Jun 04 18:56:03 2015 +0200 3.2 +++ b/firefox-official Fri Jun 05 01:05:48 2015 +0300 3.3 @@ -33,13 +33,12 @@ 3.4 ln -s $(find ../../lib/firefox-$VERSION | sed '/zicon128.png$/!dq) $PACKAGE.png 3.5 cat > $DESTDIR/usr/share/applications/$PACKAGE <<EOT 3.6 [Desktop Entry] 3.7 -Encoding=UTF-8 3.8 +Type=Application 3.9 Name=Firefox Web Browser (official) 3.10 Name[fr]=Navigateur web Firefox (officiel) 3.11 Exec=firefox-official 3.12 Icon=firefox-official 3.13 -Type=Application 3.14 -Categories=Application;Network; 3.15 +Categories=Network;WebBrowser; 3.16 EOT 3.17 # Remove updater files (users can't upgrade anyway) 3.18 rm -f $DESTDIR/usr/lib/firefox-$VERSION/update*
4.1 --- a/opera Thu Jun 04 18:56:03 2015 +0200 4.2 +++ b/opera Fri Jun 05 01:05:48 2015 +0300 4.3 @@ -40,9 +40,7 @@ 4.4 mkdir -p usr/share/applications 4.5 cat > usr/share/applications/opera-browser.desktop <<EOT 4.6 [Desktop Entry] 4.7 -Version=1.0 4.8 -TryExec=opera 4.9 -Encoding=UTF-8 4.10 +Type=Application 4.11 Name=Opera 4.12 Name[af]=opera 4.13 Name[eo]=Opero 4.14 @@ -67,13 +65,12 @@ 4.15 GenericName[ven]=Buronza ya Webu 4.16 GenericName[xh]=Umkhangeli Zincwadi Zokubhaliweyo 4.17 GenericName[zu]=Umkhangeli zincwadi we Web 4.18 +Comment=Web Browser 4.19 Exec=opera %u 4.20 Terminal=false 4.21 -Categories=Application;Qt;Network;WebBrowser;X-Ximian-Main;X-Ximian-Toplevel 4.22 +Categories=Qt;Network;WebBrowser; 4.23 Icon=opera-browser 4.24 -MimeType=text/html;text/xml;application/xhtml+xml;application/x-mimearchive;application/xml;application/rss+xml;application/rdf+xml;image/svg+xml;image/gif;image/jpeg;image/png;image/x-bmp;image/x-xbm;application/mime 4.25 -Comment=Web Browser 4.26 -Type=Application 4.27 +MimeType=text/html;text/xml;application/xhtml+xml;application/x-mimearchive;application/xml;application/rss+xml;application/rdf+xml;image/svg+xml;image/gif;image/jpeg;image/png;image/x-bmp;image/x-xbm;application/mime; 4.28 EOT 4.29 cd ../.. 4.30