diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-11 17:33:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-19 10:24:50 +0100 |
commit | bfd279de3275abbfaf3e630383ec244131e0375f (patch) | |
tree | 0d1c90461a890d21444f5d2afb13c52b302427f1 /meta/recipes-gnome | |
parent | 99203edda6f0b09d817454d656c100b7a8806b18 (diff) | |
download | poky-bfd279de3275abbfaf3e630383ec244131e0375f.tar.gz |
Convert tab indentation in python functions into four-space
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r-- | meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb | 6 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+_2.12.7.bb | 24 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+_2.16.6.bb | 24 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+_2.24.8.bb | 18 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb | 12 |
5 files changed, 42 insertions, 42 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb index a7efa5b2b8..8e13115821 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb | |||
@@ -68,11 +68,11 @@ PACKAGES_DYNAMIC += "gdk-pixbuf-loader-*" | |||
68 | PACKAGES_DYNAMIC_virtclass-native = "" | 68 | PACKAGES_DYNAMIC_virtclass-native = "" |
69 | 69 | ||
70 | python populate_packages_prepend () { | 70 | python populate_packages_prepend () { |
71 | postinst_pixbufloader = d.getVar("postinst_pixbufloader", True) | 71 | postinst_pixbufloader = d.getVar("postinst_pixbufloader", True) |
72 | 72 | ||
73 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') | 73 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') |
74 | 74 | ||
75 | do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader) | 75 | do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader) |
76 | } | 76 | } |
77 | 77 | ||
78 | do_install_append_virtclass-native() { | 78 | do_install_append_virtclass-native() { |
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb b/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb index 66be75aee0..f90b3fcd64 100644 --- a/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb +++ b/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb | |||
@@ -32,20 +32,20 @@ LIBV = "2.10.0" | |||
32 | PACKAGES_DYNAMIC += "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*" | 32 | PACKAGES_DYNAMIC += "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*" |
33 | 33 | ||
34 | python populate_packages_prepend () { | 34 | python populate_packages_prepend () { |
35 | import os.path | 35 | import os.path |
36 | 36 | ||
37 | prologue = d.getVar("postinst_prologue", True) | 37 | prologue = d.getVar("postinst_prologue", True) |
38 | postinst_pixbufloader = d.getVar("postinst_pixbufloader", True) | 38 | postinst_pixbufloader = d.getVar("postinst_pixbufloader", True) |
39 | 39 | ||
40 | gtk_libdir = d.expand('${libdir}/gtk-2.0/${LIBV}') | 40 | gtk_libdir = d.expand('${libdir}/gtk-2.0/${LIBV}') |
41 | loaders_root = os.path.join(gtk_libdir, 'loaders') | 41 | loaders_root = os.path.join(gtk_libdir, 'loaders') |
42 | immodules_root = os.path.join(gtk_libdir, 'immodules') | 42 | immodules_root = os.path.join(gtk_libdir, 'immodules') |
43 | printmodules_root = os.path.join(gtk_libdir, 'printbackends'); | 43 | printmodules_root = os.path.join(gtk_libdir, 'printbackends'); |
44 | 44 | ||
45 | do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader) | 45 | do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader) |
46 | do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules') | 46 | do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules') |
47 | do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s') | 47 | do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s') |
48 | 48 | ||
49 | if (d.getVar('DEBIAN_NAMES', True)): | 49 | if (d.getVar('DEBIAN_NAMES', True)): |
50 | d.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0') | 50 | d.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0') |
51 | } | 51 | } |
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb b/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb index aee18c5880..e2d6ef1edd 100644 --- a/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb +++ b/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb | |||
@@ -32,20 +32,20 @@ LIBV = "2.10.0" | |||
32 | PACKAGES_DYNAMIC += "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*" | 32 | PACKAGES_DYNAMIC += "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*" |
33 | 33 | ||
34 | python populate_packages_prepend () { | 34 | python populate_packages_prepend () { |
35 | import os.path | 35 | import os.path |
36 | 36 | ||
37 | prologue = d.getVar("postinst_prologue", True) | 37 | prologue = d.getVar("postinst_prologue", True) |
38 | postinst_pixbufloader = d.getVar("postinst_pixbufloader", True) | 38 | postinst_pixbufloader = d.getVar("postinst_pixbufloader", True) |
39 | 39 | ||
40 | gtk_libdir = d.expand('${libdir}/gtk-2.0/${LIBV}') | 40 | gtk_libdir = d.expand('${libdir}/gtk-2.0/${LIBV}') |
41 | loaders_root = os.path.join(gtk_libdir, 'loaders') | 41 | loaders_root = os.path.join(gtk_libdir, 'loaders') |
42 | immodules_root = os.path.join(gtk_libdir, 'immodules') | 42 | immodules_root = os.path.join(gtk_libdir, 'immodules') |
43 | printmodules_root = os.path.join(gtk_libdir, 'printbackends'); | 43 | printmodules_root = os.path.join(gtk_libdir, 'printbackends'); |
44 | 44 | ||
45 | do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader) | 45 | do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader) |
46 | do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules') | 46 | do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules') |
47 | do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s') | 47 | do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s') |
48 | 48 | ||
49 | if (d.getVar('DEBIAN_NAMES', True)): | 49 | if (d.getVar('DEBIAN_NAMES', True)): |
50 | d.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0') | 50 | d.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0') |
51 | } | 51 | } |
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.24.8.bb b/meta/recipes-gnome/gtk+/gtk+_2.24.8.bb index 2cc3a03576..e49e6e7e17 100644 --- a/meta/recipes-gnome/gtk+/gtk+_2.24.8.bb +++ b/meta/recipes-gnome/gtk+/gtk+_2.24.8.bb | |||
@@ -39,17 +39,17 @@ LIBV = "2.10.0" | |||
39 | PACKAGES_DYNAMIC += "gtk-immodule-* gtk-printbackend-*" | 39 | PACKAGES_DYNAMIC += "gtk-immodule-* gtk-printbackend-*" |
40 | 40 | ||
41 | python populate_packages_prepend () { | 41 | python populate_packages_prepend () { |
42 | import os.path | 42 | import os.path |
43 | 43 | ||
44 | prologue = d.getVar("postinst_prologue", True) | 44 | prologue = d.getVar("postinst_prologue", True) |
45 | 45 | ||
46 | gtk_libdir = d.expand('${libdir}/gtk-2.0/${LIBV}') | 46 | gtk_libdir = d.expand('${libdir}/gtk-2.0/${LIBV}') |
47 | immodules_root = os.path.join(gtk_libdir, 'immodules') | 47 | immodules_root = os.path.join(gtk_libdir, 'immodules') |
48 | printmodules_root = os.path.join(gtk_libdir, 'printbackends'); | 48 | printmodules_root = os.path.join(gtk_libdir, 'printbackends'); |
49 | 49 | ||
50 | do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules') | 50 | do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules') |
51 | do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s') | 51 | do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s') |
52 | 52 | ||
53 | if (d.getVar('DEBIAN_NAMES', True)): | 53 | if (d.getVar('DEBIAN_NAMES', True)): |
54 | d.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0') | 54 | d.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0') |
55 | } | 55 | } |
diff --git a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb index 5b8ee88bdf..3baa46e540 100644 --- a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb +++ b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb | |||
@@ -29,14 +29,14 @@ CFLAGS_prepend = "-DHAVE_ANIMATION " | |||
29 | inherit gnome | 29 | inherit gnome |
30 | 30 | ||
31 | python populate_packages_prepend() { | 31 | python populate_packages_prepend() { |
32 | import os.path | 32 | import os.path |
33 | 33 | ||
34 | engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines") | 34 | engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines") |
35 | themes_root = os.path.join(d.getVar('datadir', True), "themes") | 35 | themes_root = os.path.join(d.getVar('datadir', True), "themes") |
36 | 36 | ||
37 | do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='') | 37 | do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='') |
38 | do_split_packages(d, themes_root, '(.*)', 'gtk-theme-%s', 'GTK theme %s', allow_dirs=True, extra_depends='') | 38 | do_split_packages(d, themes_root, '(.*)', 'gtk-theme-%s', 'GTK theme %s', allow_dirs=True, extra_depends='') |
39 | # TODO: mark theme packages as arch all | 39 | # TODO: mark theme packages as arch all |
40 | } | 40 | } |
41 | 41 | ||
42 | SRC_URI += "file://glib-2.32.patch" | 42 | SRC_URI += "file://glib-2.32.patch" |