diff --git a/configure.ac b/configure.ac index 92aa37e8..90a9cc48 100644 --- a/configure.ac +++ b/configure.ac @@ -102,6 +102,7 @@ AC_CONFIG_FILES([ src/Makefile data/Makefile data/gnome-calendar.desktop.in + data/icons/Makefile po/Makefile.in ]) diff --git a/data/Makefile.am b/data/Makefile.am index 41d039c4..3cd9e750 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,3 +1,5 @@ +SUBDIRS = icons + desktopdir = $(datadir)/applications desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) desktop_in_files = gnome-calendar.desktop.in diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am new file mode 100644 index 00000000..7056a382 --- /dev/null +++ b/data/icons/Makefile.am @@ -0,0 +1,67 @@ +NULL = + +public_icons_themes = \ + hicolor \ + $(NULL) + +public_icons = \ + hicolor_apps_16x16_gnome-calendar.png \ + hicolor_apps_22x22_gnome-calendar.png \ + hicolor_apps_24x24_gnome-calendar.png \ + hicolor_apps_32x32_gnome-calendar.png \ + hicolor_apps_48x48_gnome-calendar.png \ + hicolor_apps_256x256_gnome-calendar.png \ + hicolor_apps_512x512_gnome-calendar.png \ + $(NULL) + +noinst_DATA = \ + gnome-calendar.svg \ + gnome-calendar.blend \ + $(NULL) + +EXTRA_DIST = \ + $(public_icons) \ + $(noinst_DATA) \ + $(NULL) + +############################################################################### + +gtk_update_icon_cache = gtk-update-icon-cache -f -t + +update-icon-cache: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + for theme in $(public_icons_themes); do \ + $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \ + done; \ + else \ + echo "*** Icon cache not updated. After (un)install, run this:"; \ + for theme in $(public_icons_themes); do \ + echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \ + done; \ + fi + +install-icons: + for icon in $(public_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + +uninstall-icons: + -for icon in $(public_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + +install-data-local: install-icons update-icon-cache + +uninstall-local: uninstall-icons update-icon-cache + +-include $(top_srcdir)/git.mk diff --git a/data/icons/gnome-calendar.blend b/data/icons/gnome-calendar.blend new file mode 100644 index 00000000..07a86565 Binary files /dev/null and b/data/icons/gnome-calendar.blend differ diff --git a/data/icons/gnome-calendar.svg b/data/icons/gnome-calendar.svg new file mode 100644 index 00000000..60b0725a --- /dev/null +++ b/data/icons/gnome-calendar.svg @@ -0,0 +1,1265 @@ + + + + + Firewall + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Lapo Calamandrei + + + + + Firewall + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/hicolor_apps_16x16_gnome-calendar.png b/data/icons/hicolor_apps_16x16_gnome-calendar.png new file mode 100644 index 00000000..a0e7511d Binary files /dev/null and b/data/icons/hicolor_apps_16x16_gnome-calendar.png differ diff --git a/data/icons/hicolor_apps_22x22_gnome-calendar.png b/data/icons/hicolor_apps_22x22_gnome-calendar.png new file mode 100644 index 00000000..5c6b4a30 Binary files /dev/null and b/data/icons/hicolor_apps_22x22_gnome-calendar.png differ diff --git a/data/icons/hicolor_apps_24x24_gnome-calendar.png b/data/icons/hicolor_apps_24x24_gnome-calendar.png new file mode 100644 index 00000000..16209243 Binary files /dev/null and b/data/icons/hicolor_apps_24x24_gnome-calendar.png differ diff --git a/data/icons/hicolor_apps_256x256_gnome-calendar.png b/data/icons/hicolor_apps_256x256_gnome-calendar.png new file mode 100644 index 00000000..606d98ee Binary files /dev/null and b/data/icons/hicolor_apps_256x256_gnome-calendar.png differ diff --git a/data/icons/hicolor_apps_32x32_gnome-calendar.png b/data/icons/hicolor_apps_32x32_gnome-calendar.png new file mode 100644 index 00000000..6e22bdb9 Binary files /dev/null and b/data/icons/hicolor_apps_32x32_gnome-calendar.png differ diff --git a/data/icons/hicolor_apps_48x48_gnome-calendar.png b/data/icons/hicolor_apps_48x48_gnome-calendar.png new file mode 100644 index 00000000..8c0613d4 Binary files /dev/null and b/data/icons/hicolor_apps_48x48_gnome-calendar.png differ diff --git a/data/icons/hicolor_apps_512x512_gnome-calendar.png b/data/icons/hicolor_apps_512x512_gnome-calendar.png new file mode 100644 index 00000000..8c07c2a8 Binary files /dev/null and b/data/icons/hicolor_apps_512x512_gnome-calendar.png differ