From 719cb912950e20eab2a378636221c874d3544258 Mon Sep 17 00:00:00 2001 From: jblum Date: Sun, 28 Sep 2008 20:48:43 +0000 Subject: multiple icon sizes for apps and mimetypes git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9671 221aa14e-8319-0410-a670-987f0aec2ac5 --- grc/freedesktop/Makefile.am | 18 ++++++++++++------ grc/freedesktop/grc-icon-128.png | Bin 0 -> 3570 bytes grc/freedesktop/grc-icon-64.png | Bin 0 -> 1893 bytes 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 grc/freedesktop/grc-icon-128.png create mode 100644 grc/freedesktop/grc-icon-64.png (limited to 'grc/freedesktop') diff --git a/grc/freedesktop/Makefile.am b/grc/freedesktop/Makefile.am index 196d3a780..5d8521064 100644 --- a/grc/freedesktop/Makefile.am +++ b/grc/freedesktop/Makefile.am @@ -21,24 +21,30 @@ include $(top_srcdir)/grc/Makefile.inc +sizes = 32 48 64 128 256 + install-data-local: - xdg-icon-resource install --context mimetypes --mode system --size 48 $(srcdir)/grc-icon-48.png application-gnuradio-grc - xdg-icon-resource install --context apps --mode system --size 256 $(srcdir)/grc-icon-256.png gnuradio-grc - xdg-icon-resource install --context apps --mode system --size 32 $(srcdir)/grc-icon-32.png gnuradio-grc + for size in $(sizes); do \ + xdg-icon-resource install --context mimetypes --mode system --size $${size} $(srcdir)/grc-icon-$${size}.png application-gnuradio-grc; \ + xdg-icon-resource install --context apps --mode system --size $${size} $(srcdir)/grc-icon-$${size}.png gnuradio-grc; \ + done xdg-mime install --mode system $(srcdir)/gnuradio-grc.xml xdg-desktop-menu install --mode system $(srcdir)/gnuradio-grc.desktop xdg-desktop-menu install --mode system $(srcdir)/gnuradio-usrp_diagnostics.desktop uninstall-local: - xdg-icon-resource uninstall --context mimetypes --mode system --size 48 application-gnuradio-grc - xdg-icon-resource uninstall --context apps --mode system --size 256 gnuradio-grc - xdg-icon-resource uninstall --context apps --mode system --size 32 gnuradio-grc + for size in $(sizes); do \ + xdg-icon-resource uninstall --context mimetypes --mode system --size $${size} application-gnuradio-grc; \ + xdg-icon-resource uninstall --context apps --mode system --size $${size} gnuradio-grc; \ + done xdg-mime uninstall --mode system $(srcdir)/gnuradio-grc.xml xdg-desktop-menu uninstall --mode system $(srcdir)/gnuradio-grc.desktop xdg-desktop-menu uninstall --mode system $(srcdir)/gnuradio-usrp_diagnostics.desktop EXTRA_DIST = \ $(srcdir)/grc-icon-256.png \ + $(srcdir)/grc-icon-128.png \ + $(srcdir)/grc-icon-64.png \ $(srcdir)/grc-icon-48.png \ $(srcdir)/grc-icon-32.png \ $(srcdir)/gnuradio-grc.xml \ diff --git a/grc/freedesktop/grc-icon-128.png b/grc/freedesktop/grc-icon-128.png new file mode 100644 index 000000000..d94ef35dc Binary files /dev/null and b/grc/freedesktop/grc-icon-128.png differ diff --git a/grc/freedesktop/grc-icon-64.png b/grc/freedesktop/grc-icon-64.png new file mode 100644 index 000000000..fa8e06e28 Binary files /dev/null and b/grc/freedesktop/grc-icon-64.png differ -- cgit