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
107
108
109
|
DESCRIPTION = "Tasks for OPIE stuff"
SECTION = "opie/base"
LICENSE = "MIT"
PR = "r18"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
PROVIDES = "packagegroup-opie-everything"
PACKAGES = "packagegroup-opie-base \
packagegroup-opie-base-applets packagegroup-opie-base-apps \
packagegroup-opie-base-decorations packagegroup-opie-base-inputmethods \
packagegroup-opie-base-pim packagegroup-opie-base-settings \
packagegroup-opie-base-styles packagegroup-opie-base-todayplugins \
packagegroup-opie-extra-settings \
packagegroup-opie-extra-styles \
${@bb.utils.contains("COMBINED_FEATURES", "bluetooth", "packagegroup-opie-bluetooth", "",d)} \
${@bb.utils.contains("COMBINED_FEATURES", "irda", "packagegroup-opie-irda", "",d)} \
"
RDEPENDS_packagegroup-opie-everything := "${PACKAGES}"
PACKAGES += "packagegroup-opie-everything"
#
# Dependencies to get the launcher up and running
#
RDEPENDS_packagegroup-opie-base = "opie-init opie-alarm opie-qcop opie-qss opie-quicklauncher \
opie-taskbar opie-pics opie-sounds opie-freetype \
ttf-dejavu-sans ttf-dejavu-sans-mono"
MACHINE_DISPLAY_WIDTH_PIXELS ?= "240"
MACHINE_DISPLAY_HEIGHT_PIXELS ?= "320"
# Recommend both landscape and portrait backgrounds
RRECOMMENDS_packagegroup-opie-base = "opie-taskbar-images-${MACHINE_DISPLAY_WIDTH_PIXELS}x${MACHINE_DISPLAY_HEIGHT_PIXELS} \
opie-taskbar-images-${MACHINE_DISPLAY_HEIGHT_PIXELS}x${MACHINE_DISPLAY_WIDTH_PIXELS}"
#
# things for reasonable bootstrap image
#
RDEPENDS_packagegroup-opie-base-applets = "opie-aboutapplet opie-clockapplet opie-suspendapplet \
opie-homeapplet opie-rotateapplet \
opie-brightnessapplet opie-volumeapplet \
opie-screenshotapplet \
${@bb.utils.contains("COMBINED_FEATURES", "irda", "opie-irdaapplet", "",d)} \
${@bb.utils.contains("MACHINE_FEATURES", "apm", "opie-batteryapplet", "",d)} \
${@bb.utils.contains("COMBINED_FEATURES", "pcmcia", "opie-cardapplet", "",d)} \
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "opie-vtapplet opie-logoutapplet", "",d)}"
#
# clamshell models can benefit from the autorotate applet
#
RDEPENDS_packagegroup-opie-base-applets_append_c7x0 = " opie-autorotateapplet"
RDEPENDS_packagegroup-opie-base-applets_append_spitz = " opie-autorotateapplet"
RDEPENDS_packagegroup-opie-base-applets_append_akita = " opie-autorotateapplet"
RDEPENDS_packagegroup-opie-base-inputmethods = "opie-multikey opie-handwriting opie-handwriting-classicset"
RDEPENDS_packagegroup-opie-base-apps = "opie-console opie-clock opie-citytime opie-backup opie-sysinfo \
opie-advancedfm opie-textedit"
# FIXME opie-packagemanager should be here but doesn't build at the moment
RDEPENDS_packagegroup-opie-base-settings = "opie-light-and-power opie-appearance \
opie-systemtime opie-networksettings opie-button-settings \
opie-icon-reload opie-launcher-settings opie-security \
opie-securityplugin-pin"
#
# That settings can be removed and device will be still usable
#
RDEPENDS_packagegroup-opie-extra-settings = "opie-language opie-doctab opie-mediummount \
${@bb.utils.contains("DISTRO_FEATURES", "wifi", "opie-networksettings-wlanplugin", "",d)} \
${@bb.utils.contains("DISTRO_FEATURES", "ppp", "opie-networksettings-pppplugin", "",d)} \
"
RDEPENDS_packagegroup-opie-base-decorations = "opie-deco-flat opie-deco-liquid opie-deco-polished"
RDEPENDS_packagegroup-opie-base-styles = "opie-style-flat opie-style-fresh opie-style-web opie-style-phase"
#
# Those styles are big and does not look good on QVGA screen
#
RDEPENDS_packagegroup-opie-extra-styles = "opie-style-liquid opie-style-metal"
RDEPENDS_packagegroup-opie-base-todayplugins = "opie-today-addressbookplugin opie-today-datebookplugin \
opie-today-todolistplugin"
RDEPENDS_packagegroup-opie-base-pim = "opie-addressbook opie-datebook opie-drawpad \
opie-search opie-notes opie-today opie-todo \
packagegroup-opie-base-todayplugins \
opie-datebook-birthdayplugin"
BLUEZ = "${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
RDEPENDS_packagegroup-opie-bluetooth = "${BLUEZ} obexftp obexpush libopieobex0 \
opie-bluetoothmanager opie-bluetoothapplet"
RDEPENDS_packagegroup-opie-irda = "irda-utils libopieobex0 obexftp obexpush"
python __anonymous() {
# For backwards compatibility after rename
packages = d.getVar("PACKAGES", True).split()
for pkg in packages:
d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-", "task-"))
d.appendVar("RREPLACES_%s" % pkg, pkg.replace("packagegroup-", "task-"))
d.appendVar("RCONFLICTS_%s" % pkg, pkg.replace("packagegroup-", "task-"))
}
|