From 7d245e1580e74ba3410f2c93de2f0c92a78f2824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 24 Nov 2017 16:42:30 +0100 Subject: [PATCH] fluxbox: ensure i18n is build properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- conf/layer.conf | 3 +++ recipes-support/fluxbox/fluxbox_1.3.7.bb | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/conf/layer.conf b/conf/layer.conf index 237ce9b1..f4a5ca03 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -13,3 +13,6 @@ BBFILE_PRIORITY_meta-qt5-extra = "20" LAYERDEPENDS_meta-qt5-extra = "core qt5-layer openembedded-layer networking-layer multimedia-layer" LICENSE_PATH += "${LAYERDIR}/files/licenses" + +# required for fluxbox - supplied by e.g fedora glibc-common +HOSTTOOLS_NONFATAL += "gencat" diff --git a/recipes-support/fluxbox/fluxbox_1.3.7.bb b/recipes-support/fluxbox/fluxbox_1.3.7.bb index a32bb417..22e3a07e 100644 --- a/recipes-support/fluxbox/fluxbox_1.3.7.bb +++ b/recipes-support/fluxbox/fluxbox_1.3.7.bb @@ -24,6 +24,10 @@ SRC_URI = " \ SRC_URI[md5sum] = "d99d7710f9daf793e0246dae5304b595" SRC_URI[sha256sum] = "c99e2baa06fff1e96342b20415059d12ff1fa2917ade0173c75b2fa570295b9f" +# in case of migration to other layer, build properly for missing +# HOSTTOOLS_NONFATAL += "gencat" in layer.conf +EXTRA_OECONF += "${@bb.utils.contains('HOSTTOOLS_NONFATAL', 'gencat', '--enable-nls', '--disable-nls', d)}" + do_install_append() { install -d ${D}/${datadir}/xsessions install -m 0644 -p ${WORKDIR}/fluxbox.desktop ${D}/${datadir}/xsessions