aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meta/opie-collections.inc
blob: f522586ec167813154407da8fc4f976b2f865714 (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
97
98
99
100
101
102
103
104
105
106
#
# A collection of dependencies for images including Opie or parts of it.
#

#
# Fonts for 240x320 displays
#

OPIE_FONTS_SMALL = "qte-font-smoothsans-90 qte-font-smoothsans-100 qte-font-smoothsans-110 \
                    qte-font-smoothmono-90 qte-font-smoothmono-100 qte-font-smoothmono-110 \
                    qte-font-fixed-70 qte-font-fixed-120 qpf-font-common "

#
# Fonts for >= 640x480 displays
#

OPIE_FONTS_LARGE = "qte-font-smoothsans-120 qte-font-smoothsans-140 qte-font-smoothsans-180 \
                    qte-font-smoothmono-120 qte-font-smoothmono-140 qte-font-smoothmono-180 "

#
# Dependencies to get the launcher up and running
#

OPIE_LIBS_DEPENDS = "qte libopie2 qpf-qte qpf-font-common"
OPIE_LIBS_RDEPENDS = "${OPIE_FONTS_SMALL}"
OPIE_BASE = "opie-pics opie-sounds opie-qcop opie-quicklauncher opie-taskbar"

#
# High res displays need some additional larger fonts
#
OPIE_LIBS_RDEPENDS_append_c7x0 = " ${OPIE_FONTS_LARGE}"
OPIE_LIBS_RDEPENDS_append_tosa = " ${OPIE_FONTS_LARGE}"

#
# Things for reasonable bootstrap image
#

OPIE_BASE_APPLETS = "opie-aboutapplet opie-clockapplet opie-logoutapplet \
                     opie-suspendapplet opie-batteryapplet opie-homeapplet \
                     opie-multikeyapplet opie-rotateapplet opie-vtapplet \
                     opie-cardmon opie-irdaapplet opie-brightnessapplet"

OPIE_BASE_INPUTMETHODS = "opie-multikey opie-handwriting opie-pickboard"

OPIE_BASE_APPS = "opie-packagemanager opie-keytabs opie-console opie-clock opie-citytime opie-backup"

OPIE_BASE_SETTINGS = "opie-light-and-power opie-appearance opie-systemtime opie-sysinfo opie-networksettings opie-button-settings"

OPIE_BASE_DECOS = "opie-deco-flat opie-deco-liquid opie-deco-polished"

OPIE_BASE_STYLES = "opie-style-flat opie-style-liquid opie-style-fresh opie-style-metal opie-style-web opie-style-phase"

OPIE_BASE_DEPENDS = "ipkg ntp bluez-utils-nodbus irda-utils openobex-apps libopieobex0"
OPIE_BASE_RDEPENDS = "ntpdate opie-handwriting-classicset bluez-utils-nodbus openobex-apps libopieobex0"

#
# Clamshell models can benefit from the autorotate applet
#
OPIE_BASE_DEPENDS_append_c7x0 = " opie-autorotateapplet"

#
# Additional things for a standard 16MB distribution
#

OPIE_PIM_BASE = "opie-alarm opie-drawpad opie-textedit"

OPIE_PIM_MAIL = "opie-mail"

OPIE_PIM = "${OPIE_PIM_BASE} opie-addressbook opie-datebook opie-todo opie-today \
            opie-today opie-today-addressbookplugin opie-today-datebookplugin opie-today-todolistplugin"

KDE_PIM_DEPENDS = "${OPIE_PIM_BASE} kdepimpi"
KDE_PIM_RDEPENDS = "kopi kapi kopi-applet"

OPIE_EXTRA_APPLETS = "opie-clipboardapplet opie-volumeapplet opie-screenshotapplet"

OPIE_EXTRA_APPS = "opie-advancedfm"

OPIE_EXTRA_SETTINGS = "opie-language opie-launcher-settings opie-doctab opie-security \
            opie-mediummount opie-networksettings-wlanplugin opie-networksettings-pppplugin"

#
# Additional things for a >= 24MB distribution
#

OPIE_DEPENDS_24 = "konqueror-embedded"
OPIE_RDEPENDS_24 = "konqueror-embedded"

#
#
#

def opie_more_depends(d):
	import bb
	root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" )
	if root_flash_size >= 24: return bb.data.getVar( "OPIE_DEPENDS_24", d, True )
	else: return " "

def opie_more_rdepends(d):  
        import bb
        root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" )
        if root_flash_size >= 24: return bb.data.getVar( "OPIE_RDEPENDS_24", d, True )
        else: return " "

OPIE_MORE_DEPENDS := "${@opie_more_depends(d)}"    
OPIE_MORE_RDEPENDS := "${@opie_more_rdepends(d)}"