summaryrefslogtreecommitdiff
path: root/packages/ttf-fonts
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-08-02 19:15:36 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-08-02 19:15:36 +0000
commitce6092e1245ba7c58ebdaa277e502f4bb918a844 (patch)
tree87580fd341934c8691451534922ac9a488e9405d /packages/ttf-fonts
parenta68cf15726e62b354584be3c1d4bfa6d245e597f (diff)
ttf-dejavu: really ship aliases file
Diffstat (limited to 'packages/ttf-fonts')
-rw-r--r--packages/ttf-fonts/ttf-dejavu/.mtn2git_empty0
-rw-r--r--packages/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf16
-rw-r--r--packages/ttf-fonts/ttf-dejavu_2.18.bb7
3 files changed, 20 insertions, 3 deletions
diff --git a/packages/ttf-fonts/ttf-dejavu/.mtn2git_empty b/packages/ttf-fonts/ttf-dejavu/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ttf-fonts/ttf-dejavu/.mtn2git_empty
diff --git a/packages/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf b/packages/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf
new file mode 100644
index 0000000000..9c6e56bf7c
--- /dev/null
+++ b/packages/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>DejaVu Serif</family>
+ <default><family>serif</family></default>
+ </alias>
+ <alias>
+ <family>DejaVu Sans</family>
+ <default><family>sans-serif</family></default>
+ </alias>
+ <alias>
+ <family>DejaVu Sans Mono</family>
+ <default><family>monospace</family></default>
+ </alias>
+</fontconfig>
diff --git a/packages/ttf-fonts/ttf-dejavu_2.18.bb b/packages/ttf-fonts/ttf-dejavu_2.18.bb
index e0bd4af7fa..17339e8d8e 100644
--- a/packages/ttf-fonts/ttf-dejavu_2.18.bb
+++ b/packages/ttf-fonts/ttf-dejavu_2.18.bb
@@ -3,9 +3,10 @@ LICENSE = "Bitstream Vera"
HOMEPAGE = "http://dejavu.sourceforge.net/wiki/index.php/Main_Page"
RDEPENDS = "ttf-dejavu-common"
RDEPENDS_ttf-dejavu-common = ""
+PR = "r1"
-SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-ttf-${PV}.tar.bz2"
-# file://30-dejavu-aliases.conf"
+SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-ttf-${PV}.tar.bz2 \
+ file://30-dejavu-aliases.conf"
require ttf.inc
@@ -13,7 +14,7 @@ S = "${WORKDIR}/dejavu-ttf-${PV}"
do_install_append () {
install -d ${D}${sysconfdir}/fonts/conf.d/
-# install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
+ install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
}
PACKAGES = "ttf-dejavu-sans ttf-dejavu-sans-mono ttf-dejavu-sans-condensed \