summaryrefslogtreecommitdiff
path: root/icons
diff options
context:
space:
mode:
Diffstat (limited to 'icons')
-rw-r--r--icons/Makefile.am49
-rw-r--r--icons/hicolor_apps_128x128_mate-desktop.pngbin0 -> 14624 bytes
-rw-r--r--icons/hicolor_apps_16x16_mate-desktop.pngbin0 -> 893 bytes
-rw-r--r--icons/hicolor_apps_16x16_mate.pngbin774 -> 0 bytes
-rw-r--r--icons/hicolor_apps_22x22_mate-desktop.pngbin0 -> 1383 bytes
-rw-r--r--icons/hicolor_apps_22x22_mate.pngbin1323 -> 0 bytes
-rw-r--r--icons/hicolor_apps_24x24_mate-desktop.pngbin0 -> 1586 bytes
-rw-r--r--icons/hicolor_apps_24x24_mate.pngbin1511 -> 0 bytes
-rw-r--r--icons/hicolor_apps_256x256_mate.pngbin31357 -> 0 bytes
-rw-r--r--icons/hicolor_apps_32x32_mate-desktop.pngbin0 -> 2390 bytes
-rw-r--r--icons/hicolor_apps_32x32_mate.pngbin2180 -> 0 bytes
-rw-r--r--icons/hicolor_apps_48x48_mate-desktop.pngbin0 -> 4223 bytes
-rw-r--r--icons/hicolor_apps_48x48_mate.pngbin4164 -> 0 bytes
-rw-r--r--icons/hicolor_apps_scalable_mate-desktop-symbolic.svg (renamed from icons/hicolor_apps_scalable_mate-symbolic.svg)0
-rw-r--r--icons/hicolor_apps_scalable_mate-desktop.svg (renamed from icons/hicolor_apps_scalable_mate.svg)0
15 files changed, 38 insertions, 11 deletions
diff --git a/icons/Makefile.am b/icons/Makefile.am
index 6fc233a..8c0bb75 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -1,27 +1,37 @@
NULL =
public_icons_themes = \
- hicolor \
+ hicolor \
+ $(NULL)
+
+png_icons = \
+ hicolor_apps_16x16_mate-desktop.png \
+ hicolor_apps_22x22_mate-desktop.png \
+ hicolor_apps_24x24_mate-desktop.png \
+ hicolor_apps_32x32_mate-desktop.png \
+ hicolor_apps_48x48_mate-desktop.png \
+ hicolor_apps_128x128_mate-desktop.png \
$(NULL)
public_icons = \
- hicolor_apps_16x16_mate.png \
- hicolor_apps_22x22_mate.png \
- hicolor_apps_24x24_mate.png \
- hicolor_apps_32x32_mate.png \
- hicolor_apps_48x48_mate.png \
- hicolor_apps_256x256_mate.png \
- hicolor_apps_scalable_mate.svg \
- hicolor_apps_scalable_mate-symbolic.svg \
+ $(png_icons) \
+ hicolor_apps_scalable_mate-desktop.svg \
+ hicolor_apps_scalable_mate-desktop-symbolic.svg \
$(NULL)
+hicolor_apps_%.png: hicolor_apps_scalable_mate-desktop.svg
+ $(RSVG_CONVERT) \
+ -w $(word 1, $(subst x, ,$(word 1,$(subst _, ,$*)))) \
+ -h $(word 2, $(subst x, ,$(word 1,$(subst _, ,$*)))) \
+ $^ -o $@
+
EXTRA_DIST = \
- $(public_icons) \
+ $(public_icons) \
$(NULL)
###############################################################################
-install-icons:
+install-icons: $(public_icons)
for icon in $(public_icons); do \
THEME=`echo $$icon | cut -d_ -f1`; \
CONTEXT=`echo $$icon | cut -d_ -f2`; \
@@ -43,3 +53,20 @@ uninstall-icons:
install-data-local: install-icons
uninstall-local: uninstall-icons
+
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache
+update-icon-cache: $(public_icons)
+ @-if test -z "$(DESTDIR)"; then \
+ echo "Updating Gtk icon cache."; \
+ $(gtk_update_icon_cache); \
+ else \
+ echo "*** Icon cache not updated. After (un)install, run this:"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ fi
+
+.PHONY: clean-png-icons
+clean-png-icons:
+ rm -f $(png_icons)
diff --git a/icons/hicolor_apps_128x128_mate-desktop.png b/icons/hicolor_apps_128x128_mate-desktop.png
new file mode 100644
index 0000000..d1fa3fb
--- /dev/null
+++ b/icons/hicolor_apps_128x128_mate-desktop.png
Binary files differ
diff --git a/icons/hicolor_apps_16x16_mate-desktop.png b/icons/hicolor_apps_16x16_mate-desktop.png
new file mode 100644
index 0000000..dd853cc
--- /dev/null
+++ b/icons/hicolor_apps_16x16_mate-desktop.png
Binary files differ
diff --git a/icons/hicolor_apps_16x16_mate.png b/icons/hicolor_apps_16x16_mate.png
deleted file mode 100644
index 0a34149..0000000
--- a/icons/hicolor_apps_16x16_mate.png
+++ /dev/null
Binary files differ
diff --git a/icons/hicolor_apps_22x22_mate-desktop.png b/icons/hicolor_apps_22x22_mate-desktop.png
new file mode 100644
index 0000000..5e942ee
--- /dev/null
+++ b/icons/hicolor_apps_22x22_mate-desktop.png
Binary files differ
diff --git a/icons/hicolor_apps_22x22_mate.png b/icons/hicolor_apps_22x22_mate.png
deleted file mode 100644
index 1fd92a8..0000000
--- a/icons/hicolor_apps_22x22_mate.png
+++ /dev/null
Binary files differ
diff --git a/icons/hicolor_apps_24x24_mate-desktop.png b/icons/hicolor_apps_24x24_mate-desktop.png
new file mode 100644
index 0000000..18c6555
--- /dev/null
+++ b/icons/hicolor_apps_24x24_mate-desktop.png
Binary files differ
diff --git a/icons/hicolor_apps_24x24_mate.png b/icons/hicolor_apps_24x24_mate.png
deleted file mode 100644
index 2065bea..0000000
--- a/icons/hicolor_apps_24x24_mate.png
+++ /dev/null
Binary files differ
diff --git a/icons/hicolor_apps_256x256_mate.png b/icons/hicolor_apps_256x256_mate.png
deleted file mode 100644
index 9708cdd..0000000
--- a/icons/hicolor_apps_256x256_mate.png
+++ /dev/null
Binary files differ
diff --git a/icons/hicolor_apps_32x32_mate-desktop.png b/icons/hicolor_apps_32x32_mate-desktop.png
new file mode 100644
index 0000000..334f47a
--- /dev/null
+++ b/icons/hicolor_apps_32x32_mate-desktop.png
Binary files differ
diff --git a/icons/hicolor_apps_32x32_mate.png b/icons/hicolor_apps_32x32_mate.png
deleted file mode 100644
index 2a6a192..0000000
--- a/icons/hicolor_apps_32x32_mate.png
+++ /dev/null
Binary files differ
diff --git a/icons/hicolor_apps_48x48_mate-desktop.png b/icons/hicolor_apps_48x48_mate-desktop.png
new file mode 100644
index 0000000..f19a96c
--- /dev/null
+++ b/icons/hicolor_apps_48x48_mate-desktop.png
Binary files differ
diff --git a/icons/hicolor_apps_48x48_mate.png b/icons/hicolor_apps_48x48_mate.png
deleted file mode 100644
index d00c802..0000000
--- a/icons/hicolor_apps_48x48_mate.png
+++ /dev/null
Binary files differ
diff --git a/icons/hicolor_apps_scalable_mate-symbolic.svg b/icons/hicolor_apps_scalable_mate-desktop-symbolic.svg
index 776a8dd..776a8dd 100644
--- a/icons/hicolor_apps_scalable_mate-symbolic.svg
+++ b/icons/hicolor_apps_scalable_mate-desktop-symbolic.svg
diff --git a/icons/hicolor_apps_scalable_mate.svg b/icons/hicolor_apps_scalable_mate-desktop.svg
index ee60800..ee60800 100644
--- a/icons/hicolor_apps_scalable_mate.svg
+++ b/icons/hicolor_apps_scalable_mate-desktop.svg