summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/base.bbclass48
-rw-r--r--meta/classes/package.bbclass122
-rw-r--r--meta/classes/package_ipk.bbclass2
-rw-r--r--meta/conf/bitbake.conf5
-rw-r--r--meta/packages/tasks/task-oh-sdk.bb203
5 files changed, 176 insertions, 204 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index a36829006e..0d5f5ea164 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -624,24 +624,60 @@ python read_shlibdeps () {
624 bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d) 624 bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d)
625} 625}
626 626
627python read_subpackage_metadata () { 627def read_pkgdatafile(fn):
628 import re 628 pkgdata = {}
629 629
630 def decode(str): 630 def decode(str):
631 import codecs 631 import codecs
632 c = codecs.getdecoder("string_escape") 632 c = codecs.getdecoder("string_escape")
633 return c(str)[0] 633 return c(str)[0]
634 634
635 data_file = bb.data.expand("${WORKDIR}/install/${PN}.package", d) 635 import os
636 if os.access(data_file, os.R_OK): 636 if os.access(fn, os.R_OK):
637 f = file(data_file, 'r') 637 import re
638 f = file(fn, 'r')
638 lines = f.readlines() 639 lines = f.readlines()
639 f.close() 640 f.close()
640 r = re.compile("([^:]+):\s*(.*)") 641 r = re.compile("([^:]+):\s*(.*)")
641 for l in lines: 642 for l in lines:
642 m = r.match(l) 643 m = r.match(l)
643 if m: 644 if m:
644 bb.data.setVar(m.group(1), decode(m.group(2)), d) 645 pkgdata[m.group(1)] = decode(m.group(2))
646
647 return pkgdata
648
649def has_subpkgdata(pkg, d):
650 import bb, os
651 fn = bb.data.expand('${STAGING_DIR}/pkgdata/runtime/%s' % pkg, d)
652 return os.access(fn, os.R_OK)
653
654def read_subpkgdata(pkg, d):
655 import bb, os
656 fn = bb.data.expand('${STAGING_DIR}/pkgdata/runtime/%s' % pkg, d)
657 return read_pkgdatafile(fn)
658
659
660def has_pkgdata(pn, d):
661 import bb, os
662 fn = bb.data.expand('${STAGING_DIR}/pkgdata/%s' % pn, d)
663 return os.access(fn, os.R_OK)
664
665def read_pkgdata(pn, d):
666 import bb, os
667 fn = bb.data.expand('${STAGING_DIR}/pkgdata/%s' % pn, d)
668 return read_pkgdatafile(fn)
669
670python read_subpackage_metadata () {
671 import bb
672 data = read_pkgdata(bb.data.getVar('PN', d, 1), d)
673
674 for key in data.keys():
675 bb.data.setVar(key, data[key], d)
676
677 for pkg in bb.data.getVar('PACKAGES', d, 1).split():
678 sdata = read_subpkgdata(pkg, d)
679 for key in sdata.keys():
680 bb.data.setVar(key, sdata[key], d)
645} 681}
646 682
647python __anonymous () { 683python __anonymous () {
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index d39a1afb70..e2e98624ca 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -107,7 +107,7 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst
107 objs.append(relpath) 107 objs.append(relpath)
108 108
109 if extra_depends == None: 109 if extra_depends == None:
110 extra_depends = bb.data.getVar('PKG_' + packages[0], d, 1) or packages[0] 110 extra_depends = packages[0]
111 111
112 for o in objs: 112 for o in objs:
113 import re, stat 113 import re, stat
@@ -287,10 +287,7 @@ python populate_packages () {
287 287
288 bb.data.setVar('ROOT', '', localdata) 288 bb.data.setVar('ROOT', '', localdata)
289 bb.data.setVar('ROOT_%s' % pkg, root, localdata) 289 bb.data.setVar('ROOT_%s' % pkg, root, localdata)
290 pkgname = bb.data.getVar('PKG_%s' % pkg, localdata, 1) 290 bb.data.setVar('PKG', pkg, localdata)
291 if not pkgname:
292 pkgname = pkg
293 bb.data.setVar('PKG', pkgname, localdata)
294 291
295 overrides = bb.data.getVar('OVERRIDES', localdata, 1) 292 overrides = bb.data.getVar('OVERRIDES', localdata, 1)
296 if not overrides: 293 if not overrides:
@@ -381,14 +378,17 @@ python populate_packages () {
381 bb.debug(1, "target found in %s" % p) 378 bb.debug(1, "target found in %s" % p)
382 if p == pkg: 379 if p == pkg:
383 break 380 break
384 dp = bb.data.getVar('PKG_' + p, d, 1) or p 381 if not p in rdepends:
385 if not dp in rdepends: 382 rdepends.append(p)
386 rdepends.append(dp)
387 break 383 break
388 if found == False: 384 if found == False:
389 bb.note("%s contains dangling symlink to %s" % (pkg, l)) 385 bb.note("%s contains dangling symlink to %s" % (pkg, l))
390 bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d) 386 bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d)
391 387
388 bb.build.exec_func('emit_pkgdata', d)
389}
390
391python emit_pkgdata() {
392 def write_if_exists(f, pkg, var): 392 def write_if_exists(f, pkg, var):
393 def encode(str): 393 def encode(str):
394 import codecs 394 import codecs
@@ -399,21 +399,29 @@ python populate_packages () {
399 if val: 399 if val:
400 f.write('%s_%s: %s\n' % (var, pkg, encode(val))) 400 f.write('%s_%s: %s\n' % (var, pkg, encode(val)))
401 401
402 data_file = os.path.join(workdir, "install", pn + ".package") 402 packages = bb.data.getVar('PACKAGES', d, 1)
403 if not packages:
404 return
405
406 data_file = bb.data.expand("${STAGING_DIR}/pkgdata/${PN}", d)
403 f = open(data_file, 'w') 407 f = open(data_file, 'w')
404 f.write("PACKAGES: %s\n" % packages) 408 f.write("PACKAGES: %s\n" % packages)
405 for pkg in packages.split():
406 write_if_exists(f, pkg, 'DESCRIPTION')
407 write_if_exists(f, pkg, 'RDEPENDS')
408 write_if_exists(f, pkg, 'RPROVIDES')
409 write_if_exists(f, pkg, 'PKG')
410 write_if_exists(f, pkg, 'ALLOW_EMPTY')
411 write_if_exists(f, pkg, 'FILES')
412 write_if_exists(f, pkg, 'pkg_postinst')
413 write_if_exists(f, pkg, 'pkg_postrm')
414 write_if_exists(f, pkg, 'pkg_preinst')
415 write_if_exists(f, pkg, 'pkg_prerm')
416 f.close() 409 f.close()
410
411 for pkg in packages.split():
412 subdata_file = bb.data.expand("${STAGING_DIR}/pkgdata/runtime/%s" % pkg, d)
413 sf = open(subdata_file, 'w')
414 write_if_exists(sf, pkg, 'DESCRIPTION')
415 write_if_exists(sf, pkg, 'RDEPENDS')
416 write_if_exists(sf, pkg, 'RPROVIDES')
417 write_if_exists(sf, pkg, 'PKG')
418 write_if_exists(sf, pkg, 'ALLOW_EMPTY')
419 write_if_exists(sf, pkg, 'FILES')
420 write_if_exists(sf, pkg, 'pkg_postinst')
421 write_if_exists(sf, pkg, 'pkg_postrm')
422 write_if_exists(sf, pkg, 'pkg_preinst')
423 write_if_exists(sf, pkg, 'pkg_prerm')
424 sf.close()
417 bb.build.exec_func("read_subpackage_metadata", d) 425 bb.build.exec_func("read_subpackage_metadata", d)
418} 426}
419 427
@@ -423,6 +431,57 @@ if [ x"$D" = "x" ]; then
423fi 431fi
424} 432}
425 433
434python package_depchains() {
435 """
436 For a given set of prefix and postfix modifiers, make those packages
437 RRECOMMENDS on the corresponding packages for its DEPENDS.
438
439 Example: If package A depends upon package B, and A's .bb emits an
440 A-dev package, this would make A-dev Recommends: B-dev.
441 """
442
443 packages = bb.data.getVar('PACKAGES', d, 1)
444 postfixes = (bb.data.getVar('DEPCHAIN_POST', d, 1) or '').split()
445 prefixes = (bb.data.getVar('DEPCHAIN_PRE', d, 1) or '').split()
446
447 def pkg_addrrecs(pkg, base, func, d):
448 rdepends = explode_deps(bb.data.getVar('RDEPENDS_' + base, d, 1) or bb.data.getVar('RDEPENDS', d, 1) or "")
449 # bb.note('rdepends for %s is %s' % (base, rdepends))
450 rreclist = []
451
452 for depend in rdepends:
453 split_depend = depend.split(' (')
454 name = split_depend[0].strip()
455 func(rreclist, name)
456
457 bb.data.setVar('RRECOMMENDS_%s' % pkg, ' '.join(rreclist), d)
458
459 def packaged(pkg, d):
460 return os.access(bb.data.expand('${STAGING_DIR}/pkgdata/runtime/%s.packaged' % pkg, d), os.R_OK)
461
462 for pkg in packages.split():
463 for postfix in postfixes:
464 def func(list, name):
465 pkg = '%s%s' % (name, postfix)
466 if packaged(pkg, d):
467 list.append(pkg)
468
469 base = pkg[:-len(postfix)]
470 if pkg.endswith(postfix):
471 pkg_addrrecs(pkg, base, func, d)
472 continue
473
474 for prefix in prefixes:
475 def func(list, name):
476 pkg = '%s%s' % (prefix, name)
477 if packaged(pkg, d):
478 list.append(pkg)
479
480 base = pkg[len(prefix):]
481 if pkg.startswith(prefix):
482 pkg_addrrecs(pkg, base, func, d)
483}
484
426python package_do_shlibs() { 485python package_do_shlibs() {
427 import os, re, os.path 486 import os, re, os.path
428 487
@@ -468,10 +527,6 @@ python package_do_shlibs() {
468 needs_ldconfig = False 527 needs_ldconfig = False
469 bb.debug(2, "calculating shlib provides for %s" % pkg) 528 bb.debug(2, "calculating shlib provides for %s" % pkg)
470 529
471 pkgname = bb.data.getVar('PKG_%s' % pkg, d, 1)
472 if not pkgname:
473 pkgname = pkg
474
475 needed[pkg] = [] 530 needed[pkg] = []
476 sonames = list() 531 sonames = list()
477 top = os.path.join(workdir, "install", pkg) 532 top = os.path.join(workdir, "install", pkg)
@@ -493,10 +548,10 @@ python package_do_shlibs() {
493 sonames.append(m.group(1)) 548 sonames.append(m.group(1))
494 if m and libdir_re.match(root): 549 if m and libdir_re.match(root):
495 needs_ldconfig = True 550 needs_ldconfig = True
496 shlibs_file = os.path.join(shlibs_dir, pkgname + ".list") 551 shlibs_file = os.path.join(shlibs_dir, pkg + ".list")
497 if os.path.exists(shlibs_file): 552 if os.path.exists(shlibs_file):
498 os.remove(shlibs_file) 553 os.remove(shlibs_file)
499 shver_file = os.path.join(shlibs_dir, pkgname + ".ver") 554 shver_file = os.path.join(shlibs_dir, pkg + ".ver")
500 if os.path.exists(shver_file): 555 if os.path.exists(shver_file):
501 os.remove(shver_file) 556 os.remove(shver_file)
502 if len(sonames): 557 if len(sonames):
@@ -540,14 +595,12 @@ python package_do_shlibs() {
540 for pkg in packages.split(): 595 for pkg in packages.split():
541 bb.debug(2, "calculating shlib requirements for %s" % pkg) 596 bb.debug(2, "calculating shlib requirements for %s" % pkg)
542 597
543 p_pkg = bb.data.getVar("PKG_%s" % pkg, d, 1) or pkg
544
545 deps = list() 598 deps = list()
546 for n in needed[pkg]: 599 for n in needed[pkg]:
547 if n in shlib_provider.keys(): 600 if n in shlib_provider.keys():
548 (dep_pkg, ver_needed) = shlib_provider[n] 601 (dep_pkg, ver_needed) = shlib_provider[n]
549 602
550 if dep_pkg == p_pkg: 603 if dep_pkg == pkg:
551 continue 604 continue
552 605
553 if ver_needed: 606 if ver_needed:
@@ -559,7 +612,6 @@ python package_do_shlibs() {
559 else: 612 else:
560 bb.note("Couldn't find shared library provider for %s" % n) 613 bb.note("Couldn't find shared library provider for %s" % n)
561 614
562
563 deps_file = os.path.join(workdir, "install", pkg + ".shlibdeps") 615 deps_file = os.path.join(workdir, "install", pkg + ".shlibdeps")
564 if os.path.exists(deps_file): 616 if os.path.exists(deps_file):
565 os.remove(deps_file) 617 os.remove(deps_file)
@@ -635,8 +687,7 @@ python package_do_pkgconfig () {
635 pkgconfig_needed[pkg] += exp.replace(',', ' ').split() 687 pkgconfig_needed[pkg] += exp.replace(',', ' ').split()
636 688
637 for pkg in packages.split(): 689 for pkg in packages.split():
638 ppkg = bb.data.getVar("PKG_" + pkg, d, 1) or pkg 690 pkgs_file = os.path.join(shlibs_dir, pkg + ".pclist")
639 pkgs_file = os.path.join(shlibs_dir, ppkg + ".pclist")
640 if os.path.exists(pkgs_file): 691 if os.path.exists(pkgs_file):
641 os.remove(pkgs_file) 692 os.remove(pkgs_file)
642 if pkgconfig_provided[pkg] != []: 693 if pkgconfig_provided[pkg] != []:
@@ -725,7 +776,7 @@ python package_do_split_locales() {
725 pkg = pn + '-locale-' + ln 776 pkg = pn + '-locale-' + ln
726 packages.append(pkg) 777 packages.append(pkg)
727 bb.data.setVar('FILES_' + pkg, os.path.join(datadir, 'locale', l), d) 778 bb.data.setVar('FILES_' + pkg, os.path.join(datadir, 'locale', l), d)
728 bb.data.setVar('RDEPENDS_' + pkg, '${PKG_%s} virtual-locale-%s' % (mainpkg, ln), d) 779 bb.data.setVar('RDEPENDS_' + pkg, '%s virtual-locale-%s' % (mainpkg, ln), d)
729 bb.data.setVar('RPROVIDES_' + pkg, '%s-locale %s-translation' % (pn, ln), d) 780 bb.data.setVar('RPROVIDES_' + pkg, '%s-locale %s-translation' % (pn, ln), d)
730 bb.data.setVar('DESCRIPTION_' + pkg, '%s translation for %s' % (l, pn), d) 781 bb.data.setVar('DESCRIPTION_' + pkg, '%s translation for %s' % (l, pn), d)
731 782
@@ -738,7 +789,8 @@ python package_do_split_locales() {
738 789
739PACKAGEFUNCS = "package_do_split_locales \ 790PACKAGEFUNCS = "package_do_split_locales \
740 populate_packages package_do_shlibs \ 791 populate_packages package_do_shlibs \
741 package_do_pkgconfig read_shlibdeps" 792 package_do_pkgconfig read_shlibdeps \
793 package_depchains"
742python package_do_package () { 794python package_do_package () {
743 for f in (bb.data.getVar('PACKAGEFUNCS', d, 1) or '').split(): 795 for f in (bb.data.getVar('PACKAGEFUNCS', d, 1) or '').split():
744 bb.build.exec_func(f, d) 796 bb.build.exec_func(f, d)
@@ -747,6 +799,6 @@ python package_do_package () {
747do_package[dirs] = "${D}" 799do_package[dirs] = "${D}"
748# shlibs requires any DEPENDS to have already packaged for the *.list files 800# shlibs requires any DEPENDS to have already packaged for the *.list files
749do_package[deptask] = "do_package" 801do_package[deptask] = "do_package"
750populate_packages[dirs] = "${D}" 802populate_packages[dirs] = "${STAGING_DIR}/pkgdata/runtime ${D}"
751EXPORT_FUNCTIONS do_package do_shlibs do_split_locales mapping_rename_hook 803EXPORT_FUNCTIONS do_package do_shlibs do_split_locales mapping_rename_hook
752addtask package before do_build after do_install 804addtask package before do_build after do_install
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 2847cee6e0..cb44484855 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -222,6 +222,8 @@ python do_package_ipk () {
222 if ret != 0: 222 if ret != 0:
223 raise bb.build.FuncFailed("ipkg-build execution failed") 223 raise bb.build.FuncFailed("ipkg-build execution failed")
224 224
225 file(bb.data.expand('${STAGING_DIR}/pkgdata/runtime/%s.packaged' % pkg, d), 'w').close()
226
225 for script in ["preinst", "postinst", "prerm", "postrm", "control" ]: 227 for script in ["preinst", "postinst", "prerm", "postrm", "control" ]:
226 scriptfile = os.path.join(controldir, script) 228 scriptfile = os.path.join(controldir, script)
227 try: 229 try:
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 228c8706e4..ced2f1f7eb 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -96,6 +96,11 @@ HOMEPAGE = "unknown"
96 96
97# Package dependencies and provides. 97# Package dependencies and provides.
98 98
99# Ensure that -dev packages recommend the corresponding -dev packages of their
100# deps, and the same for -dbg.
101DEPCHAIN_PRE = ""
102DEPCHAIN_POST = "-dev -dbg"
103
99DEPENDS = "" 104DEPENDS = ""
100RDEPENDS = "" 105RDEPENDS = ""
101PROVIDES = "" 106PROVIDES = ""
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"