I've been doing cross platform development and windows installer during the
last few years of lots of C/C++ programs. Here is an outline of my
practices:

   - Build done through scons.
   - Special scons rules for doing cross compilation for Windows from Linux.
   - Use NSIS for Windows installer deployment. (cross compiled mingw32
   version of nsis used).
   - The Windows installer is self contained, i.e. it is not dependent on
   the installation of a separate gtk installation.
   - The windows binaries are the standard compiled binaries from
   ftp.gtk.org
   - Testing done through a WinXP installation under VirtualBox.

See the SConstruct and NSIS files of my two programs giv and gemtcl for
examples of how to do the above.

Regards,
Dov

2009/7/11 Hartmut Goebel <h.goe...@goebel-consult.de>

> Hi,
>
> I'm currently working to make setting up a Python application
> (www.tryton.org) easier for Windows users. Meanwhile I'm totally
> confused about which package of bundle to use and what to put into the
> installer package.
>
> Now GTK for Windows comes in quite a lot of flavours. Since Tryton uses
> pygtk & Co., we only need the runtime environment, no developer files.
> But there are still some options left:
> - zipped runtime bundle including 3rd-party dependencies.
> - zipped archives for individual packages (glib, gtk+, pango, ...)
> - installer from glade-win32 somewhat outdated, but including librsvg
>  <http://sourceforge.net/projects/gladewin32/files/>
> - installer from <http://gtk-win.sourceforge.net/>: much more up to date
>  but missing librsvg and libbz2
>
> Which one should I use? Is there some agreed best practice?
>
> I'm currently tending to this solution:
> * use the installer from gtk-win for the development environment
> * put additional .dlls (e.g. librsvg) into the development directory
> * include the whole gtk-win installer into the Tryton installer.
>
> Any comments or suggestions anyone?
>
> --
> Schönen Gruß - Regards
> Hartmut Goebel
> Dipl.-Informatiker (univ.), CISSP, CSSLP
>
> Goebel Consult
> Spezialist für IT-Sicherheit in komplexen Umgebungen
> http://www.goebel-consult.de
>
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to