diff -Nru plymouth-theme-earth-sunrise-1.0/debian/changelog plymouth-theme-earth-sunrise-2.0/debian/changelog --- plymouth-theme-earth-sunrise-1.0/debian/changelog 2011-06-20 10:41:05.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/changelog 2016-09-19 08:05:08.000000000 +0000 @@ -1,5 +1,5 @@ -plymouth-theme-earth-sunrise (1.0-1ppa1~inameiname1) natty; urgency=low +plymouth-theme-earth-sunrise (2.0-1ppa2~inameiname2) xenial; urgency=low - * Initial Release. + * Latest release ported to Launchpad for PPA use. - -- Inameiname Mon, 20 Jun 2011 06:40:45 -0400 + -- Inameiname Mon, 19 Sep 2016 04:04:27 -0400 diff -Nru plymouth-theme-earth-sunrise-1.0/debian/compat plymouth-theme-earth-sunrise-2.0/debian/compat --- plymouth-theme-earth-sunrise-1.0/debian/compat 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/compat 2016-09-19 08:04:29.000000000 +0000 @@ -1 +1 @@ -7 +8 diff -Nru plymouth-theme-earth-sunrise-1.0/debian/control plymouth-theme-earth-sunrise-2.0/debian/control --- plymouth-theme-earth-sunrise-1.0/debian/control 2011-06-20 10:43:01.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/control 2016-09-19 08:06:41.000000000 +0000 @@ -2,13 +2,13 @@ Section: utils Priority: optional Maintainer: Inameiname -Build-Depends: debhelper (>= 7.0.50~) -Standards-Version: 3.9.1 +Build-Depends: debhelper (>= 8.0.0) +Standards-Version: 3.9.4 Homepage: http://gnome-look.org/content/show.php/Earth+Sunrise+Plymouth+Theme?content=137171 -#Vcs-Git: git://git.debian.org/collab-maint/plymouth-theme-earth-sunrise-1.0.git -#Vcs-Browser: http://git.debian.org/?p=collab-maint/plymouth-theme-earth-sunrise-1.0.git;a=summary +#Vcs-Git: git://git.debian.org/collab-maint/plymouth-theme-earth-sunrise.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/plymouth-theme-earth-sunrise.git;a=summary Package: plymouth-theme-earth-sunrise Architecture: all Depends: plymouth, plymouth-label -Description: Plymouth theme for Ubuntu >= 10.04 & Linux Mint >= 9 . +Description: Plymouth theme for Ubuntu >= 16.04 & Linux Mint >= 18 . diff -Nru plymouth-theme-earth-sunrise-1.0/debian/copyright plymouth-theme-earth-sunrise-2.0/debian/copyright --- plymouth-theme-earth-sunrise-1.0/debian/copyright 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/copyright 2016-09-19 08:04:29.000000000 +0000 @@ -1,5 +1,5 @@ -Format: http://dep.debian.net/deps/dep5 -Upstream-Name: plymouth-theme-earth-sunrise-1.0 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: plymouth-theme-earth-sunrise-2.0 Source: Files: * @@ -8,7 +8,7 @@ License: GPL-3.0+ Files: debian/* -Copyright: 2011 Inameiname +Copyright: 2016 Inameiname License: GPL-3.0+ License: GPL-3.0+ @@ -28,13 +28,7 @@ On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". -# Please choose a license for your packaging work. If the program you package -# uses a mainstream license, using the same license is the safest choice. -# Please avoid to pick license terms that are more restrictive than the -# packaged work, as it may make Debian's contributions unacceptable upstream. -# If you just want it to be GPL version 3, leave the following line in. - -and is licensed under the GPL version 3, see above. - # Please also look if there are files or directories which have a # different copyright/license attached and list them here. +# Please avoid to pick license terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff -Nru plymouth-theme-earth-sunrise-1.0/debian/emacsen-install.ex plymouth-theme-earth-sunrise-2.0/debian/emacsen-install.ex --- plymouth-theme-earth-sunrise-1.0/debian/emacsen-install.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/emacsen-install.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ -#! /bin/sh -e -# /usr/lib/emacsen-common/packages/install/plymouth-theme-earth-sunrise-1.0 - -# Written by Jim Van Zandt , borrowing heavily -# from the install scripts for gettext by Santiago Vila -# and octave by Dirk Eddelbuettel . - -FLAVOR=$1 -PACKAGE=plymouth-theme-earth-sunrise-1.0 - -if [ ${FLAVOR} = emacs ]; then exit 0; fi - -echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} - -#FLAVORTEST=`echo $FLAVOR | cut -c-6` -#if [ ${FLAVORTEST} = xemacs ] ; then -# SITEFLAG="-no-site-file" -#else -# SITEFLAG="--no-site-file" -#fi -FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" - -ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} -ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} - -# Install-info-altdir does not actually exist. -# Maybe somebody will write it. -if test -x /usr/sbin/install-info-altdir; then - echo install/${PACKAGE}: install Info links for ${FLAVOR} - install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz -fi - -install -m 755 -d ${ELCDIR} -cd ${ELDIR} -FILES=`echo *.el` -cp ${FILES} ${ELCDIR} -cd ${ELCDIR} - -cat << EOF > path.el -(setq load-path (cons "." load-path) byte-compile-warnings nil) -EOF -${FLAVOR} ${FLAGS} ${FILES} -rm -f *.el path.el - -exit 0 diff -Nru plymouth-theme-earth-sunrise-1.0/debian/emacsen-remove.ex plymouth-theme-earth-sunrise-2.0/debian/emacsen-remove.ex --- plymouth-theme-earth-sunrise-1.0/debian/emacsen-remove.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/emacsen-remove.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -#!/bin/sh -e -# /usr/lib/emacsen-common/packages/remove/plymouth-theme-earth-sunrise-1.0 - -FLAVOR=$1 -PACKAGE=plymouth-theme-earth-sunrise-1.0 - -if [ ${FLAVOR} != emacs ]; then - if test -x /usr/sbin/install-info-altdir; then - echo remove/${PACKAGE}: removing Info links for ${FLAVOR} - install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/plymouth-theme-earth-sunrise-1.0.info.gz - fi - - echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} - rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} -fi diff -Nru plymouth-theme-earth-sunrise-1.0/debian/emacsen-startup.ex plymouth-theme-earth-sunrise-2.0/debian/emacsen-startup.ex --- plymouth-theme-earth-sunrise-1.0/debian/emacsen-startup.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/emacsen-startup.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,25 +0,0 @@ -;; -*-emacs-lisp-*- -;; -;; Emacs startup file, e.g. /etc/emacs/site-start.d/50plymouth-theme-earth-sunrise-1.0.el -;; for the Debian plymouth-theme-earth-sunrise-1.0 package -;; -;; Originally contributed by Nils Naumann -;; Modified by Dirk Eddelbuettel -;; Adapted for dh-make by Jim Van Zandt - -;; The plymouth-theme-earth-sunrise-1.0 package follows the Debian/GNU Linux 'emacsen' policy and -;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, -;; xemacs19, emacs20, xemacs20...). The compiled code is then -;; installed in a subdirectory of the respective site-lisp directory. -;; We have to add this to the load-path: -(let ((package-dir (concat "/usr/share/" - (symbol-name flavor) - "/site-lisp/plymouth-theme-earth-sunrise-1.0"))) -;; If package-dir does not exist, the plymouth-theme-earth-sunrise-1.0 package must have -;; removed but not purged, and we should skip the setup. - (when (file-directory-p package-dir) - (setq load-path (cons package-dir load-path)) - (autoload 'plymouth-theme-earth-sunrise-1.0-mode "plymouth-theme-earth-sunrise-1.0-mode" - "Major mode for editing plymouth-theme-earth-sunrise-1.0 files." t) - (add-to-list 'auto-mode-alist '("\\.plymouth-theme-earth-sunrise-1.0$" . plymouth-theme-earth-sunrise-1.0-mode)))) - diff -Nru plymouth-theme-earth-sunrise-1.0/debian/init.d.ex plymouth-theme-earth-sunrise-2.0/debian/init.d.ex --- plymouth-theme-earth-sunrise-1.0/debian/init.d.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/init.d.ex 2016-09-19 08:04:29.000000000 +0000 @@ -1,11 +1,11 @@ #!/bin/sh ### BEGIN INIT INFO -# Provides: plymouth-theme-earth-sunrise-1.0 +# Provides: plymouth-theme-earth-sunrise-2.0 # Required-Start: $network $local_fs # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: +# Short-Description: # Description: # <...> # <...> @@ -15,9 +15,9 @@ # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin -DESC=plymouth-theme-earth-sunrise-1.0 # Introduce a short description here -NAME=plymouth-theme-earth-sunrise-1.0 # Introduce the short server's name here -DAEMON=/usr/sbin/plymouth-theme-earth-sunrise-1.0 # Introduce the server's location here +DESC=plymouth-theme-earth-sunrise-2.0 # Introduce a short description here +NAME=plymouth-theme-earth-sunrise-2.0 # Introduce the short server's name here +DAEMON=/usr/sbin/plymouth-theme-earth-sunrise-2.0 # Introduce the server's location here DAEMON_ARGS="" # Arguments to run the daemon with PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME @@ -49,6 +49,15 @@ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ $DAEMON_ARGS \ || return 2 + # The above code will not work for interpreted scripts, use the next + # six lines below instead (Ref: #643337, start-stop-daemon(8) ) + #start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON \ + # --name $NAME --test > /dev/null \ + # || return 1 + #start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON \ + # --name $NAME -- $DAEMON_ARGS \ + # || return 2 + # Add code here, if necessary, that waits for the process to be ready # to handle requests from services started subsequently which depend # on this one. As a last resort, sleep for some time. diff -Nru plymouth-theme-earth-sunrise-1.0/debian/manpage.1.ex plymouth-theme-earth-sunrise-2.0/debian/manpage.1.ex --- plymouth-theme-earth-sunrise-1.0/debian/manpage.1.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/manpage.1.ex 2016-09-19 08:04:29.000000000 +0000 @@ -1,8 +1,10 @@ .\" Hey, EMACS: -*- nroff -*- +.\" (C) Copyright 2016 Inameiname , +.\" .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH PLYMOUTH-THEME-EARTH-SUNRISE-1.0 SECTION "June 20, 2011" +.TH PLYMOUTH-THEME-EARTH-SUNRISE-2.0 SECTION "September 19, 2016" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -16,16 +18,16 @@ .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME -plymouth-theme-earth-sunrise-1.0 \- program to do something +plymouth-theme-earth-sunrise-2.0 \- program to do something .SH SYNOPSIS -.B plymouth-theme-earth-sunrise-1.0 +.B plymouth-theme-earth-sunrise-2.0 .RI [ options ] " files" ... .br .B bar .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the -.B plymouth-theme-earth-sunrise-1.0 +.B plymouth-theme-earth-sunrise-2.0 and .B bar commands. @@ -33,7 +35,7 @@ .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. -\fBplymouth-theme-earth-sunrise-1.0\fP is a program that... +\fBplymouth-theme-earth-sunrise-2.0\fP is a program that... .SH OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). @@ -52,8 +54,3 @@ The programs are documented fully by .IR "The Rise and Fall of a Fooish Bar" , available via the Info system. -.SH AUTHOR -plymouth-theme-earth-sunrise-1.0 was written by . -.PP -This manual page was written by Inameiname , -for the Debian project (and may be used by others). diff -Nru plymouth-theme-earth-sunrise-1.0/debian/manpage.sgml.ex plymouth-theme-earth-sunrise-2.0/debian/manpage.sgml.ex --- plymouth-theme-earth-sunrise-1.0/debian/manpage.sgml.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/manpage.sgml.ex 2016-09-19 08:04:29.000000000 +0000 @@ -20,14 +20,14 @@ FIRSTNAME"> SURNAME"> - June 20, 2011"> + September 19, 2016"> SECTION"> inameiname@iname.com"> - PLYMOUTH-THEME-EARTH-SUNRISE-1.0"> - + PLYMOUTH-THEME-EARTH-SUNRISE-2.0"> + Debian"> GNU"> diff -Nru plymouth-theme-earth-sunrise-1.0/debian/manpage.xml.ex plymouth-theme-earth-sunrise-2.0/debian/manpage.xml.ex --- plymouth-theme-earth-sunrise-1.0/debian/manpage.xml.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/manpage.xml.ex 2016-09-19 08:04:29.000000000 +0000 @@ -56,9 +56,9 @@ - - - + + + ]> @@ -220,7 +220,7 @@ - ENVIONMENT + ENVIRONMENT FOO_CONF diff -Nru plymouth-theme-earth-sunrise-1.0/debian/menu.ex plymouth-theme-earth-sunrise-2.0/debian/menu.ex --- plymouth-theme-earth-sunrise-1.0/debian/menu.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/menu.ex 2016-09-19 08:04:29.000000000 +0000 @@ -1,2 +1,2 @@ -?package(plymouth-theme-earth-sunrise-1.0):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ - title="plymouth-theme-earth-sunrise-1.0" command="/usr/bin/plymouth-theme-earth-sunrise-1.0" +?package(plymouth-theme-earth-sunrise-2.0):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ + title="plymouth-theme-earth-sunrise-2.0" command="/usr/bin/plymouth-theme-earth-sunrise-2.0" diff -Nru plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-1.0.cron.d.ex plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-1.0.cron.d.ex --- plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-1.0.cron.d.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-1.0.cron.d.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -# -# Regular cron jobs for the plymouth-theme-earth-sunrise-1.0 package -# -0 4 * * * root [ -x /usr/bin/plymouth-theme-earth-sunrise-1.0_maintenance ] && /usr/bin/plymouth-theme-earth-sunrise-1.0_maintenance diff -Nru plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-1.0.default.ex plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-1.0.default.ex --- plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-1.0.default.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-1.0.default.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -# Defaults for plymouth-theme-earth-sunrise-1.0 initscript -# sourced by /etc/init.d/plymouth-theme-earth-sunrise-1.0 -# installed at /etc/default/plymouth-theme-earth-sunrise-1.0 by the maintainer scripts - -# -# This is a POSIX shell fragment -# - -# Additional options that are passed to the Daemon. -DAEMON_OPTS="" diff -Nru plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-1.0.doc-base.EX plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-1.0.doc-base.EX --- plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-1.0.doc-base.EX 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-1.0.doc-base.EX 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -Document: plymouth-theme-earth-sunrise-1.0 -Title: Debian plymouth-theme-earth-sunrise-1.0 Manual -Author: -Abstract: This manual describes what plymouth-theme-earth-sunrise-1.0 is - and how it can be used to - manage online manuals on Debian systems. -Section: unknown - -Format: debiandoc-sgml -Files: /usr/share/doc/plymouth-theme-earth-sunrise-1.0/plymouth-theme-earth-sunrise-1.0.sgml.gz - -Format: postscript -Files: /usr/share/doc/plymouth-theme-earth-sunrise-1.0/plymouth-theme-earth-sunrise-1.0.ps.gz - -Format: text -Files: /usr/share/doc/plymouth-theme-earth-sunrise-1.0/plymouth-theme-earth-sunrise-1.0.text.gz - -Format: HTML -Index: /usr/share/doc/plymouth-theme-earth-sunrise-1.0/html/index.html -Files: /usr/share/doc/plymouth-theme-earth-sunrise-1.0/html/*.html diff -Nru plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-2.0.cron.d.ex plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-2.0.cron.d.ex --- plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-2.0.cron.d.ex 1970-01-01 00:00:00.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-2.0.cron.d.ex 2016-09-19 08:04:29.000000000 +0000 @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the plymouth-theme-earth-sunrise-2.0 package +# +0 4 * * * root [ -x /usr/bin/plymouth-theme-earth-sunrise-2.0_maintenance ] && /usr/bin/plymouth-theme-earth-sunrise-2.0_maintenance diff -Nru plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-2.0.default.ex plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-2.0.default.ex --- plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-2.0.default.ex 1970-01-01 00:00:00.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-2.0.default.ex 2016-09-19 08:04:29.000000000 +0000 @@ -0,0 +1,10 @@ +# Defaults for plymouth-theme-earth-sunrise-2.0 initscript +# sourced by /etc/init.d/plymouth-theme-earth-sunrise-2.0 +# installed at /etc/default/plymouth-theme-earth-sunrise-2.0 by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff -Nru plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-2.0.doc-base.EX plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-2.0.doc-base.EX --- plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise-2.0.doc-base.EX 1970-01-01 00:00:00.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise-2.0.doc-base.EX 2016-09-19 08:04:29.000000000 +0000 @@ -0,0 +1,20 @@ +Document: plymouth-theme-earth-sunrise-2.0 +Title: Debian plymouth-theme-earth-sunrise-2.0 Manual +Author: +Abstract: This manual describes what plymouth-theme-earth-sunrise-2.0 is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/plymouth-theme-earth-sunrise-2.0/plymouth-theme-earth-sunrise-2.0.sgml.gz + +Format: postscript +Files: /usr/share/doc/plymouth-theme-earth-sunrise-2.0/plymouth-theme-earth-sunrise-2.0.ps.gz + +Format: text +Files: /usr/share/doc/plymouth-theme-earth-sunrise-2.0/plymouth-theme-earth-sunrise-2.0.text.gz + +Format: HTML +Index: /usr/share/doc/plymouth-theme-earth-sunrise-2.0/html/index.html +Files: /usr/share/doc/plymouth-theme-earth-sunrise-2.0/html/*.html diff -Nru plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise.install plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise.install --- plymouth-theme-earth-sunrise-1.0/debian/plymouth-theme-earth-sunrise.install 2011-06-20 10:41:16.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/plymouth-theme-earth-sunrise.install 2016-09-19 08:04:46.000000000 +0000 @@ -1,3 +1,3 @@ #!/usr/bin/make -f # add more lines like below when necessary -lib/ / +usr/ / diff -Nru plymouth-theme-earth-sunrise-1.0/debian/postinst plymouth-theme-earth-sunrise-2.0/debian/postinst --- plymouth-theme-earth-sunrise-1.0/debian/postinst 2011-06-11 10:49:57.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/postinst 2016-09-19 06:29:53.000000000 +0000 @@ -26,10 +26,10 @@ case "$1" in configure) update-alternatives \ - --install /lib/plymouth/themes/default.plymouth default.plymouth \ - /lib/plymouth/themes/earth-sunrise/earth-sunrise.plymouth 100 + --install /usr/share/plymouth/themes/default.plymouth default.plymouth \ + /usr/share/plymouth/themes/earth-sunrise/earth-sunrise.plymouth 100 - update-alternatives --set default.plymouth /lib/plymouth/themes/earth-sunrise/earth-sunrise.plymouth + update-alternatives --set default.plymouth /usr/share/plymouth/themes/earth-sunrise/earth-sunrise.plymouth if which update-initramfs >/dev/null 2>&1 then diff -Nru plymouth-theme-earth-sunrise-1.0/debian/postinst.ex plymouth-theme-earth-sunrise-2.0/debian/postinst.ex --- plymouth-theme-earth-sunrise-1.0/debian/postinst.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/postinst.ex 2016-09-19 08:04:29.000000000 +0000 @@ -1,5 +1,5 @@ #!/bin/sh -# postinst script for plymouth-theme-earth-sunrise-1.0 +# postinst script for plymouth-theme-earth-sunrise-2.0 # # see: dh_installdeb(1) diff -Nru plymouth-theme-earth-sunrise-1.0/debian/postrm plymouth-theme-earth-sunrise-2.0/debian/postrm --- plymouth-theme-earth-sunrise-1.0/debian/postrm 2011-06-11 10:49:57.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/postrm 2016-09-19 06:29:59.000000000 +0000 @@ -30,9 +30,9 @@ case "$1" in remove) update-alternatives \ - --remove default.plymouth /lib/plymouth/themes/earth-sunrise/earth-sunrise.plymouth + --remove default.plymouth /usr/share/plymouth/themes/earth-sunrise/earth-sunrise.plymouth - rmdir /lib/plymouth/themes/earth-sunrise || : + rmdir /usr/share/plymouth/themes/earth-sunrise || : rm -fv -R /etc/initramfs-tools/conf.d/splash || : if which update-initramfs >/dev/null 2>&1 diff -Nru plymouth-theme-earth-sunrise-1.0/debian/postrm.ex plymouth-theme-earth-sunrise-2.0/debian/postrm.ex --- plymouth-theme-earth-sunrise-1.0/debian/postrm.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/postrm.ex 2016-09-19 08:04:29.000000000 +0000 @@ -1,5 +1,5 @@ #!/bin/sh -# postrm script for plymouth-theme-earth-sunrise-1.0 +# postrm script for plymouth-theme-earth-sunrise-2.0 # # see: dh_installdeb(1) diff -Nru plymouth-theme-earth-sunrise-1.0/debian/preinst.ex plymouth-theme-earth-sunrise-2.0/debian/preinst.ex --- plymouth-theme-earth-sunrise-1.0/debian/preinst.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/preinst.ex 2016-09-19 08:04:30.000000000 +0000 @@ -1,5 +1,5 @@ #!/bin/sh -# preinst script for plymouth-theme-earth-sunrise-1.0 +# preinst script for plymouth-theme-earth-sunrise-2.0 # # see: dh_installdeb(1) diff -Nru plymouth-theme-earth-sunrise-1.0/debian/prerm.ex plymouth-theme-earth-sunrise-2.0/debian/prerm.ex --- plymouth-theme-earth-sunrise-1.0/debian/prerm.ex 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/prerm.ex 2016-09-19 08:04:30.000000000 +0000 @@ -1,5 +1,5 @@ #!/bin/sh -# prerm script for plymouth-theme-earth-sunrise-1.0 +# prerm script for plymouth-theme-earth-sunrise-2.0 # # see: dh_installdeb(1) diff -Nru plymouth-theme-earth-sunrise-1.0/debian/README plymouth-theme-earth-sunrise-2.0/debian/README --- plymouth-theme-earth-sunrise-1.0/debian/README 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/README 2016-09-19 08:04:30.000000000 +0000 @@ -1,6 +1,6 @@ -The Debian Package plymouth-theme-earth-sunrise-1.0 +The Debian Package plymouth-theme-earth-sunrise-2.0 ---------------------------- Comments regarding the Package - -- Inameiname Mon, 20 Jun 2011 06:40:45 -0400 + -- Inameiname Mon, 19 Sep 2016 04:04:27 -0400 diff -Nru plymouth-theme-earth-sunrise-1.0/debian/README.Debian plymouth-theme-earth-sunrise-2.0/debian/README.Debian --- plymouth-theme-earth-sunrise-1.0/debian/README.Debian 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/README.Debian 2016-09-19 08:04:30.000000000 +0000 @@ -1,6 +1,6 @@ -plymouth-theme-earth-sunrise-1.0 for Debian +plymouth-theme-earth-sunrise-2.0 for Debian ------------------------------------------- - -- Inameiname Mon, 20 Jun 2011 06:40:45 -0400 + -- Inameiname Mon, 19 Sep 2016 04:04:27 -0400 diff -Nru plymouth-theme-earth-sunrise-1.0/debian/README.source plymouth-theme-earth-sunrise-2.0/debian/README.source --- plymouth-theme-earth-sunrise-1.0/debian/README.source 2011-06-20 10:40:47.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/debian/README.source 2016-09-19 08:04:30.000000000 +0000 @@ -1,4 +1,4 @@ -plymouth-theme-earth-sunrise-1.0 for Debian +plymouth-theme-earth-sunrise-2.0 for Debian ------------------------------------------- -#http://www.example.com/downloads.php plymouth-theme-earth-sunrise-1.0-(.*)\.tar\.gz +#http://www.example.com/downloads.php plymouth-theme-earth-sunrise-2.0-(.*)\.tar\.gz # Uncomment to examine a Webserver directory -#http://www.example.com/pub/plymouth-theme-earth-sunrise-1.0-(.*)\.tar\.gz +#http://www.example.com/pub/plymouth-theme-earth-sunrise-2.0-(.*)\.tar\.gz # Uncommment to examine a FTP server -#ftp://ftp.example.com/pub/plymouth-theme-earth-sunrise-1.0-(.*)\.tar\.gz debian uupdate +#ftp://ftp.example.com/pub/plymouth-theme-earth-sunrise-2.0-(.*)\.tar\.gz debian uupdate # Uncomment to find new files on sourceforge, for devscripts >= 2.9 -# http://sf.net/plymouth-theme-earth-sunrise-1.0/plymouth-theme-earth-sunrise-1.0-(.*)\.tar\.gz +# http://sf.net/plymouth-theme-earth-sunrise-2.0/plymouth-theme-earth-sunrise-2.0-(.*)\.tar\.gz # Uncomment to find new files on GooglePages -# http://example.googlepages.com/foo.html plymouth-theme-earth-sunrise-1.0-(.*)\.tar\.gz +# http://example.googlepages.com/foo.html plymouth-theme-earth-sunrise-2.0-(.*)\.tar\.gz Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/background.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/background.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/distro_logo.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/distro_logo.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/distro_name.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/distro_name.png differ diff -Nru plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/earth-sunrise.plymouth plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/earth-sunrise.plymouth --- plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/earth-sunrise.plymouth 2011-01-08 23:19:20.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/earth-sunrise.plymouth 1970-01-01 00:00:00.000000000 +0000 @@ -1,8 +0,0 @@ -[Plymouth Theme] -Name=Earth Sunrise -Description=This theme is a modification of Andre "Osku" Schmidt's Space sunrise plymouth theme -ModuleName=script - -[script] -ImageDir=/lib/plymouth/themes/earth-sunrise -ScriptFile=/lib/plymouth/themes/earth-sunrise/earth-sunrise.script diff -Nru plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/earth-sunrise.script plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/earth-sunrise.script --- plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/earth-sunrise.script 2011-01-08 23:21:06.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/earth-sunrise.script 1970-01-01 00:00:00.000000000 +0000 @@ -1,147 +0,0 @@ -win_width = Window.GetWidth(); -win_height = Window.GetHeight(); -ww_half = win_width / 2; -wh_half = win_height / 2; - -offset = 0; //win_height / -4; - -Window.GetMaxWidth = fun (){ - i = 0; - width = 0; - while (Window.GetWidth(i)){ - width = Math.Max(width, Window.GetWidth(i)); - i++; - } - return width; -}; - -Window.GetMaxHeight = fun (){ - i = 0; - height = 0; - while (Window.GetHeight(i)){ - height = Math.Max(height, Window.GetHeight(i)); - i++; - } - return height; -}; - - -background.original_image = ImageNew("background.png"); -background.image = background.original_image.Scale(Window.GetMaxWidth() , Window.GetMaxHeight()); -background.sprite = SpriteNew(); -background.sprite.SetImage(background.image); -background.sprite.SetPosition(Window.GetX(), Window.GetY(), -10); - -sourceImage = Image ("space_glow.png"); -size_ratio = sourceImage.GetWidth() / win_width; // used later! todo: this is ugly -new_height = sourceImage.GetHeight() / size_ratio; -nh_half = new_height / 2; -scaledImage = sourceImage.Scale (win_width, new_height); -spaceGlow.sprite = Sprite (scaledImage); -spaceGlow.sprite.SetY (wh_half - nh_half + offset); -spaceGlow.sprite.SetOpacity (0); - -sourceImage = Image ("sun_glow.png"); -new_height = sourceImage.GetHeight() / size_ratio; -scaledImage = sourceImage.Scale (new_height, new_height); // todo: what if its not square ? -sunGlow.height = new_height; -sunGlow.sprite = Sprite (scaledImage); -sunGlow.sprite.SetX (ww_half - (new_height / 2)); -sunGlow.sprite.SetY (wh_half + offset); -sunGlow.sprite.SetOpacity (0); - -sourceImage = Image ("planet_black.png"); -new_height = sourceImage.GetHeight() / size_ratio; -scaledImage = sourceImage.Scale (win_width, new_height); -planetBlack.sprite = Sprite (scaledImage); -planetBlack.sprite.SetY (wh_half + offset); -planetBlack.sprite.SetOpacity (1); - -sourceImage = Image ("planet_glow.png"); -new_height = sourceImage.GetHeight() / size_ratio; -scaledImage = sourceImage.Scale (win_width, new_height); -planetGlow.sprite = Sprite (scaledImage); -planetGlow.sprite.SetY ((wh_half + offset) - 2); -planetGlow.sprite.SetOpacity (0); - -distroLogo.image = Image ("distro_logo.png"); -distroLogo.width = distroLogo.image.GetWidth() / size_ratio; -distroLogo.height = distroLogo.image.GetHeight() / size_ratio; -distroLogo.image = distroLogo.image.Scale (distroLogo.width, distroLogo.height); -distroLogo.x = ww_half - (distroLogo.width / 2); -distroLogo.y = (wh_half / 2) - (distroLogo.height / 2); -distroLogo.sprite = Sprite (distroLogo.image); -distroLogo.sprite.SetX (distroLogo.x); -distroLogo.sprite.SetY (distroLogo.y); -distroLogo.sprite.SetOpacity (0); - -distroName.image = Image ("distro_name.png"); -distroName.width = distroName.image.GetWidth() / size_ratio; -distroName.height = distroName.image.GetHeight() / size_ratio; -distroName.image = distroName.image.Scale (distroName.width, distroName.height); -distroName.x = ww_half - (distroName.width / 2); -distroName.y = win_height - (distroName.height * 2); -distroName.sprite = Sprite (distroName.image); -distroName.sprite.SetX (distroName.x); -distroName.sprite.SetY (distroName.y); -distroName.sprite.SetOpacity (0); - -spaceGlow.start = 0; -spaceGlow.end = 0.5; - -sunGlow.start = 0.2; -sunGlow.end = 0.4; -sunGlow.animStart = 0.2; -sunGlow.animEnd = 0.8; -sunGlow.startPos = (wh_half - (sunGlow.height / 4)) + offset; -sunGlow.endPos = (wh_half / 2) - (sunGlow.height / 2); - -planetGlow.start = 0.2; -planetGlow.end = 0.6; - -distroLogo.start = 0.2; -distroLogo.end = 1; -distroLogo.startb = 0.6; -distroLogo.endb = 0.8; - -distroName.start = 0.8; -distroName.end = 1; - -fun remap (val, imin, imax, omin, omax) { - return (((val - imin) / (imax - imin)) * (omax - omin)) + omin; -} - -fun progress_callback (d, p) { - - p = (p * 100.0) / 15.0; - - if (p >= spaceGlow.start && p <= spaceGlow.end) { - a = remap (p, spaceGlow.start, spaceGlow.end, 0, 1); - spaceGlow.sprite.SetOpacity (a); - } - if (p >= sunGlow.start && p <= sunGlow.end) { - a = remap (p, sunGlow.start, sunGlow.end, 0, 1); - sunGlow.sprite.SetOpacity (a); - } - if (p >= sunGlow.animStart && p <= sunGlow.animEnd) { - a = remap (p, sunGlow.animStart, sunGlow.animEnd, 0, 1); - b = sunGlow.startPos - ((sunGlow.startPos - sunGlow.endPos) * a); - sunGlow.sprite.SetY (b); - } - if (p >= planetGlow.start && p <= planetGlow.end) { - a = remap (p, planetGlow.start, planetGlow.end, 0, 1); - planetGlow.sprite.SetOpacity (a); - } - if (p >= distroLogo.start && p <= distroLogo.end) { - a = remap (p, distroLogo.start, distroLogo.end, 0.5, 1); - b = Math.Pi * a; - c = remap (p, distroLogo.startb, distroLogo.endb, 0, 1); - distroLogo.sprite.SetImage (distroLogo.image.Rotate(b)); - distroLogo.sprite.SetOpacity (c); - } - if (p >= distroName.start && p <= distroName.end) { - a = remap (p, distroName.start, distroName.end, 0, 1); - distroName.sprite.SetOpacity (a); - } -} -Plymouth.SetBootProgressFunction(progress_callback); Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/planet_black.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/planet_black.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/planet_glow.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/planet_glow.png differ diff -Nru plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/README plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/README --- plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/README 2011-01-08 13:43:21.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/README 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -ubuntu-sunrise -Another modification of the awesome plymouth theme made by Andre "Osku" Schmidt - - -Then extract the contents of the zip INT2MIL-Ubuntu-10.04-Eng to your home or Desktop folder, then open a terminal and run this (firstly navigate to the folder where you extracted it using a terminal; if you extracted it on your Desktop, that would be: cd ~/Desktop): - -sudo cp -R Earth-sunrise/ /lib/plymouth/themes/ -sudo update-alternatives --install /lib/plymouth/themes/default.plymouth default.plymouth /lib/plymouth/themes/Earth-sunrise/Earth-sunrise.plymouth 100 -sudo update-alternatives --config default.plymouth #here, choose the number of the theme you want to use then hit enter -sudo update-initramfs -u - -Reboot and ready... should be running the new theme. - -code notes -========== - -the "offset" variable is used to set the y position of the planet top. -0 would be center, positive values go down and negative to top of screen. -(all parts should use this offset) - -if you scroll past the image/sprite definitions, you see some *.start and -*.end values. those say at which "progress-time" (from 0 to 1) that part -will be faded in. - -sunGlow also has .animStart/End "progress-time", to say when to move from -.startPos to .endPos on the screen - Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/space_glow.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/space_glow.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/sun_glow.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/sun_glow.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/lib/plymouth/themes/earth-sunrise/ubuntu-sunrise.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/lib/plymouth/themes/earth-sunrise/ubuntu-sunrise.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/usr/share/doc/plymouth-theme-earth-sunrise/changelog.Debian.gz and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/usr/share/doc/plymouth-theme-earth-sunrise/changelog.Debian.gz differ diff -Nru plymouth-theme-earth-sunrise-1.0/usr/share/doc/plymouth-theme-earth-sunrise/copyright plymouth-theme-earth-sunrise-2.0/usr/share/doc/plymouth-theme-earth-sunrise/copyright --- plymouth-theme-earth-sunrise-1.0/usr/share/doc/plymouth-theme-earth-sunrise/copyright 1970-01-01 00:00:00.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/usr/share/doc/plymouth-theme-earth-sunrise/copyright 2011-06-20 10:40:47.000000000 +0000 @@ -0,0 +1,40 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: plymouth-theme-earth-sunrise-1.0 +Source: + +Files: * +Copyright: + +License: GPL-3.0+ + +Files: debian/* +Copyright: 2011 Inameiname +License: GPL-3.0+ + +License: GPL-3.0+ + 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 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 program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +# Please choose a license for your packaging work. If the program you package +# uses a mainstream license, using the same license is the safest choice. +# Please avoid to pick license terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. +# If you just want it to be GPL version 3, leave the following line in. + +and is licensed under the GPL version 3, see above. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff -Nru plymouth-theme-earth-sunrise-1.0/usr/share/doc/plymouth-theme-earth-sunrise/README.Debian plymouth-theme-earth-sunrise-2.0/usr/share/doc/plymouth-theme-earth-sunrise/README.Debian --- plymouth-theme-earth-sunrise-1.0/usr/share/doc/plymouth-theme-earth-sunrise/README.Debian 1970-01-01 00:00:00.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/usr/share/doc/plymouth-theme-earth-sunrise/README.Debian 2011-06-20 10:40:47.000000000 +0000 @@ -0,0 +1,6 @@ +plymouth-theme-earth-sunrise-1.0 for Debian +------------------------------------------- + + + + -- Inameiname Mon, 20 Jun 2011 06:40:45 -0400 Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/background.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/background.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/distro_logo.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/distro_logo.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/distro_name.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/distro_name.png differ diff -Nru plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/earth-sunrise.plymouth plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/earth-sunrise.plymouth --- plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/earth-sunrise.plymouth 1970-01-01 00:00:00.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/earth-sunrise.plymouth 2016-09-19 06:40:37.000000000 +0000 @@ -0,0 +1,8 @@ +[Plymouth Theme] +Name=Earth Sunrise +Description=This theme is a modification of Andre "Osku" Schmidt's Space sunrise plymouth theme +ModuleName=script + +[script] +ImageDir=/usr/share/plymouth/themes/earth-sunrise +ScriptFile=/usr/share/plymouth/themes/earth-sunrise/earth-sunrise.script diff -Nru plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/earth-sunrise.script plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/earth-sunrise.script --- plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/earth-sunrise.script 1970-01-01 00:00:00.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/earth-sunrise.script 2011-01-08 23:21:06.000000000 +0000 @@ -0,0 +1,147 @@ +win_width = Window.GetWidth(); +win_height = Window.GetHeight(); +ww_half = win_width / 2; +wh_half = win_height / 2; + +offset = 0; //win_height / -4; + +Window.GetMaxWidth = fun (){ + i = 0; + width = 0; + while (Window.GetWidth(i)){ + width = Math.Max(width, Window.GetWidth(i)); + i++; + } + return width; +}; + +Window.GetMaxHeight = fun (){ + i = 0; + height = 0; + while (Window.GetHeight(i)){ + height = Math.Max(height, Window.GetHeight(i)); + i++; + } + return height; +}; + + +background.original_image = ImageNew("background.png"); +background.image = background.original_image.Scale(Window.GetMaxWidth() , Window.GetMaxHeight()); +background.sprite = SpriteNew(); +background.sprite.SetImage(background.image); +background.sprite.SetPosition(Window.GetX(), Window.GetY(), -10); + +sourceImage = Image ("space_glow.png"); +size_ratio = sourceImage.GetWidth() / win_width; // used later! todo: this is ugly +new_height = sourceImage.GetHeight() / size_ratio; +nh_half = new_height / 2; +scaledImage = sourceImage.Scale (win_width, new_height); +spaceGlow.sprite = Sprite (scaledImage); +spaceGlow.sprite.SetY (wh_half - nh_half + offset); +spaceGlow.sprite.SetOpacity (0); + +sourceImage = Image ("sun_glow.png"); +new_height = sourceImage.GetHeight() / size_ratio; +scaledImage = sourceImage.Scale (new_height, new_height); // todo: what if its not square ? +sunGlow.height = new_height; +sunGlow.sprite = Sprite (scaledImage); +sunGlow.sprite.SetX (ww_half - (new_height / 2)); +sunGlow.sprite.SetY (wh_half + offset); +sunGlow.sprite.SetOpacity (0); + +sourceImage = Image ("planet_black.png"); +new_height = sourceImage.GetHeight() / size_ratio; +scaledImage = sourceImage.Scale (win_width, new_height); +planetBlack.sprite = Sprite (scaledImage); +planetBlack.sprite.SetY (wh_half + offset); +planetBlack.sprite.SetOpacity (1); + +sourceImage = Image ("planet_glow.png"); +new_height = sourceImage.GetHeight() / size_ratio; +scaledImage = sourceImage.Scale (win_width, new_height); +planetGlow.sprite = Sprite (scaledImage); +planetGlow.sprite.SetY ((wh_half + offset) - 2); +planetGlow.sprite.SetOpacity (0); + +distroLogo.image = Image ("distro_logo.png"); +distroLogo.width = distroLogo.image.GetWidth() / size_ratio; +distroLogo.height = distroLogo.image.GetHeight() / size_ratio; +distroLogo.image = distroLogo.image.Scale (distroLogo.width, distroLogo.height); +distroLogo.x = ww_half - (distroLogo.width / 2); +distroLogo.y = (wh_half / 2) - (distroLogo.height / 2); +distroLogo.sprite = Sprite (distroLogo.image); +distroLogo.sprite.SetX (distroLogo.x); +distroLogo.sprite.SetY (distroLogo.y); +distroLogo.sprite.SetOpacity (0); + +distroName.image = Image ("distro_name.png"); +distroName.width = distroName.image.GetWidth() / size_ratio; +distroName.height = distroName.image.GetHeight() / size_ratio; +distroName.image = distroName.image.Scale (distroName.width, distroName.height); +distroName.x = ww_half - (distroName.width / 2); +distroName.y = win_height - (distroName.height * 2); +distroName.sprite = Sprite (distroName.image); +distroName.sprite.SetX (distroName.x); +distroName.sprite.SetY (distroName.y); +distroName.sprite.SetOpacity (0); + +spaceGlow.start = 0; +spaceGlow.end = 0.5; + +sunGlow.start = 0.2; +sunGlow.end = 0.4; +sunGlow.animStart = 0.2; +sunGlow.animEnd = 0.8; +sunGlow.startPos = (wh_half - (sunGlow.height / 4)) + offset; +sunGlow.endPos = (wh_half / 2) - (sunGlow.height / 2); + +planetGlow.start = 0.2; +planetGlow.end = 0.6; + +distroLogo.start = 0.2; +distroLogo.end = 1; +distroLogo.startb = 0.6; +distroLogo.endb = 0.8; + +distroName.start = 0.8; +distroName.end = 1; + +fun remap (val, imin, imax, omin, omax) { + return (((val - imin) / (imax - imin)) * (omax - omin)) + omin; +} + +fun progress_callback (d, p) { + + p = (p * 100.0) / 15.0; + + if (p >= spaceGlow.start && p <= spaceGlow.end) { + a = remap (p, spaceGlow.start, spaceGlow.end, 0, 1); + spaceGlow.sprite.SetOpacity (a); + } + if (p >= sunGlow.start && p <= sunGlow.end) { + a = remap (p, sunGlow.start, sunGlow.end, 0, 1); + sunGlow.sprite.SetOpacity (a); + } + if (p >= sunGlow.animStart && p <= sunGlow.animEnd) { + a = remap (p, sunGlow.animStart, sunGlow.animEnd, 0, 1); + b = sunGlow.startPos - ((sunGlow.startPos - sunGlow.endPos) * a); + sunGlow.sprite.SetY (b); + } + if (p >= planetGlow.start && p <= planetGlow.end) { + a = remap (p, planetGlow.start, planetGlow.end, 0, 1); + planetGlow.sprite.SetOpacity (a); + } + if (p >= distroLogo.start && p <= distroLogo.end) { + a = remap (p, distroLogo.start, distroLogo.end, 0.5, 1); + b = Math.Pi * a; + c = remap (p, distroLogo.startb, distroLogo.endb, 0, 1); + distroLogo.sprite.SetImage (distroLogo.image.Rotate(b)); + distroLogo.sprite.SetOpacity (c); + } + if (p >= distroName.start && p <= distroName.end) { + a = remap (p, distroName.start, distroName.end, 0, 1); + distroName.sprite.SetOpacity (a); + } +} +Plymouth.SetBootProgressFunction(progress_callback); Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/planet_black.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/planet_black.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/planet_glow.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/planet_glow.png differ diff -Nru plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/README plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/README --- plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/README 1970-01-01 00:00:00.000000000 +0000 +++ plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/README 2011-01-08 13:43:21.000000000 +0000 @@ -0,0 +1,27 @@ +ubuntu-sunrise +Another modification of the awesome plymouth theme made by Andre "Osku" Schmidt + + +Then extract the contents of the zip INT2MIL-Ubuntu-10.04-Eng to your home or Desktop folder, then open a terminal and run this (firstly navigate to the folder where you extracted it using a terminal; if you extracted it on your Desktop, that would be: cd ~/Desktop): + +sudo cp -R Earth-sunrise/ /lib/plymouth/themes/ +sudo update-alternatives --install /lib/plymouth/themes/default.plymouth default.plymouth /lib/plymouth/themes/Earth-sunrise/Earth-sunrise.plymouth 100 +sudo update-alternatives --config default.plymouth #here, choose the number of the theme you want to use then hit enter +sudo update-initramfs -u + +Reboot and ready... should be running the new theme. + +code notes +========== + +the "offset" variable is used to set the y position of the planet top. +0 would be center, positive values go down and negative to top of screen. +(all parts should use this offset) + +if you scroll past the image/sprite definitions, you see some *.start and +*.end values. those say at which "progress-time" (from 0 to 1) that part +will be faded in. + +sunGlow also has .animStart/End "progress-time", to say when to move from +.startPos to .endPos on the screen + Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/space_glow.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/space_glow.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/sun_glow.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/sun_glow.png differ Binary files /tmp/tmpEh4Lje/tzTnPm_Mf_/plymouth-theme-earth-sunrise-1.0/usr/share/plymouth/themes/earth-sunrise/ubuntu-sunrise.png and /tmp/tmpEh4Lje/qZnb1ZFSQh/plymouth-theme-earth-sunrise-2.0/usr/share/plymouth/themes/earth-sunrise/ubuntu-sunrise.png differ