font-awesome:new package
PATCH v2 1/1 font-awesome:new package
Font Awesome is a full suite of 605 pictographic icons for easy scalable vector graphics on websites.
Changes v1->v2:
-Simplified the loop for fetching the target directories(suggested by Thomas). -updated license information in .mk file.
-added the package in the Fonts submenu (suggested by Thomas). -Removed the FONT_AWESOME_LICENSE_FILES variable.
--- package/Config.in | 1 + package/font-awesome/Config.in | 7 +++++++ package/font-awesome/font-awesome.hash | 2 ++ package/font-awesome/font-awesome.mk | 18 ++++++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/font-awesome/Config.in create mode 100644 package/font-awesome/font-awesome.hash create mode 100644 package/font-awesome/font-awesome.mk
package/Config.in +1 -0
@@ -199,6 +199,7 @@ comment "Fonts" source "package/bitstream-vera/Config.in" source "package/cantarell/Config.in" source "package/dejavu/Config.in" + source "package/font-awesome/Config.in" source "package/ghostscript-fonts/Config.in" source "package/inconsolata/Config.in" source "package/liberation/Config.in"
package/font-awesome/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_FONT_AWESOME + bool "font-awesome" + help + Font Awesome is a full suite of 605 pictographic icons for easy + scalable vector graphics on websites. + + https://github.com/FortAwesome/Font-Awesome
package/font-awesome/font-awesome.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally Computed +sha256 7813f416057da622b16229b10fef550e1dc64c5bb59871cd38fa86e76dfdbae8 font-awesome-v4.5.0.tar.gz
package/font-awesome/font-awesome.mk new file +18 -0
@@ -0,0 +1,18 @@ +################################################################################ +# +# font-awesome +# +################################################################################ + +FONT_AWESOME_VERSION = v4.5.0 +FONT_AWESOME_SITE = $(call github,FortAwesome,Font-Awesome,$(FONT_AWESOME_VERSION)) +FONT_AWESOME_LICENSE = OFLv1.1(font), MIT(CSS, LESS and Sass files) +FONT_AWESOME_DIRECTORIES_LIST = css fonts less scss + +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)) +endef + +$(eval $(generic-package))
Signature · 1 line
2.5.0
PATCH v2 1/1 font-awesome:new package
Dear Atul Singh,
I've applied your patch to our next branch, but after doing some minor changes. See below.
Quoted 8 lines · Atul Singh
Font Awesome is a full suite of 605 pictographic icons for easy scalable vector graphics on websites.
Changes
v1->v2:
-Simplified the loop for fetching the target directories(suggested by Thomas). -updated license information in .mk file.
-added the package in the Fonts submenu (suggested by Thomas). -Removed theFONT_AWESOME_LICENSE_FILESvariable.
The changelog should not be part of the commit log per-se, as we don't want to keep it forever in the Git history. Instead it should be written...
Quoted 3 lines
Signed-off-by Atul Singh <[email protected]>---
...here.
Quoted 27 lines
package/Config.in | 1 + package/font-awesome/Config.in | 7 +++++++ package/font-awesome/font-awesome.hash | 2 ++ package/font-awesome/font-awesome.mk | 18 ++++++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/font-awesome/Config.in create mode 100644 package/font-awesome/font-awesome.hash create mode 100644 package/font-awesome/font-awesome.mkpackage/Config.in +1
-0@@ -199,6 +199,7 @@ comment "Fonts" source "package/bitstream-vera/Config.in" source "package/cantarell/Config.in" source "package/dejavu/Config.in" + source "package/font-awesome/Config.in" source "package/ghostscript-fonts/Config.in" source "package/inconsolata/Config.in" source "package/liberation/Config.in"package/font-awesome/Config.in new file +0
-0
package/font-awesome/Config.in line 4
Quoted 4 lines
package/font-awesome/Config.in new file +4
-0@@ -0,0 +1,7 @@ +config BR2_PACKAGE_FONT_AWESOME + bool "font-awesome" + help + Font Awesome is a full suite of 605 pictographic icons for easy
This line was slightly too long, so I rewrapped.
package/font-awesome/font-awesome.hash line 1
Quoted 10 lines
package/font-awesome/Config.in new file +3
-0+ scalable vector graphics on websites. + + https://github.com/FortAwesome/Font-Awesomepackage/font-awesome/font-awesome.hash new file +1
-0@@ -0,0 +1,2 @@ +# Locally Computed
Computed -> computed
Quoted 7 lines
package/font-awesome/font-awesome.hash new file +1
-0+sha256 7813f416057da622b16229b10fef550e1dc64c5bb59871cd38fa86e76dfdbae8 font-awesome-v4.5.0.tar.gzpackage/font-awesome/font-awesome.mk new file +0
-0
package/font-awesome/font-awesome.mk line 9
Quoted 9 lines
package/font-awesome/font-awesome.mk new file +9
-0@@ -0,0 +1,18 @@ +################################################################################ +# +# font-awesome +# +################################################################################ + +FONT_AWESOME_VERSION = v4.5.0 +FONT_AWESOME_SITE = $(call github,FortAwesome,Font-Awesome,$(FONT_AWESOME_VERSION)) +FONT_AWESOME_LICENSE = OFLv1.1(font), MIT(CSS, LESS and Sass files)
There should have been a space before the opening parenthesis.
As I said, I've fixed up those small nits and applied. Thanks a lot for your contribution!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com