blob: be9a7201766c77876a6fe6220d84d38a415185de (
plain)
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
91
92
93
94
95
96
|
################################################################################
# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# Copyright(C) 2009-2010 GAYE Abdoulaye Walsimou. All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file gtk.kconfig
# \brief gtk.kconfig of Embtoolkit
# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# \date December 2009
################################################################################
config EMBTK_HAVE_GTK
bool "Have gtk+"
select EMBTK_HAVE_GLIB
select EMBTK_HAVE_PANGO
select EMBTK_HAVE_ATK
select EMBTK_HAVE_LIBJPEG
select EMBTK_HAVE_LIBPNG
select EMBTK_HAVE_LIBTIFF
select EMBTK_HAVE_FONTCONFIG
select EMBTK_HAVE_CAIRO
help
GTK+ is a highly usable, feature rich toolkit for creating
graphical user interfaces which boasts cross platform
compatibility and an easy to use API. GTK+ it is written in C,
but has bindings to many other popular programming languages
such as C++, Python and C# among others. GTK+ is licensed under
the GNU LGPL 2.1 allowing development of both free and
proprietary software with GTK+ without any license fees or
royalties.
choice
prompt "gtk+ backend"
depends on EMBTK_HAVE_GTK
help
Which gtk+ backend to use
config EMBTK_GTK_BACKEND_DIRECTFB
bool "DirectFB"
select EMBTK_HAVE_DIRECTFB
select EMBTK_HAVE_CAIRO_WITH_DIRECTFB
config EMBTK_GTK_BACKEND_XSERVER
bool "X windowing system"
select EMBTK_HAVE_XSERVER
select EMBTK_HAVE_CAIRO_WITH_LIBXCB
select EMBTK_HAVE_LIBX11
select EMBTK_HAVE_LIBXEXT
select EMBTK_HAVE_LIBXRENDER
endchoice
choice
prompt "gtk+ version you wish"
depends on EMBTK_HAVE_GTK
help
Here you can choose which version of gtk you want to use.
config EMBTK_GTK_VERSION_2_18_9
bool "gtk+-2.18.9"
config EMBTK_GTK_VERSION_2_18_8
bool "gtk+-2.18.8"
config EMBTK_GTK_VERSION_2_18_7
bool "gtk+-2.18.7"
config EMBTK_GTK_VERSION_2_18_6
bool "gtk+-2.18.6"
config EMBTK_GTK_VERSION_2_18_5
bool "gtk+-2.18.5"
endchoice
config EMBTK_GTK_MAJOR_VERSION_STRING
string
default "2.18" if EMBTK_GTK_VERSION_2_18_9
default "2.18" if EMBTK_GTK_VERSION_2_18_8
default "2.18" if EMBTK_GTK_VERSION_2_18_7
default "2.18" if EMBTK_GTK_VERSION_2_18_6
default "2.18" if EMBTK_GTK_VERSION_2_18_5
config EMBTK_GTK_VERSION_STRING
string
default "2.18.9" if EMBTK_GTK_VERSION_2_18_9
default "2.18.8" if EMBTK_GTK_VERSION_2_18_8
default "2.18.7" if EMBTK_GTK_VERSION_2_18_7
default "2.18.6" if EMBTK_GTK_VERSION_2_18_6
default "2.18.5" if EMBTK_GTK_VERSION_2_18_5
|