Author: wade
Date: 2007-11-19 21:04:02 -0500 (Mon, 19 Nov 2007)
New Revision: 89957

Modified:
   trunk/release/packaging/defs/gluezilla
Log:
Bits to build gluezilla on win32 (with ugly rsh hack)


Modified: trunk/release/packaging/defs/gluezilla
===================================================================
--- trunk/release/packaging/defs/gluezilla      2007-11-20 02:03:33 UTC (rev 
89956)
+++ trunk/release/packaging/defs/gluezilla      2007-11-20 02:04:02 UTC (rev 
89957)
@@ -53,4 +53,40 @@
 
 }
 
+win_4_i386_ZIP_DEPS=(
+       
http://ftp-mozilla.netscape.com/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/sdk/xulrunner-1.8.1.3.en-US.win32.sdk.zip
+       http://ftp.mozilla.org/pub/mozilla.org/mozilla/source/wintools.zip
+)
 
+win_4_i386_ZIP_RUNTIME_DEPS=(
+       
http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/win32/xulrunner-1.8.1.3.en-US.win32.zip
+)
+
+win_4_i386_ZIP_BUILD () {
+
+       # Install platform sdk, c++ express, and sp1 for c++ express (sp1 
probably not needed after all)
+
+       cd build
+       for i in gecko-sdk/bin/xpidl.exe 
buildtools/windows/bin/x86/glib-1.2.dll 
buildtools/windows/bin/x86/libIDL-0.6.dll ; do 
+               cp /tmp/build_deps/$i .
+       done
+       chmod 755 xpidl.exe *.dll
+       chmod 755 make.cmd
+       make.cmd c:\\cygwin\\tmp\\build_deps\\gecko-sdk
+       cd ..
+
+       cd src
+       # Do this to get around the 'invalid pdb problem'
+       #  Hrm... sp1 was supposed to fix the issue, but it didn't work 
(http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99676)
+       my_dir=`cygpath -w $PWD`
+       cat <<EOF > build.bat
+call "c:\Program Files\Microsoft Platform SDK for Windows Server 2003 
R2\SetEnv.Cmd"
+nmake /f windows.mak CFG=Debug all
+EOF
+       rsh localhost "cd $my_dir && build.bat" || exit 1
+
+       mkdir -p /tmp/install/bin
+       cp gluezilla.dll /tmp/install/bin
+
+}
+

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to