All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add 2 ttf fonts
@ 2016-07-18  2:28 kai.kang
  2016-07-18  2:28 ` [PATCH 1/2] liberation-sans-narrow: add a ttf font kai.kang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: kai.kang @ 2016-07-18  2:28 UTC (permalink / raw)
  To: openembedded-devel

From: Kai Kang <kai.kang@windriver.com>


Kai Kang (2):
  liberation-sans-narrow: add a ttf font
  ttf-vlgothic: add a ttf font

 .../30-0-liberation-sans-narrow.conf               | 18 ++++++++++++
 .../ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb | 32 ++++++++++++++++++++++
 .../ttf-fonts/ttf-vlgothic_20141206.bb             | 28 +++++++++++++++++++
 3 files changed, 78 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb

-- 
2.6.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] liberation-sans-narrow: add a ttf font
  2016-07-18  2:28 [PATCH 0/2] Add 2 ttf fonts kai.kang
@ 2016-07-18  2:28 ` kai.kang
  2016-07-18  2:28 ` [PATCH 2/2] ttf-vlgothic: " kai.kang
  2016-07-23  8:48 ` [PATCH 0/2] Add 2 ttf fonts Martin Jansa
  2 siblings, 0 replies; 5+ messages in thread
From: kai.kang @ 2016-07-18  2:28 UTC (permalink / raw)
  To: openembedded-devel

From: Kai Kang <kai.kang@windriver.com>

Add an extra ttf font liberation-sans-narrow for X.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 .../30-0-liberation-sans-narrow.conf               | 18 ++++++++++++
 .../ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb | 32 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf
new file mode 100644
index 0000000..a4f4da7
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+         <!-- Microsoft -->
+        <alias binding="same">
+          <family>Arial Narrow</family>
+            <accept>
+              <family>Liberation Sans Narrow</family>
+            </accept>
+        </alias>
+        <alias binding="same">
+          <family>Liberation Sans Narrow</family>
+            <default>
+              <family>Arial Narrow</family>
+            </default>
+        </alias>
+</fontconfig>
+
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb
new file mode 100644
index 0000000..f36cf4b
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb
@@ -0,0 +1,32 @@
+require ttf.inc
+
+SUMMARY = "Liberation(tm) Fonts"
+DESCRIPTION = "The Liberation(tm) Fonts is a font family originally \
+created by Ascender(c) which aims at metric compatibility with \
+Arial, Times New Roman, Courier New."
+
+HOMEPAGE = "https://fedorahosted.org/liberation-fonts/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-${PV}.tar.gz \
+           file://30-0-liberation-sans-narrow.conf \
+"
+
+SRC_URI[md5sum] = "134d8262145fc793c6af494dcace3e71"
+SRC_URI[sha256sum] = "61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c"
+
+S = "${WORKDIR}/liberation-fonts-ttf-${PV}"
+
+do_install_append () {
+    install -d ${D}${datadir}/fonts/TTF/
+    install -d ${D}${sysconfdir}/fonts/conf.d/
+    install -m 0644 LiberationSansNarrow*.ttf ${D}${datadir}/fonts/TTF/
+    install -D -m 0644 ${WORKDIR}/30-0-liberation-sans-narrow.conf ${D}${sysconfdir}/conf.avail/30-${PN}-sans.conf
+    install -D -m 0644 ${S}/License.txt ${D}${datadir}/licenses/${PN}/LICENSE
+}
+
+PACKAGES = "${PN}"
+FONT_PACKAGES = "${PN}"
+
+FILES_${PN} = "${datadir}/fonts ${sysconfdir} ${datadir}/licenses"
-- 
2.6.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] ttf-vlgothic: add a ttf font
  2016-07-18  2:28 [PATCH 0/2] Add 2 ttf fonts kai.kang
  2016-07-18  2:28 ` [PATCH 1/2] liberation-sans-narrow: add a ttf font kai.kang
@ 2016-07-18  2:28 ` kai.kang
  2016-07-23  8:48 ` [PATCH 0/2] Add 2 ttf fonts Martin Jansa
  2 siblings, 0 replies; 5+ messages in thread
From: kai.kang @ 2016-07-18  2:28 UTC (permalink / raw)
  To: openembedded-devel

From: Kai Kang <kai.kang@windriver.com>

Add an extra ttf font vlgothic.

The font is derived from from M+ FONTS which is created by M+ FONTS
PROJECT and under the Free license. So it has to obey the mplus licence.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 .../ttf-fonts/ttf-vlgothic_20141206.bb             | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb
new file mode 100644
index 0000000..62f2bb2
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb
@@ -0,0 +1,28 @@
+require ttf.inc
+
+SUMMARY = "Japanese TrueType fonts from Vine Linux"
+AUTHOR = "Contributor: noonov <noonov@gmail.com>"
+HOMEPAGE = "http://vlgothic.dicey.org/"
+
+LICENSE = "mplus & BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.en;md5=66ecd0fd7e4da6246fa30317c7b66755 \
+                    file://LICENSE_E.mplus;md5=1c4767416f20215f1e61b970f2117db9 \
+"
+
+SRC_URI = "https://osdn.jp/dl/vlgothic/VLGothic-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "bb7fadb2dff09a4fb6a11dc9dfdc0c36"
+SRC_URI[sha256sum] = "982040db2f9cb73d7c6ab7d9d163f2ed46d1180f330c9ba2fae303649bf8102d"
+
+S = "${WORKDIR}/VLGothic"
+
+do_install_append () {
+    install -D -m644 ${S}/LICENSE_E.mplus ${D}${datadir}/licenses/${PN}/COPYING_MPLUS.txt
+    install -D -m644 ${S}/README.sazanami ${D}${datadir}/licenses/${PN}/COPYING_SAZANAMI.txt
+    install -D -m644 ${S}/LICENSE.en ${D}${datadir}/licenses/${PN}/COPYING_VLGOTHIC.txt
+}
+
+PACKAGES = "${PN}"
+FONT_PACKAGES = "${PN}"
+
+FILES_${PN} = "${datadir}/fonts/truetype ${datadir}/licenses"
-- 
2.6.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Add 2 ttf fonts
  2016-07-18  2:28 [PATCH 0/2] Add 2 ttf fonts kai.kang
  2016-07-18  2:28 ` [PATCH 1/2] liberation-sans-narrow: add a ttf font kai.kang
  2016-07-18  2:28 ` [PATCH 2/2] ttf-vlgothic: " kai.kang
@ 2016-07-23  8:48 ` Martin Jansa
  2016-07-25  1:44   ` Kang Kai
  2 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2016-07-23  8:48 UTC (permalink / raw)
  To: openembedded-devel

You forgot to update layer.conf, causing:

ERROR: ttf-vlgothic different signature for task
do_package_write_ipk.sigdata between qemux86 and qemux86copy
runtaskdeps changed from ['fontconfigfontconfig_2.12.0.bb.do_packagedata',
'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native',
'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native',
'ttf-fontsttf-vlgothic_20141206.bb.do_package',
'ttf-fontsttf-vlgothic_20141206.bb.do_packagedata'] to
['fontconfigfontconfig_2.12.0.bb.do_packagedata',
'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native',
'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native',
'ttf-fontsttf-vlgothic_20141206.bb.do_package',
'ttf-fontsttf-vlgothic_20141206.bb.do_packagedata']

I'll fix it this time, but next time I'll just reject this.

On Mon, Jul 18, 2016 at 4:28 AM, <kai.kang@windriver.com> wrote:

> From: Kai Kang <kai.kang@windriver.com>
>
>
> Kai Kang (2):
>   liberation-sans-narrow: add a ttf font
>   ttf-vlgothic: add a ttf font
>
>  .../30-0-liberation-sans-narrow.conf               | 18 ++++++++++++
>  .../ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb | 32
> ++++++++++++++++++++++
>  .../ttf-fonts/ttf-vlgothic_20141206.bb             | 28
> +++++++++++++++++++
>  3 files changed, 78 insertions(+)
>  create mode 100644
> meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf
>  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/
> ttf-liberation-sans-narrow_1.07.4.bb
>  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/
> ttf-vlgothic_20141206.bb
>
> --
> 2.6.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Add 2 ttf fonts
  2016-07-23  8:48 ` [PATCH 0/2] Add 2 ttf fonts Martin Jansa
