[oe-commits] Ross Burton : fontconfig: drop explicit -native recipe

git at git.openembedded.org git at git.openembedded.org
Tue Feb 12 13:11:07 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: d5ccc6cbbbdc7502d35ddcbbc2bfc2d4657cbe78
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d5ccc6cbbbdc7502d35ddcbbc2bfc2d4657cbe78

Author: Ross Burton <ross.burton at intel.com>
Date:   Mon Feb 11 16:03:10 2013 +0000

fontconfig: drop explicit -native recipe

Instead, use BBCLASSEXTEND=native in fontconfig.

We can drop the installation of fc-lang/fc-glyphname, they are not used by
fontconfig's build anymore as it ships the generated files in the tarball.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../fontconfig/fontconfig-native_2.10.2.bb         |   14 --------------
 .../fontconfig/fontconfig_2.10.2.bb                |    2 ++
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/meta/recipes-graphics/fontconfig/fontconfig-native_2.10.2.bb b/meta/recipes-graphics/fontconfig/fontconfig-native_2.10.2.bb
deleted file mode 100644
index cee94de..0000000
--- a/meta/recipes-graphics/fontconfig/fontconfig-native_2.10.2.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require fontconfig_${PV}.bb
-inherit native
-DEPENDS = "freetype-native expat-native zlib-native"
-
-EXTRA_OEMAKE = ""
-EXTRA_OECONF = "${@[' --disable-docs',' --disable-docs --with-freetype-config=%s/freetype-config' % d.getVar('STAGING_BINDIR', True)][os.path.isfile('%s/freetype-config' % d.getVar('STAGING_BINDIR', True))]}"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}-${PV}:"
-
-do_install_append () {
-	install -d ${D}${bindir}/
-	install fc-lang/fc-lang ${D}${bindir}/
-	install fc-glyphname/fc-glyphname ${D}${bindir}/
-}
diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.10.2.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.10.2.bb
index 6f2456d..45631ed 100644
--- a/meta/recipes-graphics/fontconfig/fontconfig_2.10.2.bb
+++ b/meta/recipes-graphics/fontconfig/fontconfig_2.10.2.bb
@@ -42,3 +42,5 @@ DEBIAN_NOAUTONAME_fontconfig-utils = "1"
 inherit autotools pkgconfig
 
 EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts"
+
+BBCLASSEXTEND = "native"





More information about the Openembedded-commits mailing list