diff --git a/debian/changelog b/debian/changelog index e40aa55..3257003 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,11 @@ lubuntu-artwork (0.12) UNRELEASED; urgency=low - * + * lib/plymouth/themes/lubuntu-text: + - New text theme, based on kubuntu one. + * debian/control + - New lubuntu-text binary. + * debian/plymouth-theme-lubuntu-text.* + - Install and configure the new text theme. -- Julien Lavergne Fri, 01 Oct 2010 02:50:18 +0200 diff --git a/debian/control b/debian/control index 0e364f5..e453555 100644 --- a/debian/control +++ b/debian/control @@ -24,6 +24,15 @@ Conflicts: lubuntu-plymouth-theme Description: plymouth theme for Lubuntu This package contain a specific Lubuntu theme for plymouth. +Package: plymouth-theme-lubuntu-text +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, plymouth, plymouth-label +Provides: plymouth-theme +Replaces: plymouth (<< 0.8.1-1~) +Description: plymouth text theme for Lubuntu + This package contain a specific Lubuntu theme for plymouth, which display a + simple text. + Package: lubuntu-icon-theme Architecture: all Depends: ${misc:Depends}, elementary-icon-theme diff --git a/debian/plymouth-theme-lubuntu-logo.install b/debian/plymouth-theme-lubuntu-logo.install index c3af857..ec9acd3 100644 --- a/debian/plymouth-theme-lubuntu-logo.install +++ b/debian/plymouth-theme-lubuntu-logo.install @@ -1 +1 @@ -lib/ +lib/plymouth/themes/lubuntu-logo/ diff --git a/debian/plymouth-theme-lubuntu-text.install b/debian/plymouth-theme-lubuntu-text.install new file mode 100644 index 0000000..0b8e708 --- /dev/null +++ b/debian/plymouth-theme-lubuntu-text.install @@ -0,0 +1 @@ +lib/plymouth/themes/lubuntu-text/ diff --git a/debian/plymouth-theme-lubuntu-text.postinst b/debian/plymouth-theme-lubuntu-text.postinst new file mode 100644 index 0000000..c62825d --- /dev/null +++ b/debian/plymouth-theme-lubuntu-text.postinst @@ -0,0 +1,41 @@ +#!/bin/sh -e +# This script can be called in the following ways: +# +# After the package was installed: +# configure +# +# +# If prerm fails during upgrade or fails on failed upgrade: +# abort-upgrade +# +# If prerm fails during deconfiguration of a package: +# abort-deconfigure in-favour +# removing +# +# If prerm fails during replacement due to conflict: +# abort-remove in-favour + + +case "$1" in + configure) + update-alternatives \ + --install /lib/plymouth/themes/text.plymouth text.plymouth \ + /lib/plymouth/themes/lubuntu-text/lubuntu-text.plymouth 150 + + 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 + +#DEBHELPER# +exit 0 diff --git a/debian/plymouth-theme-lubuntu-text.postrm b/debian/plymouth-theme-lubuntu-text.postrm new file mode 100644 index 0000000..3de304f --- /dev/null +++ b/debian/plymouth-theme-lubuntu-text.postrm @@ -0,0 +1,57 @@ +#!/bin/sh -e +# This script can be called in the following ways: +# +# After the package was removed: +# remove +# +# After the package was purged: +# purge +# +# After the package was upgraded: +# upgrade +# if that fails: +# failed-upgrade +# +# +# After all of the packages files have been replaced: +# disappear +# +# +# If preinst fails during install: +# abort-install +# +# If preinst fails during upgrade of removed package: +# abort-install +# +# If preinst fails during upgrade: +# abort-upgrade + + +case "$1" in + remove) + update-alternatives \ + --remove text.plymouth /lib/plymouth/themes/lubuntu-text/lubuntu-text.plymouth + + if which update-initramfs >/dev/null 2>&1 + then + update-initramfs -u + fi + ;; + + purge) + ;; + + upgrade|failed-upgrade|disappear) + ;; + + abort-install|abort-upgrade) + ;; + + *) + echo "$0 called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# +exit 0 diff --git a/lib/plymouth/themes/lubuntu-text/lubuntu-text.plymouth b/lib/plymouth/themes/lubuntu-text/lubuntu-text.plymouth new file mode 100644 index 0000000..0d81945 --- /dev/null +++ b/lib/plymouth/themes/lubuntu-text/lubuntu-text.plymouth @@ -0,0 +1,11 @@ +[Plymouth Theme] +Name=Lubuntu Text +Description=Text mode theme based on kubuntu-logo theme +ModuleName=ubuntu-text + +[ubuntu-text] +title=Lubuntu 11.04 +black=0x0078C2 +white=0xffffff +brown=0x009DFD +blue=0x00182C