@ 2016-07-25  1:44   ` Kang Kai
  0 siblings, 0 replies; 5+ messages in thread
From: Kang Kai @ 2016-07-25  1:44 UTC (permalink / raw)
  To: openembedded-devel

On 2016年07月23日 16:48, Martin Jansa wrote:
> You forgot to update layer.conf, causing:
>
> ERROR: ttf-vlgothic different signature for task
> do_package_write_ipk.sigdata between qemux86 and qemux86copy
> runtaskdeps changed from ['fontconfigfontconfig_2.12.0.bb.do_packagedata',
> 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native',
> 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native',
> 'ttf-fontsttf-vlgothic_20141206.bb.do_package',
> 'ttf-fontsttf-vlgothic_20141206.bb.do_packagedata'] to
> ['fontconfigfontconfig_2.12.0.bb.do_packagedata',
> 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native',
> 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native',
> 'ttf-fontsttf-vlgothic_20141206.bb.do_package',
> 'ttf-fontsttf-vlgothic_20141206.bb.do_packagedata']
>
> I'll fix it this time, but next time I'll just reject this.

Thanks.

--Kai

>
> On Mon, Jul 18, 2016 at 4:28 AM, <kai.kang@windriver.com> wrote:
>
>> From: Kai Kang <kai.kang@windriver.com>
>>
>>
>> Kai Kang (2):
>>    liberation-sans-narrow: add a ttf font
>>    ttf-vlgothic: add a ttf font
>>
>>   .../30-0-liberation-sans-narrow.conf               | 18 ++++++++++++
>>   .../ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb | 32
>> ++++++++++++++++++++++
>>   .../ttf-fonts/ttf-vlgothic_20141206.bb             | 28
>> +++++++++++++++++++
>>   3 files changed, 78 insertions(+)
>>   create mode 100644
>> meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf
>>   create mode 100644 meta-oe/recipes-graphics/ttf-fonts/
>> ttf-liberation-sans-narrow_1.07.4.bb
>>   create mode 100644 meta-oe/recipes-graphics/ttf-fonts/
>> ttf-vlgothic_20141206.bb
>>
>> --
>> 2.6.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>


-- 
Regards,
Neil | Kai Kang



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-25  1:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-18  2:28 [PATCH 0/2] Add 2 ttf fonts kai.kang
2016-07-18  2:28 ` [PATCH 1/2] liberation-sans-narrow: add a ttf font kai.kang
2016-07-18  2:28 ` [PATCH 2/2] ttf-vlgothic: " kai.kang
2016-07-23  8:48 ` [PATCH 0/2] Add 2 ttf fonts Martin Jansa
2016-07-25  1:44   ` Kang Kai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.