summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-efl/recipes-efl/efl/edje-fpu.inc2
-rw-r--r--meta-efl/recipes-efl/efl/evas-generic-loaders.inc2
-rw-r--r--meta-efl/recipes-efl/efl/evas.inc4
-rw-r--r--meta-gnome/recipes-gnome/abiword/abiword.inc2
-rw-r--r--meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb16
-rw-r--r--meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb4
-rw-r--r--meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.3.bb8
-rw-r--r--meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb2
-rw-r--r--meta-gnome/recipes-support/goffice/goffice_0.8.17.bb2
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc-utils.inc4
-rw-r--r--meta-oe/classes/gitpkgv.bbclass4
-rw-r--r--meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc2
-rw-r--r--meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb4
-rw-r--r--meta-oe/recipes-core/glib-2.0/glibmm.inc2
-rw-r--r--meta-oe/recipes-core/meta/distro-feed-configs.bb4
-rw-r--r--meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb2
-rw-r--r--meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb2
-rw-r--r--meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb2
-rw-r--r--meta-oe/recipes-devtools/orc/orc.inc2
-rw-r--r--meta-oe/recipes-devtools/vala/vala.inc2
-rw-r--r--meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb4
-rw-r--r--meta-oe/recipes-graphics/pango/pangomm_2.28.2.bb2
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb2
-rw-r--r--meta-oe/recipes-multimedia/libav/libav.inc4
-rw-r--r--meta-oe/recipes-multimedia/libcdio/libcdio_0.82.bb2
-rw-r--r--meta-oe/recipes-multimedia/live555/live555.inc2
-rw-r--r--meta-oe/recipes-navigation/navit/navit-fpu.inc2
-rw-r--r--meta-oe/recipes-support/fltk/fltk_1.1.10.bb4
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp.inc2
-rw-r--r--meta-oe/recipes-support/links/links.inc2
-rw-r--r--meta-oe/recipes-support/lzma/lzma.inc2
-rw-r--r--meta-oe/recipes-support/nano/nano.inc2
-rw-r--r--meta-oe/recipes-support/opencv/opencv_2.4.bb12
-rw-r--r--meta-oe/recipes-support/openldap/openldap_2.4.23.bb16
-rw-r--r--meta-oe/recipes-support/pidgin/pidgin.inc6
-rw-r--r--meta-oe/recipes-support/poppler/poppler-fpu.inc2
-rw-r--r--meta-oe/recipes-support/vim/vim.inc4
-rw-r--r--meta-systemd/classes/systemd.bbclass28
-rw-r--r--meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb2
-rw-r--r--meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.10.0.bb4
-rw-r--r--meta-xfce/recipes-xfce/xfwm4/xfwm4_4.10.0.bb2
41 files changed, 89 insertions, 89 deletions
diff --git a/meta-efl/recipes-efl/efl/edje-fpu.inc b/meta-efl/recipes-efl/efl/edje-fpu.inc
index dc39fa9c04..3f2aacffbf 100644
--- a/meta-efl/recipes-efl/efl/edje-fpu.inc
+++ b/meta-efl/recipes-efl/efl/edje-fpu.inc
@@ -1,6 +1,6 @@
1 1
2def get_edje_fpu_setting(bb, d): 2def get_edje_fpu_setting(bb, d):
3 if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: 3 if d.getVar('TARGET_FPU', 1) in [ 'soft' ]:
4 return "--enable-fixed-point" 4 return "--enable-fixed-point"
5 return "" 5 return ""
6 6
diff --git a/meta-efl/recipes-efl/efl/evas-generic-loaders.inc b/meta-efl/recipes-efl/efl/evas-generic-loaders.inc
index cb11334908..4f8429187a 100644
--- a/meta-efl/recipes-efl/efl/evas-generic-loaders.inc
+++ b/meta-efl/recipes-efl/efl/evas-generic-loaders.inc
@@ -19,7 +19,7 @@ EXTRA_OECONF = " \
19 19
20python populate_packages_prepend () { 20python populate_packages_prepend () {
21 bb.note( "splitting packages for evas generic loaders" ) 21 bb.note( "splitting packages for evas generic loaders" )
22 basedir = bb.data.expand( '${libdir}/evas/utils', d ) 22 basedir = d.expand( '${libdir}/evas/utils')
23 23
24 do_split_packages(d, basedir, '^evas_image_loader\.(.*)$', 24 do_split_packages(d, basedir, '^evas_image_loader\.(.*)$',
25 output_pattern = "evas-generic-loader-%s", 25 output_pattern = "evas-generic-loader-%s",
diff --git a/meta-efl/recipes-efl/efl/evas.inc b/meta-efl/recipes-efl/efl/evas.inc
index e3e5d39cd4..4f48f5d24c 100644
--- a/meta-efl/recipes-efl/efl/evas.inc
+++ b/meta-efl/recipes-efl/efl/evas.inc
@@ -14,7 +14,7 @@ FILESPATHPKG =. "${BPN}-${PV}:${BPN}:"
14python populate_packages_prepend () { 14python populate_packages_prepend () {
15 for plugin_type in "engines loaders savers".split(): 15 for plugin_type in "engines loaders savers".split():
16 bb.note( "splitting packages for evas %s..." % plugin_type ) 16 bb.note( "splitting packages for evas %s..." % plugin_type )
17 basedir = bb.data.expand( '${libdir}/evas/modules/%s' % plugin_type, d ) 17 basedir = d.expand( '${libdir}/evas/modules/%s' % plugin_type)
18 18
19 do_split_packages(d, basedir, '^(.*)', 19 do_split_packages(d, basedir, '^(.*)',
20 output_pattern = 'evas-' + plugin_type[:-1] + "-%s", 20 output_pattern = 'evas-' + plugin_type[:-1] + "-%s",
@@ -23,7 +23,7 @@ python populate_packages_prepend () {
23 23
24 plugin_type = "cserve2" 24 plugin_type = "cserve2"
25 bb.note( "splitting packages for evas %s..." % plugin_type ) 25 bb.note( "splitting packages for evas %s..." % plugin_type )
26 basedir = bb.data.expand( '${libdir}/evas/%s/loaders' % plugin_type, d ) 26 basedir = d.expand( '${libdir}/evas/%s/loaders' % plugin_type)
27 27
28 do_split_packages(d, basedir, '^(.*)', 28 do_split_packages(d, basedir, '^(.*)',
29 output_pattern = 'evas-' + plugin_type + "-%s", 29 output_pattern = 'evas-' + plugin_type + "-%s",
diff --git a/meta-gnome/recipes-gnome/abiword/abiword.inc b/meta-gnome/recipes-gnome/abiword/abiword.inc
index b1b0f67012..8fbcd3bb25 100644
--- a/meta-gnome/recipes-gnome/abiword/abiword.inc
+++ b/meta-gnome/recipes-gnome/abiword/abiword.inc
@@ -17,7 +17,7 @@ CVSURI = "cvs://anoncvs:anoncvs@anoncvs.abisource.com/cvsroot;module=abi"
17CVSSRC = "${WORKDIR}/abi" 17CVSSRC = "${WORKDIR}/abi"
18 18
19#want 2.x from 2.x.y for the installation directory 19#want 2.x from 2.x.y for the installation directory
20SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 20SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
21 21
22FILES_${PN} += " \ 22FILES_${PN} += " \
23 ${datadir}/icons/* \ 23 ${datadir}/icons/* \
diff --git a/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb b/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb
index 60b970babe..c4bf3448d5 100644
--- a/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb
+++ b/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb
@@ -21,7 +21,7 @@ SRC_URI[md5sum] = "f883b0a7f26229a9c66fd6a1a94381aa"
21SRC_URI[sha256sum] = "d99089a63a6cfc1a6a4a026be9278028d47d224088d24b1853acb67e95683a15" 21SRC_URI[sha256sum] = "d99089a63a6cfc1a6a4a026be9278028d47d224088d24b1853acb67e95683a15"
22 22
23#want 2.x from 2.x.y for the installation directory 23#want 2.x from 2.x.y for the installation directory
24SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 24SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
25 25
26PR = "r7" 26PR = "r7"
27 27
@@ -102,21 +102,21 @@ FILES_${PN}-templates += "${datadir}/${PN}-${SHRT_VER}/templates"
102PACKAGES_DYNAMIC += "^${PN}-meta.* ^${PN}-plugin-.*" 102PACKAGES_DYNAMIC += "^${PN}-meta.* ^${PN}-plugin-.*"
103 103
104python populate_packages_prepend () { 104python populate_packages_prepend () {
105 abiword_libdir = bb.data.expand('${libdir}/abiword-2.8/plugins', d) 105 abiword_libdir = d.expand('${libdir}/abiword-2.8/plugins')
106 do_split_packages(d, abiword_libdir, '(.*)\.so$', 'abiword-plugin-%s', 'Abiword plugin for %s', extra_depends='') 106 do_split_packages(d, abiword_libdir, '(.*)\.so$', 'abiword-plugin-%s', 'Abiword plugin for %s', extra_depends='')
107 107
108 metapkg = "abiword-meta" 108 metapkg = "abiword-meta"
109 bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) 109 d.setVar('ALLOW_EMPTY_' + metapkg, "1")
110 bb.data.setVar('FILES_' + metapkg, "", d) 110 d.setVar('FILES_' + metapkg, "")
111 blacklist = [ 'abiword-plugins-dbg', 'abiword-plugins', 'abiword-plugins-doc', 'abiword-plugins-dev', 'abiword-plugins-locale' ] 111 blacklist = [ 'abiword-plugins-dbg', 'abiword-plugins', 'abiword-plugins-doc', 'abiword-plugins-dev', 'abiword-plugins-locale' ]
112 metapkg_rdepends = [] 112 metapkg_rdepends = []
113 packages = bb.data.getVar('PACKAGES', d, 1).split() 113 packages = d.getVar('PACKAGES', 1).split()
114 for pkg in packages[1:]: 114 for pkg in packages[1:]:
115 if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale") and not pkg.count("abiword-doc"): 115 if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale") and not pkg.count("abiword-doc"):
116 print "Modifying ", pkg 116 print "Modifying ", pkg
117 metapkg_rdepends.append(pkg) 117 metapkg_rdepends.append(pkg)
118 bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d) 118 d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends))
119 bb.data.setVar('DESCRIPTION_' + metapkg, 'abiword-plugin meta package', d) 119 d.setVar('DESCRIPTION_' + metapkg, 'abiword-plugin meta package')
120 packages.append(metapkg) 120 packages.append(metapkg)
121 bb.data.setVar('PACKAGES', ' '.join(packages), d) 121 d.setVar('PACKAGES', ' '.join(packages))
122} 122}
diff --git a/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb b/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb
index 46be86fce8..531a2d7b15 100644
--- a/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb
+++ b/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb
@@ -43,8 +43,8 @@ FILES_${PN}-doc += " ${datadir}/gtk-doc"
43PACKAGES_DYNAMIC += "^gnome-vfs-plugin-.*" 43PACKAGES_DYNAMIC += "^gnome-vfs-plugin-.*"
44 44
45python populate_packages_prepend () { 45python populate_packages_prepend () {
46 print bb.data.getVar('FILES_gnome-vfs', d, 1) 46 print d.getVar('FILES_gnome-vfs', 1)
47 47
48 plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d) 48 plugindir = d.expand('${libdir}/gnome-vfs-2.0/modules/')
49 do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 'GNOME VFS plugin for %s') 49 do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 'GNOME VFS plugin for %s')
50} 50}
diff --git a/meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.3.bb b/meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.3.bb
index 32b54ef0c0..854ba41686 100644
--- a/meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.3.bb
+++ b/meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.3.bb
@@ -77,17 +77,17 @@ PACKAGES_DYNAMIC += "^gtk3-immodule-.* ^gtk3-printbackend-.*"
77python populate_packages_prepend () { 77python populate_packages_prepend () {
78 import os.path 78 import os.path
79 79
80 prologue = bb.data.getVar("postinst_prologue", d, 1) 80 prologue = d.getVar("postinst_prologue", 1)
81 81
82 gtk_libdir = bb.data.expand('${libdir}/gtk-3.0/${LIBV}', d) 82 gtk_libdir = d.expand('${libdir}/gtk-3.0/${LIBV}')
83 immodules_root = os.path.join(gtk_libdir, 'immodules') 83 immodules_root = os.path.join(gtk_libdir, 'immodules')
84 printmodules_root = os.path.join(gtk_libdir, 'printbackends'); 84 printmodules_root = os.path.join(gtk_libdir, 'printbackends');
85 85
86 do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-3.0 > /etc/gtk-3.0/gtk.immodules') 86 do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-3.0 > /etc/gtk-3.0/gtk.immodules')
87 do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s') 87 do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s')
88 88
89 if (bb.data.getVar('DEBIAN_NAMES', d, 1)): 89 if (d.getVar('DEBIAN_NAMES', 1)):
90 bb.data.setVar('PKG_${PN}', 'libgtk-3.0', d) 90 d.setVar('PKG_${PN}', 'libgtk-3.0')
91} 91}
92 92
93postinst_prologue() { 93postinst_prologue() {
diff --git a/meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb b/meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb
index 169dac5fe6..9fe531bff8 100644
--- a/meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb
+++ b/meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb
@@ -3,7 +3,7 @@ SECTION = "x11/gnome/libs"
3LICENSE = "GPL-2.0" 3LICENSE = "GPL-2.0"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5SRC_NAME = "ORBit2" 5SRC_NAME = "ORBit2"
6SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 6SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
7SRC_URI = "${GNOME_MIRROR}/${SRC_NAME}/${SHRT_VER}/${SRC_NAME}-${PV}.tar.bz2 \ 7SRC_URI = "${GNOME_MIRROR}/${SRC_NAME}/${SHRT_VER}/${SRC_NAME}-${PV}.tar.bz2 \
8 file://configure-lossage.patch \ 8 file://configure-lossage.patch \
9 file://pkgconfig-fix.patch" 9 file://pkgconfig-fix.patch"
diff --git a/meta-gnome/recipes-support/goffice/goffice_0.8.17.bb b/meta-gnome/recipes-support/goffice/goffice_0.8.17.bb
index 4b6473149a..c5d54ab1c8 100644
--- a/meta-gnome/recipes-support/goffice/goffice_0.8.17.bb
+++ b/meta-gnome/recipes-support/goffice/goffice_0.8.17.bb
@@ -39,7 +39,7 @@ FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS}
39PACKAGES_DYNAMIC += "^goffice-plugin-.*" 39PACKAGES_DYNAMIC += "^goffice-plugin-.*"
40 40
41python populate_packages_prepend () { 41python populate_packages_prepend () {
42 goffice_libdir = bb.data.expand('${libdir}/goffice/${PV}/plugins/', d) 42 goffice_libdir = d.expand('${libdir}/goffice/${PV}/plugins/')
43 43
44 do_split_packages(d, goffice_libdir, '(.*)', 'goffice-plugin-%s', 'Goffice plugin for %s', allow_dirs=True) 44 do_split_packages(d, goffice_libdir, '(.*)', 'goffice-plugin-%s', 'Goffice plugin for %s', allow_dirs=True)
45} 45}
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc b/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc
index 2190ca29ce..16cba8909a 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc
+++ b/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc
@@ -96,9 +96,9 @@ PACKAGES_DYNAMIC += "^${KLIBC_UTILS_PKGNAME}-.*"
96 96
97python populate_packages_prepend () { 97python populate_packages_prepend () {
98 98
99 base_bin_dir = bb.data.expand('${base_bindir}', d) 99 base_bin_dir = d.expand('${base_bindir}')
100 do_split_packages(d, base_bin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', extra_depends='', allow_links=True, allow_dirs=True) 100 do_split_packages(d, base_bin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', extra_depends='', allow_links=True, allow_dirs=True)
101 101
102 base_sbin_dir = bb.data.expand('${base_sbindir}', d) 102 base_sbin_dir = d.expand('${base_sbindir}')
103 do_split_packages(d, base_sbin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', extra_depends='', allow_dirs=True) 103 do_split_packages(d, base_sbin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', extra_depends='', allow_dirs=True)
104} 104}
diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass
index 238b0d2ea3..165ba1e8de 100644
--- a/meta-oe/classes/gitpkgv.bbclass
+++ b/meta-oe/classes/gitpkgv.bbclass
@@ -51,14 +51,14 @@ def get_git_pkgv(d, use_tags):
51 import os 51 import os
52 import bb 52 import bb
53 53
54 src_uri = bb.data.getVar('SRC_URI', d, 1).split() 54 src_uri = d.getVar('SRC_URI', 1).split()
55 fetcher = bb.fetch2.Fetch(src_uri, d) 55 fetcher = bb.fetch2.Fetch(src_uri, d)
56 ud = fetcher.ud 56 ud = fetcher.ud
57 57
58 # 58 #
59 # If SRCREV_FORMAT is set respect it for tags 59 # If SRCREV_FORMAT is set respect it for tags
60 # 60 #
61 format = bb.data.getVar('SRCREV_FORMAT', d, True) 61 format = d.getVar('SRCREV_FORMAT', True)
62 if not format: 62 if not format:
63 format = 'default' 63 format = 'default'
64 64
diff --git a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc b/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc
index e994852b15..d6f3a54c32 100644
--- a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc
+++ b/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
7 file://COPYING-v3;md5=d32239bcb673463ab874e80d47fae504" 7 file://COPYING-v3;md5=d32239bcb673463ab874e80d47fae504"
8 8
9#at least versions 2.15 and prior are moved to the archive folder on the server 9#at least versions 2.15 and prior are moved to the archive folder on the server
10SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(bb.data.getVar('PV',d,1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \ 10SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getVar('PV',1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \
11 file://init \ 11 file://init \
12 file://dnsmasq.conf" 12 file://dnsmasq.conf"
13 13
diff --git a/meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb b/meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb
index 3bcebabf43..1e9f15a67e 100644
--- a/meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb
+++ b/meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb
@@ -9,8 +9,8 @@ EXTRA_OECONF = "--program-prefix="
9 9
10# Compatability for the rare systems not using or having SYSV 10# Compatability for the rare systems not using or having SYSV
11python () { 11python () {
12 if bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0': 12 if d.getVar('HOST_NONSYSV', True) and d.getVar('HOST_NONSYSV', True) != '0':
13 bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ', d) 13 d.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ')
14} 14}
15 15
16RDEPENDS_${PN} = "util-linux-native" 16RDEPENDS_${PN} = "util-linux-native"
diff --git a/meta-oe/recipes-core/glib-2.0/glibmm.inc b/meta-oe/recipes-core/glib-2.0/glibmm.inc
index 60e9bceaab..15aeaac2c8 100644
--- a/meta-oe/recipes-core/glib-2.0/glibmm.inc
+++ b/meta-oe/recipes-core/glib-2.0/glibmm.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
7 file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe" 7 file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
8 8
9DEPENDS = "mm-common glib-2.0 libsigc++-2.0" 9DEPENDS = "mm-common glib-2.0 libsigc++-2.0"
10SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 10SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
11 11
12SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.bz2;name=archive" 12SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.bz2;name=archive"
13 13
diff --git a/meta-oe/recipes-core/meta/distro-feed-configs.bb b/meta-oe/recipes-core/meta/distro-feed-configs.bb
index a25ef8f70c..cff0946da6 100644
--- a/meta-oe/recipes-core/meta/distro-feed-configs.bb
+++ b/meta-oe/recipes-core/meta/distro-feed-configs.bb
@@ -21,8 +21,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
21 21
22#def distro_feed_configs(d): 22#def distro_feed_configs(d):
23# import bb 23# import bb
24# parchs = bb.data.getVar( "PACKAGE_EXTRA_ARCHS", d, 1 ).split() 24# parchs = d.getVar( "PACKAGE_EXTRA_ARCHS", 1 ).split()
25# march = bb.data.getVar( "MACHINE_ARCH", d, 1 ).split() 25# march = d.getVar( "MACHINE_ARCH", 1 ).split()
26# archs = [ "all" ] + parchs + march 26# archs = [ "all" ] + parchs + march
27# confs = [ ( "${sysconfdir}/opkg/%s-feed.conf" % feed ) for feed in archs ] 27# confs = [ ( "${sysconfdir}/opkg/%s-feed.conf" % feed ) for feed in archs ]
28# return " ".join( confs ) 28# return " ".join( confs )
diff --git a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
index f125fb57f0..451a3c6971 100644
--- a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
+++ b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356
16S = "${WORKDIR}" 16S = "${WORKDIR}"
17FILES_${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a" 17FILES_${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a"
18 18
19CFLAGS_append = " -fPIC -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}" 19CFLAGS_append = " -fPIC -Wall -I ../../include ${@['-DSTUB_ONLY', ''][d.getVar('USE_NLS', 1) != 'no']}"
20TARGET_CC_ARCH += "${LDFLAGS}" 20TARGET_CC_ARCH += "${LDFLAGS}"
21 21
22do_compile() { 22do_compile() {
diff --git a/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb b/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb
index c2f1cc82e6..8b796ac675 100644
--- a/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb
+++ b/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb
@@ -29,7 +29,7 @@ EXTRA_OECONF = "\
29# enable pulse again when pulseaudio >= 0.9.11 is the default in OE 29# enable pulse again when pulseaudio >= 0.9.11 is the default in OE
30 30
31python populate_packages_prepend() { 31python populate_packages_prepend() {
32 plugindir = bb.data.expand('${libdir}/${P}/', d) 32 plugindir = d.expand('${libdir}/${P}/')
33 do_split_packages(d, plugindir, '^libcanberra-(.*)\.so$', 'libcanberra-%s', '%s support library', extra_depends='' ) 33 do_split_packages(d, plugindir, '^libcanberra-(.*)\.so$', 'libcanberra-%s', '%s support library', extra_depends='' )
34} 34}
35 35
diff --git a/meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb b/meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb
index a6044cdf37..fbd14662fd 100644
--- a/meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb
+++ b/meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb
@@ -4,7 +4,7 @@ PR = "${INC_PR}.2"
4DEPENDS += "gobject-introspection-stub" 4DEPENDS += "gobject-introspection-stub"
5DEPENDS_virtclass-native += "gobject-introspection-stub-native" 5DEPENDS_virtclass-native += "gobject-introspection-stub-native"
6 6
7SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 7SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
8SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/${SHRT_VER}/${BP}.tar.xz" 8SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/${SHRT_VER}/${BP}.tar.xz"
9SRC_URI[md5sum] = "a32bf498cf33d5e3417823a7b252ad22" 9SRC_URI[md5sum] = "a32bf498cf33d5e3417823a7b252ad22"
10SRC_URI[sha256sum] = "55f39f3b28e676f6cbd9377d83edd031084436a4da41280a9503c94faffb1665" 10SRC_URI[sha256sum] = "55f39f3b28e676f6cbd9377d83edd031084436a4da41280a9503c94faffb1665"
diff --git a/meta-oe/recipes-devtools/orc/orc.inc b/meta-oe/recipes-devtools/orc/orc.inc
index 6efe025648..7a957f3249 100644
--- a/meta-oe/recipes-devtools/orc/orc.inc
+++ b/meta-oe/recipes-devtools/orc/orc.inc
@@ -16,7 +16,7 @@ FILES_orc-examples = "${libdir}/orc/*"
16FILES_${PN} = "${bindir}/*" 16FILES_${PN} = "${bindir}/*"
17 17
18python populate_packages_prepend () { 18python populate_packages_prepend () {
19 libdir = bb.data.expand('${libdir}', d) 19 libdir = d.expand('${libdir}')
20 do_split_packages(d, libdir, '^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True) 20 do_split_packages(d, libdir, '^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True)
21} 21}
22 22
diff --git a/meta-oe/recipes-devtools/vala/vala.inc b/meta-oe/recipes-devtools/vala/vala.inc
index 3d33953b6b..6cdc6053b8 100644
--- a/meta-oe/recipes-devtools/vala/vala.inc
+++ b/meta-oe/recipes-devtools/vala/vala.inc
@@ -9,7 +9,7 @@ LICENSE = "LGPLv2.1"
9LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" 9LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
10INC_PR = "r1" 10INC_PR = "r1"
11 11
12SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 12SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
13 13
14SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz" 14SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz"
15inherit autotools 15inherit autotools
diff --git a/meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb b/meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb
index 8e842c48fe..3f6d7673ce 100644
--- a/meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb
+++ b/meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb
@@ -23,8 +23,8 @@ PACKAGES =+ "${PN}-core ${PN}-lxde ${PN}-gnome"
23PACKAGES_DYNAMIC += "^${PN}-theme-.*" 23PACKAGES_DYNAMIC += "^${PN}-theme-.*"
24 24
25python populate_packages_prepend() { 25python populate_packages_prepend() {
26 theme_dir = bb.data.expand('${datadir}/themes/', d) 26 theme_dir = d.expand('${datadir}/themes/')
27 theme_name = bb.data.expand('${PN}-theme-%s', d) 27 theme_name = d.expand('${PN}-theme-%s')
28 do_split_packages(d, theme_dir, '(.*)', theme_name, '${PN} theme for %s', extra_depends='', allow_dirs=True) 28 do_split_packages(d, theme_dir, '(.*)', theme_name, '${PN} theme for %s', extra_depends='', allow_dirs=True)
29} 29}
30 30
diff --git a/meta-oe/recipes-graphics/pango/pangomm_2.28.2.bb b/meta-oe/recipes-graphics/pango/pangomm_2.28.2.bb
index 2007e9c433..441911395a 100644
--- a/meta-oe/recipes-graphics/pango/pangomm_2.28.2.bb
+++ b/meta-oe/recipes-graphics/pango/pangomm_2.28.2.bb
@@ -8,7 +8,7 @@ PR = "r2"
8 8
9DEPENDS = "mm-common cairomm glibmm" 9DEPENDS = "mm-common cairomm glibmm"
10 10
11SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 11SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
12 12
13SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pangomm/${SHRT_VER}/pangomm-${PV}.tar.bz2" 13SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pangomm/${SHRT_VER}/pangomm-${PV}.tar.bz2"
14SRC_URI[md5sum] = "005a474863495d3c6267429a80da6cf2" 14SRC_URI[md5sum] = "005a474863495d3c6267429a80da6cf2"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
index 731c490e1b..9103dabfeb 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
@@ -12,7 +12,7 @@ SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}
12S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}" 12S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}"
13 13
14python populate_packages_prepend() { 14python populate_packages_prepend() {
15 plugindir = bb.data.expand('${datadir}/fonts/ttf-mplus/', d) 15 plugindir = d.expand('${datadir}/fonts/ttf-mplus/')
16 do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s', extra_depends = "ttf-common") 16 do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s', extra_depends = "ttf-common")
17} 17}
18 18
diff --git a/meta-oe/recipes-multimedia/libav/libav.inc b/meta-oe/recipes-multimedia/libav/libav.inc
index 0e80430eb2..32fcd61549 100644
--- a/meta-oe/recipes-multimedia/libav/libav.inc
+++ b/meta-oe/recipes-multimedia/libav/libav.inc
@@ -89,8 +89,8 @@ LEAD_SONAME = "libavcodec.so"
89FILES_${PN}-dev = "${includedir}" 89FILES_${PN}-dev = "${includedir}"
90 90
91python populate_packages_prepend() { 91python populate_packages_prepend() {
92 av_libdir = bb.data.expand('${libdir}', d) 92 av_libdir = d.expand('${libdir}')
93 av_pkgconfig = bb.data.expand('${libdir}/pkgconfig', d) 93 av_pkgconfig = d.expand('${libdir}/pkgconfig')
94 94
95 # Runtime package 95 # Runtime package
96 do_split_packages(d, av_libdir, '^lib(.*)\.so\..*', 96 do_split_packages(d, av_libdir, '^lib(.*)\.so\..*',
diff --git a/meta-oe/recipes-multimedia/libcdio/libcdio_0.82.bb b/meta-oe/recipes-multimedia/libcdio/libcdio_0.82.bb
index bff53124a6..64f3e5d1fc 100644
--- a/meta-oe/recipes-multimedia/libcdio/libcdio_0.82.bb
+++ b/meta-oe/recipes-multimedia/libcdio/libcdio_0.82.bb
@@ -22,7 +22,7 @@ FILES_${PN} = "${libdir}/${PN}${SOLIB}"
22FILES_${PN}-utils = "${bindir}/*" 22FILES_${PN}-utils = "${bindir}/*"
23 23
24python populate_packages_prepend () { 24python populate_packages_prepend () {
25 glibdir = bb.data.expand('${libdir}', d) 25 glibdir = d.expand('${libdir}')
26 do_split_packages(d, glibdir, '^lib(.*)\.so\..*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) 26 do_split_packages(d, glibdir, '^lib(.*)\.so\..*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
27} 27}
28 28
diff --git a/meta-oe/recipes-multimedia/live555/live555.inc b/meta-oe/recipes-multimedia/live555/live555.inc
index e47bacf919..03016358ca 100644
--- a/meta-oe/recipes-multimedia/live555/live555.inc
+++ b/meta-oe/recipes-multimedia/live555/live555.inc
@@ -9,7 +9,7 @@ SECTION = "devel"
9 9
10INC_PR = "r0" 10INC_PR = "r0"
11 11
12URLV = "${@bb.data.getVar('PV',d,1)[0:4]}.${@bb.data.getVar('PV',d,1)[4:6]}.${@bb.data.getVar('PV',d,1)[6:8]}" 12URLV = "${@d.getVar('PV',1)[0:4]}.${@d.getVar('PV',1)[4:6]}.${@d.getVar('PV',1)[6:8]}"
13SRC_URI = "http://www.live555.com/liveMedia/public/live.${URLV}.tar.gz \ 13SRC_URI = "http://www.live555.com/liveMedia/public/live.${URLV}.tar.gz \
14 file://config.linux-cross" 14 file://config.linux-cross"
15 15
diff --git a/meta-oe/recipes-navigation/navit/navit-fpu.inc b/meta-oe/recipes-navigation/navit/navit-fpu.inc
index 08044adb80..d9637022ff 100644
--- a/meta-oe/recipes-navigation/navit/navit-fpu.inc
+++ b/meta-oe/recipes-navigation/navit/navit-fpu.inc
@@ -1,6 +1,6 @@
1 1
2def get_navit_fpu_setting(bb, d): 2def get_navit_fpu_setting(bb, d):
3 if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: 3 if d.getVar('TARGET_FPU', 1) in [ 'soft' ]:
4 return "--enable-avoid-float" 4 return "--enable-avoid-float"
5 return "" 5 return ""
6 6
diff --git a/meta-oe/recipes-support/fltk/fltk_1.1.10.bb b/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
index 2611b20650..ad8768db5a 100644
--- a/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
+++ b/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
@@ -27,8 +27,8 @@ do_configure() {
27} 27}
28 28
29python populate_packages_prepend () { 29python populate_packages_prepend () {
30 if (bb.data.getVar('DEBIAN_NAMES', d, 1)): 30 if (d.getVar('DEBIAN_NAMES', 1)):
31 bb.data.setVar('PKG_${PN}', 'libfltk${PV}', d) 31 d.setVar('PKG_${PN}', 'libfltk${PV}')
32} 32}
33 33
34LEAD_SONAME = "libfltk.so" 34LEAD_SONAME = "libfltk.so"
diff --git a/meta-oe/recipes-support/freerdp/freerdp.inc b/meta-oe/recipes-support/freerdp/freerdp.inc
index 673b37240a..d898f46836 100644
--- a/meta-oe/recipes-support/freerdp/freerdp.inc
+++ b/meta-oe/recipes-support/freerdp/freerdp.inc
@@ -26,7 +26,7 @@ FILES_libfreerdp = "${libdir}/lib*${SOLIBS}"
26PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*" 26PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*"
27 27
28python populate_packages_prepend () { 28python populate_packages_prepend () {
29 freerdp_root = bb.data.expand('${libdir}/freerdp', d) 29 freerdp_root = d.expand('${libdir}/freerdp')
30 30
31 do_split_packages(d, freerdp_root, '^(audin_.*)\.so$', 31 do_split_packages(d, freerdp_root, '^(audin_.*)\.so$',
32 output_pattern='libfreerdp-plugin-%s', 32 output_pattern='libfreerdp-plugin-%s',
diff --git a/meta-oe/recipes-support/links/links.inc b/meta-oe/recipes-support/links/links.inc
index 9001d2a3b9..abd10f2ac7 100644
--- a/meta-oe/recipes-support/links/links.inc
+++ b/meta-oe/recipes-support/links/links.inc
@@ -6,7 +6,7 @@ LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b0c80473f97008e42e29a9f80fcc55ff" 6LIC_FILES_CHKSUM = "file://COPYING;md5=b0c80473f97008e42e29a9f80fcc55ff"
7DEPENDS = "jpeg libpng flex openssl zlib" 7DEPENDS = "jpeg libpng flex openssl zlib"
8 8
9LPV = "${@bb.data.getVar("PV",d,1).split("+")[1]}" 9LPV = "${@d.getVar("PV",1).split("+")[1]}"
10 10
11SRC_URI = "http://links.twibright.com/download/links-${LPV}.tar.bz2 \ 11SRC_URI = "http://links.twibright.com/download/links-${LPV}.tar.bz2 \
12 file://ac-prog-cxx.patch \ 12 file://ac-prog-cxx.patch \
diff --git a/meta-oe/recipes-support/lzma/lzma.inc b/meta-oe/recipes-support/lzma/lzma.inc
index 457d7f4938..75e6d6780a 100644
--- a/meta-oe/recipes-support/lzma/lzma.inc
+++ b/meta-oe/recipes-support/lzma/lzma.inc
@@ -4,7 +4,7 @@ LICENSE = "LGPL"
4LIC_FILES_CHKSUM = "file://lzma.txt;md5=20251cdc2e3793cceab11878d0aa11b1" 4LIC_FILES_CHKSUM = "file://lzma.txt;md5=20251cdc2e3793cceab11878d0aa11b1"
5INC_PR = "r7" 5INC_PR = "r7"
6 6
7SRC_URI = "http://downloads.sourceforge.net/sevenzip/lzma${@bb.data.getVar('PV',d,1).replace('.','')}.tar.bz2;subdir=${BPN}-${PV} \ 7SRC_URI = "http://downloads.sourceforge.net/sevenzip/lzma${@d.getVar('PV',1).replace('.','')}.tar.bz2;subdir=${BPN}-${PV} \
8 file://001-large_files.patch \ 8 file://001-large_files.patch \
9 file://002-lzmp.patch \ 9 file://002-lzmp.patch \
10 file://003-compile_fixes.patch \ 10 file://003-compile_fixes.patch \
diff --git a/meta-oe/recipes-support/nano/nano.inc b/meta-oe/recipes-support/nano/nano.inc
index 68bcb2efb7..b73aae00fe 100644
--- a/meta-oe/recipes-support/nano/nano.inc
+++ b/meta-oe/recipes-support/nano/nano.inc
@@ -10,7 +10,7 @@ RDEPENDS_${PN} = "ncurses-terminfo"
10 10
11INC_PR = "r3" 11INC_PR = "r3"
12 12
13PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 13PV_MAJOR = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
14 14
15SRC_URI = "http://www.nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.gz" 15SRC_URI = "http://www.nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.gz"
16 16
diff --git a/meta-oe/recipes-support/opencv/opencv_2.4.bb b/meta-oe/recipes-support/opencv/opencv_2.4.bb
index 6d0121c760..28770932aa 100644
--- a/meta-oe/recipes-support/opencv/opencv_2.4.bb
+++ b/meta-oe/recipes-support/opencv/opencv_2.4.bb
@@ -40,23 +40,23 @@ TARGET_CC_ARCH += "-I${S}/include "
40PACKAGES += "${PN}-apps python-opencv" 40PACKAGES += "${PN}-apps python-opencv"
41 41
42python populate_packages_prepend () { 42python populate_packages_prepend () {
43 cv_libdir = bb.data.expand('${libdir}', d) 43 cv_libdir = d.expand('${libdir}')
44 cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d) 44 cv_libdir_dbg = d.expand('${libdir}/.debug')
45 do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev', allow_links=True) 45 do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev', allow_links=True)
46 do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev') 46 do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
47 do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev') 47 do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
48 do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenCV %s library', extra_depends='', allow_links=True) 48 do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenCV %s library', extra_depends='', allow_links=True)
49 49
50 pn = bb.data.getVar('PN', d, 1) 50 pn = d.getVar('PN', 1)
51 metapkg = pn + '-dev' 51 metapkg = pn + '-dev'
52 bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) 52 d.setVar('ALLOW_EMPTY_' + metapkg, "1")
53 blacklist = [ metapkg ] 53 blacklist = [ metapkg ]
54 metapkg_rdepends = [ ] 54 metapkg_rdepends = [ ]
55 packages = bb.data.getVar('PACKAGES', d, 1).split() 55 packages = d.getVar('PACKAGES', 1).split()
56 for pkg in packages[1:]: 56 for pkg in packages[1:]:
57 if not pkg in blacklist and not pkg in metapkg_rdepends and pkg.endswith('-dev'): 57 if not pkg in blacklist and not pkg in metapkg_rdepends and pkg.endswith('-dev'):
58 metapkg_rdepends.append(pkg) 58 metapkg_rdepends.append(pkg)
59 bb.data.setVar('RRECOMMENDS_' + metapkg, ' '.join(metapkg_rdepends), d) 59 d.setVar('RRECOMMENDS_' + metapkg, ' '.join(metapkg_rdepends))
60} 60}
61 61
62FILES_${PN} = "" 62FILES_${PN} = ""
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
index 8d9bd6c6b6..b9441efc5e 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
@@ -11,7 +11,7 @@ LICENSE = "OpenLDAP"
11LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3d82d3085f228af211a6502c7ea7c3c7" 11LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3d82d3085f228af211a6502c7ea7c3c7"
12SECTION = "libs" 12SECTION = "libs"
13 13
14LDAP_VER = "${@'.'.join(bb.data.getVar('PV',d,1).split('.')[0:2])}" 14LDAP_VER = "${@'.'.join(d.getVar('PV',1).split('.')[0:2])}"
15 15
16SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz" 16SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz"
17SRC_URI += "file://openldap-m4-pthread.patch" 17SRC_URI += "file://openldap-m4-pthread.patch"
@@ -252,19 +252,19 @@ pkg_prerm_${PN}-slapd () {
252PACKAGES_DYNAMIC += "^openldap-backends.* ^openldap-backend-.*" 252PACKAGES_DYNAMIC += "^openldap-backends.* ^openldap-backend-.*"
253 253
254python populate_packages_prepend () { 254python populate_packages_prepend () {
255 backend_dir = bb.data.expand('${libexecdir}/openldap', d) 255 backend_dir = d.expand('${libexecdir}/openldap')
256 do_split_packages(d, backend_dir, 'back_([a-z]*)\-.*\.so\..*$', 'openldap-backend-%s', 'OpenLDAP %s backend', extra_depends='', allow_links=True) 256 do_split_packages(d, backend_dir, 'back_([a-z]*)\-.*\.so\..*$', 'openldap-backend-%s', 'OpenLDAP %s backend', extra_depends='', allow_links=True)
257 257
258 metapkg = "openldap-backends" 258 metapkg = "openldap-backends"
259 bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) 259 d.setVar('ALLOW_EMPTY_' + metapkg, "1")
260 bb.data.setVar('FILES_' + metapkg, "", d) 260 d.setVar('FILES_' + metapkg, "")
261 metapkg_rdepends = [] 261 metapkg_rdepends = []
262 packages = bb.data.getVar('PACKAGES', d, 1).split() 262 packages = d.getVar('PACKAGES', 1).split()
263 for pkg in packages[1:]: 263 for pkg in packages[1:]:
264 if pkg.count("openldap-backend-") and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale"): 264 if pkg.count("openldap-backend-") and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale"):
265 metapkg_rdepends.append(pkg) 265 metapkg_rdepends.append(pkg)
266 bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d) 266 d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends))
267 bb.data.setVar('DESCRIPTION_' + metapkg, 'OpenLDAP backends meta package', d) 267 d.setVar('DESCRIPTION_' + metapkg, 'OpenLDAP backends meta package')
268 packages.append(metapkg) 268 packages.append(metapkg)
269 bb.data.setVar('PACKAGES', ' '.join(packages), d) 269 d.setVar('PACKAGES', ' '.join(packages))
270} 270}
diff --git a/meta-oe/recipes-support/pidgin/pidgin.inc b/meta-oe/recipes-support/pidgin/pidgin.inc
index cb2a59799a..340e7f2b05 100644
--- a/meta-oe/recipes-support/pidgin/pidgin.inc
+++ b/meta-oe/recipes-support/pidgin/pidgin.inc
@@ -59,9 +59,9 @@ FILES_${PN}-dev += "${libdir}/${PN}/*.la"
59PACKAGES_DYNAMIC += "^libpurple-protocol-.* ^libpurple-plugin-.* ^pidgin-plugin-.* ^finch-plugin-.*" 59PACKAGES_DYNAMIC += "^libpurple-protocol-.* ^libpurple-plugin-.* ^pidgin-plugin-.* ^finch-plugin-.*"
60 60
61python populate_packages_prepend () { 61python populate_packages_prepend () {
62 pidgroot = bb.data.expand('${libdir}/pidgin', d) 62 pidgroot = d.expand('${libdir}/pidgin')
63 purple = bb.data.expand('${libdir}/purple-2', d) 63 purple = d.expand('${libdir}/purple-2')
64 finch = bb.data.expand('${libdir}/finch', d) 64 finch = d.expand('${libdir}/finch')
65 65
66 do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$', 66 do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$',
67 output_pattern='pidgin-plugin-%s', 67 output_pattern='pidgin-plugin-%s',
diff --git a/meta-oe/recipes-support/poppler/poppler-fpu.inc b/meta-oe/recipes-support/poppler/poppler-fpu.inc
index 11df852806..67d97ca8e5 100644
--- a/meta-oe/recipes-support/poppler/poppler-fpu.inc
+++ b/meta-oe/recipes-support/poppler/poppler-fpu.inc
@@ -1,6 +1,6 @@
1 1
2def get_poppler_fpu_setting(bb, d): 2def get_poppler_fpu_setting(bb, d):
3 if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: 3 if d.getVar('TARGET_FPU', 1) in [ 'soft' ]:
4 return "--enable-fixedpoint" 4 return "--enable-fixedpoint"
5 return "" 5 return ""
6 6
diff --git a/meta-oe/recipes-support/vim/vim.inc b/meta-oe/recipes-support/vim/vim.inc
index 7b036a7c8a..16ca58d4ee 100644
--- a/meta-oe/recipes-support/vim/vim.inc
+++ b/meta-oe/recipes-support/vim/vim.inc
@@ -6,8 +6,8 @@ RSUGGESTS_${PN} = "diffutils"
6LICENSE = "vim" 6LICENSE = "vim"
7LIC_FILES_CHKSUM = "file://README.txt;md5=72c4840d07b65659b60b3fa405c7da36" 7LIC_FILES_CHKSUM = "file://README.txt;md5=72c4840d07b65659b60b3fa405c7da36"
8 8
9PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 9PV_MAJOR = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
10VIMDIR = "${@bb.data.getVar('PV',d,1).split('.')[0]}${@bb.data.getVar('PV',d,1).split('.')[1]}" 10VIMDIR = "${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}"
11 11
12INC_PR = "r11" 12INC_PR = "r11"
13 13
diff --git a/meta-systemd/classes/systemd.bbclass b/meta-systemd/classes/systemd.bbclass
index 96d7f8f559..f26c6d1c1c 100644
--- a/meta-systemd/classes/systemd.bbclass
+++ b/meta-systemd/classes/systemd.bbclass
@@ -29,9 +29,9 @@ systemctl disable ${SYSTEMD_SERVICE}
29} 29}
30 30
31def get_package_var(d, var, pkg): 31def get_package_var(d, var, pkg):
32 val = (d.getVar('%s_%s' % (var, pkg), d, 1) or "").strip() 32 val = (d.getVar('%s_%s' % (var, pkg), 1) or "").strip()
33 if val == "": 33 if val == "":
34 val = (d.getVar(var, d, 1) or "").strip() 34 val = (d.getVar(var, 1) or "").strip()
35 return val 35 return val
36 36
37def systemd_after_parse(d): 37def systemd_after_parse(d):
@@ -94,9 +94,9 @@ do_install_append() {
94python populate_packages_prepend () { 94python populate_packages_prepend () {
95 def systemd_generate_package_scripts(pkg): 95 def systemd_generate_package_scripts(pkg):
96 bb.debug(1, 'adding systemd calls to postinst/postrm for %s' % pkg) 96 bb.debug(1, 'adding systemd calls to postinst/postrm for %s' % pkg)
97 localdata = bb.data.createCopy(d) 97 localdata = d.createCopy()
98 overrides = bb.data.getVar("OVERRIDES", localdata, 1) 98 overrides = localdata.getVar("OVERRIDES", 1)
99 bb.data.setVar("OVERRIDES", "%s:%s" % (pkg, overrides), localdata) 99 localdata.setVar("OVERRIDES", "%s:%s" % (pkg, overrides))
100 bb.data.update_data(localdata) 100 bb.data.update_data(localdata)
101 101
102 """ 102 """
@@ -104,23 +104,23 @@ python populate_packages_prepend () {
104 execute on the target. Not doing so may cause systemd postinst invoked 104 execute on the target. Not doing so may cause systemd postinst invoked
105 twice to cause unwanted warnings. 105 twice to cause unwanted warnings.
106 """ 106 """
107 postinst = bb.data.getVar('pkg_postinst', localdata, 1) 107 postinst = localdata.getVar('pkg_postinst', 1)
108 if not postinst: 108 if not postinst:
109 postinst = '#!/bin/sh\n' 109 postinst = '#!/bin/sh\n'
110 postinst += bb.data.getVar('systemd_postinst', localdata, 1) 110 postinst += localdata.getVar('systemd_postinst', 1)
111 bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d) 111 d.setVar('pkg_postinst_%s' % pkg, postinst)
112 112
113 prerm = bb.data.getVar('pkg_prerm', localdata, 1) 113 prerm = localdata.getVar('pkg_prerm', 1)
114 if not prerm: 114 if not prerm:
115 prerm = '#!/bin/sh\n' 115 prerm = '#!/bin/sh\n'
116 prerm += bb.data.getVar('systemd_prerm', localdata, 1) 116 prerm += localdata.getVar('systemd_prerm', 1)
117 bb.data.setVar('pkg_prerm_%s' % pkg, prerm, d) 117 d.setVar('pkg_prerm_%s' % pkg, prerm)
118 118
119 postrm = bb.data.getVar('pkg_postrm', localdata, 1) 119 postrm = localdata.getVar('pkg_postrm', 1)
120 if not postrm: 120 if not postrm:
121 postrm = '#!/bin/sh\n' 121 postrm = '#!/bin/sh\n'
122 postrm += bb.data.getVar('systemd_postrm', localdata, 1) 122 postrm += localdata.getVar('systemd_postrm', 1)
123 bb.data.setVar('pkg_postrm_%s' % pkg, postrm, d) 123 d.setVar('pkg_postrm_%s' % pkg, postrm)
124 124
125 # add files to FILES_*-systemd if existent and not already done 125 # add files to FILES_*-systemd if existent and not already done
126 def systemd_append_file(pkg_systemd, file_append): 126 def systemd_append_file(pkg_systemd, file_append):
diff --git a/meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb b/meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb
index 1826dd23a6..400e11e4ce 100644
--- a/meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb
+++ b/meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb
@@ -12,7 +12,7 @@ SRC_URI[sha256sum] = "3214d5f00e9703b5e8c9e7c3287d606dedec7285ceb4d5db332e93ada6
12# using xfwm4-theme as in xfwm4 might cause warnings of packages supplied by 12# using xfwm4-theme as in xfwm4 might cause warnings of packages supplied by
13# multiple providers. So we use xfwm4-old-theme here. 13# multiple providers. So we use xfwm4-old-theme here.
14python populate_packages_prepend () { 14python populate_packages_prepend () {
15 themedir = bb.data.expand('${datadir}/themes', d) 15 themedir = d.expand('${datadir}/themes')
16 do_split_packages(d, themedir, '^(.*)', 'xfwm4-old-theme-%s', 'XFWM4 theme %s', allow_dirs=True) 16 do_split_packages(d, themedir, '^(.*)', 'xfwm4-old-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
17} 17}
18 18
diff --git a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.10.0.bb b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.10.0.bb
index bb914ba8d7..f7d7c46874 100644
--- a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.10.0.bb
+++ b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.10.0.bb
@@ -10,8 +10,8 @@ SRC_URI[md5sum] = "cf7351a4b952dbe3fc5ff509c68def33"
10SRC_URI[sha256sum] = "3321f998af2bbd14ba68654a8881774f6ea2ec4f1a3544598e7f47d3ed0009b9" 10SRC_URI[sha256sum] = "3321f998af2bbd14ba68654a8881774f6ea2ec4f1a3544598e7f47d3ed0009b9"
11 11
12python populate_packages_prepend() { 12python populate_packages_prepend() {
13 plugin_dir = bb.data.expand('${libdir}/xfce4/panel/plugins/', d) 13 plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/')
14 plugin_name = bb.data.expand('${PN}-plugin-%s', d) 14 plugin_name = d.expand('${PN}-plugin-%s')
15 do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name, 15 do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name,
16 '${PN} plugin for %s', extra_depends='', prepend=True, 16 '${PN} plugin for %s', extra_depends='', prepend=True,
17 aux_files_pattern=['${datadir}/xfce4/panel/plugins/%s.desktop', 17 aux_files_pattern=['${datadir}/xfce4/panel/plugins/%s.desktop',
diff --git a/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.10.0.bb b/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.10.0.bb
index f17d4e5052..4f686a5817 100644
--- a/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.10.0.bb
+++ b/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.10.0.bb
@@ -10,7 +10,7 @@ SRC_URI[md5sum] = "333e5e25a85411c304e9b4474bf00537"
10SRC_URI[sha256sum] = "492357bf48121ebffabf2bf0d3b84213d19bf81087321175d687c8a68efe1f9c" 10SRC_URI[sha256sum] = "492357bf48121ebffabf2bf0d3b84213d19bf81087321175d687c8a68efe1f9c"
11 11
12python populate_packages_prepend () { 12python populate_packages_prepend () {
13 themedir = bb.data.expand('${datadir}/themes', d) 13 themedir = d.expand('${datadir}/themes')
14 do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True) 14 do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
15} 15}
16 16