summaryrefslogtreecommitdiffstats
path: root/icons
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-03-01 17:10:47 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-03-01 17:10:47 +0100
commitb99ca6c484e6dca2474b6243251698faffd3d543 (patch)
treef3fef27e71b6fcbb67f004b169aa3ea425cc0712 /icons
parentdc0a2bae3695a38da6f36adeeb6835becd5d453c (diff)
downloadabrt-b99ca6c484e6dca2474b6243251698faffd3d543.zip
abrt-b99ca6c484e6dca2474b6243251698faffd3d543.tar.gz
abrt-b99ca6c484e6dca2474b6243251698faffd3d543.tar.xz
icons repackaging
Diffstat (limited to 'icons')
-rw-r--r--icons/Makefile.am72
-rw-r--r--icons/hicolor_status_48x48_abrt00.pngbin0 -> 2791 bytes
-rw-r--r--icons/hicolor_status_48x48_abrt01.pngbin0 -> 2791 bytes
-rw-r--r--icons/hicolor_status_48x48_abrt02.pngbin0 -> 2800 bytes
-rw-r--r--icons/hicolor_status_48x48_abrt03.pngbin0 -> 2707 bytes
-rw-r--r--icons/hicolor_status_48x48_abrt04.pngbin0 -> 2709 bytes
-rw-r--r--icons/hicolor_status_48x48_abrt05.pngbin0 -> 2729 bytes
7 files changed, 71 insertions, 1 deletions
diff --git a/icons/Makefile.am b/icons/Makefile.am
index 06e1137..c44b3e1 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 0000000..dc24865
--- /dev/null
+++ b/icons/hicolor_status_48x48_abrt00.png
Binary files differ
diff --git a/icons/hicolor_status_48x48_abrt01.png b/icons/hicolor_status_48x48_abrt01.png
new file mode 100644
index 0000000..dc24865
--- /dev/null
+++ b/icons/hicolor_status_48x48_abrt01.png
Binary files differ
diff --git a/icons/hicolor_status_48x48_abrt02.png b/icons/hicolor_status_48x48_abrt02.png
new file mode 100644
index 0000000..1495582
--- /dev/null
+++ b/icons/hicolor_status_48x48_abrt02.png
Binary files differ
diff --git a/icons/hicolor_status_48x48_abrt03.png b/icons/hicolor_status_48x48_abrt03.png
new file mode 100644
index 0000000..cf97a56
--- /dev/null
+++ b/icons/hicolor_status_48x48_abrt03.png
Binary files differ
diff --git a/icons/hicolor_status_48x48_abrt04.png b/icons/hicolor_status_48x48_abrt04.png
new file mode 100644
index 0000000..caa6b33
--- /dev/null
+++ b/icons/hicolor_status_48x48_abrt04.png
Binary files differ
diff --git a/icons/hicolor_status_48x48_abrt05.png b/icons/hicolor_status_48x48_abrt05.png
new file mode 100644
index 0000000..49c442e
--- /dev/null
+++ b/icons/hicolor_status_48x48_abrt05.png
Binary files differ