[go: up one dir, main page]

Menu

[r131]: / xmorph-w32 / README  Maximize  Restore  History

Download this file

67 lines (42 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66

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