summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-16 11:19:20 +0100
committerraveit65 <[email protected]>2019-03-21 01:26:56 +0100
commitd83bccb64d612034be471c0724edd129519c3584 (patch)
tree10095b63d4cb0955ab7352e92d0485e5c6db79e4 /configure.ac
parent8eedb8b7fa80c1e6cbf67c0d9543c8e5dcb6684f (diff)
downloadmate-desktop-d83bccb64d612034be471c0724edd129519c3584.tar.bz2
mate-desktop-d83bccb64d612034be471c0724edd129519c3584.tar.xz
GEN png icons from hicolor_apps_scalable_mate.svg
Update icon cache and avoid conflict with mate theme: PNG icons are created if they are not present in icon folder. To remove png icons: cd icons; make clean-png-icons $ cat test.py import gtk screen = gtk.gdk.screen_get_default() icon_theme = gtk.icon_theme_get_for_screen(screen) print icon_theme.lookup_icon("mate-desktop", 16, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 22, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 24, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 32, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 48, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 128, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 256, 0).get_filename() print icon_theme.lookup_icon("mate", 16, 0).get_filename() print icon_theme.lookup_icon("mate", 22, 0).get_filename() print icon_theme.lookup_icon("mate", 24, 0).get_filename() print icon_theme.lookup_icon("mate", 32, 0).get_filename() print icon_theme.lookup_icon("mate", 48, 0).get_filename() print icon_theme.lookup_icon("mate", 128, 0).get_filename() print icon_theme.lookup_icon("mate", 256, 0).get_filename() print icon_theme.lookup_icon("mate", 1000, 0).get_filename() $ python test.py /usr/share/icons/hicolor/16x16/apps/mate-desktop.png /usr/share/icons/hicolor/22x22/apps/mate-desktop.png /usr/share/icons/hicolor/24x24/apps/mate-desktop.png /usr/share/icons/hicolor/32x32/apps/mate-desktop.png /usr/share/icons/hicolor/48x48/apps/mate-desktop.png /usr/share/icons/hicolor/128x128/apps/mate-desktop.png /usr/share/icons/hicolor/scalable/apps/mate-desktop.svg /usr/share/icons/mate/16x16/apps/mate.png /usr/share/icons/mate/22x22/apps/mate.png /usr/share/icons/mate/24x24/apps/mate.png /usr/share/icons/mate/32x32/apps/mate.png /usr/share/icons/mate/48x48/apps/mate.png /usr/share/icons/mate/scalable/apps/mate.svg /usr/share/icons/mate/scalable/apps/mate.svg /usr/share/icons/mate/scalable/apps/mate.svgT
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1e14e3c..45b20b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -228,6 +228,12 @@ AC_SEARCH_LIBS([sqrt], [m])
# check for gtk-doc
GTK_DOC_CHECK([1.4])
+dnl ICONS: convert svg to png
+AC_PATH_PROG(RSVG_CONVERT, rsvg-convert)
+if test x$RSVG_CONVERT = x ; then
+ AC_MSG_ERROR([could not locate rsvg-convert])
+fi
+
AC_CONFIG_FILES([
Makefile
mate-about/Makefile