# HG changeset patch # User Richard Laager # Date 1121962762 0 # Node ID 2b6009535e30b2dfca39c9e2a501b56cdfa4e1e9 # Parent 834a40ddab9582caf0399f82a6ea801a8f4d40f7 [gaim-migrate @ 13203] Patch #1242220, from nekokun "Attached is a patch for getting the CVS pliugins/perl/common to compile in Win32. The makefile was just missing some escape characters and a few include directories, and module.h was referencing GaimBrowserPlace without #ifndef _WIN32." I haven't tested this. I have no idea if it works. Can someone on Windows let me know? It's my understanding that Perl doesn't compile on Windows anyway, so this can't really make it worse. committer: Tailor Script diff -r 834a40ddab95 -r 2b6009535e30 plugins/perl/common/Makefile.mingw --- a/plugins/perl/common/Makefile.mingw Thu Jul 21 05:55:22 2005 +0000 +++ b/plugins/perl/common/Makefile.mingw Thu Jul 21 16:19:22 2005 +0000 @@ -30,7 +30,12 @@ INCLUDE_PATHS = -I. \ -I$(GAIM_TOP) \ -I$(GAIM_TOP)/src \ + -I$(GTK_TOP)/include \ + -I$(GTK_TOP)/include/gtk-2.0 \ -I$(GTK_TOP)/include/glib-2.0 \ + -I$(GTK_TOP)/include/pango-1.0 \ + -I$(GTK_TOP)/include/atk-1.0 \ + -I$(GTK_TOP)/lib/gtk-2.0/include \ -I$(GTK_TOP)/lib/glib-2.0/include \ -I$(PERL_TOP)/CORE @@ -44,37 +49,37 @@ ## SOURCES, OBJECTS ## -XS_FILES = Account.xs - AccountOpts.xs - BuddyIcon.xs - BuddyList.xs - Cipher.xs - Cmds.xs - Connection.xs - Conversation.xs - FT.xs - Gaim.xs - ImgStore.xs - Log.xs - Network.xs - Notify.xs - Plugin.xs - PluginPref.xs - Pounce.xs - Prefs.xs - Privacy.xs - Proxy.xs - Prpl.xs - Request.xs - Roomlist.xs - SSLConn.xs - SavedStatuses.xs - Server.xs - Sound.xs - Status.xs - Stringref.xs - Util.xs - XMLNode.xs +XS_FILES = Account.xs \ + AccountOpts.xs \ + BuddyIcon.xs \ + BuddyList.xs \ + Cipher.xs \ + Cmds.xs \ + Connection.xs \ + Conversation.xs \ + FT.xs \ + Gaim.xs \ + ImgStore.xs \ + Log.xs \ + Network.xs \ + Notify.xs \ + Plugin.xs \ + PluginPref.xs \ + Pounce.xs \ + Prefs.xs \ + Privacy.xs \ + Proxy.xs \ + Prpl.xs \ + Request.xs \ + Roomlist.xs \ + SSLConn.xs \ + SavedStatuses.xs \ + Server.xs \ + Sound.xs \ + Status.xs \ + Stringref.xs \ + Util.xs \ + XMLNode.xs \ FALLBACKS = const-c.inc const-xs.inc diff -r 834a40ddab95 -r 2b6009535e30 plugins/perl/common/module.h --- a/plugins/perl/common/module.h Thu Jul 21 05:55:22 2005 +0000 +++ b/plugins/perl/common/module.h Thu Jul 21 16:19:22 2005 +0000 @@ -119,7 +119,6 @@ typedef GaimEventLoopUiOps * Gaim__EventLoopUiOps; /* ft.h */ - typedef GaimXfer * Gaim__Xfer; typedef GaimXferType Gaim__XferType; typedef GaimXferStatusType Gaim__XferStatusType; @@ -133,7 +132,9 @@ /* gtkutils.h */ typedef GaimButtonOrientation Gaim__ButtonOrientation; typedef GaimButtonStyle Gaim__ButtonStyle; +#ifndef _WIN32 typedef GaimBrowserPlace Gaim__BrowserPlace; +#endif /* _WIN32 */ /* gtkconv.h */ typedef GdkPixbuf * Gaim__GDK__Pixbuf;