diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-13 22:49:41 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-15 16:23:17 +0200 |
commit | a45830a39bb47a9eab27980d52966226c9504ea4 (patch) | |
tree | 001209d9740e8668b2eeeac4212b3561aecebf29 /meta-oe/recipes-support/pidgin | |
parent | 6f48cf899aed0622f8fb26ffa144656a1143c9c5 (diff) | |
download | meta-openembedded-a45830a39bb47a9eab27980d52966226c9504ea4.tar.gz |
recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
tabs is the need to update a lot of recipes). Lately this advice
was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
error prone when someone is not sure if e.g.
do_generate_toolchain_file() is Python or shell task and also allows
to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
potentially bad (shouldn't be used for indenting of multiline
variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
we're quite inconsistent wheater it's first character on line
under opening quote or under first non-whitespace character in
previous line.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-support/pidgin')
-rw-r--r-- | meta-oe/recipes-support/pidgin/pidgin.inc | 28 | ||||
-rw-r--r-- | meta-oe/recipes-support/pidgin/pidgin_2.7.9.bb | 20 |
2 files changed, 24 insertions, 24 deletions
diff --git a/meta-oe/recipes-support/pidgin/pidgin.inc b/meta-oe/recipes-support/pidgin/pidgin.inc index 340e7f2b0..bdeefa9be 100644 --- a/meta-oe/recipes-support/pidgin/pidgin.inc +++ b/meta-oe/recipes-support/pidgin/pidgin.inc | |||
@@ -8,21 +8,21 @@ INC_PR = "r3" | |||
8 | inherit autotools gettext pkgconfig gconf perlnative | 8 | inherit autotools gettext pkgconfig gconf perlnative |
9 | 9 | ||
10 | EXTRA_OECONF = " \ | 10 | EXTRA_OECONF = " \ |
11 | --enable-vv \ | 11 | --enable-vv \ |
12 | --disable-perl \ | 12 | --disable-perl \ |
13 | --disable-tcl \ | 13 | --disable-tcl \ |
14 | --disable-gevolution \ | 14 | --disable-gevolution \ |
15 | --disable-schemas-install \ | 15 | --disable-schemas-install \ |
16 | --x-includes=${STAGING_INCDIR} \ | 16 | --x-includes=${STAGING_INCDIR} \ |
17 | --x-libraries=${STAGING_LIBDIR} \ | 17 | --x-libraries=${STAGING_LIBDIR} \ |
18 | --enable-gnutls=yes \ | 18 | --enable-gnutls=yes \ |
19 | --with-ncurses-headers=${STAGING_INCDIR} \ | 19 | --with-ncurses-headers=${STAGING_INCDIR} \ |
20 | --with-gnutls-includes=${STAGING_INCDIR} \ | 20 | --with-gnutls-includes=${STAGING_INCDIR} \ |
21 | --with-gnutls-libs=${STAGING_LIBDIR} \ | 21 | --with-gnutls-libs=${STAGING_LIBDIR} \ |
22 | " | 22 | " |
23 | 23 | ||
24 | do_configure_prepend() { | 24 | do_configure_prepend() { |
25 | touch ${S}/po/Makefile | 25 | touch ${S}/po/Makefile |
26 | } | 26 | } |
27 | 27 | ||
28 | OE_LT_RPATH_ALLOW=":${libdir}/purple-2:" | 28 | OE_LT_RPATH_ALLOW=":${libdir}/purple-2:" |
@@ -50,7 +50,7 @@ FILES_finch-dbg = "${bindir}/.debug/finch \ | |||
50 | ${libdir}/finch/.debug" | 50 | ${libdir}/finch/.debug" |
51 | 51 | ||
52 | FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \ | 52 | FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \ |
53 | ${datadir}/applications" | 53 | ${datadir}/applications" |
54 | RRECOMMENDS_${PN} = "${PN}-data libpurple-plugin-ssl-gnutls libpurple-protocol-irc libpurple-protocol-xmpp" | 54 | RRECOMMENDS_${PN} = "${PN}-data libpurple-plugin-ssl-gnutls libpurple-protocol-irc libpurple-protocol-xmpp" |
55 | 55 | ||
56 | FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons" | 56 | FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons" |
diff --git a/meta-oe/recipes-support/pidgin/pidgin_2.7.9.bb b/meta-oe/recipes-support/pidgin/pidgin_2.7.9.bb index d229c1501..3ce3cc39a 100644 --- a/meta-oe/recipes-support/pidgin/pidgin_2.7.9.bb +++ b/meta-oe/recipes-support/pidgin/pidgin_2.7.9.bb | |||
@@ -4,20 +4,20 @@ PR = "${INC_PR}.3" | |||
4 | DEPENDS += "farsight2 libidn" | 4 | DEPENDS += "farsight2 libidn" |
5 | 5 | ||
6 | SRC_URI = "\ | 6 | SRC_URI = "\ |
7 | ${SOURCEFORGE_MIRROR}/pidgin/pidgin-${PV}.tar.bz2 \ | 7 | ${SOURCEFORGE_MIRROR}/pidgin/pidgin-${PV}.tar.bz2 \ |
8 | file://sanitize-configure.ac.patch \ | 8 | file://sanitize-configure.ac.patch \ |
9 | file://pidgin.desktop-set-icon.patch \ | 9 | file://pidgin.desktop-set-icon.patch \ |
10 | file://purple-OE-branding-25.patch \ | 10 | file://purple-OE-branding-25.patch \ |
11 | file://pidgin-cross-python-265.patch \ | 11 | file://pidgin-cross-python-265.patch \ |
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI[md5sum] = "9bc6cf953ed7d383b215fa8487bf8829" | 14 | SRC_URI[md5sum] = "9bc6cf953ed7d383b215fa8487bf8829" |
15 | SRC_URI[sha256sum] = "9722d7f199a6704e29900c80f270d9409d5c28caab77f495b68108d81ba3e19e" | 15 | SRC_URI[sha256sum] = "9722d7f199a6704e29900c80f270d9409d5c28caab77f495b68108d81ba3e19e" |
16 | 16 | ||
17 | EXTRA_OECONF += "\ | 17 | EXTRA_OECONF += "\ |
18 | --disable-gtkspell \ | 18 | --disable-gtkspell \ |
19 | --disable-meanwhile \ | 19 | --disable-meanwhile \ |
20 | --disable-nm \ | 20 | --disable-nm \ |
21 | --disable-screensaver \ | 21 | --disable-screensaver \ |
22 | --enable-nss=no \ | 22 | --enable-nss=no \ |
23 | " | 23 | " |