Skip to contentSkip to conversation

package: fix fonts & co alpha sort

PATCH New Gustavo Zacarias 2 participants 4 messages Apr 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package: fix fonts & co alpha sort

Fonts & co go before Games.

---
 package/Config.in | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
package/Config.in +12 -12
index 9486ec2..f791f5b 100644
@@ -176,18 +176,6 @@ menu "Filesystem and flash utilities"
 	source "package/xfsprogs/Config.in"
 endmenu
 
-menu "Games"
-	source "package/doom-wad/Config.in"
-	source "package/gnuchess/Config.in"
-	source "package/lbreakout2/Config.in"
-	source "package/ltris/Config.in"
-	source "package/opentyrian/Config.in"
-	source "package/opentyrian-data/Config.in"
-	source "package/prboom/Config.in"
-	source "package/rubix/Config.in"
-	source "package/sl/Config.in"
-endmenu
-
 menu "Fonts, icons, sounds and themes"
 
 comment "Fonts"
@@ -208,6 +196,18 @@ comment "Themes"
 
 endmenu
 
+menu "Games"
+	source "package/doom-wad/Config.in"
+	source "package/gnuchess/Config.in"
+	source "package/lbreakout2/Config.in"
+	source "package/ltris/Config.in"
+	source "package/opentyrian/Config.in"
+	source "package/opentyrian-data/Config.in"
+	source "package/prboom/Config.in"
+	source "package/rubix/Config.in"
+	source "package/sl/Config.in"
+endmenu
+
 menu "Graphic libraries and applications (graphic/text)"
 
 comment "Graphic applications"
Signature · 1 line
2.0.5
#1 lore raw

PATCH 2/3 bitstream-vera: new package

---
 package/Config.in                          |  1 +
 package/bitstream-vera/Config.in           |  6 ++++++
 package/bitstream-vera/bitstream-vera.hash |  2 ++
 package/bitstream-vera/bitstream-vera.mk   | 19 +++++++++++++++++++
 4 files changed, 28 insertions(+)
 create mode 100644 package/bitstream-vera/Config.in
 create mode 100644 package/bitstream-vera/bitstream-vera.hash
 create mode 100644 package/bitstream-vera/bitstream-vera.mk
package/Config.in +1 -0
index f791f5b..5147ceb 100644
@@ -179,6 +179,7 @@ endmenu
 menu "Fonts, icons, sounds and themes"
 
 comment "Fonts"
+	source "package/bitstream-vera/Config.in"
 	source "package/dejavu/Config.in"
 	source "package/ghostscript-fonts/Config.in"
 	source "package/liberation/Config.in"
package/bitstream-vera/Config.in new file +6 -0
new file mode 100644
index 0000000..034f115
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_BITSTREAM_VERA
+	bool "Bitstream Vera"
+	help
+	  Bitstream Vera font family.
+
+	  https://www.gnome.org/fonts/
package/bitstream-vera/bitstream-vera.hash new file +2 -0
new file mode 100644
index 0000000..e18b38b
@@ -0,0 +1,2 @@
+# From http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2.sha256sum
+sha256	db5b27df7bbb318036ebdb75acd3e98f1bd6eb6608fb70a67d478cd243d178dc	ttf-bitstream-vera-1.10.tar.bz2
package/bitstream-vera/bitstream-vera.mk new file +19 -0
new file mode 100644
index 0000000..f487d63
@@ -0,0 +1,19 @@
+################################################################################
+#
+# bitstream-vera
+#
+################################################################################
+
+BITSTREAM_VERA_VERSION = 1.10
+BITSTREAM_VERA_SITE = http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$(BITSTREAM_VERA_VERSION)
+BITSTREAM_VERA_SOURCE = ttf-bitstream-vera-$(BITSTREAM_VERA_VERSION).tar.bz2
+BITSTREAM_VERA_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/ttf-bitstream-vera
+BITSTREAM_VERA_LICENSE = BitstreamVera
+BITSTREAM_VERA_LICENSE_FILES = COPYRIGHT.TXT
+
+define BITSTREAM_VERA_INSTALL_TARGET_CMDS
+	mkdir -p $(BITSTREAM_VERA_TARGET_DIR)
+	$(INSTALL) -m 644 $(@D)/*.ttf $(BITSTREAM_VERA_TARGET_DIR)
+endef
+
+$(eval $(generic-package))
Signature · 1 line
2.0.5
#2 lore raw

PATCH 3/3 inconsolata: new package

In reply to Gustavo Zacarias
---
 package/Config.in                    |  1 +
 package/inconsolata/Config.in        |  7 +++++++
 package/inconsolata/inconsolata.hash |  2 ++
 package/inconsolata/inconsolata.mk   | 19 +++++++++++++++++++
 4 files changed, 29 insertions(+)
 create mode 100644 package/inconsolata/Config.in
 create mode 100644 package/inconsolata/inconsolata.hash
 create mode 100644 package/inconsolata/inconsolata.mk
package/Config.in +1 -0
index 5147ceb..4be75dd 100644
@@ -182,6 +182,7 @@ comment "Fonts"
 	source "package/bitstream-vera/Config.in"
 	source "package/dejavu/Config.in"
 	source "package/ghostscript-fonts/Config.in"
+	source "package/inconsolata/Config.in"
 	source "package/liberation/Config.in"
 
 comment "Icons"
package/inconsolata/Config.in new file +7 -0
new file mode 100644
index 0000000..de6b388
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_INCONSOLATA
+	bool "inconsolata"
+	help
+	  Inconsolata is a monospace font, designed for code listings
+	  and the like.
+
+	  http://www.google.com/fonts/specimen/Inconsolata
package/inconsolata/inconsolata.hash new file +2 -0
new file mode 100644
index 0000000..49ea958
@@ -0,0 +1,2 @@
+# From http://snapshot.debian.org/archive/debian/20091207T044352Z/pool/main/t/ttf-inconsolata/ttf-inconsolata_001.010-2.dsc
+sha256	ecf8ba44911fcb3c9683aef1ca2b3cfbafa119a3e93c682f448850e1ae08ce93	ttf-inconsolata_001.010.orig.tar.gz
package/inconsolata/inconsolata.mk new file +19 -0
new file mode 100644
index 0000000..2f53b98
@@ -0,0 +1,19 @@
+################################################################################
+#
+# inconsolata
+#
+################################################################################
+
+INCONSOLATA_VERSION = 001.010
+INCONSOLATA_SITE = http://snapshot.debian.org/archive/debian/20090524T155154Z/pool/main/t/ttf-inconsolata
+INCONSOLATA_SOURCE = ttf-inconsolata_$(INCONSOLATA_VERSION).orig.tar.gz
+INCONSOLATA_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/inconsolata
+INCONSOLATA_LICENSE = OFLv1.0
+INCONSOLATA_LICENSE_FILES = OFL.txt
+
+define INCONSOLATA_INSTALL_TARGET_CMDS
+	mkdir -p $(INCONSOLATA_TARGET_DIR)
+	$(INSTALL) -m 644 $(@D)/*.otf $(INCONSOLATA_TARGET_DIR)
+endef
+
+$(eval $(generic-package))
Signature · 1 line
2.0.5
#3 lore raw

PATCH 1/3 package: fix fonts & co alpha sort

In reply to Gustavo Zacarias

Dear Gustavo Zacarias,

Quoted 6 lines · Gustavo Zacarias

Fonts & co go before Games.

---
 package/Config.in | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

All three patches applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com