diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-07-19 14:05:34 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-19 16:26:18 +0200 |
commit | 5cb8258d15a64fcf73ce024acdbbb36de4db2fec (patch) | |
tree | e9354fdda9992af192d77e247183c79b86d3cc72 /meta-gnome | |
parent | 3770f2bbee2f27a56075d3561174d00080605703 (diff) | |
download | meta-openembedded-5cb8258d15a64fcf73ce024acdbbb36de4db2fec.tar.gz |
recipes: convert tabs to 4 spaces in populate_packages
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-gnome')
4 files changed, 31 insertions, 31 deletions
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 6e1dc4ef0..75c10aeb0 100644 --- a/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb +++ b/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb | |||
@@ -102,21 +102,21 @@ FILES_${PN}-templates += "${datadir}/${PN}-${SHRT_VER}/templates" | |||
102 | PACKAGES_DYNAMIC = "${PN}-meta ${PN}-plugin-*" | 102 | PACKAGES_DYNAMIC = "${PN}-meta ${PN}-plugin-*" |
103 | 103 | ||
104 | python populate_packages_prepend () { | 104 | python populate_packages_prepend () { |
105 | abiword_libdir = bb.data.expand('${libdir}/abiword-2.8/plugins', d) | 105 | abiword_libdir = bb.data.expand('${libdir}/abiword-2.8/plugins', d) |
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 | bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) |
110 | bb.data.setVar('FILES_' + metapkg, "", d) | 110 | bb.data.setVar('FILES_' + metapkg, "", d) |
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 = bb.data.getVar('PACKAGES', d, 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 | bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d) |
119 | bb.data.setVar('DESCRIPTION_' + metapkg, 'abiword-plugin meta package', d) | 119 | bb.data.setVar('DESCRIPTION_' + metapkg, 'abiword-plugin meta package', d) |
120 | packages.append(metapkg) | 120 | packages.append(metapkg) |
121 | bb.data.setVar('PACKAGES', ' '.join(packages), d) | 121 | bb.data.setVar('PACKAGES', ' '.join(packages), d) |
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 0b39f1b56..586eed84f 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" | |||
43 | PACKAGES_DYNAMIC = "gnome-vfs-plugin-*" | 43 | PACKAGES_DYNAMIC = "gnome-vfs-plugin-*" |
44 | 44 | ||
45 | python populate_packages_prepend () { | 45 | python populate_packages_prepend () { |
46 | print bb.data.getVar('FILES_gnome-vfs', d, 1) | 46 | print bb.data.getVar('FILES_gnome-vfs', d, 1) |
47 | 47 | ||
48 | plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d) | 48 | plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d) |
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 8553eb881..b6df81b8d 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 | |||
@@ -75,19 +75,19 @@ FILES_${PN}-dbg += " \ | |||
75 | PACKAGES_DYNAMIC += "gtk3-immodule-* gtk3-printbackend-*" | 75 | PACKAGES_DYNAMIC += "gtk3-immodule-* gtk3-printbackend-*" |
76 | 76 | ||
77 | python populate_packages_prepend () { | 77 | python populate_packages_prepend () { |
78 | import os.path | 78 | import os.path |
79 | 79 | ||
80 | prologue = bb.data.getVar("postinst_prologue", d, 1) | 80 | prologue = bb.data.getVar("postinst_prologue", d, 1) |
81 | 81 | ||
82 | gtk_libdir = bb.data.expand('${libdir}/gtk-3.0/${LIBV}', d) | 82 | gtk_libdir = bb.data.expand('${libdir}/gtk-3.0/${LIBV}', d) |
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 (bb.data.getVar('DEBIAN_NAMES', d, 1)): |
90 | bb.data.setVar('PKG_${PN}', 'libgtk-3.0', d) | 90 | bb.data.setVar('PKG_${PN}', 'libgtk-3.0', d) |
91 | } | 91 | } |
92 | 92 | ||
93 | postinst_prologue() { | 93 | postinst_prologue() { |
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 9988c4120..c55a8acf6 100644 --- a/meta-gnome/recipes-support/goffice/goffice_0.8.17.bb +++ b/meta-gnome/recipes-support/goffice/goffice_0.8.17.bb | |||
@@ -39,8 +39,8 @@ FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} | |||
39 | PACKAGES_DYNAMIC = "goffice-plugin-*" | 39 | PACKAGES_DYNAMIC = "goffice-plugin-*" |
40 | 40 | ||
41 | python populate_packages_prepend () { | 41 | python populate_packages_prepend () { |
42 | goffice_libdir = bb.data.expand('${libdir}/goffice/${PV}/plugins/', d) | 42 | goffice_libdir = bb.data.expand('${libdir}/goffice/${PV}/plugins/', d) |
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 | } |
46 | 46 | ||