Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] googlefontdirectory: new package
Date: Wed, 10 Oct 2012 23:17:17 +0200	[thread overview]
Message-ID: <87r4p658o2.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1343053494-21248-1-git-send-email-spdawson@gmail.com> (spdawson@gmail.com's message of "Mon, 23 Jul 2012 15:24:54 +0100")

>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

Hi,

Sorry for the slow response - See below for comments.

 spdawson> +++ b/package/googlefontdirectory/Config.in
 spdawson> @@ -0,0 +1,13 @@
 spdawson> +config BR2_PACKAGE_GOOGLEFONTDIRECTORY
 spdawson> +	bool "Google Web Fonts"

It's a bit odd to see such a difference in Kconfig symbol name and help
text - But OK, they mix it up on the website as well.


 spdawson> +	help
 spdawson> +	  Download Google Web Fonts

Please drop 'Download'. All packages download.

 spdawson> +++ b/package/googlefontdirectory/googlefontdirectory.mk
 spdawson> @@ -0,0 +1,36 @@
 spdawson> +#############################################################
 spdawson> +#
 spdawson> +# googlefontdirectory
 spdawson> +#
 spdawson> +#############################################################
 spdawson> +GOOGLEFONTDIRECTORY_VERSION = 1.0
 spdawson> +GOOGLEFONTDIRECTORY_SITE = \
 spdawson> +	https://s3.amazonaws.com/joemaller_google_webfonts

Is that the official location? I don't seem to see anything referring to
a 1.0 release on the google code page.

Please add a license tag as well.


 spdawson> +GOOGLEFONTDIRECTORY_SOURCE = googlewebfonts.tgz
 spdawson> +
 spdawson> +GOOGLEFONTDIRECTORY_FONTS = \
 spdawson> +	$(call qstrip,$(BR2_PACKAGE_GOOGLEFONTDIRECTORY_FONTS))
 spdawson> +
 spdawson> +define GOOGLEFONTDIRECTORY_INSTALL_SINGLE_FONT
 spdawson> +	$(info Installing single font $(1))
 spdawson> +	$(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/$(1)
 spdawson> +	cp -a $(@D)/$(1)/*.ttf	$(TARGET_DIR)/usr/share/fonts/$(1)
 spdawson> +	chmod 0644 $(TARGET_DIR)/usr/share/fonts/$(1)/*.ttf
 spdawson> +endef

A simple loop for all fonts seems simpler / more standard than this
single-font macro.


-- 
Bye, Peter Korsgaard

  reply	other threads:[~2012-10-10 21:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23 14:24 [Buildroot] [PATCH] googlefontdirectory: new package spdawson at gmail.com
2012-10-10 21:17 ` Peter Korsgaard [this message]
2012-10-11  7:06   ` Simon Dawson

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=87r4p658o2.fsf@macbook.be.48ers.dk \
    --to=jacmet@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