summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2015-05-15 17:02:07 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2015-05-15 17:02:07 -0400
commit76360551dcc9c5f2a4f9cff946a01161faaec344 (patch)
tree9913f0e8b694be86b260b9885d96bf9e6bc2446f
downloadicebox-artwork-76360551dcc9c5f2a4f9cff946a01161faaec344.tar.bz2
icebox-artwork-76360551dcc9c5f2a4f9cff946a01161faaec344.tar.xz
icebox-artwork-76360551dcc9c5f2a4f9cff946a01161faaec344.tar.zst
Initial commit
-rw-r--r--debian/changelog43
-rw-r--r--debian/compat1
-rw-r--r--debian/control69
-rw-r--r--debian/copyright34
-rw-r--r--debian/icebox-wallpapers.install1
-rw-r--r--debian/icebox-wallpapers.links1
-rw-r--r--debian/plymouth-theme-icebox-logo.install1
-rwxr-xr-xdebian/plymouth-theme-icebox-logo.postinst42
-rwxr-xr-xdebian/plymouth-theme-icebox-logo.prerm58
-rw-r--r--debian/plymouth-theme-icebox-text.install1
-rwxr-xr-xdebian/plymouth-theme-icebox-text.postinst42
-rwxr-xr-xdebian/plymouth-theme-icebox-text.prerm58
-rwxr-xr-xdebian/plymouth-theme-openbox-logo.prerm54
-rwxr-xr-xdebian/plymouth-theme-openbox-text.prerm54
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--lib/plymouth/themes/icebox-logo/fsck-fade.pngbin0 -> 326 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/fsck-fade_16bit.pngbin0 -> 98 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/icebox-logo.plymouth8
-rw-r--r--lib/plymouth/themes/icebox-logo/icebox-logo.script512
-rw-r--r--lib/plymouth/themes/icebox-logo/logo.pngbin0 -> 548 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/logo_16bit.pngbin0 -> 488 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/passw-dialog.pngbin0 -> 2975 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/progress-fade.pngbin0 -> 269 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/progress-fade_16bit.pngbin0 -> 88 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/progress-meter.pngbin0 -> 236 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/progress-meter_16bit.pngbin0 -> 89 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/spinner.pngbin0 -> 1000 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/test.pngbin0 -> 148 bytes
-rw-r--r--lib/plymouth/themes/icebox-logo/wallpaper.pngbin0 -> 608258 bytes
-rw-r--r--lib/plymouth/themes/icebox-text/icebox-text.plymouth11
-rw-r--r--usr/share/backgrounds/stripes.jpgbin0 -> 579728 bytes
32 files changed, 998 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5469e1c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,43 @@
+icebox-artwork (15.10.0) UNRELEASED; urgency=medium
+
+ * Transition from Openbox Desktop to Icebox.
+ * lib/plymouth/themes/icebox-text/icebox-text.plymouth:
+ - Update version to 15.10
+
+ -- Unit 193 <unit193@ubuntu.com> Fri, 15 May 2015 16:59:41 -0400
+
+openbox-artwork (15.04.1) vivid; urgency=medium
+
+ * Re-sync with upstream.
+ - Add fsck report and cancel support with systemd to the logo theme
+ (LP: #1425434)
+
+ -- Unit 193 <unit193@ubuntu.com> Wed, 25 Feb 2015 15:58:12 -0500
+
+openbox-artwork (15.04.0) vivid; urgency=medium
+
+ * Bump plymouth theme for 15.04.
+ * Update standards-version to 3.9.6.
+ * d/copyright: Update years to 2015.
+
+ -- Unit 193 <unit193@ubuntu.com> Tue, 13 Jan 2015 00:58:24 -0500
+
+openbox-artwork (14.10.0) utopic; urgency=medium
+
+ * Bump plymouth theme for 14.10
+ * Re-sync plymouth script with upstream.
+ * Install a symlink for the default wallpaper.
+
+ -- Unit 193 <unit193@ubuntu.com> Fri, 16 May 2014 00:28:58 -0400
+
+openbox-artwork (14.04.1) trusty; urgency=low
+
+ * Bump plymouth theme for 14.04
+
+ -- Unit 193 <unit193@ubuntu.com> Wed, 18 Dec 2013 23:08:37 -0500
+
+openbox-artwork (13.10.0v1) saucy; urgency=low
+
+ * Initial pre-release
+
+ -- Unit 193 <unit193@ubuntu.com> Mon, 14 Oct 2013 02:29:39 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4b6149b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,69 @@
+Source: icebox-artwork
+Section: x11
+Priority: optional
+Maintainer: Unit 193 <unit193@ubuntu.com>
+Build-Depends: debhelper (>= 9)
+Standards-Version: 3.9.6
+
+Package: icebox-wallpapers
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: openbox-wallpapers (<< 15.10.0~)
+Replaces: openbox-wallpapers (<< 15.10.0~)
+Description: Wallpapers for Icebox
+ This package contains the default wallpapers for Icebox.
+
+Package: plymouth-theme-icebox-logo
+Architecture: all
+Depends: ${misc:Depends}, plymouth, plymouth-label
+Provides: plymouth-theme
+Breaks: plymouth-theme-openbox-logo (<< 15.10.0~)
+Replaces: plymouth-theme-openbox-logo (<< 15.10.0~)
+Description: graphical boot animation and logger - icebox-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 icebox-logo theme.
+
+Package: plymouth-theme-icebox-text
+Architecture: all
+Depends: ${misc:Depends}, plymouth, plymouth-theme-ubuntu-text
+Provides: plymouth-theme
+Breaks: plymouth-theme-openbox-text (<< 15.10.0~)
+Replaces: plymouth-theme-openbox-text (<< 15.10.0~)
+Description: graphical boot animation and logger - icebox-text 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 icebox-text theme used when no support for
+ a graphical theme is found on your system.
+
+Package: openbox-wallpapers
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: ${misc:Depends}, icebox-wallpapers
+Description: transitional dummy package for icebox-wallpapers
+ This is a transitional package to ease upgrades to icebox-wallpapers.
+ It can be safely removed.
+
+Package: plymouth-theme-openbox-logo
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: ${misc:Depends}, plymouth-theme-icebox-logo
+Description: transitional dummy package for plymouth-theme-icebox-logo
+ This is a transitional package to ease upgrades to plymouth-theme-icebox-logo.
+ It can be safely removed.
+
+Package: plymouth-theme-openbox-text
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: ${misc:Depends}, plymouth-theme-icebox-text
+Description: transitional dummy package for plymouth-theme-icebox-text
+ This is a transitional package to ease upgrades to plymouth-theme-icebox-text.
+ It can be safely removed.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b2a0c5a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Icebox Artwork
+Upstream-Contact: Unit 193 <unit193@ubuntu.com>
+
+Files: lib/*
+Copyright: 2009 Canonical Ltd.
+ 2011-2014 The Xubuntu Community
+License: GPL-3+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems the full text of the GNU General Public License can be found
+ in the `/usr/share/common-licenses/GPL-3' file.
+
+Files: debian/*
+Copyright: 2013-2015, Unit 193 <unit193@ubuntu.com>
+ 2007-2009, Cody A.W. Somerville <cody-somerville@ubuntu.com>
+ 2007-2012, Lionel Le Folgoc <mrpouit@ubuntu.com>
+ 2006-2008, Gauvain Pocentek <gauvainpocentek@ubuntu.com>
+ 2005-2008, Jani Monoses <jani@ubuntu.com>
+License: GPL-2+
+ On Debian systems the full text of the GNU General Public License can be found
+ in the `/usr/share/common-licenses/GPL-2' file.
diff --git a/debian/icebox-wallpapers.install b/debian/icebox-wallpapers.install
new file mode 100644
index 0000000..a0f0dd6
--- /dev/null
+++ b/debian/icebox-wallpapers.install
@@ -0,0 +1 @@
+usr/share/backgrounds/
diff --git a/debian/icebox-wallpapers.links b/debian/icebox-wallpapers.links
new file mode 100644
index 0000000..68639e6
--- /dev/null
+++ b/debian/icebox-wallpapers.links
@@ -0,0 +1 @@
+/usr/share/backgrounds/stripes.jpg /usr/share/backgrounds/icebox.jpg
diff --git a/debian/plymouth-theme-icebox-logo.install b/debian/plymouth-theme-icebox-logo.install
new file mode 100644
index 0000000..9a87fac
--- /dev/null
+++ b/debian/plymouth-theme-icebox-logo.install
@@ -0,0 +1 @@
+lib/plymouth/themes/icebox-logo/
diff --git a/debian/plymouth-theme-icebox-logo.postinst b/debian/plymouth-theme-icebox-logo.postinst
new file mode 100755
index 0000000..2f50d18
--- /dev/null
+++ b/debian/plymouth-theme-icebox-logo.postinst
@@ -0,0 +1,42 @@
+#!/bin/sh
+# 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>
+
+set -e
+
+case "$1" in
+ configure)
+ update-alternatives \
+ --install /lib/plymouth/themes/default.plymouth default.plymouth \
+ /lib/plymouth/themes/icebox-logo/icebox-logo.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-icebox-logo.prerm b/debian/plymouth-theme-icebox-logo.prerm
new file mode 100755
index 0000000..0822aca
--- /dev/null
+++ b/debian/plymouth-theme-icebox-logo.prerm
@@ -0,0 +1,58 @@
+#!/bin/sh
+# This script can be called in the following ways:
+#
+# After the package was removed:
+# <postrm> remove
+#
+# After the package was purged:
+# <postrm> purge
+#
+# After the package was upgraded:
+# <old-postrm> upgrade <new-version>
+# if that fails:
+# <new-postrm> failed-upgrade <old-version>
+#
+#
+# After all of the packages files have been replaced:
+# <postrm> disappear <overwriting-package> <version>
+#
+#
+# If preinst fails during install:
+# <new-postrm> abort-install
+#
+# If preinst fails during upgrade of removed package:
+# <new-postrm> abort-install <old-version>
+#
+# If preinst fails during upgrade:
+# <new-postrm> abort-upgrade <old-version>
+
+set -e
+
+case "$1" in
+ remove)
+ update-alternatives \
+ --remove default.plymouth /lib/plymouth/themes/icebox-logo/icebox-logo.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/debian/plymouth-theme-icebox-text.install b/debian/plymouth-theme-icebox-text.install
new file mode 100644
index 0000000..705515d
--- /dev/null
+++ b/debian/plymouth-theme-icebox-text.install
@@ -0,0 +1 @@
+lib/plymouth/themes/icebox-text/
diff --git a/debian/plymouth-theme-icebox-text.postinst b/debian/plymouth-theme-icebox-text.postinst
new file mode 100755
index 0000000..6dc7717
--- /dev/null
+++ b/debian/plymouth-theme-icebox-text.postinst
@@ -0,0 +1,42 @@
+#!/bin/sh
+# 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>
+
+set -e
+
+case "$1" in
+ configure)
+ update-alternatives \
+ --install /lib/plymouth/themes/text.plymouth text.plymouth \
+ /lib/plymouth/themes/icebox-text/icebox-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-icebox-text.prerm b/debian/plymouth-theme-icebox-text.prerm
new file mode 100755
index 0000000..65c91e5
--- /dev/null
+++ b/debian/plymouth-theme-icebox-text.prerm
@@ -0,0 +1,58 @@
+#!/bin/sh
+# This script can be called in the following ways:
+#
+# After the package was removed:
+# <postrm> remove
+#
+# After the package was purged:
+# <postrm> purge
+#
+# After the package was upgraded:
+# <old-postrm> upgrade <new-version>
+# if that fails:
+# <new-postrm> failed-upgrade <old-version>
+#
+#
+# After all of the packages files have been replaced:
+# <postrm> disappear <overwriting-package> <version>
+#
+#
+# If preinst fails during install:
+# <new-postrm> abort-install
+#
+# If preinst fails during upgrade of removed package:
+# <new-postrm> abort-install <old-version>
+#
+# If preinst fails during upgrade:
+# <new-postrm> abort-upgrade <old-version>
+
+set -e
+
+case "$1" in
+ remove)
+ update-alternatives \
+ --remove text.plymouth /lib/plymouth/themes/icebox-text/icebox-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/debian/plymouth-theme-openbox-logo.prerm b/debian/plymouth-theme-openbox-logo.prerm
new file mode 100755
index 0000000..e95659d
--- /dev/null
+++ b/debian/plymouth-theme-openbox-logo.prerm
@@ -0,0 +1,54 @@
+#!/bin/sh
+# This script can be called in the following ways:
+#
+# After the package was removed:
+# <postrm> remove
+#
+# After the package was purged:
+# <postrm> purge
+#
+# After the package was upgraded:
+# <old-postrm> upgrade <new-version>
+# if that fails:
+# <new-postrm> failed-upgrade <old-version>
+#
+#
+# After all of the packages files have been replaced:
+# <postrm> disappear <overwriting-package> <version>
+#
+#
+# If preinst fails during install:
+# <new-postrm> abort-install
+#
+# If preinst fails during upgrade of removed package:
+# <new-postrm> abort-install <old-version>
+#
+# If preinst fails during upgrade:
+# <new-postrm> abort-upgrade <old-version>
+
+set -e
+
+if dpkg --compare-versions "$2" lt-nl "15.10.0~"; then
+ update-alternatives \
+ --remove default.plymouth /lib/plymouth/themes/openbox-logo/openbox-logo.plymouth
+
+ if which update-initramfs >/dev/null 2>&1
+ then
+ update-initramfs -u
+ fi
+fi
+
+case "$1" in
+ remove)
+ update-alternatives \
+ --remove default.plymouth /lib/plymouth/themes/openbox-logo/openbox-logo.plymouth
+
+ if which update-initramfs >/dev/null 2>&1
+ then
+ update-initramfs -u
+ fi
+ ;;
+esac
+
+#DEBHELPER#
+exit 0
diff --git a/debian/plymouth-theme-openbox-text.prerm b/debian/plymouth-theme-openbox-text.prerm
new file mode 100755
index 0000000..20a0e45
--- /dev/null
+++ b/debian/plymouth-theme-openbox-text.prerm
@@ -0,0 +1,54 @@
+#!/bin/sh
+# This script can be called in the following ways:
+#
+# After the package was removed:
+# <postrm> remove
+#
+# After the package was purged:
+# <postrm> purge
+#
+# After the package was upgraded:
+# <old-postrm> upgrade <new-version>
+# if that fails:
+# <new-postrm> failed-upgrade <old-version>
+#
+#
+# After all of the packages files have been replaced:
+# <postrm> disappear <overwriting-package> <version>
+#
+#
+# If preinst fails during install:
+# <new-postrm> abort-install
+#
+# If preinst fails during upgrade of removed package:
+# <new-postrm> abort-install <old-version>
+#
+# If preinst fails during upgrade:
+# <new-postrm> abort-upgrade <old-version>
+
+set -e
+
+if dpkg --compare-versions "$2" lt-nl "15.10.0~"; then
+ update-alternatives \
+ --remove text.plymouth /lib/plymouth/themes/openbox-text/openbox-text.plymouth
+
+ if which update-initramfs >/dev/null 2>&1
+ then
+ update-initramfs -u
+ fi
+fi
+
+case "$1" in
+ remove)
+ update-alternatives \
+ --remove text.plymouth /lib/plymouth/themes/openbox-text/openbox-text.plymouth
+
+ if which update-initramfs >/dev/null 2>&1
+ then
+ update-initramfs -u
+ fi
+ ;;
+esac
+
+#DEBHELPER#
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2b796a9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+override_dh_gconf:
+ dh_gconf --priority=20
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/lib/plymouth/themes/icebox-logo/fsck-fade.png b/lib/plymouth/themes/icebox-logo/fsck-fade.png
new file mode 100644
index 0000000..3ef161a
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/fsck-fade.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/fsck-fade_16bit.png b/lib/plymouth/themes/icebox-logo/fsck-fade_16bit.png
new file mode 100644
index 0000000..53b486f
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/fsck-fade_16bit.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/icebox-logo.plymouth b/lib/plymouth/themes/icebox-logo/icebox-logo.plymouth
new file mode 100644
index 0000000..88375d9
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/icebox-logo.plymouth
@@ -0,0 +1,8 @@
+[Plymouth Theme]
+Name=Icebox Logo
+Description=A theme that features a background with a logo.
+ModuleName=script
+
+[script]
+ImageDir=/lib/plymouth/themes/icebox-logo
+ScriptFile=/lib/plymouth/themes/icebox-logo/icebox-logo.script
diff --git a/lib/plymouth/themes/icebox-logo/icebox-logo.script b/lib/plymouth/themes/icebox-logo/icebox-logo.script
new file mode 100644
index 0000000..0f0c1e1
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/icebox-logo.script
@@ -0,0 +1,512 @@
+ /**************************************************************************
+ *
+ * Copyright (C) 2011 The Xubuntu Community
+ * Copyright (C) 2009 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Written by: Mad Nick <dr.madnick@gmail.com>
+ *
+ **************************************************************************/
+
+/*
+ * Related to the screen */
+
+screen_width = Window.GetWidth();
+screen_height = Window.GetHeight();
+screen_x = Window.GetX();
+screen_y = Window.GetY();
+
+/**/
+
+/*
+ * Images, check bits per pixel
+ * and load images accordingly */
+
+background_image = Image("wallpaper.png");
+passw_dialog_input_image = Image("passw-dialog.png");
+bullet_image = Image("test.png");
+
+bpp = Window.GetBitsPerPixel();
+
+if (bpp == 4) {
+
+ logotype_image = Image("logo_16bit.png");
+ progress_meter_image = Image("progress-meter_16bit.png");
+ progress_fade_image = Image("progress-fade_16bit.png");
+ fsck_progress_meter_image = Image("progress-meter_16bit.png");
+ fsck_progress_fade_image = Image("fsck-fade_16bit.png");
+
+}
+else {
+
+ logotype_image = Image("logo.png");
+ progress_meter_image = Image("progress-meter.png");
+ progress_fade_image = Image("progress-fade.png");
+ fsck_progress_meter_image = Image("progress-meter.png");
+ fsck_progress_fade_image = Image("fsck-fade.png");
+
+}
+
+/**/
+
+/*
+ * Sprites */
+
+ratio = screen_height / screen_width;
+background_ratio = background_image.GetHeight() / background_image.GetWidth();
+factor = 0;
+
+if (ratio > background_ratio) {
+
+ factor = screen_height / background_image.GetHeight();
+
+}
+else {
+
+ factor = screen_width / background_image.GetWidth();
+
+}
+
+scaled = background_image.Scale(background_image.GetWidth() * factor, background_image.GetHeight() * factor);
+background_sprite = Sprite(scaled);
+background_sprite.SetX(screen_x + screen_width / 2 - scaled.GetWidth() / 2);
+background_sprite.SetY(screen_y + screen_height / 2 - scaled.GetHeight() / 2);
+
+logotype_sprite = Sprite(logotype_image);
+
+fsck_progress_meter_sprite = Sprite(fsck_progress_meter_image);
+fsck_progress_fade_sprite = Sprite(fsck_progress_fade_image.Scale(1, fsck_progress_fade_image.GetHeight()));
+
+passw_dialog_input_sprite = Sprite(passw_dialog_input_image);
+passw_lbl_sprite = Sprite();
+
+msg_label_sprite = Sprite();
+
+/**/
+
+/*
+ * Misc */
+
+counter = 0;
+
+fade_pos_x = (screen_width / 2) - (progress_meter_image.GetWidth() / 2);
+fade_dir = 0; /* 0 = right, 1 = left */
+
+fsck_running = 0;
+fsck_dev_array;
+fsck_dev_counter = 0;
+fsck_fade_in_counter = 0;
+fsck_done_fading = 0;
+
+stars_array;
+stars_n = 0;
+
+//full_msg = "";
+msgs_line = [NULL,NULL,NULL,NULL,NULL];
+
+/**/
+
+/*
+ * Debug related */
+
+debug = 0;
+debug_sprite = Sprite();
+
+fun debugOutput(str) {
+
+ /*
+ * This will print to the top left corner */
+ debug_sprite.SetImage(Image.Text(str));
+
+}
+
+/**/
+
+/*
+ * Setup the graphics properties */
+logotype_sprite.SetPosition(screen_x + (screen_width / 2) - (logotype_image.GetWidth() / 2), screen_y + (screen_height / 2) - (logotype_image.GetHeight() / 2));
+fsck_progress_meter_sprite.SetPosition(screen_x + (screen_width / 2) - (progress_meter_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 25);
+fsck_progress_fade_sprite.SetPosition(screen_x + (screen_width / 2) - (progress_meter_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 25);
+fsck_progress_meter_sprite.SetOpacity(0);
+fsck_progress_fade_sprite.SetOpacity(0);
+passw_dialog_input_sprite.SetPosition(screen_x + (screen_width / 2) - (passw_dialog_input_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 70);
+passw_dialog_input_sprite.SetOpacity(0);
+passw_lbl_sprite.SetOpacity(0);
+
+spin = 0;
+
+/*
+ * this function only goes up to 100
+ * because thats all thats needed for
+ * the progress meter bar */
+fun atoi(str) {
+
+ int = -1;
+
+ for (i = 0; i <= 100; i++) {
+
+ if (i + "" == str) {
+
+ int = i;
+
+ break;
+
+ }
+
+ }
+
+ return int;
+
+}
+
+/*
+ * This handler will/can be invoked
+ * 50 times per second.
+ *
+ * According to the previous author of the
+ * splash script, without this callback
+ * the screen is not updated correctly */
+spinner_sprite;
+spinner;
+
+fun refreshHandler() {
+
+ if (spin < 3.14 * 2) {
+
+ spin = spin + 0.1;
+
+ }
+ else {
+
+ spin = 0;
+
+ }
+
+ /* if fsck is running or the password is prompted, hide the spinner */
+ if (fsck_running == 1 || passw_dialog_input_sprite.GetOpacity() == 1) {
+
+ spinner_sprite.SetOpacity(0);
+
+ } else {
+
+ spinner = Image("spinner.png");
+ spinner = spinner.Rotate(spin);
+ spinner_sprite = Sprite(spinner);
+ spinner_sprite.SetPosition(screen_x + (screen_width / 2) - (spinner.GetWidth() / 2), screen_y + (screen_height / 2) - (spinner.GetHeight() / 2) + 80);
+
+ }
+
+ if (fade_dir == 0) {
+
+ counter++;
+
+ if (counter >= 200) {
+
+ fade_dir = 1;
+
+ }
+
+ }
+ else {
+
+ counter--;
+
+ if (counter <= 0) {
+
+ fade_dir = 0;
+
+ }
+
+ }
+
+ if ((fsck_running == 1) && (fsck_done_fading == 0)) {
+
+
+ fsck_progress_meter_sprite.SetOpacity(fsck_fade_in_counter);
+ fsck_progress_fade_sprite.SetOpacity(fsck_fade_in_counter);
+
+ if (fsck_fade_in_counter < 1) {
+
+ fsck_fade_in_counter+= 0.025;
+
+ }
+ else {
+
+ fsck_done_fading = 1;
+
+ }
+
+ }
+
+}
+
+Plymouth.SetRefreshFunction (refreshHandler);
+
+/**/
+
+/*
+ * This function will display the password related information
+ * when being prompt with entering a password */
+fun showPasswordHandler(prompt, stars) {
+
+ if (passw_dialog_input_sprite.GetOpacity() == 0 && passw_lbl_sprite.GetOpacity() == 0) {
+
+ passw_dialog_input_sprite.SetOpacity(1);
+ passw_lbl_sprite.SetOpacity(1);
+
+ }
+
+ tmp_prompt_image = Image.Text(prompt, 1, 1, 1);
+
+ passw_lbl_sprite.SetImage(tmp_prompt_image);
+ passw_lbl_sprite.SetPosition(screen_x + (screen_width / 2) - (tmp_prompt_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 50);
+
+ for(i = 0; i < stars_n; i++) {
+
+ stars_array[i] = NULL;
+
+ }
+
+ stars_n = 0;
+
+ for(i = 0; (i < stars) && (i < 15); i++) {
+
+ stars_array[i] = Sprite(bullet_image);
+ stars_array[i].SetPosition(screen_x + (((screen_width / 2) - (passw_dialog_input_image.GetWidth() / 2)) + (18 * i)) + 2, screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 75);
+ stars_n++;
+
+ }
+
+}
+
+Plymouth.SetDisplayPasswordFunction(showPasswordHandler);
+
+/**/
+
+fun displayNormalHandler() {
+
+ /*
+ * Hide the password dialog and the bullets */
+
+ if (passw_dialog_input_sprite.GetOpacity() == 1) {
+
+ passw_dialog_input_sprite.SetOpacity(0);
+
+ }
+
+ if (passw_lbl_sprite.GetOpacity() == 1) {
+
+ passw_lbl_sprite.SetOpacity(0);
+
+ }
+
+ for(i = 0; i < stars_n; i++) {
+
+ stars_array[i] = NULL;
+
+ }
+
+}
+
+Plymouth.SetDisplayNormalFunction(displayNormalHandler);
+
+fun strlen(string) {
+
+ i = 0;
+
+ while (String(string).CharAt(i)) {
+
+ i++;
+
+ }
+
+ return i;
+
+}
+
+/*
+ * This function will display the most current message */
+fun messageHandler(msg) {
+
+ if ((msg == "") || !msg) {
+
+ return 0;
+
+ }
+
+ if (msg.SubString(0, 5) == "keys:") {
+
+ msg = msg.SubString(5, strlen(msg));
+
+ }
+
+ # Get the message without the "fsckd-cancel-msg" prefix as we don't support i18n
+ if (msg.SubString(0, 17) == "fsckd-cancel-msg:")
+ msg = msg.SubString(17, strlen(msg));
+
+ //full_msg += msg + " ";
+ for(i = 4; i > 0; i--) {
+
+ msgs_line[i] = msgs_line[i - 1];
+
+ }
+
+ msgs_line[0] = Sprite(Image.Text(msg, 1, 1, 1));
+
+ dist = 1;
+
+ for(i = 0; i < 5; i++) {
+
+ if (msgs_line[i] != NULL) {
+
+ msgs_line[i].SetPosition(screen_x + (screen_width / 2) - (msgs_line[i].GetImage().GetWidth() / 2), screen_y + (screen_height - msgs_line[i].GetImage().GetHeight()) - 20*dist);
+ dist++;
+
+ }
+
+ }
+
+}
+
+Plymouth.SetMessageFunction(messageHandler);
+
+/**/
+
+/*
+ * Handles the updates passed to the plymouth daemon
+ * for example the FSCK data */
+fun statusHandler(status) {
+
+ tmp_char;
+ status_array[0] = "";
+ elem_count = 0;
+
+ for (i = 0; String(status).CharAt(i) != ""; i++) {
+
+ tmp_char = String(status).CharAt(i);
+
+ if (tmp_char != ":") {
+
+ status_array[elem_count] += tmp_char;
+
+ }
+ else {
+
+ elem_count++;
+ status_array[elem_count] = "";
+
+ }
+
+ }
+
+ if (status_array[0] == "fsck") {
+
+ already_added = 0;
+
+ if (fsck_running == 0) {
+
+ /*
+ * use the dedicated message handler for this
+ * since there is no messages about fsck checks
+ * currently... */
+ messageHandler("Routine disk drive check.");
+
+ fsck_running = 1;
+
+ }
+
+ for(i = 0; i < fsck_dev_counter; i++) {
+
+ /*
+ * check if the device already exist and update
+ * the progress only in that case */
+ if (fsck_dev_array[i][0] == status_array[1]) {
+
+ fsck_dev_array[i][1] = status_array[2]; /* progress */
+ already_added = 1;
+
+ }
+
+ }
+
+ /*
+ * if the device is not added, then add it */
+ if (already_added == 0) {
+
+ fsck_dev_array[fsck_dev_counter][0] = status_array[1]; /* device */
+ fsck_dev_array[fsck_dev_counter][1] = status_array[2]; /* progress */
+ fsck_dev_counter++;
+
+ }
+
+ /*
+ * update the progress */
+
+ total = 0;
+
+ for(i = 0; i < fsck_dev_counter; i++) {
+
+ total += atoi(fsck_dev_array[i][1]);
+
+ }
+
+ if (fsck_dev_counter > 0) {
+
+ /*
+ * display the total percentage */
+ fsck_progress_fade_sprite.SetImage(fsck_progress_fade_image.Scale((fsck_progress_meter_image.GetWidth() / 100) * (total / fsck_dev_counter), fsck_progress_fade_image.GetHeight()));
+
+ }
+
+ /**/
+
+ /*
+ * if the total progress is at maximum,
+ * make the progress meter go away,
+ * we might want to fade this out... */
+ if (total == (100 * fsck_dev_counter)) {
+
+ fsck_progress_meter_sprite.SetOpacity(0);
+ fsck_progress_fade_sprite.SetOpacity(0);
+
+ }
+
+ }
+
+ # systemd-fsckd pass fsckd:<number_devices>:<progress>:<l10n_string>
+ if (status_array[0] == "fsckd") {
+ fsck_running = 1;
+
+ # remove ",x" as we only care about integers
+ progress_str = status_array[2];
+ progress = atoi(progress_str.SubString(0, strlen(progress_str) - 2));
+
+ fsck_progress_fade_sprite.SetImage(fsck_progress_fade_image.Scale((fsck_progress_meter_image.GetWidth() / 100) * progress, fsck_progress_fade_image.GetHeight()));
+
+ /*
+ * if the total progress is at maximum,
+ * make the progress meter go away,
+ * we might want to fade this out... */
+ if (progress == 100) {
+ fsck_progress_meter_sprite.SetOpacity(0);
+ fsck_progress_fade_sprite.SetOpacity(0);
+ }
+ }
+
+}
+
+Plymouth.SetUpdateStatusFunction(statusHandler);
+
+/**/
diff --git a/lib/plymouth/themes/icebox-logo/logo.png b/lib/plymouth/themes/icebox-logo/logo.png
new file mode 100644
index 0000000..f594f83
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/logo.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/logo_16bit.png b/lib/plymouth/themes/icebox-logo/logo_16bit.png
new file mode 100644
index 0000000..86b885e
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/logo_16bit.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/passw-dialog.png b/lib/plymouth/themes/icebox-logo/passw-dialog.png
new file mode 100644
index 0000000..eae4ae3
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/passw-dialog.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/progress-fade.png b/lib/plymouth/themes/icebox-logo/progress-fade.png
new file mode 100644
index 0000000..0349311
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/progress-fade.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/progress-fade_16bit.png b/lib/plymouth/themes/icebox-logo/progress-fade_16bit.png
new file mode 100644
index 0000000..03e9d82
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/progress-fade_16bit.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/progress-meter.png b/lib/plymouth/themes/icebox-logo/progress-meter.png
new file mode 100644
index 0000000..4e8b719
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/progress-meter.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/progress-meter_16bit.png b/lib/plymouth/themes/icebox-logo/progress-meter_16bit.png
new file mode 100644
index 0000000..c031097
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/progress-meter_16bit.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/spinner.png b/lib/plymouth/themes/icebox-logo/spinner.png
new file mode 100644
index 0000000..2302fc3
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/spinner.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/test.png b/lib/plymouth/themes/icebox-logo/test.png
new file mode 100644
index 0000000..0204902
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/test.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-logo/wallpaper.png b/lib/plymouth/themes/icebox-logo/wallpaper.png
new file mode 100644
index 0000000..0c0bb3a
--- /dev/null
+++ b/lib/plymouth/themes/icebox-logo/wallpaper.png
Binary files differ
diff --git a/lib/plymouth/themes/icebox-text/icebox-text.plymouth b/lib/plymouth/themes/icebox-text/icebox-text.plymouth
new file mode 100644
index 0000000..32f6e59
--- /dev/null
+++ b/lib/plymouth/themes/icebox-text/icebox-text.plymouth
@@ -0,0 +1,11 @@
+[Plymouth Theme]
+Name=Icebox Text
+Description=Text mode theme based on icebox-logo theme
+ModuleName=ubuntu-text
+
+[ubuntu-text]
+title=Icebox 15.10
+black=0x000000
+white=0xffffff
+brown=0x000000
+blue=0xffffff
diff --git a/usr/share/backgrounds/stripes.jpg b/usr/share/backgrounds/stripes.jpg
new file mode 100644
index 0000000..81999a9
--- /dev/null
+++ b/usr/share/backgrounds/stripes.jpg
Binary files differ