diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-04 13:59:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-04 14:03:58 +0100 |
commit | c5c9c53c4e736d491d0baf01c94a76099acd4f6f (patch) | |
tree | 3e0e335efc92ec2bc0a7435d417f80f2df2ccc80 /meta/recipes-graphics | |
parent | 810259e6e0a41db8178d824fd35e5b567d39e3fe (diff) | |
download | poky-c5c9c53c4e736d491d0baf01c94a76099acd4f6f.tar.gz |
font-util: The recipe produces binaries so don't mark as 'all' architecture
Since font-util produces binaries it shouldn't be marked as "all"
package architecture. To achieve this we need to move the settings
out the common include file.
This fixes errors like:
ERROR: runstrip: ''mips-poky-linux-strip' --remove-section=.comment --remove-section=.note '/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/all-poky-linux/font-util-1.2.0-r2.1/package/usr/bin/bdftruncate'' strip command failed
ERROR: runstrip: ''mips-poky-linux-strip' --remove-section=.comment --remove-section=.note '/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/all-poky-linux/font-util-1.2.0-r2.1/package/usr/bin/ucs2any'' strip command failed
(From OE-Core rev: 7aefddc57e9da02298af1aa98abedbe99435e15a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/xorg-font/encodings_1.0.4.bb | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-font/xorg-font-common.inc | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb b/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb index 04d7c73956..1345134432 100644 --- a/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb +++ b/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb | |||
@@ -13,5 +13,7 @@ DEPENDS = "mkfontscale-native font-util-native" | |||
13 | 13 | ||
14 | EXTRA_OECONF += "--with-encodingsdir=${datadir}/fonts/X11/encodings" | 14 | EXTRA_OECONF += "--with-encodingsdir=${datadir}/fonts/X11/encodings" |
15 | 15 | ||
16 | PACKAGE_ARCH = "all" | ||
17 | |||
16 | SRC_URI[md5sum] = "0f2d6546d514c5cc4ecf78a60657a5c1" | 18 | SRC_URI[md5sum] = "0f2d6546d514c5cc4ecf78a60657a5c1" |
17 | SRC_URI[sha256sum] = "ced6312988a45d23812c2ac708b4595f63fd7a49c4dcd9f66bdcd50d1057d539" | 19 | SRC_URI[sha256sum] = "ced6312988a45d23812c2ac708b4595f63fd7a49c4dcd9f66bdcd50d1057d539" |
diff --git a/meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb b/meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb index cec890d015..1b639614cb 100644 --- a/meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb +++ b/meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb | |||
@@ -16,5 +16,7 @@ RDEPENDS_${PN}_virtclass-native = "font-util-native" | |||
16 | PE = "1" | 16 | PE = "1" |
17 | PR = "${INC_PR}.1" | 17 | PR = "${INC_PR}.1" |
18 | 18 | ||
19 | PACKAGE_ARCH = "all" | ||
20 | |||
19 | SRC_URI[md5sum] = "6d25f64796fef34b53b439c2e9efa562" | 21 | SRC_URI[md5sum] = "6d25f64796fef34b53b439c2e9efa562" |
20 | SRC_URI[sha256sum] = "8b453b2aae1cfa8090009ca037037b8c5e333550651d5a158b7264ce1d472c9a" | 22 | SRC_URI[sha256sum] = "8b453b2aae1cfa8090009ca037037b8c5e333550651d5a158b7264ce1d472c9a" |
diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc index 5d19b4c704..d93b4ee42a 100644 --- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc +++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc | |||
@@ -30,8 +30,6 @@ do_install_append() { | |||
30 | find ${D}${datadir}/fonts/X11 -type f -name fonts.scale | xargs rm -f | 30 | find ${D}${datadir}/fonts/X11 -type f -name fonts.scale | xargs rm -f |
31 | } | 31 | } |
32 | 32 | ||
33 | PACKAGE_ARCH = "all" | ||
34 | |||
35 | FILES_${PN} += " ${libdir}/X11/fonts ${datadir}" | 33 | FILES_${PN} += " ${libdir}/X11/fonts ${datadir}" |
36 | 34 | ||
37 | pkg_postinst_${PN} () { | 35 | pkg_postinst_${PN} () { |