From b99ca6c484e6dca2474b6243251698faffd3d543 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Mon, 1 Mar 2010 17:10:47 +0100 Subject: icons repackaging --- icons/Makefile.am | 72 +++++++++++++++++++++++++++++++++- icons/hicolor_status_48x48_abrt00.png | Bin 0 -> 2791 bytes icons/hicolor_status_48x48_abrt01.png | Bin 0 -> 2791 bytes icons/hicolor_status_48x48_abrt02.png | Bin 0 -> 2800 bytes icons/hicolor_status_48x48_abrt03.png | Bin 0 -> 2707 bytes icons/hicolor_status_48x48_abrt04.png | Bin 0 -> 2709 bytes icons/hicolor_status_48x48_abrt05.png | Bin 0 -> 2729 bytes 7 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 icons/hicolor_status_48x48_abrt00.png create mode 100644 icons/hicolor_status_48x48_abrt01.png create mode 100644 icons/hicolor_status_48x48_abrt02.png create mode 100644 icons/hicolor_status_48x48_abrt03.png create mode 100644 icons/hicolor_status_48x48_abrt04.png create mode 100644 icons/hicolor_status_48x48_abrt05.png (limited to 'icons') diff --git a/icons/Makefile.am b/icons/Makefile.am index 06e11378..c44b3e1c 100644 --- a/icons/Makefile.am +++ b/icons/Makefile.am @@ -1 +1,71 @@ -SUBDIRS = 48 \ No newline at end of file +NULL = + +public_icons_themes = \ + hicolor \ + $(NULL) + +private_icons = hicolor_status_48x48_abrt00.png \ + hicolor_status_48x48_abrt02.png \ + hicolor_status_48x48_abrt04.png \ + hicolor_status_48x48_abrt01.png \ + hicolor_status_48x48_abrt03.png \ + hicolor_status_48x48_abrt05.png + + +EXTRA_DIST = $(private_icons) + +############################################################################### + +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; \ + for icon in $(private_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)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/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; \ + for icon in $(private_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)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + +install-data-local: install-icons update-icon-cache + +uninstall-local: uninstall-icons update-icon-cache + diff --git a/icons/hicolor_status_48x48_abrt00.png b/icons/hicolor_status_48x48_abrt00.png new file mode 100644 index 00000000..dc24865e Binary files /dev/null and b/icons/hicolor_status_48x48_abrt00.png differ diff --git a/icons/hicolor_status_48x48_abrt01.png b/icons/hicolor_status_48x48_abrt01.png new file mode 100644 index 00000000..dc24865e Binary files /dev/null and b/icons/hicolor_status_48x48_abrt01.png differ diff --git a/icons/hicolor_status_48x48_abrt02.png b/icons/hicolor_status_48x48_abrt02.png new file mode 100644 index 00000000..14955826 Binary files /dev/null and b/icons/hicolor_status_48x48_abrt02.png differ diff --git a/icons/hicolor_status_48x48_abrt03.png b/icons/hicolor_status_48x48_abrt03.png new file mode 100644 index 00000000..cf97a562 Binary files /dev/null and b/icons/hicolor_status_48x48_abrt03.png differ diff --git a/icons/hicolor_status_48x48_abrt04.png b/icons/hicolor_status_48x48_abrt04.png new file mode 100644 index 00000000..caa6b33b Binary files /dev/null and b/icons/hicolor_status_48x48_abrt04.png differ diff --git a/icons/hicolor_status_48x48_abrt05.png b/icons/hicolor_status_48x48_abrt05.png new file mode 100644 index 00000000..49c442e5 Binary files /dev/null and b/icons/hicolor_status_48x48_abrt05.png differ -- cgit