From patchwork Wed Jun 17 17:28:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1311360 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=V13NC+oI; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49nBrG5NHXz9sRR for ; Thu, 18 Jun 2020 03:29:02 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2CCC28837C; Wed, 17 Jun 2020 17:29:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 37oQfis+JRch; Wed, 17 Jun 2020 17:28:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6848D8822C; Wed, 17 Jun 2020 17:28:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id AB8801BF278 for ; Wed, 17 Jun 2020 17:28:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A77B8891EA for ; Wed, 17 Jun 2020 17:28:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qaehaoAjQPA4 for ; Wed, 17 Jun 2020 17:28:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id 738E0891DB for ; Wed, 17 Jun 2020 17:28:55 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id l11so3246224wru.0 for ; Wed, 17 Jun 2020 10:28:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Z03NmGBP4XghAGM/yR3RpAH4T/iVXTgTfCfIwxbnfXk=; b=V13NC+oIayAx1Ke9YQFG+D8+ovwcX627NYHV+fUGtblw4twWc1VS4UhQWku1uVzcGV TeqJkQM8HVKws9N8kerH61mIQztQEPpqRB1VJYP2T5bFAk2F92EamxxczHRvMZvy/FKF jOSClDfFFTFTbx5oPuZFOu2f0DvHIsWJKG7Xg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Z03NmGBP4XghAGM/yR3RpAH4T/iVXTgTfCfIwxbnfXk=; b=Xs7K78KrwkOIxe3R7iSTOZw2YjHSAf1OM2QEl5KUJblzC47gSNFrQYBUNJye76iHNA TUT+7jTyA+tMItXvk7oV6BxyWkP2BwraKcxj+1UPZXY7+1K6ay/CnZmV6OgMKHh2FWv2 WZRVmbDdxo4t0V0MTTSUt3MrQIb7TlQlRPJqNnyQT+KboiByHAS+zsJtiMg6RQFu61c9 wtDncozvyN38sOizvNqQrpM6q2DPklXIR7V2fTc6GFv7N/Xe+pKU+IdKeocIuxkUod+N K3tBbPFAeFxtVkzklUw9dTN0dM3sJaAZMNXPc/TB+p9Bw3pfy3ef6bvKicS0Yxj76IEb +3xQ== X-Gm-Message-State: AOAM531zAIjmOZxHUdeehJr4YL1kH3+ZjI4oaI/k8RnzzTekJY+vYOQU +vRYhp/P1U9DYdIkX4yuVMSDyzc9IJjKnQ== X-Google-Smtp-Source: ABdhPJwzXLbUQHSURLTvM97TdcVr5T4djLSyJ6I2q+kIcQjfZRy9W9yy8Kkcj9RuODhcZFg9gzn3Jg== X-Received: by 2002:adf:f611:: with SMTP id t17mr308887wrp.69.1592414933979; Wed, 17 Jun 2020 10:28:53 -0700 (PDT) Received: from localhost.localdomain (host194055151123.static.fidoka.tech. [194.55.151.123]) by smtp.gmail.com with ESMTPSA id n189sm406305wmb.43.2020.06.17.10.28.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 10:28:52 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Wed, 17 Jun 2020 19:28:43 +0200 Message-Id: <20200617172848.2601-2-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200617172848.2601-1-angelo@amarulasolutions.com> References: <20200617172848.2601-1-angelo@amarulasolutions.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/6] package/dejavu: Install dejavu fonts in staging dir X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Trimarchi , Angelo Compagnucci Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Michael Trimarchi The dejavu fonts is used by cups-filters and needs to be installed in staging directory. Signed-off-by: Michael Trimarchi Signed-off-by: Angelo Compagnucci --- package/dejavu/dejavu.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/dejavu/dejavu.mk b/package/dejavu/dejavu.mk index 9b57f0992e..be3d91f179 100644 --- a/package/dejavu/dejavu.mk +++ b/package/dejavu/dejavu.mk @@ -11,6 +11,7 @@ DEJAVU_LICENSE_FILES = LICENSE DEJAVU_FONTS_INSTALL = DEJAVU_FONTCONFIG_CONF_INSTALL = +DEJAVU_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_DEJAVU_MONO),y) DEJAVU_FONTS_INSTALL += DejaVuSansMono*.ttf @@ -50,6 +51,14 @@ define DEJAVU_FONTCONFIG_CONF_INSTALL_CMDS endef endif +define DEJAVU_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/share/fonts/dejavu/ + for i in $(DEJAVU_FONTS_INSTALL) ; do \ + $(INSTALL) -m 0644 $(@D)/ttf/$$i \ + $(STAGING_DIR)/usr/share/fonts/dejavu/ || exit 1 ; \ + done +endef + define DEJAVU_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/usr/share/fonts/dejavu/ for i in $(DEJAVU_FONTS_INSTALL) ; do \