summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-font
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-17 23:03:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-04 13:46:26 +0100
commit9bf0d8898b028f2b3379dc43fe647eb38c022f53 (patch)
tree2b2d3ab2f12a8366e75b0e2fcba081226df03b58 /meta/recipes-graphics/xorg-font
parentbcc8425b92dc9adc793473a9733559d377480811 (diff)
downloadpoky-9bf0d8898b028f2b3379dc43fe647eb38c022f53.tar.gz
Improve handling of 'all' architecture recipes and their interaction with sstate
* Jansa: rebased on current master, added nocompiler patch also to font-alias, dropped allarch from linux-firmware, gnome-icon-theme, hal-info as those are checking compiler (ie in intltool check) and better to build them as default arch instead of rebuilding after every machine change. * this is also part of [BUGID# 1075] (From OE-Core rev: 85d8362e0c443f11fe8d3fd0fba55d1bd4983613) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-font')
-rw-r--r--meta/recipes-graphics/xorg-font/encodings/nocompiler.patch31
-rw-r--r--meta/recipes-graphics/xorg-font/encodings_1.0.4.bb8
-rw-r--r--meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb5
3 files changed, 39 insertions, 5 deletions
diff --git a/meta/recipes-graphics/xorg-font/encodings/nocompiler.patch b/meta/recipes-graphics/xorg-font/encodings/nocompiler.patch
new file mode 100644
index 0000000000..1cddd102f5
--- /dev/null
+++ b/meta/recipes-graphics/xorg-font/encodings/nocompiler.patch
@@ -0,0 +1,31 @@
1XORG_DEFAULT_OPTIONS pulls in the following dependency chains:
2
3XORG_CWARNFLAGS -> AC_PROG_CC_C99
4XORG_STRICT_OPTION -> AC_PROG_CC_C99, XORG_CWARNFLAGS
5XORG_MANPAGE_SECTIONS -> AC_CANONICAL_HOST -> Checks host
6
7each of which triggers the use of the host compiler. As an "all"
8architecture package, it shouldn't need a compiler (and doesn't).
9
10RP 17/5/2011
11
12Index: encodings-1.0.4/configure.ac
13===================================================================
14--- encodings-1.0.4.orig/configure.ac 2011-05-17 23:36:19.505095876 +0100
15+++ encodings-1.0.4/configure.ac 2011-05-17 23:54:14.935096128 +0100
16@@ -4,12 +4,12 @@
17 AM_INIT_AUTOMAKE([foreign dist-bzip2])
18 AM_MAINTAINER_MODE
19
20-# Require xorg-macros: XORG_DEFAULT_OPTIONS
21 m4_ifndef([XORG_MACROS_VERSION],
22 [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
23 XORG_MACROS_VERSION(1.3)
24-XORG_DEFAULT_OPTIONS
25-
26+XORG_RELEASE_VERSION
27+XORG_CHANGELOG
28+XORG_INSTALL
29 AC_PROG_INSTALL
30
31 # Require X.Org's font util macros 1.2 or later
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 1345134432..cf7b3e3609 100644
--- a/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb
+++ b/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb
@@ -7,13 +7,15 @@ require xorg-font-common.inc
7LICENSE = "PD" 7LICENSE = "PD"
8LIC_FILES_CHKSUM = "file://COPYING;md5=9da93f2daf2d5572faa2bfaf0dbd9e76" 8LIC_FILES_CHKSUM = "file://COPYING;md5=9da93f2daf2d5572faa2bfaf0dbd9e76"
9PE = "1" 9PE = "1"
10PR = "${INC_PR}.0" 10PR = "${INC_PR}.1"
11 11
12DEPENDS = "mkfontscale-native font-util-native" 12DEPENDS = "mkfontscale-native font-util-native"
13 13
14EXTRA_OECONF += "--with-encodingsdir=${datadir}/fonts/X11/encodings" 14SRC_URI += "file://nocompiler.patch"
15
16inherit allarch
15 17
16PACKAGE_ARCH = "all" 18EXTRA_OECONF += "--with-encodingsdir=${datadir}/fonts/X11/encodings"
17 19
18SRC_URI[md5sum] = "0f2d6546d514c5cc4ecf78a60657a5c1" 20SRC_URI[md5sum] = "0f2d6546d514c5cc4ecf78a60657a5c1"
19SRC_URI[sha256sum] = "ced6312988a45d23812c2ac708b4595f63fd7a49c4dcd9f66bdcd50d1057d539" 21SRC_URI[sha256sum] = "ced6312988a45d23812c2ac708b4595f63fd7a49c4dcd9f66bdcd50d1057d539"
diff --git a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
index f1e8648e08..b1a65e7b85 100644
--- a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
+++ b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
@@ -13,10 +13,11 @@ LIC_FILES_CHKSUM = "file://../misc/fonts.alias;md5=bbe8d3c0e4e74af96e3ac393985c4
13SRC_URI = "file://misc" 13SRC_URI = "file://misc"
14 14
15PE = "1" 15PE = "1"
16PR = "r0" 16PR = "r1"
17
18inherit allarch
17 19
18PACKAGES = "${PN}" 20PACKAGES = "${PN}"
19PACKAGE_ARCH = "all"
20FILES_${PN} = "${libdir}/X11/ ${datadir}/fonts/X11/" 21FILES_${PN} = "${libdir}/X11/ ${datadir}/fonts/X11/"
21 22
22do_install() { 23do_install() {