changeset 15398:1ec72a759b5c

Fix win32 build for status icon changes
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 24 Jan 2007 19:04:45 +0000
parents a8ee645e7fb4
children 22bcaaefa478 deeaffeda047
files libpurple/win32/win32dep.h pidgin/pixmaps/emotes/Makefile.am pidgin/pixmaps/emotes/default/Makefile.am pidgin/pixmaps/emotes/none/Makefile.am pidgin/pixmaps/status/16/Makefile.mingw pidgin/pixmaps/status/22/Makefile.mingw pidgin/pixmaps/status/32/Makefile.mingw pidgin/pixmaps/status/Makefile.am
diffstat 8 files changed, 78 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/win32/win32dep.h	Wed Jan 24 09:30:54 2007 +0000
+++ b/libpurple/win32/win32dep.h	Wed Jan 24 19:04:45 2007 +0000
@@ -28,6 +28,11 @@
 #include "wgaimerror.h"
 #include "libc_interface.h"
 
+/* rpcndr.h defines small as char, causing problems, so we need to undefine it */
+#ifdef _WIN32
+#undef small
+#endif
+
 /*
  *  PROTOS
  */
--- a/pidgin/pixmaps/emotes/Makefile.am	Wed Jan 24 09:30:54 2007 +0000
+++ b/pidgin/pixmaps/emotes/Makefile.am	Wed Jan 24 19:04:45 2007 +0000
@@ -1,1 +1,3 @@
 SUBDIRS=default none
+
+EXTRA_DIST = Makefile.mingw
--- a/pidgin/pixmaps/emotes/default/Makefile.am	Wed Jan 24 09:30:54 2007 +0000
+++ b/pidgin/pixmaps/emotes/default/Makefile.am	Wed Jan 24 19:04:45 2007 +0000
@@ -1,1 +1,5 @@
 SUBDIRS=22 scalable
+
+EXTRA_DIST= \
+	22/Makefile.mingw \
+	scalable/Makefile.mingw
--- a/pidgin/pixmaps/emotes/none/Makefile.am	Wed Jan 24 09:30:54 2007 +0000
+++ b/pidgin/pixmaps/emotes/none/Makefile.am	Wed Jan 24 19:04:45 2007 +0000
@@ -1,4 +1,5 @@
 gaimsmileypixdir = $(datadir)/pixmaps/gaim/smileys/none
 gaimsmileypix_DATA = theme 
 
-EXTRA_DIST = $(gaimsmileypix_DATA)
+EXTRA_DIST = $(gaimsmileypix_DATA) \
+	Makefile.mingw
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pidgin/pixmaps/status/16/Makefile.mingw	Wed Jan 24 19:04:45 2007 +0000
@@ -0,0 +1,20 @@
+#
+# Makefile.mingw
+#
+# Description: Makefile for win32 (mingw) version of Pidgin pixmaps
+#
+
+GAIM_TOP := ../../../..
+include $(GAIM_TOP)/libpurple/win32/global.mak
+
+datadir = $(GAIM_INSTALL_DIR)
+include ./Makefile.am
+
+.PHONY: install
+
+install:
+	if test '$(pidginstatuspix_DATA)'; then \
+	  mkdir -p $(pidginstatuspixdir); \
+	  cp $(pidginstatuspix_DATA) $(pidginstatuspixdir); \
+	fi;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pidgin/pixmaps/status/22/Makefile.mingw	Wed Jan 24 19:04:45 2007 +0000
@@ -0,0 +1,20 @@
+#
+# Makefile.mingw
+#
+# Description: Makefile for win32 (mingw) version of Pidgin pixmaps
+#
+
+GAIM_TOP := ../../../..
+include $(GAIM_TOP)/libpurple/win32/global.mak
+
+datadir = $(GAIM_INSTALL_DIR)
+include ./Makefile.am
+
+.PHONY: install
+
+install:
+	if test '$(pidginstatuspix_DATA)'; then \
+	  mkdir -p $(pidginstatuspixdir); \
+	  cp $(pidginstatuspix_DATA) $(pidginstatuspixdir); \
+	fi;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pidgin/pixmaps/status/32/Makefile.mingw	Wed Jan 24 19:04:45 2007 +0000
@@ -0,0 +1,20 @@
+#
+# Makefile.mingw
+#
+# Description: Makefile for win32 (mingw) version of Pidgin pixmaps
+#
+
+GAIM_TOP := ../../../..
+include $(GAIM_TOP)/libpurple/win32/global.mak
+
+datadir = $(GAIM_INSTALL_DIR)
+include ./Makefile.am
+
+.PHONY: install
+
+install:
+	if test '$(pidginstatuspix_DATA)'; then \
+	  mkdir -p $(pidginstatuspixdir); \
+	  cp $(pidginstatuspix_DATA) $(pidginstatuspixdir); \
+	fi;
+
--- a/pidgin/pixmaps/status/Makefile.am	Wed Jan 24 09:30:54 2007 +0000
+++ b/pidgin/pixmaps/status/Makefile.am	Wed Jan 24 19:04:45 2007 +0000
@@ -1,2 +1,7 @@
 SUBDIRS = 16 22 32
 
+EXTRA_DIST = \
+	16/Makefile.mingw \
+	22/Makefile.mingw \
+	32/Makefile.mingw
+