From patchwork Fri Jun 19 14:57:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1313012 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.133; helo=hemlock.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=rjBNEjcV; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49pMNx6rslz9sWp for ; Sat, 20 Jun 2020 00:57:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0A9D3899AA; Fri, 19 Jun 2020 14:57:49 +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 cTz7cnuKtcx4; Fri, 19 Jun 2020 14:57:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 47697899A5; Fri, 19 Jun 2020 14:57:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id DAFC31BF860 for ; Fri, 19 Jun 2020 14:57:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D53542040E for ; Fri, 19 Jun 2020 14:57:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id drBxpZOJ9n56 for ; Fri, 19 Jun 2020 14:57:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by silver.osuosl.org (Postfix) with ESMTPS id 572C3203F2 for ; Fri, 19 Jun 2020 14:57:26 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id q2so7552775wrv.8 for ; Fri, 19 Jun 2020 07:57:26 -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=52GL9B580wP/k7k9ygqDhbgvVNKNalJNgylls+upUu4=; b=rjBNEjcV/RceB+0bVBOQbmhO1QDNJkbz0JK11yfaZ+O2k9PZWSfsVE1Y87FnfgjYss xbzpm6QgOSLb7uGZVecBx6Ugc2RDnNhC5bIArsoqikXX6CHvPPeYgQ4HYEct/zUsn9Ug uJtaV3IooyWFByL2kIBOu+YqWg00juMiapNOA= 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=52GL9B580wP/k7k9ygqDhbgvVNKNalJNgylls+upUu4=; b=iUKjAmO+KYBkw/VZnxaKbdWHqLwbl8bsljslEgcMwA+Dxaew0VPs/7GNsAoA+8fYr2 NzCdFi50umbPuxweFx7i/HcICT7zzcXtD5jdY/qRtvO0LiG9c9MNJ9aLW6l6dy+R3xsD 8j6Vtc2LrAh0CtZKCdLdTeQPUFObO+xGdyssY2yU1ivUZKxfRAtPoDIu9/932CVk5OeN NOffVPbtzaBDvF3UsuSTDArOKnk/oL5AsuxYZ57OwsyzL4jucgRvIKX46CUjmLmI2J4h ZmI0okP3AIcR9xMmR8yyCOkHYZggJU1HurCuR64MWP6ZfXIRQZHqzd+KMPNN7IOR19zv oXKg== X-Gm-Message-State: AOAM530DlhnEFIlkoN7jOAKkGs8qbYYpAHIPjb7sFGaimq/m179BC2Te XMFnaNw0pCt7tNYCtzEOi6AnOz6qaXyzoA== X-Google-Smtp-Source: ABdhPJyFsxYKdoSyOXSmfXkBDrj1lf88XFqTLGXuEBwWsgpK/S+1AgPPoaDy1a5OmjpclvlcSAHSwA== X-Received: by 2002:a5d:4a8a:: with SMTP id o10mr4460526wrq.222.1592578644263; Fri, 19 Jun 2020 07:57:24 -0700 (PDT) Received: from localhost.localdomain (host194055151123.static.fidoka.tech. [194.55.151.123]) by smtp.gmail.com with ESMTPSA id a16sm7302165wrx.8.2020.06.19.07.57.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 07:57:23 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Fri, 19 Jun 2020 16:57:13 +0200 Message-Id: <20200619145719.2352019-2-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200619145719.2352019-1-angelo@amarulasolutions.com> References: <20200619145719.2352019-1-angelo@amarulasolutions.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/7] 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 font 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 \