# HG changeset patch # User Daniel Atallah # Date 1169665485 0 # Node ID 1ec72a759b5c8e772e4235ba73dadf922fba2b6f # Parent a8ee645e7fb4f02815ee7ec337f0cc4958b1796c Fix win32 build for status icon changes diff -r a8ee645e7fb4 -r 1ec72a759b5c libpurple/win32/win32dep.h --- 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 */ diff -r a8ee645e7fb4 -r 1ec72a759b5c pidgin/pixmaps/emotes/Makefile.am --- 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 diff -r a8ee645e7fb4 -r 1ec72a759b5c pidgin/pixmaps/emotes/default/Makefile.am --- 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 diff -r a8ee645e7fb4 -r 1ec72a759b5c pidgin/pixmaps/emotes/none/Makefile.am --- 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 diff -r a8ee645e7fb4 -r 1ec72a759b5c pidgin/pixmaps/status/16/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; + diff -r a8ee645e7fb4 -r 1ec72a759b5c pidgin/pixmaps/status/22/Makefile.mingw --- /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; + diff -r a8ee645e7fb4 -r 1ec72a759b5c pidgin/pixmaps/status/32/Makefile.mingw --- /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; + diff -r a8ee645e7fb4 -r 1ec72a759b5c pidgin/pixmaps/status/Makefile.am --- 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 +