From 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd Mon Sep 17 00:00:00 2001 From: ToshikazuOhiwa Date: Mon, 30 Mar 2020 09:24:26 +0900 Subject: agl-basesystem --- .../44-source-han-sans-cn.conf | 19 +++++ .../ttf-fonts/source-han-sans-cn-fonts_1.004.bb | 34 ++++++++ .../44-source-han-sans-jp.conf | 19 +++++ .../ttf-fonts/source-han-sans-jp-fonts_1.004.bb | 34 ++++++++ .../44-source-han-sans-kr.conf | 19 +++++ .../ttf-fonts/source-han-sans-kr-fonts_1.004.bb | 34 ++++++++ .../44-source-han-sans-tw.conf | 19 +++++ .../ttf-fonts/source-han-sans-tw-fonts_1.004.bb | 34 ++++++++ .../ttf-fonts/ttf-abyssinica_1.500.bb | 17 ++++ .../ttf-fonts/ttf-arphic-uming_20080216.bb | 19 +++++ .../ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf | 16 ++++ .../recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb | 47 +++++++++++ .../recipes-graphics/ttf-fonts/ttf-droid_git.bb | 27 ++++++ .../recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb | 37 +++++++++ .../ttf-fonts/ttf-hunkyfonts_0.3.0.bb | 20 +++++ .../ttf-fonts/ttf-inconsolata/OFL.txt | 97 ++++++++++++++++++++++ .../ttf-fonts/ttf-inconsolata_20100526.bb | 26 ++++++ .../30-0-liberation-sans-narrow.conf | 18 ++++ .../ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb | 32 +++++++ .../ttf-fonts/ttf-liberation_0.2.bb | 23 +++++ .../ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb | 24 ++++++ .../recipes-graphics/ttf-fonts/ttf-lohit_2.bb | 23 +++++ .../recipes-graphics/ttf-fonts/ttf-mplus_027.bb | 28 +++++++ .../recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb | 39 +++++++++ .../ttf-fonts/ttf-sazanami_20040629.bb | 35 ++++++++ .../recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb | 27 ++++++ .../ttf-fonts/ttf-ubuntu-font-family_0.80.bb | 20 +++++ .../ttf-fonts/ttf-vlgothic_20141206.bb | 28 +++++++ .../ttf-fonts/ttf-wqy-zenhei_0.9.45.bb | 27 ++++++ .../meta-oe/recipes-graphics/ttf-fonts/ttf.inc | 12 +++ 30 files changed, 854 insertions(+) create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_1.004.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_1.004.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr.conf create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_1.004.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_1.004.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata/OFL.txt create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.80.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf.inc (limited to 'external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts') diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf new file mode 100644 index 00000000..6855791b --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf @@ -0,0 +1,19 @@ + + + + + + + Source Han Sans CN Medium + + + demibold + + + + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_1.004.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_1.004.bb new file mode 100644 index 00000000..9fbfc8b4 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_1.004.bb @@ -0,0 +1,34 @@ +require ttf.inc + +SUMMARY = "Adobe OpenType Pan-CJK font family for Simplified Chinese" +HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" +LICENSE = "OFL-1.1" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=55719faa0112708e946b820b24b14097" + +inherit allarch fontcache + +# Download tends to break - so - or not? +#EXCLUDE_FROM_WORLD = "1" + +SRC_URI = " \ + https://github.com/adobe-fonts/source-han-sans/raw/release/SubsetOTF/SourceHanSansCN.zip \ + file://44-source-han-sans-cn.conf \ +" +SRC_URI[md5sum] = "d16abc21f6575bb08894efedbed484a2" +SRC_URI[sha256sum] = "0a0e1d8e52833bc352d454d8242da03b82c0efc41323fb66f7435e5b39734a4f" + +S = "${WORKDIR}/SourceHanSansCN" + +do_install() { + install -d ${D}${sysconfdir}/fonts/conf.d/ + install -m 0644 ${WORKDIR}/44-source-han-sans-cn.conf ${D}${sysconfdir}/fonts/conf.d/ + + install -d ${D}${datadir}/fonts/truetype/ + find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; +} + +FILES_${PN} = " \ + ${sysconfdir}/fonts \ + ${datadir}/fonts \ +" + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf new file mode 100644 index 00000000..a7a93fee --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf @@ -0,0 +1,19 @@ + + + + + + + Source Han Sans JP Medium + + + demibold + + + + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_1.004.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_1.004.bb new file mode 100644 index 00000000..4a26a2f5 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_1.004.bb @@ -0,0 +1,34 @@ +require ttf.inc + +SUMMARY = "Adobe OpenType Pan-CJK font family for Japanese" +HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" +LICENSE = "OFL-1.1" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=55719faa0112708e946b820b24b14097" + +inherit allarch fontcache + +# Download tends to break - so - or not? +#EXCLUDE_FROM_WORLD = "1" + +SRC_URI = " \ + https://github.com/adobe-fonts/source-han-sans/raw/release/SubsetOTF/SourceHanSansJP.zip \ + file://44-source-han-sans-jp.conf \ +" +SRC_URI[md5sum] = "908fbf97f3df04a6838708c093f1e900" +SRC_URI[sha256sum] = "dc6dbae3fba35f220bac88ba7130b826c7efe1282f472788fae3628b79be3f54" + +S = "${WORKDIR}/SourceHanSansJP" + +do_install() { + install -d ${D}${sysconfdir}/fonts/conf.d/ + install -m 0644 ${WORKDIR}/44-source-han-sans-jp.conf ${D}${sysconfdir}/fonts/conf.d/ + + install -d ${D}${datadir}/fonts/truetype/ + find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; +} + +FILES_${PN} = " \ + ${sysconfdir}/fonts \ + ${datadir}/fonts \ +" + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr.conf b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr.conf new file mode 100644 index 00000000..dee73ae7 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr.conf @@ -0,0 +1,19 @@ + + + + + + + Source Han Sans KR Medium + + + demibold + + + + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_1.004.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_1.004.bb new file mode 100644 index 00000000..c91d1671 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_1.004.bb @@ -0,0 +1,34 @@ +require ttf.inc + +SUMMARY = "Adobe OpenType Pan-CJK font family for Korean" +HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" +LICENSE = "OFL-1.1" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=55719faa0112708e946b820b24b14097" + +inherit allarch fontcache + +# Download tends to break - so - or not? +#EXCLUDE_FROM_WORLD = "1" + +SRC_URI = " \ + https://github.com/adobe-fonts/source-han-sans/raw/release/SubsetOTF/SourceHanSansKR.zip \ + file://44-source-han-sans-kr.conf \ +" +SRC_URI[md5sum] = "f8d1bd6c87d8575afdb25e2f46bd81d4" +SRC_URI[sha256sum] = "38fd15c80f9980492faaa1af39ff873d8a38e45027023fb17d5b10d4b4b0e6af" + +S = "${WORKDIR}/SourceHanSansKR" + +do_install() { + install -d ${D}${sysconfdir}/fonts/conf.d/ + install -m 0644 ${WORKDIR}/44-source-han-sans-kr.conf ${D}${sysconfdir}/fonts/conf.d/ + + install -d ${D}${datadir}/fonts/truetype/ + find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; +} + +FILES_${PN} = " \ + ${sysconfdir}/fonts \ + ${datadir}/fonts \ +" + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf new file mode 100644 index 00000000..ae289401 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf @@ -0,0 +1,19 @@ + + + + + + + Source Han Sans TWHK Medium + + + demibold + + + + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_1.004.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_1.004.bb new file mode 100644 index 00000000..72825053 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_1.004.bb @@ -0,0 +1,34 @@ +require ttf.inc + +SUMMARY = "Adobe OpenType Pan-CJK font family for Traditional Chinese" +HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" +LICENSE = "OFL-1.1" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=55719faa0112708e946b820b24b14097" + +inherit allarch fontcache + +# Download tends to break - so - or not? +#EXCLUDE_FROM_WORLD = "1" + +SRC_URI = " \ + https://github.com/adobe-fonts/source-han-sans/raw/release/SubsetOTF/SourceHanSansTW.zip \ + file://44-source-han-sans-tw.conf \ +" +SRC_URI[md5sum] = "6533b71b31c19e548768f0fc963202f3" +SRC_URI[sha256sum] = "92ba161921c5cdec5a8f8d5711676f0865b50cee071c25eb4bd4125b5af59fd0" + +S = "${WORKDIR}/SourceHanSansTW" + +do_install() { + install -d ${D}${sysconfdir}/fonts/conf.d/ + install -m 0644 ${WORKDIR}/44-source-han-sans-tw.conf ${D}${sysconfdir}/fonts/conf.d/ + + install -d ${D}${datadir}/fonts/truetype/ + find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; +} + +FILES_${PN} = " \ + ${sysconfdir}/fonts \ + ${datadir}/fonts \ +" + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb new file mode 100644 index 00000000..ce003e92 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb @@ -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/r/abyssinica/${SRCNAME}-${PV}.zip" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +SRC_URI[md5sum] = "a3d943d18e303197c8d3d92d2de54d1e" +SRC_URI[sha256sum] = "e48a77d5ab8ee0b06464a5b29be70f292aa25dc1e73eb39ec933bd7fa47bbd86" + +FONT_PACKAGES = "${PN}" +FILES_${PN} = "${datadir}" + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb new file mode 100644 index 00000000..522f0fb7 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb @@ -0,0 +1,19 @@ +SUMMARY = "Unicode Mingti (printed) TrueType Font" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" +LICENSE = "Arphic-Public-License" +LIC_FILES_CHKSUM = "file://README;md5=62be011094b7865ddc4d1a648444d31a" +SRC_DISTRIBUTE_LICENSES += "${PN}" +RPROVIDES_${PN} = "virtual-chinese-font" +PR = "r6" + +FONT_PACKAGES = "${PN}" + +SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz" +S = "${WORKDIR}" + +require ttf.inc + +FILES_${PN} = "${datadir}" + +SRC_URI[md5sum] = "d219fcaf953f3eb1889399955a00379f" +SRC_URI[sha256sum] = "8038a6db9e832456d5da5559aff8d15130243be1091bf24f3243503a6f1bda98" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf new file mode 100644 index 00000000..9c6e56bf --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf @@ -0,0 +1,16 @@ + + + + + DejaVu Serif + serif + + + DejaVu Sans + sans-serif + + + DejaVu Sans Mono + monospace + + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb new file mode 100644 index 00000000..f74e5ce6 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb @@ -0,0 +1,47 @@ +require ttf.inc + +SUMMARY = "DejaVu font - TTF Edition" +HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" +LICENSE = "BitstreamVera" +LIC_FILES_CHKSUM = "file://../LICENSE;md5=449b2c30bfe5fa897fe87b8b70b16cfa" + +# all subpackages except ${PN}-common itself rdepends on ${PN}-common +RDEPENDS_${PN}-sans = "${PN}-common" +RDEPENDS_${PN}-sans-mono = "${PN}-common" +RDEPENDS_${PN}-sans-condensed = "${PN}-common" +RDEPENDS_${PN}-serif = "${PN}-common" +RDEPENDS_${PN}-serif-condensed = "${PN}-common" +RDEPENDS_${PN}-mathtexgyre = "${PN}-common" +RDEPENDS_${PN}-common = "" +PR = "r7" + +SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \ + file://30-dejavu-aliases.conf" + +S = "${WORKDIR}/dejavu-fonts-ttf-${PV}/ttf" + +do_install_append () { + install -d ${D}${sysconfdir}/fonts/conf.d/ + install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ +} + +PACKAGES = "\ + ${PN}-sans \ + ${PN}-sans-mono \ + ${PN}-sans-condensed \ + ${PN}-serif \ + ${PN}-serif-condensed \ + ${PN}-mathtexgyre \ + ${PN}-common" +FONT_PACKAGES = "${PN}-sans ${PN}-sans-mono ${PN}-sans-condensed ${PN}-serif ${PN}-serif-condensed ${PN}-mathtexgyre" + +FILES_${PN}-sans = "${datadir}/fonts/truetype/DejaVuSans.ttf ${datadir}/fonts/truetype/DejaVuSans-*.ttf" +FILES_${PN}-sans-mono = "${datadir}/fonts/truetype/DejaVuSansMono*.ttf" +FILES_${PN}-sans-condensed = "${datadir}/fonts/truetype/DejaVuSansCondensed*.ttf" +FILES_${PN}-serif = "${datadir}/fonts/truetype/DejaVuSerif.ttf ${datadir}/fonts/truetype/DejaVuSerif-*.ttf" +FILES_${PN}-serif-condensed = "${datadir}/fonts/truetype/DejaVuSerifCondensed*.ttf" +FILES_${PN}-mathtexgyre = "${datadir}/fonts/truetype/DejaVuMathTeXGyre.ttf" +FILES_${PN}-common = "${sysconfdir}" + +SRC_URI[md5sum] = "d0efec10b9f110a32e9b8f796e21782c" +SRC_URI[sha256sum] = "fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb new file mode 100644 index 00000000..e62badf7 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb @@ -0,0 +1,27 @@ +require ttf.inc + +SUMMARY = "Droid fonts - TTF Edition" +HOMEPAGE = "http://www.droidfonts.com/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.txt;md5=83544262a86f1f1ec761e75897df92bc" +SRCREV = "21e6e2de1f0062f949fcc52d0b4559dfa3246e0e" +PV = "0.1+gitr${SRCPV}" +PR = "r3" + +SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master" + +S = "${WORKDIR}/git/data/fonts" + +do_install_prepend() { + rm ${S}/Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf DroidSansFallbackLegacy.ttf # we're not packaging it +} + +PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \ + ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" +FONT_PACKAGES = "ttf-droid-sans ttf-droid-sans-mono ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" + +FILES_ttf-droid-sans = "${datadir}/fonts/truetype/DroidSans.ttf ${datadir}/fonts/truetype/DroidSans-Bold.ttf" +FILES_ttf-droid-sans-mono = "${datadir}/fonts/truetype/DroidSansMono.ttf" +FILES_ttf-droid-sans-fallback = "${datadir}/fonts/truetype/DroidSansFallback.ttf" +FILES_ttf-droid-sans-japanese = "${datadir}/fonts/truetype/DroidSansJapanese.ttf" +FILES_ttf-droid-serif = "${datadir}/fonts/truetype/DroidSerif*.ttf" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb new file mode 100644 index 00000000..6a6258ad --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb @@ -0,0 +1,37 @@ +require ttf.inc + +SUMMARY = "Gentium fonts - TTF Version" +HOMEPAGE = "http://scripts.sil.org/gentium" +LICENSE = "OFL" +LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL" +LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \ +" +PR = "r8" + +SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz " + +S = "${WORKDIR}/ttf-sil-gentium-${PV}" + +do_install_append() { + + install -d ${D}${datadir}/doc/ttf-gentium/ + install -d ${D}${datadir}/doc/ttf-gentium-alt/ + + install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium/ + install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium-alt/ + +} + +PACKAGES = "${PN} ${PN}-alt" +FONT_PACKAGES = "${PN} ${PN}-alt" + +FILES_${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \ + ${datadir}/fonts/truetype/GenAR*.ttf \ + ${datadir}/doc/ttf-gentium-alt/*" + +FILES_${PN} = "${datadir}/fonts/truetype/GenI*.ttf \ + ${datadir}/fonts/truetype/GenR*.ttf \ + ${datadir}/doc/ttf-gentium/*" + +SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883" +SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb new file mode 100644 index 00000000..5cd9935d --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb @@ -0,0 +1,20 @@ +require ttf.inc + +SUMMARY = "Hunky fonts - TTF Version" +HOMEPAGE = "http://sourceforge.net/projects/hunkyfonts" +LICENSE = "LGPL" +LIC_FILES_CHKSUM = "file://../LICENSE;md5=7fbc338309ac38fefcd64b04bb903e34" +PR = "r7" + +SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2" + +S = "${WORKDIR}/hunkyfonts-${PV}/TTF/" + +PACKAGES = "ttf-hunky-sans ttf-hunky-serif" +FONT_PACKAGES = "ttf-hunky-sans ttf-hunky-serif" + +FILES_ttf-hunky-sans = "${datadir}/fonts/truetype/HunkySans*.ttf" +FILES_ttf-hunky-serif = "${datadir}/fonts/truetype/HunkySerif*.ttf" + +SRC_URI[md5sum] = "36444795a356fb8a56c63b2840729bab" +SRC_URI[sha256sum] = "e0b1849c545b6af276407d93025c73094dd74fc259b07c1d91594fdbb9a0b829" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata/OFL.txt b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata/OFL.txt new file mode 100644 index 00000000..1456c180 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata/OFL.txt @@ -0,0 +1,97 @@ +Copyright (c) , (), +with Reserved Font Name . +Copyright (c) , (), +with Reserved Font Name . +Copyright (c) , (). + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb new file mode 100644 index 00000000..20041bb7 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb @@ -0,0 +1,26 @@ +require ttf.inc + +SUMMARY = "Inconsolata font - TTF Version" +HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html" +LICENSE = "OFL-1.1" +LIC_FILES_CHKSUM = "file://../OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed" + +SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \ + file://OFL.txt" + +S = "${WORKDIR}/ttf-inconsolata-${PV}" + +FILES_${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ + ${datadir}/doc/ttf-inconsolata/*" + +do_configure() { + mv ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf +} + +do_install_append() { + install -d ${D}${datadir}/doc/ttf-inconsolata/ + install -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/ +} + +SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf" +SRC_URI[sha256sum] = "1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf new file mode 100644 index 00000000..a4f4da7e --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf @@ -0,0 +1,18 @@ + + + + + + Arial Narrow + + Liberation Sans Narrow + + + + Liberation Sans Narrow + + Arial Narrow + + + + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb new file mode 100644 index 00000000..5b406bc6 --- /dev/null +++ b/external/meta-openembedded/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://releases.pagure.org/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" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb new file mode 100644 index 00000000..7204c926 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb @@ -0,0 +1,23 @@ +require ttf.inc + +SUMMARY = "Liberation fonts - TTF Version" +HOMEPAGE = "https://www.redhat.com/promo/fonts/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ + file://License.txt;md5=5b171c5100029d884fcea21d9a2b7543 \ +" + +PR = "r7" + +SRC_URI = "http://fedorahosted.org/liberation-fonts/export/807b6dfd069b998cd9b4d3158da98817ef23c79d/F-9/liberation-fonts-ttf-3.tar.gz" +S = "${WORKDIR}/liberation-fonts-${PV}" + +PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" +FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" + +FILES_ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" +FILES_ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" +FILES_ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*" + +SRC_URI[md5sum] = "77728078a17e39f7c242b42c3bf6feb8" +SRC_URI[sha256sum] = "174cf27c57612971434ec8cc4a52bfd37bad8408e9b9219539c6d5113df6ff8f" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb new file mode 100644 index 00000000..2ef6c57e --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb @@ -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/releases/24/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} +} diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb new file mode 100644 index 00000000..f9679d60 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb @@ -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; +} + diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb new file mode 100644 index 00000000..9ad348d9 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb @@ -0,0 +1,28 @@ +require ttf.inc + +SUMMARY = "MPlus font - TTF Edition" +HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" +LICENSE = "${PN}" +LIC_FILES_CHKSUM = "file://LICENSE_E;md5=ac161e96eda00db9a3aec7870b5d9658 \ + file://LICENSE_J;md5=a120ca8d7c8e4a475d5277c9aeb95221 \ +" +PR = "r4" + +SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz" +S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}" + +PACKAGESPLITFUNCS_prepend = "split_ttf_mplus_packages " + +python split_ttf_mplus_packages() { + plugindir = d.expand('${datadir}/fonts/ttf-mplus/') + packages = do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s') + d.setVar('FONT_PACKAGES', ' '.join(packages)) +} + +do_install() { + install -d ${D}${datadir}/fonts/ttf-mplus + install -m 0644 *.ttf ${D}${datadir}/fonts/ttf-mplus/ +} + +SRC_URI[md5sum] = "d1400184b51b3871e8d2fca6c50e18ae" +SRC_URI[sha256sum] = "a20b9b9b03c2a6fb1e2137d29e8a6ce06406ba1e008906ea3c474dc048dc06a6" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb new file mode 100644 index 00000000..ac60a365 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb @@ -0,0 +1,39 @@ +SUMMARY = "PT Sans Fonts" +DESCRIPTION = "The PT Sans TTF font set" +HOMEPAGE = "http://www.paratype.com/public/" + +SECTION = "x11/fonts" + +LICENSE = "ParaTypeFFL-1.3" +LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d" + +inherit allarch fontcache + +# Downloading from fedora because upstream doesn't version its zip file +# and causes hash build failures +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip" + +SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7" +SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e" + +do_install () { + install -d ${D}${datadir}/fonts/X11/TTF/ + cd .. + for i in *.ttf; do + install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i} + done +} + +FILES_${PN} += "${datadir}" + +pkg_postinst_${PN} () { + set -x + for fontdir in `find $D/usr/lib/X11/fonts -type d`; do + mkfontdir $fontdir + mkfontscale $fontdir + done + for fontdir in `find $D/usr/share/fonts/X11 -type d`; do + mkfontdir $fontdir + mkfontscale $fontdir + done +} diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb new file mode 100644 index 00000000..efdcec84 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb @@ -0,0 +1,35 @@ +require ttf.inc + +SUMMARY = "Sazanami Gothic/Mincho Japanese TrueType fonts" +SUMMARY_ttf-sazanami-gothic = "Sazanami Gothic Japanese TrueType font" +SUMMARY_ttf-sazanami-mincho = "Sazanami Mincho Japanese TrueType font" +AUTHOR = "Electronic Font Open Laboratory (/efont/)" +HOMEPAGE = "http://sourceforge.jp/projects/efont/" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0" +SRC_DISTRIBUTE_LICENSES += "${PN}" +RPROVIDES_${PN} = "virtual-japanese-font" +PR = "r9" + +SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2" +S = "${WORKDIR}/sazanami-20040629" + +PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" +FONT_PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" + +FILES_ttf-sazanami-gothic = "${datadir}/fonts/truetype/sazanami-gothic.ttf \ + ${datadir}/doc/ttf-sazanami-gothic/README" +FILES_ttf-sazanami-mincho = "${datadir}/fonts/truetype/sazanami-mincho.ttf \ + ${datadir}/doc/ttf-sazanami-mincho/README" + +do_install_append() { + # README contains the redistribution license + install -d ${D}${datadir}/doc/ + install -d ${D}${datadir}/doc/ttf-sazanami-gothic + install -d ${D}${datadir}/doc/ttf-sazanami-mincho + install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-gothic + install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho +} + +SRC_URI[md5sum] = "ceef10579a75c92483171f3bd7f77df2" +SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb new file mode 100644 index 00000000..06a3fe53 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb @@ -0,0 +1,27 @@ +require ttf.inc + +SUMMARY = "Thai Linux Working Group Fonts" +AUTHOR = "Thai Linux Working Group" +HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg" +LICENSE = "GPLv2 & TLWG" +LIC_FILES_CHKSUM = "file://../fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd" + +SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \ + http://linux.thai.net/pub/ThaiLinux/software/ttf-tlwg/ttf-tlwg-${PV}.tar.xz;name=ttf" +SRC_URI[source.md5sum] = "5ea5bc964d992df0428f2e0b85f48400" +SRC_URI[source.sha256sum] = "77fb9832221fde60c9f683ac3fdce7d45ab6e9c0d83df83da969a3fe9faba537" +SRC_URI[ttf.md5sum] = "1bc51f45a7b661404a944fab6911261c" +SRC_URI[ttf.sha256sum] = "aa9cd68969b6f704df3e5b1a2e11204c47f118c8ab052f04c111bd5f299f77c8" + +do_install_append () { + install -d ${D}${sysconfdir}/fonts/conf.d + + for x in ${S}/etc/fonts/conf.avail/*.conf; do + install -m 0644 $x ${D}${sysconfdir}/fonts/conf.d/ + done +} + +PACKAGES = "${PN}" +FONT_PACKAGES = "${PN}" + +FILES_${PN} = "${datadir}/fonts ${sysconfdir}" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.80.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.80.bb new file mode 100644 index 00000000..d5d1b9a1 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.80.bb @@ -0,0 +1,20 @@ +require ttf.inc + +SUMMARY = "Ubuntu Font Family - TTF Version" +HOMEPAGE = "http://font.ubuntu.com" +LICENSE = "UFL" +LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=325a1a9029112a2405e743c7f816427b" +PR = "r1" + +SRC_URI = "http://font.ubuntu.com/download/ubuntu-font-family-${PV}.zip" + +SRC_URI[md5sum] = "a1fc70f5a5b1d096ab8310886cddaa1c" +SRC_URI[sha256sum] = "107170099bbc3beae8602b97a5c423525d363106c3c24f787d43e09811298e4c" + +S = "${WORKDIR}/ubuntu-font-family-${PV}" + +PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans" +FONT_PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans" + +FILES_ttf-ubuntu-mono = "${datadir}/fonts/truetype/*Mono*" +FILES_ttf-ubuntu-sans = "${datadir}/fonts/truetype/Ubuntu-*" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb new file mode 100644 index 00000000..62f2bb28 --- /dev/null +++ b/external/meta-openembedded/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 " +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" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb new file mode 100644 index 00000000..1207a61b --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb @@ -0,0 +1,27 @@ +require ttf.inc + +SUMMARY = "WenQuanYi Zen Hei - A Hei-Ti Style Chinese font" +AUTHOR = "Qianqian Fang and The WenQuanYi Project Contributors" +HOMEPAGE = "http://wenq.org/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=cf540fc7d35b5777e36051280b3a911c" + +SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}.tar.gz" +SRC_URI[md5sum] = "4c6c3f4e902dd5ee0a121e8c41d040bd" +SRC_URI[sha256sum] = "e4b7e306475bf9427d1757578f0e4528930c84c44eaa3f167d4c42f110ee75d6" + +S = "${WORKDIR}/wqy-zenhei" + +do_install_append () { + sed -i -e '/[^W]/d' ${S}/44-wqy-zenhei.conf + install -d ${D}${sysconfdir}/fonts/conf.d + + for x in ${S}/*.conf; do + install -m 0644 $x ${D}${sysconfdir}/fonts/conf.d/ + done +} + +PACKAGES = "${PN}" +FONT_PACKAGES = "${PN}" + +FILES_${PN} = "${datadir}/fonts ${sysconfdir}" diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf.inc b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf.inc new file mode 100644 index 00000000..c77af399 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf.inc @@ -0,0 +1,12 @@ +DESCRIPTION ?= "TrueType font package ${PN}" +SECTION = "fonts" + +# we don't need a compiler nor a c library for these fonts +INHIBIT_DEFAULT_DEPS = "1" + +do_install() { + install -d ${D}${datadir}/fonts/truetype/ + find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; +} + +inherit allarch fontcache -- cgit 1.2.3-korg