Commit 7fb61e92 authored by Lucas Manika Koeb's avatar Lucas Manika Koeb
Browse files

le-plymouth-theme: Initial commit


Signed-off-by: default avatarLucas Manika Koeb <lmk08@c3sl.ufpr.br>
parent 16025848
#!/bin/bash
# gerar.sh
# Copyright (c) 2006 by Bruno Ribas <ribas@ufpr.br>
DIRTMP=$(mktemp -d)
VERSAO=$(cat VERSAO)
#arrumar versao
#$1 tipo de incremento
MAJOR=$(echo $VERSAO| cut -d'.' -f1)
MINOR=$(echo $VERSAO| cut -d'.' -f2)
REVISION=$(echo $VERSAO| cut -d'.' -f3)
case $1 in
Minor)
((MINOR++))
REVISION=0
;;
Major)
((MAJOR++))
MINOR=0
REVISION=0
;;
help)
echo "Uso: $0 Major|Minor|Revision"
echo ' Major - Altera versao Major'
echo ' Minor - Altera versao Minor'
exit
;;
*)
((REVISION++))
;;
esac
VERSAO="${MAJOR}.${MINOR}.${REVISION}"
echo "$VERSAO" > VERSAO
#Compila a documentacao do pacote no diretorio doc/
#cd doc/
#hevea -text *.tex
#hevea -text *.tex
#cd ../
cp -a pacote $DIRTMP
#Copia a documentacao compilada para dentro do pacote.
#cp doc/*.txt $DIRTMP/pacote/usr/share/doc/prd-*
cd $DIRTMP
find . -name ".git" -exec rm -rf {} \; &>/dev/null
sed -i -e "s/Version:/Version: $VERSAO/" pacote/DEBIAN/control
fakeroot dpkg -b pacote .
cd -
cp $DIRTMP/*deb .
rm -rf $DIRTMP
# vim:tabstop=4:shiftwidth=4:encoding=iso-8859-1
Package: le-plymouth-theme
Source: plymouth
Version:
Architecture: all
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Installed-Size: 103
Depends: plymouth, plymouth-label
Replaces: plymouth (<< 0.8.1-1~)
Provides: plymouth-theme
Section: x11
Priority: optional
Description: graphical boot animation and logger - le-logo theme
Plymouth is an application that runs very early in the boot process
(even before the root filesystem is mounted!) that provides a graphical
boot animation while the boot process happens in the background.
.
This package contains the default le-logo theme.
#!/bin/sh -e
# This script can be called in the following ways:
#
# After the package was installed:
# <postinst> configure <old-version>
#
#
# If prerm fails during upgrade or fails on failed upgrade:
# <old-postinst> abort-upgrade <new-version>
#
# If prerm fails during deconfiguration of a package:
# <postinst> abort-deconfigure in-favour <new-package> <version>
# removing <old-package> <version>
#
# If prerm fails during replacement due to conflict:
# <postinst> abort-remove in-favour <new-package> <version>
case "$1" in
configure)
update-alternatives \
--install /lib/plymouth/themes/default.plymouth default.plymouth \
/lib/plymouth/themes/le-logo/le-logo.plymouth 100 \
--slave /lib/plymouth/themes/default.grub default.plymouth.grub \
/lib/plymouth/themes/le-logo/le-logo.grub
if which update-initramfs >/dev/null 2>&1
then
update-initramfs -u
fi
;;
abort-upgrade|abort-deconfigure|abort-remove)
;;
*)
echo "$0 called with unknown argument \`$1'" 1>&2
exit 1
;;
esac
exit 0
#!/bin/sh
set -e
if [ "x$1" = xremove ]; then
if which update-initramfs >/dev/null 2>&1
then
update-initramfs -u
fi
fi
#!/bin/sh
set -e
if [ "x$1" = xremove ]; then
update-alternatives \
--remove default.plymouth /lib/plymouth/themes/le-logo/le-logo.plymouth
fi
[Plymouth Theme]
Name=LE Logo
Description=A theme that features a blank background with a logo.
ModuleName=script
[script]
ImageDir=/lib/plymouth/themes/le-logo
ScriptFile=/lib/plymouth/themes/le-logo/le-logo.script
C3SL - Centro de Computacao Cientifica e Software Livre
Adriano da Luz
Bruno Cesar Ribas
Carlos Carvalho
Cleide Luzia Bonfim Possamai
Danilo Kiyoshi Simizu Yorinori
Diego Giovane Pasqualin
Eduardo Todt
Erik Alexandre Pucci
Felipe Cys Laskoski
Guilherme Zasyeki Machado
Josiney de Souza
Juliana Bueno
Klismann Smoger Mottin
Laura Sanchez Garcia
Luis Carlos Erpen de Bona
Marcela Saragioto
Marcos Castilho
Pedro Eugenio Rocha
Renan Franca De Miranda
Ricardo Tavares De Oliveira
Rubens Massayuki Suguimoto
Thiago Henrique Dos Santos Picharski
Tiago Rodrigo Kepe
Victor Tarabola Cortiano
Vinicius Kwiecien Ruoso
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment