From 1995c3a85e93372ab9c7a6fac817e9674bbe09fa Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 1 Aug 2012 00:13:14 +0100 Subject: Fix whitespace issues Ensure we use only four spaces in all python functions; this avoids warnings and errors triggered by the recent cleanup in OE-Core. Signed-off-by: Paul Eggleton --- recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb | 4 ++-- recipes-qtopia/qpf-fonts/qpf.inc | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'recipes-qtopia') diff --git a/recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb b/recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb index a820d9e..fe66408 100644 --- a/recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb +++ b/recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb @@ -45,8 +45,8 @@ PACKAGES_DYNAMIC = "libgaim-protocol-*" #FIXME: use do_packages to create individual packages for each of the plugins python populate_packages_prepend () { - plugindir = bb.data.expand('${libdir}/gaim', d) - do_split_packages(d, plugindir, '^lib(.*)\.so$', 'libgaim-protocol-%s', 'GAIM plugin for %s protocol', extra_depends='' ) + plugindir = bb.data.expand('${libdir}/gaim', d) + do_split_packages(d, plugindir, '^lib(.*)\.so$', 'libgaim-protocol-%s', 'GAIM plugin for %s protocol', extra_depends='' ) } PACKAGES += "libgaim-plugins" diff --git a/recipes-qtopia/qpf-fonts/qpf.inc b/recipes-qtopia/qpf-fonts/qpf.inc index 7fcb5a0..cec191d 100644 --- a/recipes-qtopia/qpf-fonts/qpf.inc +++ b/recipes-qtopia/qpf-fonts/qpf.inc @@ -19,16 +19,16 @@ pkg_postrm_fonts() { } python populate_packages_prepend() { - postinst = bb.data.getVar('pkg_postinst_fonts', d, 1) - postrm = bb.data.getVar('pkg_postrm_fonts', d, 1) - fontdir = bb.data.getVar('palmtopdir', d, 1) + '/lib/fonts' - pkgregex = "^([a-z-]*_[0-9]*).*.qpf$" - pkgpattern = bb.data.getVar('QPF_PKGPATTERN', d, 1) or 'qpf-%s' - pkgdescription = bb.data.getVar('QPF_DESCRIPTION', d, 1) or 'QPF font %s' - - do_split_packages(d, root=fontdir, file_regex=pkgregex, output_pattern=pkgpattern, - description=pkgdescription, postinst=postinst, postrm=postrm, recursive=True, hook=None, - extra_depends='qpf-font-common') + postinst = bb.data.getVar('pkg_postinst_fonts', d, 1) + postrm = bb.data.getVar('pkg_postrm_fonts', d, 1) + fontdir = bb.data.getVar('palmtopdir', d, 1) + '/lib/fonts' + pkgregex = "^([a-z-]*_[0-9]*).*.qpf$" + pkgpattern = bb.data.getVar('QPF_PKGPATTERN', d, 1) or 'qpf-%s' + pkgdescription = bb.data.getVar('QPF_DESCRIPTION', d, 1) or 'QPF font %s' + + do_split_packages(d, root=fontdir, file_regex=pkgregex, output_pattern=pkgpattern, + description=pkgdescription, postinst=postinst, postrm=postrm, recursive=True, hook=None, + extra_depends='qpf-font-common') } PACKAGE_ARCH = "all" -- cgit 1.2.3-korg