[go: up one dir, main page]

Menu

Tree [r131] / xmorph-w32 /
 History

HTTPS access


File Date Author Commit
 distrib 2009-10-03 mennucc [r119] put files in Win32 distribution in correct plac...
 gtkmorph 2009-10-03 mennucc [r119] put files in Win32 distribution in correct plac...
 libmorph 2014-07-06 mennucc [r120] correct symlinks
 README 2009-10-03 mennucc [r119] put files in Win32 distribution in correct plac...
 download-gtk.sh 2009-10-03 mennucc [r117] add environment to build the Windows(C) 32bit v...
 gtkmorph.nsi 2009-10-03 mennucc [r119] put files in Win32 distribution in correct plac...
 install-gtk.sh 2009-10-03 mennucc [r118] cd to directory

Read Me

This document explains how to create a GTKMorph binary and installer
for Windows32 environments

The following instructions are for a Debian/Ubuntu system

---------------- Creating the binary

Currently I use a cross compiler.

1) Install it as root
 # apt-get install gcc-mingw32

2) download patched Waili sources 
 # cd waili ;  apt-get source waili

3) download the required development zip files from 
  http://www.gtk.org/download-windows.html
  and store them inside the directory zips/

  You may start using the convenient script 
  # sh download.sh
  and then download manually any missing component

4) run 
 # sh install-gtk.sh

5) compile
 # cd gtkmorph ; make


---------------- Creating the installer

This has been tested inside wine, but should work the same inside 
any Windows(c) O.S.

1) download the NSIS  from http://sourceforge.net/projects/nsis/
   (that is a zip file, something like nsis-2.45.zip )
  and unpack it somewhere convenient


2) edit the script gtkmorph.nsi to your taste

3) copy the resulting gtkmorph and give it a name as the script needs
 # cp gtkmorph/gtkmorph.exe gtkmorph-20090929-gtk2.6.exe 

4) use the script gtkmorph.nsi to create the installer
 # wine ...../nsis-2.45/makensis.exe gtkmorph.nsi

----------------- Clean up

the following commands will clean up to pristine 

remove unpacked zips
 # rm -r unpacks root

clean up compilation 
 # cd gtkmorph ; make clean
 # rm gtkmorph-20090929-gtk2.6.exe

remove waili
 # cd waili ; rm  waili_19990723-19.diff.gz  waili_19990723-19.dsc  waili_19990723.orig.tar.gz
 # rm -r waili/waili-19990723

remove what was downloded
 # rm -r zips