From 9cd0a27e55c4762a8af3a0919ad35f2327a2bb88 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sat, 27 Apr 2024 21:42:03 +0200 Subject: Add desktop file and icons Fixes: https://github.com/dillo-browser/dillo/issues/141 --- ChangeLog | 1 + Makefile.am | 11 +++++++++++ dillo.desktop | 10 ++++++++++ icons/128x128/dillo.png | Bin 0 -> 28887 bytes icons/48x48/dillo.png | Bin 0 -> 6135 bytes 5 files changed, 22 insertions(+) create mode 100644 dillo.desktop create mode 100644 icons/128x128/dillo.png create mode 100644 icons/48x48/dillo.png diff --git a/ChangeLog b/ChangeLog index 408c0ffd..d7986faa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -66,6 +66,7 @@ dillo-3.1 [not released yet] - Simplify bookmark DPI page style and improve readability. - Improve the Dillo manual available from the help button. - Improve detection of XHTML documents + - Install desktop file with Dillo icon Patches: Rodrigo Arias Mallo ----------------------------------------------------------------------------- diff --git a/Makefile.am b/Makefile.am index 036a5720..532fb945 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,3 +5,14 @@ dist_bin_SCRIPTS = dillo-install-hyphenation EXTRA_DIST = README.md Doxyfile dillorc install-dpi-local d_size.h sysconf_DATA = dillorc + +desktopdir = $(datadir)/applications +desktop_DATA = dillo.desktop + +appicon48dir = $(datadir)/icons/hicolor/48x48/apps/ +appicon48_DATA = icons/48x48/dillo.png + +appicon128dir = $(datadir)/icons/hicolor/128x128/apps/ +appicon128_DATA = icons/128x128/dillo.png + +EXTRA_DIST += $(desktop_DATA) $(appicon48_DATA) $(appicon128_DATA) diff --git a/dillo.desktop b/dillo.desktop new file mode 100644 index 00000000..24b87be4 --- /dev/null +++ b/dillo.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +GenericName=Web Browser +Name=Dillo +Comment=Fast and small graphical web browser +MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https; +Exec=dillo %U +Icon=dillo +Terminal=false +Type=Application +Categories=Network;WebBrowser; diff --git a/icons/128x128/dillo.png b/icons/128x128/dillo.png new file mode 100644 index 00000000..82f6cad8 Binary files /dev/null and b/icons/128x128/dillo.png differ diff --git a/icons/48x48/dillo.png b/icons/48x48/dillo.png new file mode 100644 index 00000000..8d572038 Binary files /dev/null and b/icons/48x48/dillo.png differ -- cgit v1.2.3