|
Debarshi Ray |
3a9424b |
diff -urNp xchat-2.8.8.orig/configure.in xchat-2.8.8/configure.in
|
|
Debarshi Ray |
3a9424b |
--- xchat-2.8.8.orig/configure.in 2013-06-07 17:33:41.600172433 +0200
|
|
Debarshi Ray |
3a9424b |
+++ xchat-2.8.8/configure.in 2013-06-07 17:39:02.672190284 +0200
|
|
Debarshi Ray |
3a9424b |
@@ -792,6 +792,7 @@ plugins/python/Makefile
|
|
Debarshi Ray |
3a9424b |
plugins/perl/Makefile
|
|
Debarshi Ray |
3a9424b |
plugins/tcl/Makefile
|
|
Debarshi Ray |
3a9424b |
intl/Makefile
|
|
Debarshi Ray |
3a9424b |
+icons/Makefile
|
|
Debarshi Ray |
3a9424b |
po/Makefile.in
|
|
Debarshi Ray |
3a9424b |
])
|
|
Debarshi Ray |
3a9424b |
|
|
Debarshi Ray |
3a9424b |
diff -urNp xchat-2.8.8.orig/icons/Makefile.am xchat-2.8.8/icons/Makefile.am
|
|
Debarshi Ray |
3a9424b |
--- xchat-2.8.8.orig/icons/Makefile.am 1970-01-01 01:00:00.000000000 +0100
|
|
Debarshi Ray |
3a9424b |
+++ xchat-2.8.8/icons/Makefile.am 2013-06-07 17:35:09.053456817 +0200
|
|
Debarshi Ray |
3a9424b |
@@ -0,0 +1,59 @@
|
|
Debarshi Ray |
3a9424b |
+public_icon_themes = \
|
|
Debarshi Ray |
3a9424b |
+ hicolor \
|
|
Debarshi Ray |
3a9424b |
+ $(NULL)
|
|
Debarshi Ray |
3a9424b |
+
|
|
Debarshi Ray |
3a9424b |
+public_icons = \
|
|
Debarshi Ray |
3a9424b |
+ hicolor_apps_16x16_xchat.png \
|
|
Debarshi Ray |
3a9424b |
+ hicolor_apps_22x22_xchat.png \
|
|
Debarshi Ray |
3a9424b |
+ hicolor_apps_24x24_xchat.png \
|
|
Debarshi Ray |
3a9424b |
+ hicolor_apps_32x32_xchat.png \
|
|
Debarshi Ray |
3a9424b |
+ hicolor_apps_48x48_xchat.png \
|
|
Debarshi Ray |
3a9424b |
+ hicolor_apps_256x256_xchat.png \
|
|
Debarshi Ray |
3a9424b |
+ $(NULL)
|
|
Debarshi Ray |
3a9424b |
+
|
|
Debarshi Ray |
3a9424b |
+noinst_DATA = \
|
|
Debarshi Ray |
3a9424b |
+ xchat.svg \
|
|
Debarshi Ray |
3a9424b |
+ $(NULL)
|
|
Debarshi Ray |
3a9424b |
+
|
|
Debarshi Ray |
3a9424b |
+EXTRA_DIST = \
|
|
Debarshi Ray |
3a9424b |
+ $(public_icons) \
|
|
Debarshi Ray |
3a9424b |
+ $(noinst_DATA) \
|
|
Debarshi Ray |
3a9424b |
+ $(NULL)
|
|
Debarshi Ray |
3a9424b |
+
|
|
Debarshi Ray |
3a9424b |
+gtk_update_icon_cache = gtk-update-icon-cache -f -t
|
|
Debarshi Ray |
3a9424b |
+
|
|
Debarshi Ray |
3a9424b |
+update-icon-cache:
|
|
Debarshi Ray |
3a9424b |
+ @-if test -z "$(DESTDIR)"; then \
|
|
Debarshi Ray |
3a9424b |
+ echo "Updating Gtk icon cache."; \
|
|
Debarshi Ray |
3a9424b |
+ for theme in $(public_icon_themes); do \
|
|
Debarshi Ray |
3a9424b |
+ $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \
|
|
Debarshi Ray |
3a9424b |
+ done; \
|
|
Debarshi Ray |
3a9424b |
+ else \
|
|
Debarshi Ray |
3a9424b |
+ echo "*** Icon cache not updated. After (un)install, run this:"; \
|
|
Debarshi Ray |
3a9424b |
+ for theme in $(public_icon_themes); do \
|
|
Debarshi Ray |
3a9424b |
+ echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \
|
|
Debarshi Ray |
3a9424b |
+ done; \
|
|
Debarshi Ray |
3a9424b |
+ fi
|
|
Debarshi Ray |
3a9424b |
+
|
|
Debarshi Ray |
3a9424b |
+install-icons:
|
|
Debarshi Ray |
3a9424b |
+ for icon in $(public_icons); do \
|
|
Debarshi Ray |
3a9424b |
+ THEME=`echo $$icon | cut -d_ -f1`; \
|
|
Debarshi Ray |
3a9424b |
+ CONTEXT=`echo $$icon | cut -d_ -f2`; \
|
|
Debarshi Ray |
3a9424b |
+ SIZE=`echo $$icon | cut -d_ -f3`; \
|
|
Debarshi Ray |
3a9424b |
+ ICONFILE=`echo $$icon | cut -d_ -f4`; \
|
|
Debarshi Ray |
3a9424b |
+ mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
|
|
Debarshi Ray |
3a9424b |
+ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
|
|
Debarshi Ray |
3a9424b |
+ done
|
|
Debarshi Ray |
3a9424b |
+
|
|
Debarshi Ray |
3a9424b |
+uninstall-icons:
|
|
Debarshi Ray |
3a9424b |
+ -for icon in $(public_icons); do \
|
|
Debarshi Ray |
3a9424b |
+ THEME=`echo $$icon | cut -d_ -f1`; \
|
|
Debarshi Ray |
3a9424b |
+ CONTEXT=`echo $$icon | cut -d_ -f2`; \
|
|
Debarshi Ray |
3a9424b |
+ SIZE=`echo $$icon | cut -d_ -f3`; \
|
|
Debarshi Ray |
3a9424b |
+ ICONFILE=`echo $$icon | cut -d_ -f4`; \
|
|
Debarshi Ray |
3a9424b |
+ rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
|
|
Debarshi Ray |
3a9424b |
+ done
|
|
Debarshi Ray |
3a9424b |
+
|
|
Debarshi Ray |
3a9424b |
+install-data-local: install-icons update-icon-cache
|
|
Debarshi Ray |
3a9424b |
+
|
|
Debarshi Ray |
3a9424b |
+uninstall-local: uninstall-icons update-icon-cache
|
|
Debarshi Ray |
3a9424b |
diff -urNp xchat-2.8.8.orig/Makefile.am xchat-2.8.8/Makefile.am
|
|
Debarshi Ray |
3a9424b |
--- xchat-2.8.8.orig/Makefile.am 2013-06-07 17:33:41.600172433 +0200
|
|
Debarshi Ray |
3a9424b |
+++ xchat-2.8.8/Makefile.am 2013-06-10 13:25:06.316773350 +0200
|
|
Debarshi Ray |
3a9424b |
@@ -1,6 +1,6 @@
|
|
Debarshi Ray |
3a9424b |
## Process this file with automake to produce Makefile.in
|
|
Debarshi Ray |
3a9424b |
|
|
Debarshi Ray |
3a9424b |
-SUBDIRS = po intl src plugins
|
|
Debarshi Ray |
3a9424b |
+SUBDIRS = po icons intl src plugins
|
|
Debarshi Ray |
3a9424b |
|
|
Debarshi Ray |
3a9424b |
EXTRA_DIST = autogen.sh HACKING INSTALL.w32 faq.html xchat.png \
|
|
Debarshi Ray |
3a9424b |
xchat.desktop xchat.spec config.h.w32 xchat.ico
|