From 494b7064de6dfaa14047e513fb7de67c76ac69c8 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 1 May 2015 11:45:38 +0200 Subject: use mate logo for process-working-symbolic.svg --- Makefile.am | 8 +++++++- configure.ac | 1 + mate/Makefile.am | 6 ++++-- mate/scalable-up-to-32/Makefile.am | 23 +++++++++++++++++++++ .../status/process-working-symbolic.svg | 24 ++++++++++++++++++++++ 5 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 mate/scalable-up-to-32/Makefile.am create mode 100644 mate/scalable-up-to-32/status/process-working-symbolic.svg diff --git a/Makefile.am b/Makefile.am index 3e3be0d..4d39482 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,7 @@ SUBDIRS = \ theme_in_files = index.theme.in.in theme_DATA = $(theme_in_files:.theme.in.in=.theme) -THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done; echo "scalable/actions,scalable/apps,scalable/categories,scalable/devices,scalable/emblems,scalable/emotes,scalable/mimetypes,scalable/places,scalable/status") +THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done; echo "scalable/actions,scalable/apps,scalable/categories,scalable/devices,scalable/emblems,scalable/emotes,scalable/mimetypes,scalable/places,scalable/status,scalable-up-to-32/status") %.theme.in: %.theme.in.in $(SVGOUTDIR) Makefile dirs="`echo $(THEME_DIRS) | sed -e 's#$(srcdir)/mate/##g'`"; \ @@ -17,6 +17,8 @@ THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in ` sizefull="`dirname $$dir`"; \ if test "$$sizefull" = "scalable"; then \ size="16"; \ + elif test "$$sizefull" = "scalable-up-to-32"; then \ + size="16"; \ else \ size="`echo $$sizefull | sed -e 's/x.*$$//g'`"; \ fi; \ @@ -60,6 +62,10 @@ THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in ` echo "MinSize=8" >> $@; \ echo "MaxSize=512" >> $@; \ echo "Type=Scalable" >> $@; \ + elif test "$$sizefull" = "scalable-up-to-32"; then \ + echo "MinSize=16" >> $@; \ + echo "MaxSize=32" >> $@; \ + echo "Type=Scalable" >> $@; \ elif test "$$size" = "256"; then \ echo "MinSize=56" >> $@; \ echo "MaxSize=512" >> $@; \ diff --git a/configure.ac b/configure.ac index 03640fc..ef05336 100644 --- a/configure.ac +++ b/configure.ac @@ -64,6 +64,7 @@ src/Makefile menta/Makefile mate/Makefile mate/scalable/Makefile +mate/scalable-up-to-32/Makefile ]) AC_OUTPUT diff --git a/mate/Makefile.am b/mate/Makefile.am index adbbb69..0aff2bb 100644 --- a/mate/Makefile.am +++ b/mate/Makefile.am @@ -1,6 +1,8 @@ themedir = $(datadir)/icons/mate -SUBDIRS = scalable +SUBDIRS = scalable \ + scalable-up-to-32 -DIST_SUBDIRS = scalable +DIST_SUBDIRS = scalable \ + scalable-up-to-32 diff --git a/mate/scalable-up-to-32/Makefile.am b/mate/scalable-up-to-32/Makefile.am new file mode 100644 index 0000000..6110ac5 --- /dev/null +++ b/mate/scalable-up-to-32/Makefile.am @@ -0,0 +1,23 @@ +themedir = $(datadir)/icons/mate/scalable-up-to-32 + +install-data-local: + $(mkdir_p) $(DESTDIR)$(themedir); \ + for dir in `cd $(top_srcdir)/mate/scalable-up-to-32 && find . -type d | sed s/.//`; do \ + $(mkdir_p) $(DESTDIR)$(themedir)$$dir; \ + done; \ + for file in `cd $(top_srcdir)/mate/scalable-up-to-32 && find . -name "*.svg" | sed s@./@/@`; do \ + $(install_sh_DATA) $(top_srcdir)/mate/scalable-up-to-32$$file $(DESTDIR)$(themedir)/$$file; \ + done; + +uninstall-local: + if [ -d "$(DESTDIR)$(themedir)" ]; then \ + cd $(DESTDIR)$(themedir); \ + for file in `find . -name *.svg | sed s@./@/@`; do \ + rm -f $(DESTDIR)$(themedir)$$file; \ + done; \ + fi + +MAINTAINERCLEANFILES = \ + Makefile.in \ + Makefile + diff --git a/mate/scalable-up-to-32/status/process-working-symbolic.svg b/mate/scalable-up-to-32/status/process-working-symbolic.svg new file mode 100644 index 0000000..776a8dd --- /dev/null +++ b/mate/scalable-up-to-32/status/process-working-symbolic.svg @@ -0,0 +1,24 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + -- cgit v1.2.1