Skip to contentSkip to conversation

add ttf-fonts packages

PATCH New Hongxu Jia 1 participant 5 messages Aug 9, 2016

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

v2 cover add ttf-fonts packages

Changed in V2:

- Add missing changes in layer.conf.

- Don't use TABS in meta-oe layers.

//Hongxu

The following changes since commit da81d9ef8d052c1884abd8dc0d5354f2e9a23cc4:

proftpd: return stderr to syslog (2016-08-05 09:34:51 -0400)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib hongxu/fonts
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=hongxu/fonts

Hongxu Jia (4):
ttf-abyssinica: add version 1.500 to support Amharic language
fontforge-native: support python module
ttf-lohit: add version 2 to support Indian languages
ttf-lklug: add version 0.6-14.20090803cvs.fc24 to support Sinhala
language

 meta-oe/conf/layer.conf                            |  3 +++
 .../fontforge/fontforge_20150824.bb                |  2 +-
 .../ttf-fonts/ttf-abyssinica_1.500.bb              | 17 +++++++++++++++
 .../ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb | 24 ++++++++++++++++++++++
 meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb  | 23 +++++++++++++++++++++
 5 files changed, 68 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb
Signature · 1 line
2.8.1
author
#1 lore raw

PATCH v2 1/4 ttf-abyssinica: add version 1.500 to support Amharic language

Add Ethiopia and Eritrea font, which requried by Amharic language.

---
 meta-oe/conf/layer.conf                                 |  1 +
 .../recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb  | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb
meta-oe/conf/layer.conf +1 -0
index c5e74c2..71ee2fb 100644
@@ -50,6 +50,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
 # ttf.inc inherits fontcache which adds fontconfig-utils to RDEPENDS
 SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   terminus-font->fontconfig \
+  ttf-abyssinica->fontconfig \
   ttf-arphic-uming->fontconfig \
   ttf-dejavu->fontconfig \
   ttf-droid->fontconfig \
meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb new file +17 -0
new file mode 100644
index 0000000..d0c3ae5
@@ -0,0 +1,17 @@
+require ttf.inc
+
+SUMMARY = "Ethiopia and Eritrea (Amharic) font - TTF Edition"
+HOMEPAGE = "http://software.sil.org/abyssinica/"
+LICENSE = "OFL-1.1"
+LIC_FILES_CHKSUM = "file://OFL.txt;md5=1694c7fc245cdc85c9971db707928159"
+
+SRCNAME = "AbyssinicaSIL"
+SRC_URI = "http://software.sil.org/downloads/abyssinica/${SRCNAME}-${PV}.zip"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+SRC_URI[md5sum] = "a3d943d18e303197c8d3d92d2de54d1e"
+SRC_URI[sha256sum] = "e48a77d5ab8ee0b06464a5b29be70f292aa25dc1e73eb39ec933bd7fa47bbd86"
+
+FONT_PACKAGES = "${PN}"
+FILES_${PN} = "${datadir}"
+
Signature · 1 line
2.8.1
author
#2 lore raw

PATCH v2 2/4 fontforge-native: support python module

In reply to Hongxu Jia
Quoted 1 line
Quoted 1 line
Quoted 1 line

import fontforge

The python module is required by lohit.

---
 meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb +1 -1
index 6f876aa..544149d 100644
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git"
 SRCREV = "07d5ccff2704f8a56f1b3cc6695a4e31f85f88e6"
 S = "${WORKDIR}/git"
 
-EXTRA_OECONF_append_class-native = " with_x=no --disable-python-extension --disable-python-scripting"
+EXTRA_OECONF_append_class-native = " with_x=no"
 
 do_configure_prepend() {
     # uthash sources are expected in uthash/src
Signature · 1 line
2.8.1
author
#3 lore raw

PATCH v2 3/4 ttf-lohit: add version 2 to support Indian languages

In reply to Hongxu Jia

The font family supports 21 Indian languages: Assamese, Bengali, Devanagari (Hindi, Kashmiri, Konkani, Maithili, Marathi, Nepali, Sindhi, Santali, Bodo, Dogri), Gujarati, Kannada, Malayalam, Manipuri, Oriya, Punjabi, Tamil, and Telugu.

---
 meta-oe/conf/layer.conf                           |  1 +
 meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb
meta-oe/conf/layer.conf +1 -0
index 71ee2fb..edcafdf 100644
@@ -59,6 +59,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   ttf-inconsolata->fontconfig \
   ttf-liberation->fontconfig \
   ttf-liberation-sans-narrow->fontconfig \
+  ttf-lohit->fontconfig \
   ttf-pt-sans->fontconfig \
   ttf-mplus->fontconfig \
   ttf-sazanami->fontconfig \
meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb new file +23 -0
new file mode 100644
index 0000000..f9679d6
@@ -0,0 +1,23 @@
+require ttf.inc
+
+SUMMARY = "The project goal is to improve existing offerings of the fonts \
+- making sure the Lohit fonts deliver the best available quality and functions \
+to the community."
+HOMEPAGE = "https://fedorahosted.org/lohit"
+LICENSE = "OFL-1.1"
+LIC_FILES_CHKSUM = "file://OFL.txt;md5=7dfa0a236dc535ad2d2548e6170c4402"
+
+SRCREV = "d678f1b1807ea5602586279e90b5db6d62ed475e"
+SRC_URI = "git://github.com/pravins/lohit.git;branch=master"
+
+DEPENDS = "fontforge-native"
+S = "${WORKDIR}/git"
+FONT_PACKAGES = "${PN}"
+FILES_${PN} = "${datadir}"
+
+inherit pythonnative
+
+do_compile() {
+    cd ${S}; make ttf;
+}
+
Signature · 1 line
2.8.1
author
#4 lore raw

PATCH v2 4/4 ttf-lklug: add version 0.6-14.20090803cvs.fc24 to support Sinhala language

In reply to Hongxu Jia
---
 meta-oe/conf/layer.conf                            |  1 +
 .../ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb | 24 ++++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb
meta-oe/conf/layer.conf +1 -0
index edcafdf..eba8ccd 100644
@@ -59,6 +59,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   ttf-inconsolata->fontconfig \
   ttf-liberation->fontconfig \
   ttf-liberation-sans-narrow->fontconfig \
+  ttf-lklug->fontconfig \
   ttf-lohit->fontconfig \
   ttf-pt-sans->fontconfig \
   ttf-mplus->fontconfig \
meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb new file +24 -0
new file mode 100644
index 0000000..fd235bd
@@ -0,0 +1,24 @@
+require ttf.inc
+
+SUMMARY = "Fonts for Sinhala language - TTF Edition"
+HOMEPAGE = "http://rpms.famillecollet.com/rpmphp/zoom.php?rpm=lklug-fonts"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SRC_URI = "http://dl.fedoraproject.org/pub/fedora/linux/development/25/Everything/source/tree/Packages/l/lklug-fonts-0.6-14.20090803cvs.fc24.src.rpm;extract=lklug-20090803.tar.gz"
+SRC_URI[md5sum] = "3341dfb997043d234ab3f6e5a965e759"
+SRC_URI[sha256sum] = "f54c1f3b4df08995982657fed290b562556191fee2a0386afd9e8bf228f72b1a"
+
+DEPENDS = "fontforge-native"
+
+S = "${WORKDIR}"
+FONT_PACKAGES = "${PN}"
+FILES_${PN} = "${datadir}"
+
+do_compile() {
+    fontforge ${S}/convert.ff lklug
+}
+
+do_install() {
+    make install DESTDIR=${D}
+}
Signature · 1 line
2.8.1