summaryrefslogtreecommitdiffstats
path: root/meta/packages/tasks/task-oh-sdk.bb
diff options
context:
space:
mode:
authorChris Larson <kergoth@openedhand.com>2006-09-21 16:29:02 +0000
committerChris Larson <kergoth@openedhand.com>2006-09-21 16:29:02 +0000
commit8d804ea40a349e679850b716012120e54fe5242d (patch)
treed8b1d37ea78880df826f81bb4b791f8f93f1f985 /meta/packages/tasks/task-oh-sdk.bb
parent5cacd3ea7efd69e57979d962616bf87c521c6f8b (diff)
downloadpoky-8d804ea40a349e679850b716012120e54fe5242d.tar.gz
Merge devgen branch to trunk.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@743 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/tasks/task-oh-sdk.bb')
-rw-r--r--meta/packages/tasks/task-oh-sdk.bb203
1 files changed, 40 insertions, 163 deletions
diff --git a/meta/packages/tasks/task-oh-sdk.bb b/meta/packages/tasks/task-oh-sdk.bb
index 84cbdcb5b9..c4b8749f9c 100644
--- a/meta/packages/tasks/task-oh-sdk.bb
+++ b/meta/packages/tasks/task-oh-sdk.bb
@@ -1,187 +1,64 @@
1DESCRIPTON = "Software Development Tasks for OpenedHand Poky" 1DESCRIPTON = "Software Development Tasks for OpenedHand Poky"
2MAINTAINER = "Richard Purdie <richard@openedhand.com>" 2MAINTAINER = "Richard Purdie <richard@openedhand.com>"
3PR = "r8" 3PR = "r10"
4 4DEPENDS = "task-oh"
5PACKAGES = "\
6 task-oh-sdk \
7 task-oh-sdk-base \
8 task-oh-sdk-apps \
9 task-oh-sdk-libs \
10 task-oh-sdk-x11-base \
11 task-oh-sdk-x11-apps \
12 task-oh-sdk-x11-libs \
13 task-oh-sdk-x11-xext \
14 task-oh-sdk-x11-xlibs"
15
16ALLOW_EMPTY = "1" 5ALLOW_EMPTY = "1"
6PACKAGEFUNCS =+ 'generate_sdk_pkgs'
17 7
18RDEPENDS_task-oh-sdk := "\ 8PACKAGES = "task-oh-sdk"
19 task-oh-sdk-base \
20 task-oh-sdk-apps \
21 task-oh-sdk-libs \
22 task-oh-sdk-x11-base \
23 task-oh-sdk-x11-apps \
24 task-oh-sdk-x11-libs \
25 task-oh-sdk-x11-xext \
26 task-oh-sdk-x11-xlibs"
27 9
28RDEPENDS_task-oh-sdk-base := "\ 10RDEPENDS_task-oh-sdk = "\
29 autoconf \ 11 autoconf \
30 automake \ 12 automake \
31 binutils \ 13 binutils \
32 binutils-symlinks \ 14 binutils-symlinks \
33 gcc \ 15 gcc \
34 gcc-symlinks \ 16 gcc-symlinks \
35 glibc-dev \
36 make \ 17 make \
37 perl-module-re \ 18 perl-module-re \
38 perl-module-text-wrap \ 19 perl-module-text-wrap \
39 pkgconfig" 20 pkgconfig"
40 21
41RDEPENDS_task-oh-sdk-apps := "\ 22python generate_sdk_pkgs () {
42 avahi-dev \ 23 def packaged(pkg, d):
43 binutils-dev \ 24 return os.access(bb.data.expand('${STAGING_DIR}/pkgdata/runtime/%s.packaged' % pkg, d), os.R_OK)
44 console-tools-dev \
45 db-dev \
46 gdb-dev \
47 udev-dev"
48
49RDEPENDS_task-oh-sdk-libs := "\
50 bzip2-dev \
51 dbus-dev \
52 eds-dbus-dev \
53 glib-2.0-dev \
54 ncurses-dev \
55 zlib-dev"
56 25
57RDEPENDS_task-oh-sdk-x11-base := "\ 26 ohpkgs = read_pkgdata('task-oh', d)['PACKAGES']
58 atk-dev \ 27 pkgs = bb.data.getVar('PACKAGES', d, 1).split()
59 cairo-dev \ 28 for pkg in ohpkgs.split():
60 gconf-dbus-dev \ 29 newpkg = pkg.replace('task-oh', 'task-oh-sdk')
61 gtk+-dev \
62 libmatchbox-dev \
63 matchbox-desktop-dev \
64 pango-dev \
65 startup-notification-dev"
66# gtk-engines-dev \
67# libsvg-cairo-dev \
68 30
69RDEPENDS_task-oh-sdk-x11-apps := "\ 31 # for each of the task packages, add a corresponding sdk task
70 dates-dev \ 32 pkgs.append(newpkg)
71"
72 33
73RDEPENDS_task-oh-sdk-x11-libs := "\ 34 # for each sdk task, take the rdepends of the non-sdk task, and turn
74 gconf-dbus-dev \ 35 # that into rrecommends upon the -dev versions of those, not unlike
75 gnome-vfs-dbus-dev \ 36 # the package depchain code
76" 37 spkgdata = read_subpkgdata(pkg, d)
77 38
78RDEPENDS_task-oh-sdk-x11-xext := "\ 39 rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '')
79 compositeext-dev \ 40 rreclist = []
80 damageext-dev \
81 fixesext-dev \
82 randrext-dev \
83 recordext-dev \
84 renderext-dev \
85 xcalibrate-dev \
86 xcalibrateext-dev \
87 xextensions-dev \
88 xproto-dev \
89 xtrans-dev"
90 41
91RDEPENDS_task-oh-sdk-x11-xlibs := "\ 42 for depend in rdepends:
92 libx11-dev \ 43 split_depend = depend.split(' (')
93 libxau-dev \ 44 name = split_depend[0].strip()
94 libxcursor-dev \ 45 if packaged('%s-dev' % name, d):
95 libxdmcp-dev \ 46 rreclist.append('%s-dev' % name)
96 libxext-dev \ 47 else:
97 libxfixes-dev \ 48 deppkgdata = read_subpkgdata(name, d)
98 libxfont-dev \ 49 rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '')
99 libxft-dev \ 50 for depend in rdepends2:
100 libxpm-dev \ 51 split_depend = depend.split(' (')
101 libxrandr-dev \ 52 name = split_depend[0].strip()
102 libxrender-dev \ 53 if packaged('%s-dev' % name, d):
103 libxsettings-client-dev \ 54 rreclist.append('%s-dev' % name)
104 libxt-dev \
105 libxtst-dev"
106# libxdamage-dev \
107# libxcomposite-dev \
108 55
56 oldrrec = bb.data.getVar('RRECOMMENDS_%s' % newpkg, d) or ''
57 bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d)
58 # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, bb.data.getVar('RRECOMMENDS_%s' % newpkg, d)))
109 59
60 # bb.note('pkgs is %s' % pkgs)
61 bb.data.setVar('PACKAGES', ' '.join(pkgs), d)
62}
110 63
111RDEPENDS_task-sdk-unsorted := "\ 64PACKAGES_DYNAMIC = "task-oh-sdk-*"
112 gnome-mime-data-dev \
113 gtk-clearlooks-engine-dev \
114 ipkg-dev \
115 js-dev \
116 kernel-dev \
117 libapm-dev \
118 libcurl-dev \
119 libdaemon-dev \
120 libexpat-dev \
121 libfakekey-dev \
122 libfontconfig-dev \
123 libfreetype-dev \
124 libgcrypt-dev \
125 libglade-2.0-dev \
126 libgmp-dev \
127 libgnutls-dev \
128 libgpg-error-dev \
129 libgtkhtml-2-dev \
130 libice-dev \
131 libiconv-dev \
132 libipkg-dev \
133 libiw-dev \
134 libjpeg-dev \
135 libloudmouth-1-dev \
136 libpcap-dev \
137 libpng-dev \
138 libpng12-dev \
139 libpopt-dev \
140 libreadline-dev \
141 libsm-dev \
142 libstartup-notification-1-dev \
143 libxau-dev \
144 libxcalibrate-dev \
145 libxml2-dev \
146 libxmu-dev \
147 libxmuu-dev \
148 libxsettings-dev \
149 linux-libc-headers-dev \
150 lttng-viewer-dev \
151 matchbox-desktop-dev \
152 ppp-dev \
153 shared-mime-info-dev \
154 sysfsutils-dev \
155 sysvinit-dev \
156 others found \
157 expat-dev \
158 fontconfig-dev \
159 freetype-dev \
160 gstreamer-dev \
161 ice-dev \
162 ipkg-dev \
163 jpeg-dev \
164 libapm-dev \
165 libdisplaymigration-dev \
166 libetpan-dev \
167 libgcrypt-dev \
168 libglade-dev \
169 libgpg-error-dev \
170 libidl-dev \
171 libiw-dev \
172 libmimedir-dev \
173 libpcap-dev \
174 libpixman-dev \
175 libpng-dev \
176 libschedule-dev \
177 libsm-dev \
178 libsoundgen-dev \
179 libsvg-dev \
180 libtododb-dev \
181 libts-dev \
182 libxml2-dev \
183 openobex-dev \
184 popt-dev \
185 readline-dev \
186 sqlite-dev \
187 xmu-dev"