Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1a2ed1821c6f3d1eaa857fa5a221c269c2d2cfdd
commit 1a2ed1821c6f3d1eaa857fa5a221c269c2d2cfdd Author: bouleetbil <[email protected]> Date: Sun Nov 8 14:54:07 2009 +0100 plymouth-0.7.2-1-i686 *new package diff --git a/source/xapps-extra/plymouth/FrugalBuild b/source/xapps-extra/plymouth/FrugalBuild new file mode 100644 index 0000000..9f12b49 --- /dev/null +++ b/source/xapps-extra/plymouth/FrugalBuild @@ -0,0 +1,54 @@ +# Compiling Time: 0.20 SBU +# Maintainer: bouleetbil <[email protected]> + +pkgname=plymouth +pkgver=0.7.2 +pkgrel=1 +pkgdesc="Graphical Boot Animation and Logger" +url="http://www.freedesktop.org/wiki/Software/Plymouth" +up2date="Flasttarbz2 http://freedesktop.org/software/plymouth/releases" +source=(http://freedesktop.org/software/plymouth/releases/$pkgname-$pkgver.tar.bz2 \ + fw.png devfb.diff rc.zz-plymouth rc.plymouth) +depends=('libdrm' 'pango' 'libstdc++' 'libxml2' 'libxau' 'libxdmcp') +makedepends=('gtk+2' 'gdm') +#use nash of mkinitrd for switch the theme +rodepends=('plymouth-theme-spinfinity' 'mkinitrd') +groups=('xapps-extra') +archs=('i686') +sha1sums=('6cbe40f49760ed12b26628d80af61454b2084231' \ + '5cc04b415cf32353333106fb200244765f86b844' \ + '7c3dbfbcfe27faba6354cadb2ea79495874f641f' \ + '3bf2ae558ac4dc4906752b4865c4fb80998a7adc' \ + 'af0eb22938bfce8608ba95afcb93786b94b291f6') + +subpkgs=('plymouth-utility' 'plymouth-gdm' 'plymouth-theme-spinfinity' 'plymouth-theme-solar' 'plymouth-theme-glow') +subdescs=("utilities that integrate with Plymouth" "Plymouth GDM integration" "plymouth theme spinfinity" "plymouth theme solar" "plymouth theme glow") +subdepends=("gtk+2" "gdm" "" "" "") +subrodepends=("plymouth" "plymouth plymouth-utility" "" "" "") +subgroups=('xapp-extra' 'gnome-extra' 'xlib-extra' 'xlib-extra' 'xlib-extra') +subarchs=('i686' 'i686' 'i686' 'i686' 'i686') + +build() { + Fbuild --enable-tracing --disable-tests \ + --without-default-plugin \ + --with-logo=/usr/share/pixmaps/fw.png \ + --with-background-start-color-stop=0x0073B3 \ + --with-background-end-color-stop=0x00457E \ + --with-background-color=0x3391cd \ + --enable-gdm-transition \ + --with-system-root-install + + Fmkdir usr/share/pixmaps/ + Fcp fw.png usr/share/pixmaps/ + + Fsplit plymouth-gdm usr/share/gdm/autostart/LoginWindow/plymouth-log-viewer.desktop + Fsplit plymouth-theme-spinfinity usr/share/plymouth/themes/spinfinity + Fsplit plymouth-theme-solar usr/share/plymouth/themes/solar + Fsplit plymouth-theme-glow usr/share/plymouth/themes/glow + Fsplit plymouth-utility usr/bin/plymouth-log-viewer + + Frcd2 plymouth + Fexe /etc/rc.d/rc.zz-plymouth +} + +# optimization OK diff --git a/source/xapps-extra/plymouth/devfb.diff b/source/xapps-extra/plymouth/devfb.diff new file mode 100644 index 0000000..c3949cf --- /dev/null +++ b/source/xapps-extra/plymouth/devfb.diff @@ -0,0 +1,25 @@ +From 5fd3ed5a1f661eb1d99e1d4df5edad8410cc54e3 Mon Sep 17 00:00:00 2001 +From: root <[email protected]> +Date: Sun, 25 Oct 2009 03:55:54 +0100 +Subject: [PATCH] Gentoo does not have /dev/fb, but /dev/fb0 (at least on i915 KMS) + +--- + src/libply/ply-frame-buffer.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/libply/ply-frame-buffer.c b/src/libply/ply-frame-buffer.c +index a1e4fcd..19aab4b 100644 +--- a/src/libply/ply-frame-buffer.c ++++ b/src/libply/ply-frame-buffer.c +@@ -46,7 +46,7 @@ + #include <linux/fb.h> + + #ifndef PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME +-#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb" ++#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb0" + #endif + + struct _ply_frame_buffer +-- +1.6.5 + diff --git a/source/xapps-extra/plymouth/fw.png b/source/xapps-extra/plymouth/fw.png new file mode 100755 index 0000000..12659a7 Binary files /dev/null and b/source/xapps-extra/plymouth/fw.png differ diff --git a/source/xapps-extra/plymouth/plymouth.install b/source/xapps-extra/plymouth/plymouth.install new file mode 100644 index 0000000..f54ce25 --- /dev/null +++ b/source/xapps-extra/plymouth/plymouth.install @@ -0,0 +1,24 @@ +post_install() { + + /usr/sbin/plymouth-set-default-theme spinfinity + cd /etc/rc.d/rcS.d + ln -sf ../rc.plymouth S03rc.plymouth + /usr/sbin/chkconfig --add rc.plymouth + /usr/sbin/chkconfig --add rc.zz-plymouth +} + +post_upgrade() { + post_install +} + +pre_remove() +{ + /usr/sbin/chkconfig --del rc.zz-plymouth + /usr/sbin/chkconfig --del rc.plymouth + rm /etc/rc.d/rcS.d/S03rc.plymouth +} + + +op=$1 +shift +$op $* diff --git a/source/xapps-extra/plymouth/rc.plymouth b/source/xapps-extra/plymouth/rc.plymouth new file mode 100755 index 0000000..1496331 --- /dev/null +++ b/source/xapps-extra/plymouth/rc.plymouth @@ -0,0 +1,30 @@ +#!/bin/bash + +# (c) 2009 bouleetbil <[email protected]> +# rc.plymouth for Frugalware +# distributed under GPL License + +# chkconfig: - 00 00 +# description: Displays a nice splash screen during system boot and halt + +source /lib/initscripts/functions +TEXTDOMAIN=plymouth +TEXTDOMAINDIR=/lib/initscripts/messages + +actions=(start stop) + +rc_start() +{ + grep -q nosplashy /proc/cmdline && return + chvt 1 + /sbin/plymouthd + sleep 2 + /bin/plymouth --show-splash +} + +rc_stop() +{ + rc_start shutdown +} + +rc_exec $1 diff --git a/source/xapps-extra/plymouth/rc.zz-plymouth b/source/xapps-extra/plymouth/rc.zz-plymouth new file mode 100755 index 0000000..6fa964c --- /dev/null +++ b/source/xapps-extra/plymouth/rc.zz-plymouth @@ -0,0 +1,22 @@ +#!/bin/bash + +# (c) 2009 bouleetbil <[email protected]> +# rc.zz-plymouth for Frugalware +# distributed under GPL License + +# chkconfig: 2345 99 01 +# description: Shuts down the splash screen at the end of the boot +source /lib/initscripts/functions +actions=(start stop) + +rc_start() +{ + /bin/plymouth --quit +} + +rc_stop() +{ + : +} + +rc_exec $1 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
