From: laird at uclibc.org <laird@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package: liberation
Date: Mon, 20 Oct 2008 00:30:03 -0700 (PDT) [thread overview]
Message-ID: <20081020073004.0DBFB3C7ED@busybox.net> (raw)
Author: laird
Date: 2008-10-20 00:30:03 -0700 (Mon, 20 Oct 2008)
New Revision: 23730
Log:
package/liberation: Add liberation fonts package
Add the liberation fonts package as this can be used
by GTK etc and means you have some useful (free) fonts.
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
Added:
trunk/buildroot/package/liberation/
trunk/buildroot/package/liberation/Config.in
trunk/buildroot/package/liberation/liberation.mk
Modified:
trunk/buildroot/package/Config.in
Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================
--- trunk/buildroot/package/Config.in 2008-10-19 21:49:02 UTC (rev 23729)
+++ trunk/buildroot/package/Config.in 2008-10-20 07:30:03 UTC (rev 23730)
@@ -370,6 +370,7 @@
source "package/cairo/Config.in"
source "package/pango/Config.in"
source "package/libdrm/Config.in"
+source "package/liberation/Config.in"
source "package/libglib12/Config.in"
source "package/libglib2/Config.in"
source "package/libgtk12/Config.in"
Added: trunk/buildroot/package/liberation/Config.in
===================================================================
--- trunk/buildroot/package/liberation/Config.in (rev 0)
+++ trunk/buildroot/package/liberation/Config.in 2008-10-20 07:30:03 UTC (rev 23730)
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBERATION
+ bool "Liberation (Free fonts)"
+ help
+ The Liberation Fonts are intended to be replacements for the
+ three most commonly used fonts on Microsoft systems:
+ Times New Roman, Arial, and Courier New.
+
Added: trunk/buildroot/package/liberation/liberation.mk
===================================================================
--- trunk/buildroot/package/liberation/liberation.mk (rev 0)
+++ trunk/buildroot/package/liberation/liberation.mk 2008-10-20 07:30:03 UTC (rev 23730)
@@ -0,0 +1,47 @@
+#############################################################
+#
+# liberation
+#
+#############################################################
+LIBERATION_VERSION = 1.04
+LIBERATION_SITE = http://www.fedorahosted.org/releases/l/i/liberation-fonts
+LIBERATION_SOURCE = liberation-fonts-$(LIBERATION_VERSION).tar.gz
+LIBERATION_DIR = $(BUILD_DIR)/liberation-fonts-$(LIBERATION_VERSION)
+LIBERATION_CAT:=$(ZCAT)
+
+$(DL_DIR)/$(LIBERATION_SOURCE):
+ $(WGET) -P $(DL_DIR) $(LIBERATION_SITE)/$(LIBERATION_SOURCE)
+
+liberation-source: $(DL_DIR)/$(LIBERATION_SOURCE)
+
+$(LIBERATION_DIR)/.unpacked: $(DL_DIR)/$(LIBERATION_SOURCE)
+ $(LIBERATION_CAT) $(DL_DIR)/$(LIBERATION_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ touch $(LIBERATION_DIR)/.unpacked
+
+$(STAGING_DIR)/usr/share/fonts/LiberationMono-Bold.ttf: $(LIBERATION_DIR)/.unpacked
+ -mkdir -p $(STAGING_DIR)/usr/share/fonts/liberation
+ $(INSTALL) -m0644 $(LIBERATION_DIR)/*.ttf $(STAGING_DIR)/usr/share/fonts/liberation/
+ touch -c $(STAGING_DIR)/usr/share/fonts/.ttf
+
+$(TARGET_DIR)/usr/share/fonts/LiberationMono-Bold.ttf: $(STAGING_DIR)/usr/share/fonts/.ttf
+ -mkdir -p $(TARGET_DIR)/usr/share/fonts/liberation
+ $(INSTALL) -m0644 $(LIBERATION_DIR)/*.ttf $(TARGET_DIR)/usr/share/fonts/liberation/
+ touch -c $(TARGET_DIR)/usr/share/fonts/.ttf
+
+liberation: uclibc $(TARGET_DIR)/usr/share/fonts/LiberationMono-Bold.ttf
+
+liberation-clean:
+ rm -rf $(TARGET_DIR)/usr/share/fonts/liberation/
+ rm -rf $(STAGING_DIR)/usr/share/fonts/liberation/
+
+liberation-dirclean:
+ rm -rf $(LIBERATION_DIR)
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LIBERATION)),y)
+TARGETS+=liberation
+endif
reply other threads:[~2008-10-20 7:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081020073004.0DBFB3C7ED@busybox.net \
--to=laird@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox