forked from gtkd-developers/GtkD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
90 lines (72 loc) · 2.59 KB
/
README
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
GtkD is the Digital Mars D programing language OO wrapper for Gtk+ 3.10.
GtkD is release on the LGPL license with additional exceptions.
Please view COPYING for GtkD's license.
Requirements:
-------------
- Linux, Windows(2000, XP), or Mac
- Gtk libs
- dmd, gdc or ldc installation
optional:
- OpenGL libs (mesa is fine on linux)
- GtkGLext 3
Who are you?
------------
If you want to write some wicked cool D and Gtk+ apps, grab the gtkD release
archive at http://gtkd.org/download.html.
If you want to tweak the automatic wrapper or help with it, use git...
https://github.com/gtkd-developers/GtkD
Installation:
-------------
The installation depends on the setup of your development environment.
This means that to release your project you must include the gtkD lib
on your deliverable or statically link to gtkD - please pay attention
to the license.
Compile the lib and the test programs:
--------------------------------------
Linux / Posix:
--------------
Using the GNU make to compile GtkD on these Operating systems, calling make
with no options will build GtkD, GtkD-Sourceview and one of the demos.
Optionaly these options are available:
* all = build everything.
* [shared-]gtkd = build gtkd.
* [shared-]gtkdsv = build gtkd-sourceview.
* [shared-]gda = build gda.
* [shared-]gstreamer = build gstreamer.
* shared = build gtkd and gtkd-sourceview as shared libraries.
This currently only works with LDC.
* install and uninstall options are also available for the options
mentioned above.
Or you can use one of the build options also available for Windows.
Windows:
--------
To build on Windows you can use the build script in combination with rdmd.
rdmd Build.d
By default this builds gtkd, gtkdgl and gtkdsv to compile only one of these
or gstreamerd you can pass the following options to the build file:
* gtkd = build GtkD.
* gtkdgl = build GtkDGL.
* sv = build gtkd-sourceview
* gstreamer = build gstreamer.
* all = build everything.
For all the abobe packages there a two option avalable to specify aditional
compiler and linker flags:
* --dcflags="your compiler flags"
* --ldflags="your linker flags"
To specify if it should build for 64 or 32 bits, pass either
the -m32 or -m64 flag to rdmd.
rdmd -m64 Build.d
Wraped Versions:
----------------
GtkD wraps Gtk+ 3.18 the versions of the associated libraries are:
Gtk+ 3.18
Gdk 3.18
Glib 2.46
GObject 2.46
Gio 2.46
Pango 1.38
Gdk-pixbuf 2.32
Cairo 1.12.2
GtksourceView 3.18
GStreamer 1.6
Vte 0.42