font-update-common: first commit, partly closes bug 2430
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Wed, 23 Jan 2008 15:21:12 +0000 (15:21 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Wed, 23 Jan 2008 15:21:12 +0000 (15:21 +0000)
* a GUI-agnostic update handler for registering fonts for use by the GUI
* GUI-specific parts are yet to be committed and need to depend on this package

packages/font-update-common/.mtn2git_empty [new file with mode: 0644]
packages/font-update-common/files/.mtn2git_empty [new file with mode: 0644]
packages/font-update-common/files/update-fonts [new file with mode: 0644]
packages/font-update-common/font-update-common_0.1.bb [new file with mode: 0644]

diff --git a/packages/font-update-common/.mtn2git_empty b/packages/font-update-common/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/font-update-common/files/.mtn2git_empty b/packages/font-update-common/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/font-update-common/files/update-fonts b/packages/font-update-common/files/update-fonts
new file mode 100644 (file)
index 0000000..19e3157
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+#Author: Rolf Leggewie
+
+run-parts /etc/update-fonts-common.d/
diff --git a/packages/font-update-common/font-update-common_0.1.bb b/packages/font-update-common/font-update-common_0.1.bb
new file mode 100644 (file)
index 0000000..eae0a8a
--- /dev/null
@@ -0,0 +1,13 @@
+DESCRIPTION = "Scripts to be called when fonts are installed or removed \
+to make them known to the WM, whether X11 or Opie"
+AUTHOR = "Rolf Leggewie <oe-devel@rolf.leggewie.biz"
+
+SRC_URI = "file://update-fonts"
+
+do_install() {
+        install -d ${D}${bindir}
+        install -d ${D}${sysconfdir}/update-fonts-common.d/
+        install -m 0755 ${WORKDIR}/update-fonts ${D}${bindir}
+}
+
+PACKAGE_ARCH = "all"