From patchwork Wed Feb 26 09:09:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1244811 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=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=A3fmAuAN; 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 48S92f4Sdzz9sR4 for ; Wed, 26 Feb 2020 20:08:42 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DF8FF878BB; Wed, 26 Feb 2020 09:08:40 +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 lZiTbCOFZsPA; Wed, 26 Feb 2020 09:08:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C5A2E878CD; Wed, 26 Feb 2020 09:08:36 +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 8941C1BF4DA for ; Wed, 26 Feb 2020 09:08:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7FD0B878D7 for ; Wed, 26 Feb 2020 09:08:35 +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 0cKqiy04uTHk for ; Wed, 26 Feb 2020 09:08:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by hemlock.osuosl.org (Postfix) with ESMTPS id A368487874 for ; Wed, 26 Feb 2020 09:08:30 +0000 (UTC) Received: by mail-wr1-f53.google.com with SMTP id c13so1194995wrq.10 for ; Wed, 26 Feb 2020 01:08:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+0vKFgy3hOiH1Z/mf+Ktw3QQ62HvrbVcoAagXiTUq0I=; b=A3fmAuANk7uL83vqFskgjS5ukvsvXgnqbOMj0Jbm+HEWdK8hvVUdMcPq9ULszRoJ/N WR5o6uLvXwntrcZ3qUNmzxGZL/OGuvf3L/ssMrokyruhgyGlbTm9GhPX7VM8CCm4oABe SvoiET5QS/UIEOdG/v5HsWEXOM2PSlNXqPZQlzSbxqSwkPoXZMrBwGe8EaCJ0xZpixv2 8HgPY+NvjHUR6Fb5acKCZxCO8EEiFDn8XFEmI2TIsdEyiuXiACny4JisQ6wvZWfSAwEz WfE55L/fpEbsZkfpqo6/+L7DqZGM4s9IBoPOE+9TSLOL1Bc9r1dqbf5cHmw1Z7Tf9scD 3bvw== 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:mime-version :content-transfer-encoding; bh=+0vKFgy3hOiH1Z/mf+Ktw3QQ62HvrbVcoAagXiTUq0I=; b=Jm7f//ZvVThpwYa+rADxkhvzJcBebbjVsST/6yjiuDDZdj8pr40xX0NO2XIKJUO2Gs ED/FoyXmlv76aE4bZkgLWPQmOgNOKuUS4ECXQ3k2Wp9aWicETCih0dsTplm1yCOgTaXt ssDVOe5uDHumOA8L3u4hEgipqU8NFdO75kbIZviT64K54Nd3WPDPJsaCD/3r4azKxJMK eDQHc3lU84WPydDftgVlln63QgQnHquQJmHsBnotmSqAyTmppAE/fi4YyZFISkkIysUm BicmzUfR8nmSnhlD5irH0CurNErqN1V2OVHm2zS3mjZD6m0fvyQu80NSRAfjA0XLvCK8 pTRQ== X-Gm-Message-State: APjAAAU8txncg4WRkj1Vsmef3sQxEGlV8JCSAbPXt9q+N8Sowu/BB11c NdMKVQtDY0NgnD27shvd3l+KOsH6 X-Google-Smtp-Source: APXvYqzMPfsRtc/+YsdSIw7Y1uivnxZ0FUD9SXBpsqBFhuz13Gn9hVQwMsETmzwGc31vbyjZ9WNIyg== X-Received: by 2002:adf:ee86:: with SMTP id b6mr4145605wro.282.1582708108712; Wed, 26 Feb 2020 01:08:28 -0800 (PST) Received: from kali.home (lfbn-ren-1-502-62.w2-10.abo.wanadoo.fr. [2.10.9.62]) by smtp.gmail.com with ESMTPSA id c9sm2413206wrq.44.2020.02.26.01.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 01:08:27 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Wed, 26 Feb 2020 10:09:39 +0100 Message-Id: <20200226090939.1810498-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH/next v3, 1/1] package/font-awesome: make it compatible with fontconfig 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: Benjamin Calderon , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This commit installs font-awesome in the standard fonts directory making it available systemwide. Thanks to baruch for his technical critique. Signed-off-by: Benjamin Calderon Signed-off-by: Fabrice Fontaine --- Changes v2 -> v3 (after review of Baruch Siach): - Create a symlink to avoid duplication Changes v1 -> v2 (after review of Arnout Vandecappelle): - Keep only install of otf file and don't remove install of other files package/font-awesome/font-awesome.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/font-awesome/font-awesome.mk b/package/font-awesome/font-awesome.mk index 666346be0e..5211ac22a5 100644 --- a/package/font-awesome/font-awesome.mk +++ b/package/font-awesome/font-awesome.mk @@ -13,6 +13,8 @@ define FONT_AWESOME_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/usr/share/font-awesome/ $(foreach d,$(FONT_AWESOME_DIRECTORIES_LIST),\ cp -dpfr $(@D)/$(d) $(TARGET_DIR)/usr/share/font-awesome$(sep)) + mkdir -p $(TARGET_DIR)/usr/share/fonts/ + ln -sf ../font-awesome $(TARGET_DIR)/usr/share/fonts/font-awesome endef $(eval $(generic-package))