summaryrefslogtreecommitdiff
path: root/grc/freedesktop
diff options
context:
space:
mode:
authorjblum2008-09-28 20:48:43 +0000
committerjblum2008-09-28 20:48:43 +0000
commit719cb912950e20eab2a378636221c874d3544258 (patch)
tree4530d6358b3bc584896e49cb04fac7ae069e41ef /grc/freedesktop
parent8e471825a4bb89d846e9909b5c2a87505523a220 (diff)
downloadgnuradio-719cb912950e20eab2a378636221c874d3544258.tar.gz
gnuradio-719cb912950e20eab2a378636221c874d3544258.tar.bz2
gnuradio-719cb912950e20eab2a378636221c874d3544258.zip
multiple icon sizes for apps and mimetypes
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9671 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/freedesktop')
-rw-r--r--grc/freedesktop/Makefile.am18
-rw-r--r--grc/freedesktop/grc-icon-128.pngbin0 -> 3570 bytes
-rw-r--r--grc/freedesktop/grc-icon-64.pngbin0 -> 1893 bytes
3 files changed, 12 insertions, 6 deletions
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
--- /dev/null
+++ b/grc/freedesktop/grc-icon-128.png
Binary files differ
diff --git a/grc/freedesktop/grc-icon-64.png b/grc/freedesktop/grc-icon-64.png
new file mode 100644
index 000000000..fa8e06e28
--- /dev/null
+++ b/grc/freedesktop/grc-icon-64.png
Binary files differ