[oe-commits] Klaus Kurzmann : shr-splash-theme: add postinst to set a link for the x splash

git version control git at git.openembedded.org
Sun Aug 16 16:07:00 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: 1d8eafbec5a793df05bf7c8212a1e32d7531fb75
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1d8eafbec5a793df05bf7c8212a1e32d7531fb75

Author: Klaus Kurzmann <mok at fluxnetz.de>
Date:   Sun Aug 16 18:06:53 2009 +0200

shr-splash-theme: add postinst to set a link for the x splash

Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>

---

 recipes/shr/shr-splash-theme-dontpanic_git.bb |    2 +-
 recipes/shr/shr-splash-theme-handy_git.bb     |    2 +-
 recipes/shr/shr-splash-theme-simple_git.bb    |    2 +-
 recipes/shr/shr-splash-theme.inc              |    4 ++++
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/recipes/shr/shr-splash-theme-dontpanic_git.bb b/recipes/shr/shr-splash-theme-dontpanic_git.bb
index 8276011..1efd0c3 100644
--- a/recipes/shr/shr-splash-theme-dontpanic_git.bb
+++ b/recipes/shr/shr-splash-theme-dontpanic_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "SHR splash screen - DON'T PANIC theme"
 SECTION = "x11/data"
 LICENSE = "MIT BSD"
 PV = "1.2-gitr${SRCPV}"
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
 S = "${WORKDIR}/git/shr-splash/${PN}"
diff --git a/recipes/shr/shr-splash-theme-handy_git.bb b/recipes/shr/shr-splash-theme-handy_git.bb
index b39cf84..557a79d 100644
--- a/recipes/shr/shr-splash-theme-handy_git.bb
+++ b/recipes/shr/shr-splash-theme-handy_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "SHR splash screen - handy theme"
 SECTION = "x11/data"
 LICENSE = "MIT BSD"
 PV = "1.2-gitr${SRCPV}"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
 S = "${WORKDIR}/git/shr-splash/${PN}"
diff --git a/recipes/shr/shr-splash-theme-simple_git.bb b/recipes/shr/shr-splash-theme-simple_git.bb
index 332ce15..7b4b9de 100644
--- a/recipes/shr/shr-splash-theme-simple_git.bb
+++ b/recipes/shr/shr-splash-theme-simple_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "SHR splash screen - simple SHR theme"
 SECTION = "x11/data"
 LICENSE = "MIT BSD"
 PV = "1.2-gitr${SRCPV}"
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
 S = "${WORKDIR}/git/shr-splash/${PN}"
diff --git a/recipes/shr/shr-splash-theme.inc b/recipes/shr/shr-splash-theme.inc
index aa1278d..8a51ef5 100644
--- a/recipes/shr/shr-splash-theme.inc
+++ b/recipes/shr/shr-splash-theme.inc
@@ -20,3 +20,7 @@ do_install() {
     install -m 0644 ${S}/author ${D}${datadir}/shr-splash/themes/${PN}/author
     install -m 0644 ${S}/preview.png ${D}${datadir}/shr-splash/themes/${PN}/preview.png
 }
+
+pkg_postinst() {
+    [ -e ${datadir}/pixmaps/xsplash-vga.ppm ] || ln -s ${datadir}/shr-splash/theme/xsplash-vga.ppm ${datadir}/pixmaps/xsplash-vga.ppm
+}





More information about the Openembedded-commits mailing list