diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-03-15 22:42:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-17 14:01:41 +0000 |
commit | bb18b49f84b8fc7aa8959fd9d4bbd80e4388f11b (patch) | |
tree | 0707c2adf124bbc51654453418ffc2a70e1388cc /meta/recipes-devtools/intltool | |
parent | d3ffa39e2edcf68583fa85c191f59a54c4722abd (diff) | |
download | poky-bb18b49f84b8fc7aa8959fd9d4bbd80e4388f11b.tar.gz |
intltool: Define DATADIRNAME=share for uclibc based systems
This otherwise makes localedir to point to prefix/lib
which is wrong location for locale splitting and we end
with unpackaged locale files e.g. systemd throws this
WARNING: QA Issue: systemd: Files/directories were installed but not
shipped
/usr/lib/locale
/usr/lib/locale/fr
/usr/lib/locale/pl
/usr/lib/locale/ru
/usr/lib/locale/it
/usr/lib/locale/fr/LC_MESSAGES
/usr/lib/locale/fr/LC_MESSAGES/systemd.mo
/usr/lib/locale/pl/LC_MESSAGES
/usr/lib/locale/pl/LC_MESSAGES/systemd.mo
/usr/lib/locale/ru/LC_MESSAGES
/usr/lib/locale/ru/LC_MESSAGES/systemd.mo
/usr/lib/locale/it/LC_MESSAGES
/usr/lib/locale/it/LC_MESSAGES/systemd.mo
(From OE-Core rev: 511121dc1867279f2483ddf236e4c64c90bc8acb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/intltool')
-rw-r--r-- | meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch | 19 | ||||
-rw-r--r-- | meta/recipes-devtools/intltool/intltool_0.50.2.bb | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch b/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch new file mode 100644 index 0000000000..145c181f17 --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | on uclibc systems localedir should point to /usr/'share' as usual. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | |||
6 | Index: intltool-0.50.2/intltool.m4 | ||
7 | =================================================================== | ||
8 | --- intltool-0.50.2.orig/intltool.m4 2014-03-15 22:09:01.016627665 -0700 | ||
9 | +++ intltool-0.50.2/intltool.m4 2014-03-15 22:12:09.732631206 -0700 | ||
10 | @@ -173,6 +173,9 @@ | ||
11 | AC_CHECK_FUNC(bind_textdomain_codeset, | ||
12 | [DATADIRNAME=share], [DATADIRNAME=lib]) | ||
13 | ;; | ||
14 | + *-*-*uclibc*) | ||
15 | + [DATADIRNAME=share] | ||
16 | + ;; | ||
17 | *) | ||
18 | [DATADIRNAME=lib] | ||
19 | ;; | ||
diff --git a/meta/recipes-devtools/intltool/intltool_0.50.2.bb b/meta/recipes-devtools/intltool/intltool_0.50.2.bb index dffce2150b..483239d472 100644 --- a/meta/recipes-devtools/intltool/intltool_0.50.2.bb +++ b/meta/recipes-devtools/intltool/intltool_0.50.2.bb | |||
@@ -3,6 +3,7 @@ LICENSE = "GPLv2" | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
4 | 4 | ||
5 | SRC_URI += "file://intltool-nowarn.patch \ | 5 | SRC_URI += "file://intltool-nowarn.patch \ |
6 | file://uclibc.patch \ | ||
6 | ${NATIVEPATCHES} \ | 7 | ${NATIVEPATCHES} \ |
7 | " | 8 | " |
8 | 9 | ||