From 3dc8804c02a62c811f6ccf3170b11adcbf82ced0 Mon Sep 17 00:00:00 2001 From: Francisco Alecrim Date: Thu, 1 Oct 2009 11:52:07 -0400 Subject: [PATCH 079/118] msttcorefonts: include recipe Signed-off-by: Francisco Alecrim --- recipes/ttf-fonts/files/patch-busybox.patch | 13 +++++++++++++ recipes/ttf-fonts/msttcorefonts_2.6.bb | 27 +++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 0 deletions(-) create mode 100644 recipes/ttf-fonts/files/patch-busybox.patch create mode 100644 recipes/ttf-fonts/msttcorefonts_2.6.bb diff --git a/recipes/ttf-fonts/files/patch-busybox.patch b/recipes/ttf-fonts/files/patch-busybox.patch new file mode 100644 index 0000000..824d32f --- /dev/null +++ b/recipes/ttf-fonts/files/patch-busybox.patch @@ -0,0 +1,13 @@ +diff --git a/update-ms-fonts b/update-ms-fonts +index c538ef9..a5e666e 100755 +--- a/update-ms-fonts ++++ b/update-ms-fonts +@@ -128,7 +128,7 @@ elif [ -n "$FONTFILES" ] ; then + for ff in $FONTFILES; do + if [ ! -e $ff.done ] || [ ! -e $ff ] ; then + if [ -z "$LOCALCOPY" ] ; then +- if ! wget --continue --tries=1 --dns-timeout=10 --connect-timeout=5 --read-timeout=300 $QUIET_ARG --directory-prefix . --no-directories --no-background $URLROOT$ff ; then ++ if ! wget --continue $QUIET_ARG $URLROOT$ff ; then + continue 2 + fi + else diff --git a/recipes/ttf-fonts/msttcorefonts_2.6.bb b/recipes/ttf-fonts/msttcorefonts_2.6.bb new file mode 100644 index 0000000..670f8bd --- /dev/null +++ b/recipes/ttf-fonts/msttcorefonts_2.6.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "This package allows for easy installation of the Microsoft \ + True Type Core Fonts. You will need an Internet connection to\ + download these fonts if you don't already have them. Fonts \ + installed : Andale Mono, Arial Black, Arial, Comic Sans MS, \ + Courier New, Impact, Times New Roman , Trebuchet, Verdana, \ + Webdings. \ + " +LICENSE = "GPL" +DEPENDS = "cabextract" +PR = "r0" + +SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/multiverse/m/msttcorefonts/${PN}_${PV}.tar.gz \ + file://patch-busybox.patch;patch=1 \ + " + +FILES_${PN} = "${bindir}/update-ms-fonts" + +S = "${WORKDIR}/msttcorefonts" + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/update-ms-fonts ${D}${bindir} +} + +pkg_postinst () { + ${bindir}/update-ms-fonts +} -- 1.6.3.3