Index: contrib/win32/pygtk-setup.nsi.in
===================================================================
--- contrib/win32/pygtk-setup.nsi.in	(revisión: 0)
+++ contrib/win32/pygtk-setup.nsi.in	(revisión: 0)
@@ -0,0 +1,142 @@
+  ; This program is free software; you can redistribute it and/or modify
+  ; it under the terms of the GNU General Public License as published by
+  ; the Free Software Foundation; version 2 of the License.
+  ;
+  ; This program is distributed in the hope that it will be useful,
+  ; but WITHOUT ANY WARRANTY; without even the implied warranty of
+  ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  ; GNU General Public License for more details.
+
+  ;PyGTK Windows Metapackage
+  ;Written by Alberto Ruiz <aruiz@gnome.org>
+
+  !include "MUI.nsh"
+
+;---------;
+; General ;
+;---------;-------------------------------------------
+
+  ;Name and file
+  Name "PyGTK Development Enviroment"
+  OutFile %%OUTFILEMACRO%% 
+
+  ;Default installation folder
+  InstallDir "$PROGRAMFILES\PyGTK"
+  
+;--------------------;
+; Interface Settings ;
+;--------------------;--------------------------------
+
+  !define MUI_ABORTWARNING
+
+  ;Installer icon
+  !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\arrow-install.ico"
+  !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\arrow-uninstall.ico"
+
+  ;Installer header
+  !define MUI_HEADERIMAGE
+  !define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\orange.bmp"
+  !define MUI_HEADERIMAGE_UNBITMAP "${NSISDIR}\Contrib\Graphics\Header\orange-uninstall.bmp"
+
+;---------------------;
+; Original Installers ;
+;---------------------;-------------------------------
+  ;This files should be on the same directory than
+  ;the script
+  !define GTK_RUNTIME_INSTALLER "gtk-win32.exe"
+  !define PYTHON_RUNTIME_INSTALLER "python-win32.msi"
+  !define PYGTK_MODULE_INSTALLER "pygtk-win32.exe"
+  !define PYCAIRO_MODULE_INSTALLER "pycairo-win32.exe"
+  !define PYGOBJECT_MODULE_INSTALLER "pygobject-win32.exe"
+
+
+;-------;
+; Pages ;
+;-------;---------------------------------------------
+
+  ;TODO: Licenses of all the parts
+  ;!insertmacro MUI_PAGE_LICENSE "License.txt"
+  !insertmacro MUI_PAGE_COMPONENTS
+  !insertmacro MUI_PAGE_DIRECTORY
+  !insertmacro MUI_PAGE_INSTFILES
+  
+  !insertmacro MUI_UNPAGE_CONFIRM
+  !insertmacro MUI_UNPAGE_INSTFILES
+  
+;-----------;
+; Languages ;
+;-----------;-----------------------------------------
+
+  ;TODO: Multilanguage interface
+  !insertmacro MUI_LANGUAGE "English"
+
+;--------------------;
+; Installer Sections ;
+;--------------------;--------------------------------
+
+Section "GTK+ Runtime"
+  ;TODO: Check if already installed; Check upgrade.
+  ;The Gaim installer has interesting bits (http://gaim.sf.net)
+
+  SetOutPath "$INSTDIR"
+  File ${GTK_RUNTIME_INSTALLER}
+
+  ;Installing
+  ExecWait '"$INSTDIR\${GTK_RUNTIME_INSTALLER}" /S /D=$INSTDIR\GTK'
+  delete "$INSTDIR\${GTK_RUNTIME_INSTALLER}"
+
+  WriteUninstaller "$INSTDIR\Uninstall.exe"
+SectionEnd
+
+Section "Python Runtime"
+  ;TODO: Check if already installed; Check upgrade.
+  ;TODO: Set the proper Start Menu/Programs target
+  ;TODO: Check if msiexec exists and point the user
+  ;the Win98/ME, W2K MSI Installer webpage, the links
+  ;are in http://www.python.org/download/releases/2.5/
+
+  SetOutPath "$INSTDIR"
+  File "${PYTHON_RUNTIME_INSTALLER}"
+
+  ;Installing
+  ExecWait 'msiexec /i "$INSTDIR\${PYTHON_RUNTIME_INSTALLER}" /passive TARGETDIR="$INSTDIR\Python"'
+  delete "$INSTDIR\${PYTHON_RUNTIME_INSTALLER}"
+SectionEnd
+
+Section "PyGTK Modules"
+  SetOutPath "$INSTDIR"
+  ;TODO: Non-interactive installation.
+
+  File ${PYGTK_MODULE_INSTALLER}
+  File ${PYCAIRO_MODULE_INSTALLER}
+  File ${PYGOBJECT_MODULE_INSTALLER}
+
+  ExecWait $INSTDIR\${PYGTK_MODULE_INSTALLER}
+  ExecWait $INSTDIR\${PYCAIRO_MODULE_INSTALLER}
+  ExecWait $INSTDIR\${PYGOBJECT_MODULE_INSTALLER}
+
+  
+  delete $INSTDIR\${PYGTK_MODULE_INSTALLER}
+  delete $INSTDIR\${PYCAIRO_MODULE_INSTALLER}
+  delete $INSTDIR\${PYGOBJECT_MODULE_INSTALLER}
+SectionEnd
+
+
+Section "Uninstall"
+  ;TODO: Unistall the python runtime and pygtk modules
+
+  Delete "$INSTDIR\Uninstall.exe"
+
+  ;GTK Runtime
+  ExecWait '"$INSTDIR\GTK\Uninstall.exe" /S'
+  RMDir "$INSTDIR\GTK"
+
+  ;PyGTK modules
+  ;ExecWait '"$INSTDIR\Python\Removepygtk.exe"'
+  ;ExecWait '"$INSTDIR\Python\Removepycairo.exe"'
+  ;ExecWait '"$INSTDIR\Python\Removepygobject.exe"'
+
+  ;NOTE: It shouldn't remove the dir until
+  ;the python uninstalling is ok
+  ;RMDir "$INSTDIR"
+SectionEnd
Index: contrib/win32/Makefile
===================================================================
--- contrib/win32/Makefile	(revisión: 0)
+++ contrib/win32/Makefile	(revisión: 0)
@@ -0,0 +1,56 @@
+PYTHONVERSION = 2.5
+PYTHONREVISION = 1
+PYTHONRELEASE = ${PYTHONVERSION}.${PYTHONREVISION}
+PYTHONTARGET = python-${PYTHONRELEASE}.msi
+
+GTKVERSION = 2.10
+GTKREVISION = 11
+GTKRELEASE = ${GTKVERSION}.${GTKREVISION}
+GTKTARGET = gtk-dev-${GTKRELEASE}-win32-1.exe
+
+PYGTKVERSION = 2.10
+PYGTKREVISION = 4-1
+PYGTKRELEASE = ${PYGTKVERSION}.${PYGTKREVISION}
+PYGTKTARGET = pygtk-${PYGTKRELEASE}.win32-py${PYTHONVERSION}.exe
+
+PYCAIROVERSION = 1.2
+PYCAIROREVISION = 6-1
+PYCAIRORELEASE = ${PYCAIROVERSION}.${PYCAIROREVISION}
+PYCAIROTARGET = pycairo-${PYCAIRORELEASE}.win32-py${PYTHONVERSION}.exe
+
+PYGOBJECTVERSION = 2.12
+PYGOBJECTREVISION = 3-1
+PYGOBJECTRELEASE = ${PYGOBJECTVERSION}.${PYGOBJECTREVISION}
+PYGOBJECTTARGET = pygobject-${PYGOBJECTRELEASE}.win32-py${PYTHONVERSION}.exe
+
+
+all: build-installer-script  python gtk pycairo pygobject pygtk
+	makensis pygtk-setup.nsi
+
+build-installer-script:
+	cat pygtk-setup.nsi.in | sed s/\%\%OUTFILEMACRO\%\%/\"pygtk-developersuite-${GTKVERSION}-py${PYTHONVERSION}.exe\"/ > pygtk-setup.nsi
+
+python:
+	rm -rf python-win32.msi
+	wget -c http://python.org/ftp/python/${PYTHONRELEASE}/${PYTHONTARGET}
+	ln -s ${PYTHONTARGET} python-win32.msi
+
+gtk:
+	rm -rf gtk-win32.exe
+	wget -c http://downloads.sourceforge.net/gladewin32/${GTKTARGET}
+	ln -s ${GTKTARGET} gtk-win32.exe
+
+pygobject:
+	rm -rf pygobject-win32.exe
+	wget -c http://ftp.gnome.org/pub/gnome/binaries/win32/pygobject/${PYGOBJECTVERSION}/${PYGOBJECTTARGET}
+	ln -s ${PYGOBJECTTARGET} pygobject-win32.exe
+
+pycairo:
+	rm -rf pycairo-win32.exe
+	wget -c  http://ftp.gnome.org/pub/gnome/binaries/win32/pycairo/${PYCAIROVERSION}/${PYCAIROTARGET}
+	ln -s ${PYCAIROTARGET} pycairo-win32.exe
+
+pygtk:
+	rm -rf pygtk-win32.exe
+	wget -c http://ftp.gnome.org/pub/gnome/binaries/win32/pygtk/${PYGTKVERSION}/${PYGTKTARGET} 
+	ln -s ${PYGTKTARGET} pygtk-win32.exe
Index: contrib/win32/README
===================================================================
--- contrib/win32/README	(revisión: 0)
+++ contrib/win32/README	(revisión: 0)
@@ -0,0 +1,11 @@
+This is the source script to create the windows developer suite for pygtk,
+which includes the GTK libraries, PyGobject, PyCairo and PyGTK, everything
+you need to run pygtk programs under windows.
+
+In this directory there is a Makefile that downloads all the components,
+and write the nsis script from the pygtk-setup.nsi.in input file. You can
+change the packages versions by modifying the Makefiles macros at the top.
+
+To use this make file, you have to install wget and the nsis script building tool makensis available on most linux distributions.
+
+To build the installer with the default versions, just run make. A new pygtk-developersuite-GTKVERSION-pyPYTHONVERSION.exe file will be created after that.
