From 8f7d24559543565f314077459f5031c0d34d9220 Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Sun, 12 Feb 2006 19:01:04 +0000 Subject: gpe-bootsplash: - Display a message informing the user that he can chvt 1 to see the boot-messages - Do a chvt 1 if gpe-bootsplash errors out --- packages/gpe-bootsplash/files/tty2-message.patch | 19 +++++++++++++++++++ packages/gpe-bootsplash/gpe-bootsplash_1.15.bb | 6 ++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 packages/gpe-bootsplash/files/tty2-message.patch diff --git a/packages/gpe-bootsplash/files/tty2-message.patch b/packages/gpe-bootsplash/files/tty2-message.patch new file mode 100644 index 0000000000..0c3b2d859b --- /dev/null +++ b/packages/gpe-bootsplash/files/tty2-message.patch @@ -0,0 +1,19 @@ +--- gpe-bootsplash-1.15/gpe-bootsplash.init.orig 2006-02-12 19:36:10.600838563 +0100 ++++ gpe-bootsplash-1.15/gpe-bootsplash.init 2006-02-12 19:36:13.957218949 +0100 +@@ -31,8 +31,15 @@ + ;; + esac + echo "0" > /proc/sys/kernel/printk ++ ++ # Clear tty2 ++ echo -e "\033c" > /dev/tty2 + chvt 2 +- /usr/bin/gpe-bootsplash $ARGS ++ ++ echo -e "\nLoading bootsplash..." > /dev/tty2 ++ echo "Use Fn-LeftArrow to see the boot messages." > /dev/tty2 ++ ++ /usr/bin/gpe-bootsplash $ARGS || chvt 1 + ;; + 'stop') + ;; diff --git a/packages/gpe-bootsplash/gpe-bootsplash_1.15.bb b/packages/gpe-bootsplash/gpe-bootsplash_1.15.bb index 1e25bfd1ab..fd17846103 100644 --- a/packages/gpe-bootsplash/gpe-bootsplash_1.15.bb +++ b/packages/gpe-bootsplash/gpe-bootsplash_1.15.bb @@ -5,9 +5,11 @@ MAINTAINER = "Phil Blundell " SECTION = "gpe" PRIORITY = "optional" LICENSE = "GPL" -PR = "r1" +PR = "r2" -SRC_URI += "file://splash-p.svg file://splash-l.svg" +SRC_URI += "file://splash-p.svg \ + file://splash-l.svg \ + file://tty2-message.patch;patch=1" FILES_${PN} += "${datadir}/gpe" -- cgit v1.2.3 From 484abdf495a9061e584691d93708078d6d0ef8f2 Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Sun, 12 Feb 2006 20:46:53 +0000 Subject: gpe-bootsplash: Add an opie-theme --- packages/gpe-bootsplash/files/opie-logo.png | Bin 0 -> 9216 bytes .../gpe-bootsplash/files/splash-opie-landscape.svg | 229 +++++++++++ .../gpe-bootsplash/files/splash-opie-portrait.svg | 456 +++++++++++++++++++++ .../gpe-bootsplash/gpe-bootsplash-theme-opie.bb | 35 ++ 4 files changed, 720 insertions(+) create mode 100644 packages/gpe-bootsplash/files/opie-logo.png create mode 100644 packages/gpe-bootsplash/files/splash-opie-landscape.svg create mode 100644 packages/gpe-bootsplash/files/splash-opie-portrait.svg create mode 100644 packages/gpe-bootsplash/gpe-bootsplash-theme-opie.bb diff --git a/packages/gpe-bootsplash/files/opie-logo.png b/packages/gpe-bootsplash/files/opie-logo.png new file mode 100644 index 0000000000..870f726355 Binary files /dev/null and b/packages/gpe-bootsplash/files/opie-logo.png differ diff --git a/packages/gpe-bootsplash/files/splash-opie-landscape.svg b/packages/gpe-bootsplash/files/splash-opie-landscape.svg new file mode 100644 index 0000000000..8bf352396a --- /dev/null +++ b/packages/gpe-bootsplash/files/splash-opie-landscape.svg @@ -0,0 +1,229 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/gpe-bootsplash/files/splash-opie-portrait.svg b/packages/gpe-bootsplash/files/splash-opie-portrait.svg new file mode 100644 index 0000000000..4bcb9d2f5f --- /dev/null +++ b/packages/gpe-bootsplash/files/splash-opie-portrait.svg @@ -0,0 +1,456 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/gpe-bootsplash/gpe-bootsplash-theme-opie.bb b/packages/gpe-bootsplash/gpe-bootsplash-theme-opie.bb new file mode 100644 index 0000000000..dff92e75c3 --- /dev/null +++ b/packages/gpe-bootsplash/gpe-bootsplash-theme-opie.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "An Enlightenment theme for gpe-bootsplash" +SECTION = "base" +PRIORITY = "optional" +MAINTAINER = "Matthias 'CoreDump' Hentges " +LICENSE = "GPL" + +DEPENDS = "gpe-bootsplash" +RDEPENDS = "gpe-bootsplash" + +PR = "r0" + +export THEME = "opie" + +SRC_URI = "file://*.svg \ + file://*${THEME}*logo*" + +FILES_${PN} = "/usr/share/gpe/splash-${THEME}-*\ + /usr/share/gpe/${THEME}-logo.png" + + +do_install(){ + install -d "${D}/usr/share/gpe" + install -m 0644 ${WORKDIR}/splash-${THEME}* ${D}/usr/share/gpe + install -m 0644 ${WORKDIR}/${THEME}-logo.png ${D}/usr/share/gpe +} + +pkg_postinst() { + update-alternatives --install /usr/share/gpe/splash-l.svg bootsplash-l /usr/share/gpe/splash-${THEME}-landscape.svg 20 + update-alternatives --install /usr/share/gpe/splash-p.svg bootsplash-p /usr/share/gpe/splash-${THEME}-portrait.svg 20 +} + +pkg_postrm() { + update-alternatives --remove bootsplash-l /usr/share/gpe/splash-${THEME}-landscape.svg + update-alternatives --remove bootsplash-p /usr/share/gpe/splash-${THEME}-portrait.svg +} -- cgit v1.2.3