[gnome-icon-theme-extras] Remove unneeded files and features



commit fe34caf4943627445104a8a961babde5c9afa0fb
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Mar 23 11:35:03 2010 +0000

    Remove unneeded files and features
    
    Remove generated files, remove translations as we do not
    ship a .theme file.

 Makefile.am         |   61 +-
 Makefile.in         |  847 --------
 aclocal.m4          | 1350 ------------
 configure           | 5911 ---------------------------------------------------
 configure.ac        |    7 -
 install-sh          |  520 -----
 missing             |  376 ----
 7 files changed, 2 insertions(+), 9070 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0975fe9..696f6b3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 DISTCHECK_CONFIGURE_FLAGS = --disable-icon-mapping
 
-SUBDIRS = po $(SVGSRCDIR)
+SUBDIRS = $(SVGSRCDIR)
 
 theme_in_files = index.theme.in.in
 theme_DATA = $(theme_in_files:.theme.in.in=.theme)
@@ -11,64 +11,9 @@ render: Makefile
 	($(am__cd) $(SVGSRCDIR) && $(MAKE) $(AM_MAKEFLAGS) render) \
 	|| eval `exit 1`
 
-%.theme.in: %.theme.in.in $(SVGOUTDIR) Makefile
-	dirs="`echo $(THEME_DIRS) | sed -e 's#$(srcdir)/gnome/##g'`"; \
-	sed -e "s|\ THEME_DIRS\@|$$dirs|g" < $< > $@; \
-	for dir in `echo $$dirs | sed -e "s/,/ /g"`; do \
-		sizefull="`dirname $$dir`"; \
-		size="`echo $$sizefull | sed -e 's/x.*$$//g'`"; \
-		context="`basename $$dir`"; \
-		echo "[$$dir]" >> $@; \
-		if test "$$context" = "actions"; then \
-			echo "Context=Actions" >> $@; \
-		fi; \
-		if test "$$context" = "animations"; then \
-			echo "Context=Animations" >> $@; \
-		fi; \
-		if test "$$context" = "apps"; then \
-			echo "Context=Applications" >> $@; \
-		fi; \
-		if test "$$context" = "categories"; then \
-			echo "Context=Categories" >> $@; \
-		fi; \
-		if test "$$context" = "devices"; then \
-			echo "Context=Devices" >> $@; \
-		fi; \
-		if test "$$context" = "emblems"; then \
-			echo "Context=Emblems" >> $@; \
-		fi; \
-		if test "$$context" = "emotes"; then \
-			echo "Context=Emotes" >> $@; \
-		fi; \
-		if test "$$context" = "intl"; then \
-			echo "Context=International" >> $@; \
-		fi; \
-		if test "$$context" = "mimetypes"; then \
-			echo "Context=MimeTypes" >> $@; \
-		fi; \
-		if test "$$context" = "places"; then \
-			echo "Context=Places" >> $@; \
-		fi; \
-		if test "$$context" = "status"; then \
-			echo "Context=Status" >> $@; \
-		fi; \
-		echo "Size=$$size" >> $@; \
-		if test "$$size" = "256"; then \
-			echo "MinSize=56" >> $@; \
-			echo "MaxSize=512" >> $@; \
-			echo "Type=Scalable" >> $@; \
-		else \
-			echo "Type=Fixed" >> $@; \
-		fi; \
-		echo "" >> $@; \
-	done
-
- INTLTOOL_THEME_RULE@
-
 # we don't want to install mo files, all translations are already stored
 # in theme files
 install-data-local:
-	$(MAKE) -C po uninstall
 	if [ -h $(DESTDIR)$(themedir) ]; then \
 		rm -f $(DESTDIR)$(themedir); \
 	fi
@@ -100,6 +45,4 @@ MAINTAINERCLEANFILES =			\
 	libtool				\
 	ltmain.sh			\
 	missing				\
-	mkinstalldirs			\
-	po/Makefile.in.in		\
-	po/$(GETTEXT_PACKAGE).pot
+	mkinstalldirs
diff --git a/configure.ac b/configure.ac
index 4783c91..876d462 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,12 +8,6 @@ AC_CONFIG_SRCDIR([index.theme.in.in])
 AM_INIT_AUTOMAKE([1.9 tar-ustar foreign])
 
 PKG_PROG_PKG_CONFIG([0.19])
-IT_PROG_INTLTOOL([0.40.0])
-
-GETTEXT_PACKAGE="${PACKAGE}"
-AC_SUBST(GETTEXT_PACKAGE)
-localedir='$(prefix)/$(DATADIRNAME)/locale'
-AC_SUBST(localedir)
 
 # Workaround to make aclocal get the right flags
 AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")
@@ -74,7 +68,6 @@ AM_CONDITIONAL(ALLOW_RENDERING, test "x$allow_rendering" = "xyes")
 AC_CONFIG_FILES([
 Makefile
 gnome-icon-theme-extras.pc
-po/Makefile.in
 src/Makefile
 ])
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]