Project

General

Profile

About GTK+ 20 30 » History » Version 1

iri, 04/06/2011 04:38 PM

1 1 iri
h1. About GTK+ 2.0 / 3.0
2
3
For Linux developpers, you should install the packages for your dist, if exist. Otherwise, you could read the doc to compile from the source :
4
http://developer.gnome.org/gtk3/stable/gtk-building.html
5
6
For Windows users, you should read the doc written by Tor Lillqvist. You can found more informations here : http://www.gtk.org/download-windows.html
7
8
h2. With GTK 2.0
9
10
In _include/main.h_, don't forget to uncomment 
11
@#define SCOL_GTK_2@
12
13
To Do ...
14
15
h2. With GTK 3.0
16
17
On Windows system :
18
19
At this time (April 6, 2011), there is not a bundle and Tor Lillqvist announce he doesn't more : http://tml-blog.blogspot.com/2011/03/gtk-on-windows-i-am-not-really-doing-it.html
20
However, the openSUSE Build Service would make all it.
21
So, before a next bundle, you can do it :
22
23
* Download from http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory/noarch/
24
# mingw32-atk-1.32.0-2.55.noarch.rpm
25
# mingw32-fontconfig-2.8.0-1.122.noarch.rpm
26
# mingw32-freetype-2.4.4-1.34.noarch.rpm
27
# mingw32-gdk-pixbuf-2.22.1-4.25.noarch.rpm
28
# mingw32-glib2-2.28.5-1.2.noarch.rpm
29
# mingw32-gtk3-3.0.6-1.5.noarch.rpm
30
# mingw32-gtk3-lang-3.0.6-1.5.noarch.rpm
31
# mingw32-libcairo2-1.10.2-2.14.noarch.rpm
32
# mingw32-libexpat-2.0.1-3.161.noarch.rpm
33
# mingw32-libintl-0.18.1.1-8.13.noarch.rpm
34
# mingw32-libpng-1.5.1-2.16.noarch.rpm
35
# mingw32-pango-1.28.3-1.70.noarch.rpm
36
# mingw32-zlib-1.2.5-1.70.noarch.rpm
37
38
(Note that the number versions could be changed when you read this page)
39
(Note2 : maybe, depend on your configuration, others packages can be needed)
40
41
* Extract these files to the same folder (bin/, etc/, lib/ and share/).
42
43
* Eventually, modify your %PATH% to include this directory.
44
45
Note :
46
To extract these rpm files, you should be on a Linux. If you can not, the "7z":http://www.7-zip.org/ file below contains them (at this time, so, can not be up-to-date) : http://redmine.scolring.org/projects/lib2dgtk/repository/changes/dllwindowsrequises/gtk3_dll_win32_april06.7z