- diff -Nru plymouth-0.8.2/debian/changelog plymouth-0.8.2/debian/changelog
- --- plymouth-0.8.2/debian/changelog 2010-04-27 09:35:37.000000000 +0100
- +++ plymouth-0.8.2/debian/changelog 2010-05-04 03:22:52.000000000 +0100
- @@ -1,3 +1,9 @@
- +plymouth (0.8.2-2ubuntu6) lucid; urgency=low
- +
- + * rb
- +
- + -- Arand Nash <ienorand@gmail.com> Tue, 04 May 2010 03:22:43 +0100
- +
- plymouth (0.8.2-2ubuntu2) lucid; urgency=low
- * Don't call ply_boot_client_process_pending_requests on flush, because
- diff -Nru plymouth-0.8.2/debian/patches/debian-changes plymouth-0.8.2/debian/patches/debian-changes
- --- plymouth-0.8.2/debian/patches/debian-changes 2010-04-27 09:35:44.000000000 +0100
- +++ plymouth-0.8.2/debian/patches/debian-changes 2010-05-04 03:23:02.000000000 +0100
- @@ -3,6 +3,233 @@
- but it might have accumulated changes from several uploads. Please
- check the changelog to (hopefully) learn more on those changes.
- +--- plymouth-0.8.2.orig/aclocal.m4
- ++++ plymouth-0.8.2/aclocal.m4
- +@@ -13,8 +13,8 @@
- +
- + m4_ifndef([AC_AUTOCONF_VERSION],
- + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
- +-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
- +-[m4_warning([this file was generated for autoconf 2.63.
- ++m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
- ++[m4_warning([this file was generated for autoconf 2.65.
- + You have another version of autoconf. It may work, but is not guaranteed to.
- + If you have problems, you may need to regenerate the build system entirely.
- + To do so, use the procedure documented by the package, typically `autoreconf'.])])
- +@@ -2460,7 +2460,7 @@ linux*oldld* | linux*aout* | linux*coff*
- + ;;
- +
- + # This must be Linux ELF.
- +-linux* | k*bsd*-gnu)
- ++linux* | k*bsd*-gnu | kopensolaris*-gnu)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- +@@ -2485,13 +2485,10 @@ linux* | k*bsd*-gnu)
- + # before this can be enabled.
- + hardcode_into_libs=yes
- +
- +- # Add ABI-specific directories to the system library path.
- +- sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
- +-
- + # Append ld.so.conf contents to the search path
- + if test -f /etc/ld.so.conf; then
- + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
- +- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
- ++ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
- + fi
- +
- + # We used to test for /lib/ld.so.1 and disable shared libraries on
- +@@ -2503,6 +2500,18 @@ linux* | k*bsd*-gnu)
- + dynamic_linker='GNU/Linux ld.so'
- + ;;
- +
- ++netbsdelf*-gnu)
- ++ version_type=linux
- ++ need_lib_prefix=no
- ++ need_version=no
- ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
- ++ soname_spec='${libname}${release}${shared_ext}$major'
- ++ shlibpath_var=LD_LIBRARY_PATH
- ++ shlibpath_overrides_runpath=no
- ++ hardcode_into_libs=yes
- ++ dynamic_linker='NetBSD ld.elf_so'
- ++ ;;
- ++
- + netbsd*)
- + version_type=sunos
- + need_lib_prefix=no
- +@@ -3090,11 +3099,11 @@ irix5* | irix6* | nonstopux*)
- + ;;
- +
- + # This must be Linux ELF.
- +-linux* | k*bsd*-gnu)
- ++linux* | k*bsd*-gnu | kopensolaris*-gnu)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +-netbsd*)
- ++netbsd* | netbsdelf*-gnu)
- + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
- + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
- + else
- +@@ -3711,7 +3720,7 @@ m4_if([$1], [CXX], [
- + ;;
- + esac
- + ;;
- +- linux* | k*bsd*-gnu)
- ++ linux* | k*bsd*-gnu | kopensolaris*-gnu)
- + case $cc_basename in
- + KCC*)
- + # KAI C++ Compiler
- +@@ -3775,7 +3784,7 @@ m4_if([$1], [CXX], [
- + ;;
- + esac
- + ;;
- +- netbsd*)
- ++ netbsd* | netbsdelf*-gnu)
- + ;;
- + *qnx* | *nto*)
- + # QNX uses GNU C++, but need to define -shared option too, otherwise
- +@@ -3995,7 +4004,7 @@ m4_if([$1], [CXX], [
- + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
- + ;;
- +
- +- linux* | k*bsd*-gnu)
- ++ linux* | k*bsd*-gnu | kopensolaris*-gnu)
- + case $cc_basename in
- + # old Intel for x86_64 which still supported -KPIC.
- + ecc*)
- +@@ -4200,6 +4209,9 @@ m4_if([$1], [CXX], [
- + cygwin* | mingw* | cegcc*)
- + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
- + ;;
- ++ linux* | k*bsd*-gnu)
- ++ _LT_TAGVAR(link_all_deplibs, $1)=no
- ++ ;;
- + *)
- + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
- + ;;
- +@@ -4264,6 +4276,9 @@ dnl Note also adjust exclude_expsyms for
- + openbsd*)
- + with_gnu_ld=no
- + ;;
- ++ linux* | k*bsd*-gnu)
- ++ _LT_TAGVAR(link_all_deplibs, $1)=no
- ++ ;;
- + esac
- +
- + _LT_TAGVAR(ld_shlibs, $1)=yes
- +@@ -4285,6 +4300,7 @@ dnl Note also adjust exclude_expsyms for
- + fi
- + supports_anon_versioning=no
- + case `$LD -v 2>&1` in
- ++ *GNU\ gold*) supports_anon_versioning=yes ;;
- + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
- + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
- + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
- +@@ -4376,7 +4392,7 @@ _LT_EOF
- + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
- + ;;
- +
- +- gnu* | linux* | tpf* | k*bsd*-gnu)
- ++ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
- + tmp_diet=no
- + if test "$host_os" = linux-dietlibc; then
- + case $cc_basename in
- +@@ -4446,7 +4462,7 @@ _LT_EOF
- + fi
- + ;;
- +
- +- netbsd*)
- ++ netbsd* | netbsdelf*-gnu)
- + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
- + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
- + wlarc=
- +@@ -4621,6 +4637,7 @@ _LT_EOF
- + if test "$aix_use_runtimelinking" = yes; then
- + shared_flag="$shared_flag "'${wl}-G'
- + fi
- ++ _LT_TAGVAR(link_all_deplibs, $1)=no
- + else
- + # not using gcc
- + if test "$host_cpu" = ia64; then
- +@@ -4859,7 +4876,7 @@ _LT_EOF
- + _LT_TAGVAR(link_all_deplibs, $1)=yes
- + ;;
- +
- +- netbsd*)
- ++ netbsd* | netbsdelf*-gnu)
- + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
- + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
- + else
- +@@ -5855,7 +5872,7 @@ if test "$_lt_caught_CXX_error" != yes;
- + _LT_TAGVAR(inherit_rpath, $1)=yes
- + ;;
- +
- +- linux* | k*bsd*-gnu)
- ++ linux* | k*bsd*-gnu | kopensolaris*-gnu)
- + case $cc_basename in
- + KCC*)
- + # Kuck and Associates, Inc. (KAI) C++ Compiler
- +@@ -7862,15 +7879,15 @@ m4_define([lt_dict_filter],
- +
- + # Generated from ltversion.in.
- +
- +-# serial 3012 ltversion.m4
- ++# serial 3017 ltversion.m4
- + # This file is part of GNU Libtool
- +
- +-m4_define([LT_PACKAGE_VERSION], [2.2.6])
- +-m4_define([LT_PACKAGE_REVISION], [1.3012])
- ++m4_define([LT_PACKAGE_VERSION], [2.2.6b])
- ++m4_define([LT_PACKAGE_REVISION], [1.3017])
- +
- + AC_DEFUN([LTVERSION_VERSION],
- +-[macro_version='2.2.6'
- +-macro_revision='1.3012'
- ++[macro_version='2.2.6b'
- ++macro_revision='1.3017'
- + _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
- + _LT_DECL(, macro_revision, 0)
- + ])
- +@@ -8036,14 +8053,16 @@ fi])
- + # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
- + # ---------------------------------------------
- + m4_define([_PKG_CONFIG],
- +-[if test -n "$$1"; then
- +- pkg_cv_[]$1="$$1"
- +- elif test -n "$PKG_CONFIG"; then
- +- PKG_CHECK_EXISTS([$3],
- +- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- +- [pkg_failed=yes])
- +- else
- +- pkg_failed=untried
- ++[if test -n "$PKG_CONFIG"; then
- ++ if test -n "$$1"; then
- ++ pkg_cv_[]$1="$$1"
- ++ else
- ++ PKG_CHECK_EXISTS([$3],
- ++ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- ++ [pkg_failed=yes])
- ++ fi
- ++else
- ++ pkg_failed=untried
- + fi[]dnl
- + ])# _PKG_CONFIG
- +
- +@@ -8087,9 +8106,9 @@ See the pkg-config man page for more det
- + if test $pkg_failed = yes; then
- + _PKG_SHORT_ERRORS_SUPPORTED
- + if test $_pkg_short_errors_supported = yes; then
- +- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
- ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
- + else
- +- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
- ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
- + fi
- + # Put the nasty error message in config.log where it belongs
- + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
- --- plymouth-0.8.2.orig/configure
- +++ plymouth-0.8.2/configure
- @@ -1,20 +1,24 @@
- @@ -10223,16 +10450,18 @@
- $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
- fi
- ---- plymouth-0.8.2.orig/Makefile.in
- -+++ plymouth-0.8.2/Makefile.in
- -@@ -172,6 +172,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/config.h.in
- ++++ plymouth-0.8.2/config.h.in
- +@@ -55,6 +55,9 @@
- + /* Define to the one symbol short name of this package. */
- + #undef PACKAGE_TARNAME
- +
- ++/* Define to the home page for this package. */
- ++#undef PACKAGE_URL
- ++
- + /* Define to the version of this package. */
- + #undef PACKAGE_VERSION
- +
- --- plymouth-0.8.2.orig/configure.ac
- +++ plymouth-0.8.2/configure.ac
- @@ -160,6 +160,9 @@ AC_DEFINE_UNQUOTED(BOOT_TTY, "$BOOT_TTY"
- @@ -10266,13 +10495,23 @@
- images/Makefile
- scripts/plymouth-generate-initrd
- scripts/plymouth-populate-initrd
- ---- plymouth-0.8.2.orig/INSTALL
- -+++ plymouth-0.8.2/INSTALL
- -@@ -1,91 +1,365 @@
- --Plymouth isn't really designed to be built from source and get installed by end users. For it to work correctly, it needs integration with the distribution. Because it starts so early, it needs to be packed into the distribution's initial ram disk, and the distribution needs to poke plymouth to tell it how boot is progressing.
- -+Installation Instructions
- -+*************************
- -
- +--- plymouth-0.8.2.orig/Makefile.in
- ++++ plymouth-0.8.2/Makefile.in
- +@@ -172,6 +172,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/INSTALL
- ++++ plymouth-0.8.2/INSTALL
- +@@ -1,91 +1,365 @@
- +-Plymouth isn't really designed to be built from source and get installed by end users. For it to work correctly, it needs integration with the distribution. Because it starts so early, it needs to be packed into the distribution's initial ram disk, and the distribution needs to poke plymouth to tell it how boot is progressing.
- ++Installation Instructions
- ++*************************
- +
- -Unfortunately, there isn't great documentation for distributors. In the mean time, this email exchange might be useful:
- +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
- +2006, 2007, 2008, 2009 Free Software Foundation, Inc.
- @@ -10721,2547 +10960,1653 @@
- -That'd be great!
- -
- ---Ray
- ---- plymouth-0.8.2.orig/config.h.in
- -+++ plymouth-0.8.2/config.h.in
- -@@ -55,6 +55,9 @@
- - /* Define to the one symbol short name of this package. */
- - #undef PACKAGE_TARNAME
- +--- plymouth-0.8.2.orig/themes/Makefile.am
- ++++ plymouth-0.8.2/themes/Makefile.am
- +@@ -1,2 +1,2 @@
- +-SUBDIRS = spinfinity fade-in text details solar glow script
- ++SUBDIRS = spinfinity fade-in text details solar glow script ubuntu-logo ubuntu-text
- + MAINTAINERCLEANFILES = Makefile.in
- +--- plymouth-0.8.2.orig/themes/Makefile.in
- ++++ plymouth-0.8.2/themes/Makefile.in
- +@@ -154,6 +154,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +@@ -233,7 +234,7 @@ target_alias = @target_alias@
- + top_build_prefix = @top_build_prefix@
- + top_builddir = @top_builddir@
- + top_srcdir = @top_srcdir@
- +-SUBDIRS = spinfinity fade-in text details solar glow script
- ++SUBDIRS = spinfinity fade-in text details solar glow script ubuntu-logo ubuntu-text
- + MAINTAINERCLEANFILES = Makefile.in
- + all: all-recursive
- -+/* Define to the home page for this package. */
- -+#undef PACKAGE_URL
- +--- plymouth-0.8.2.orig/themes/text/Makefile.in
- ++++ plymouth-0.8.2/themes/text/Makefile.in
- +@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/themes/solar/Makefile.in
- ++++ plymouth-0.8.2/themes/solar/Makefile.in
- +@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/themes/glow/Makefile.in
- ++++ plymouth-0.8.2/themes/glow/Makefile.in
- +@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- /dev/null
- ++++ plymouth-0.8.2/themes/ubuntu-logo/ubuntu-logo.plymouth.in
- +@@ -0,0 +1,8 @@
- ++[Plymouth Theme]
- ++Name=Ubuntu Logo
- ++Description=A theme that features a blank background with a logo.
- ++ModuleName=script
- +
- - /* Define to the version of this package. */
- - #undef PACKAGE_VERSION
- -
- ---- plymouth-0.8.2.orig/aclocal.m4
- -+++ plymouth-0.8.2/aclocal.m4
- -@@ -13,8 +13,8 @@
- -
- - m4_ifndef([AC_AUTOCONF_VERSION],
- - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
- --m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
- --[m4_warning([this file was generated for autoconf 2.63.
- -+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
- -+[m4_warning([this file was generated for autoconf 2.65.
- - You have another version of autoconf. It may work, but is not guaranteed to.
- - If you have problems, you may need to regenerate the build system entirely.
- - To do so, use the procedure documented by the package, typically `autoreconf'.])])
- -@@ -2460,7 +2460,7 @@ linux*oldld* | linux*aout* | linux*coff*
- - ;;
- -
- - # This must be Linux ELF.
- --linux* | k*bsd*-gnu)
- -+linux* | k*bsd*-gnu | kopensolaris*-gnu)
- - version_type=linux
- - need_lib_prefix=no
- - need_version=no
- -@@ -2485,13 +2485,10 @@ linux* | k*bsd*-gnu)
- - # before this can be enabled.
- - hardcode_into_libs=yes
- -
- -- # Add ABI-specific directories to the system library path.
- -- sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
- --
- - # Append ld.so.conf contents to the search path
- - if test -f /etc/ld.so.conf; then
- - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
- -- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
- -+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
- - fi
- -
- - # We used to test for /lib/ld.so.1 and disable shared libraries on
- -@@ -2503,6 +2500,18 @@ linux* | k*bsd*-gnu)
- - dynamic_linker='GNU/Linux ld.so'
- - ;;
- -
- -+netbsdelf*-gnu)
- -+ version_type=linux
- -+ need_lib_prefix=no
- -+ need_version=no
- -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
- -+ soname_spec='${libname}${release}${shared_ext}$major'
- -+ shlibpath_var=LD_LIBRARY_PATH
- -+ shlibpath_overrides_runpath=no
- -+ hardcode_into_libs=yes
- -+ dynamic_linker='NetBSD ld.elf_so'
- -+ ;;
- ++[script]
- ++ImageDir=@PLYMOUTH_THEME_PATH@/ubuntu-logo
- ++ScriptFile=@PLYMOUTH_THEME_PATH@/ubuntu-logo/ubuntu-logo.script
- +--- /dev/null
- ++++ plymouth-0.8.2/themes/ubuntu-logo/ubuntu-logo.script
- +@@ -0,0 +1,1058 @@
- ++# ubuntu-logo.script - boot splash plugin
- ++#
- ++# 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 2, 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, write to the Free Software
- ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- ++# 02111-1307, USA.
- ++#
- ++# Written by: Alberto Milone <alberto.milone@canonical.com>
- ++#
- ++# Based on the example provided with the "script plugin" written by:
- ++# Charlie Brej <cbrej@cs.man.ac.uk>
- ++#
- +
- - netbsd*)
- - version_type=sunos
- - need_lib_prefix=no
- -@@ -3090,11 +3099,11 @@ irix5* | irix6* | nonstopux*)
- - ;;
- -
- - # This must be Linux ELF.
- --linux* | k*bsd*-gnu)
- -+linux* | k*bsd*-gnu | kopensolaris*-gnu)
- - lt_cv_deplibs_check_method=pass_all
- - ;;
- -
- --netbsd*)
- -+netbsd* | netbsdelf*-gnu)
- - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
- - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
- - else
- -@@ -3711,7 +3720,7 @@ m4_if([$1], [CXX], [
- - ;;
- - esac
- - ;;
- -- linux* | k*bsd*-gnu)
- -+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
- - case $cc_basename in
- - KCC*)
- - # KAI C++ Compiler
- -@@ -3775,7 +3784,7 @@ m4_if([$1], [CXX], [
- - ;;
- - esac
- - ;;
- -- netbsd*)
- -+ netbsd* | netbsdelf*-gnu)
- - ;;
- - *qnx* | *nto*)
- - # QNX uses GNU C++, but need to define -shared option too, otherwise
- -@@ -3995,7 +4004,7 @@ m4_if([$1], [CXX], [
- - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
- - ;;
- -
- -- linux* | k*bsd*-gnu)
- -+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
- - case $cc_basename in
- - # old Intel for x86_64 which still supported -KPIC.
- - ecc*)
- -@@ -4200,6 +4209,9 @@ m4_if([$1], [CXX], [
- - cygwin* | mingw* | cegcc*)
- - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
- - ;;
- -+ linux* | k*bsd*-gnu)
- -+ _LT_TAGVAR(link_all_deplibs, $1)=no
- -+ ;;
- - *)
- - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
- - ;;
- -@@ -4264,6 +4276,9 @@ dnl Note also adjust exclude_expsyms for
- - openbsd*)
- - with_gnu_ld=no
- - ;;
- -+ linux* | k*bsd*-gnu)
- -+ _LT_TAGVAR(link_all_deplibs, $1)=no
- -+ ;;
- - esac
- -
- - _LT_TAGVAR(ld_shlibs, $1)=yes
- -@@ -4285,6 +4300,7 @@ dnl Note also adjust exclude_expsyms for
- - fi
- - supports_anon_versioning=no
- - case `$LD -v 2>&1` in
- -+ *GNU\ gold*) supports_anon_versioning=yes ;;
- - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
- - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
- - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
- -@@ -4376,7 +4392,7 @@ _LT_EOF
- - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
- - ;;
- -
- -- gnu* | linux* | tpf* | k*bsd*-gnu)
- -+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
- - tmp_diet=no
- - if test "$host_os" = linux-dietlibc; then
- - case $cc_basename in
- -@@ -4446,7 +4462,7 @@ _LT_EOF
- - fi
- - ;;
- -
- -- netbsd*)
- -+ netbsd* | netbsdelf*-gnu)
- - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
- - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
- - wlarc=
- -@@ -4621,6 +4637,7 @@ _LT_EOF
- - if test "$aix_use_runtimelinking" = yes; then
- - shared_flag="$shared_flag "'${wl}-G'
- - fi
- -+ _LT_TAGVAR(link_all_deplibs, $1)=no
- - else
- - # not using gcc
- - if test "$host_cpu" = ia64; then
- -@@ -4859,7 +4876,7 @@ _LT_EOF
- - _LT_TAGVAR(link_all_deplibs, $1)=yes
- - ;;
- -
- -- netbsd*)
- -+ netbsd* | netbsdelf*-gnu)
- - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
- - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
- - else
- -@@ -5855,7 +5872,7 @@ if test "$_lt_caught_CXX_error" != yes;
- - _LT_TAGVAR(inherit_rpath, $1)=yes
- - ;;
- -
- -- linux* | k*bsd*-gnu)
- -+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
- - case $cc_basename in
- - KCC*)
- - # Kuck and Associates, Inc. (KAI) C++ Compiler
- -@@ -7862,15 +7879,15 @@ m4_define([lt_dict_filter],
- -
- - # Generated from ltversion.in.
- -
- --# serial 3012 ltversion.m4
- -+# serial 3017 ltversion.m4
- - # This file is part of GNU Libtool
- -
- --m4_define([LT_PACKAGE_VERSION], [2.2.6])
- --m4_define([LT_PACKAGE_REVISION], [1.3012])
- -+m4_define([LT_PACKAGE_VERSION], [2.2.6b])
- -+m4_define([LT_PACKAGE_REVISION], [1.3017])
- -
- - AC_DEFUN([LTVERSION_VERSION],
- --[macro_version='2.2.6'
- --macro_revision='1.3012'
- -+[macro_version='2.2.6b'
- -+macro_revision='1.3017'
- - _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
- - _LT_DECL(, macro_revision, 0)
- - ])
- -@@ -8036,14 +8053,16 @@ fi])
- - # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
- - # ---------------------------------------------
- - m4_define([_PKG_CONFIG],
- --[if test -n "$$1"; then
- -- pkg_cv_[]$1="$$1"
- -- elif test -n "$PKG_CONFIG"; then
- -- PKG_CHECK_EXISTS([$3],
- -- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- -- [pkg_failed=yes])
- -- else
- -- pkg_failed=untried
- -+[if test -n "$PKG_CONFIG"; then
- -+ if test -n "$$1"; then
- -+ pkg_cv_[]$1="$$1"
- -+ else
- -+ PKG_CHECK_EXISTS([$3],
- -+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- -+ [pkg_failed=yes])
- -+ fi
- -+else
- -+ pkg_failed=untried
- - fi[]dnl
- - ])# _PKG_CONFIG
- -
- -@@ -8087,9 +8106,9 @@ See the pkg-config man page for more det
- - if test $pkg_failed = yes; then
- - _PKG_SHORT_ERRORS_SUPPORTED
- - if test $_pkg_short_errors_supported = yes; then
- -- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
- -+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
- - else
- -- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
- -+ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
- - fi
- - # Put the nasty error message in config.log where it belongs
- - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
- ---- plymouth-0.8.2.orig/images/Makefile.in
- -+++ plymouth-0.8.2/images/Makefile.in
- -@@ -138,6 +138,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/build-tools/ltmain.sh
- -+++ plymouth-0.8.2/build-tools/ltmain.sh
- -@@ -1,6 +1,6 @@
- - # Generated from ltmain.m4sh.
- -
- --# ltmain.sh (GNU libtool) 2.2.6
- -+# ltmain.sh (GNU libtool) 2.2.6b
- - # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
- -
- - # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
- -@@ -65,7 +65,7 @@
- - # compiler: $LTCC
- - # compiler flags: $LTCFLAGS
- - # linker: $LD (gnu? $with_gnu_ld)
- --# $progname: (GNU libtool) 2.2.6
- -+# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
- - # automake: $automake_version
- - # autoconf: $autoconf_version
- - #
- -@@ -73,9 +73,9 @@
- -
- - PROGRAM=ltmain.sh
- - PACKAGE=libtool
- --VERSION=2.2.6
- -+VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
- - TIMESTAMP=""
- --package_revision=1.3012
- -+package_revision=1.3017
- -
- - # Be Bourne compatible
- - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- -@@ -5033,7 +5033,10 @@ func_mode_link ()
- - case $pass in
- - dlopen) libs="$dlfiles" ;;
- - dlpreopen) libs="$dlprefiles" ;;
- -- link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
- -+ link)
- -+ libs="$deplibs %DEPLIBS%"
- -+ test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
- -+ ;;
- - esac
- - fi
- - if test "$linkmode,$pass" = "lib,dlpreopen"; then
- -@@ -5344,19 +5347,19 @@ func_mode_link ()
- - # It is a libtool convenience library, so add in its objects.
- - convenience="$convenience $ladir/$objdir/$old_library"
- - old_convenience="$old_convenience $ladir/$objdir/$old_library"
- -+ tmp_libs=
- -+ for deplib in $dependency_libs; do
- -+ deplibs="$deplib $deplibs"
- -+ if $opt_duplicate_deps ; then
- -+ case "$tmp_libs " in
- -+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- -+ esac
- -+ fi
- -+ tmp_libs="$tmp_libs $deplib"
- -+ done
- - elif test "$linkmode" != prog && test "$linkmode" != lib; then
- - func_fatal_error "\`$lib' is not a convenience library"
- - fi
- -- tmp_libs=
- -- for deplib in $dependency_libs; do
- -- deplibs="$deplib $deplibs"
- -- if $opt_duplicate_deps ; then
- -- case "$tmp_libs " in
- -- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- -- esac
- -- fi
- -- tmp_libs="$tmp_libs $deplib"
- -- done
- - continue
- - fi # $pass = conv
- -
- -@@ -5893,6 +5896,7 @@ func_mode_link ()
- - if test "$link_all_deplibs" != no; then
- - # Add the search paths of all dependency libraries
- - for deplib in $dependency_libs; do
- -+ path=
- - case $deplib in
- - -L*) path="$deplib" ;;
- - *.la)
- -@@ -6206,6 +6210,9 @@ func_mode_link ()
- - revision="$number_minor"
- - lt_irix_increment=no
- - ;;
- -+ *)
- -+ func_fatal_configuration "$modename: unknown library version type \`$version_type'"
- -+ ;;
- - esac
- - ;;
- - no)
- ---- plymouth-0.8.2.orig/build-tools/config.sub
- -+++ plymouth-0.8.2/build-tools/config.sub
- -@@ -4,7 +4,7 @@
- - # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
- - # Free Software Foundation, Inc.
- -
- --timestamp='2009-11-20'
- -+timestamp='2009-06-11'
- -
- - # This file is (in principle) common to ALL GNU software.
- - # The presence of a machine in this file suggests that SOME GNU software
- -@@ -32,16 +32,13 @@ timestamp='2009-11-20'
- -
- -
- - # Please send patches to <config-patches@gnu.org>. Submit a context
- --# diff and a properly formatted GNU ChangeLog entry.
- -+# diff and a properly formatted ChangeLog entry.
- - #
- - # Configuration subroutine to validate and canonicalize a configuration type.
- - # Supply the specified configuration type as an argument.
- - # If it is invalid, we print an error message on stderr and exit with code 1.
- - # Otherwise, we print the canonical config type on stdout and succeed.
- -
- --# You can get the latest version of this script from:
- --# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
- --
- - # This file is supposed to be the same for all GNU packages
- - # and recognize all the CPU types, system types and aliases
- - # that are meaningful with *any* GNU software.
- -@@ -152,7 +149,7 @@ case $os in
- - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
- - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
- - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- -- -apple | -axis | -knuth | -cray | -microblaze)
- -+ -apple | -axis | -knuth | -cray)
- - os=
- - basic_machine=$1
- - ;;
- -@@ -287,7 +284,6 @@ case $basic_machine in
- - | pdp10 | pdp11 | pj | pjl \
- - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
- - | pyramid \
- -- | rx \
- - | score \
- - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
- - | sh64 | sh64le \
- -@@ -295,14 +291,13 @@ case $basic_machine in
- - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
- - | spu | strongarm \
- - | tahoe | thumb | tic4x | tic80 | tron \
- -- | ubicom32 \
- - | v850 | v850e \
- - | we32k \
- - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
- - | z8k | z80)
- - basic_machine=$basic_machine-unknown
- - ;;
- -- m6811 | m68hc11 | m6812 | m68hc12 | picochip)
- -+ m6811 | m68hc11 | m6812 | m68hc12)
- - # Motorola 68HC11/12.
- - basic_machine=$basic_machine-unknown
- - os=-none
- -@@ -345,7 +340,7 @@ case $basic_machine in
- - | lm32-* \
- - | m32c-* | m32r-* | m32rle-* \
- - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- -- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
- -+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
- - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
- - | mips16-* \
- - | mips64-* | mips64el-* \
- -@@ -373,7 +368,7 @@ case $basic_machine in
- - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
- - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
- - | pyramid-* \
- -- | romp-* | rs6000-* | rx-* \
- -+ | romp-* | rs6000-* \
- - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
- - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
- - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
- -@@ -382,7 +377,6 @@ case $basic_machine in
- - | tahoe-* | thumb-* \
- - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
- - | tron-* \
- -- | ubicom32-* \
- - | v850-* | v850e-* | vax-* \
- - | we32k-* \
- - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
- -@@ -732,9 +726,6 @@ case $basic_machine in
- - basic_machine=ns32k-utek
- - os=-sysv
- - ;;
- -- microblaze)
- -- basic_machine=microblaze-xilinx
- -- ;;
- - mingw32)
- - basic_machine=i386-pc
- - os=-mingw32
- -@@ -1256,9 +1247,6 @@ case $os in
- - # First match some system type aliases
- - # that might get confused with valid system types.
- - # -solaris* is a basic system type, with this one exception.
- -- -auroraux)
- -- os=-auroraux
- -- ;;
- - -solaris1 | -solaris1.*)
- - os=`echo $os | sed -e 's|solaris1|sunos4|'`
- - ;;
- -@@ -1280,8 +1268,8 @@ case $os in
- - # -sysv* is not here because it comes later, after sysvr4.
- - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- - | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
- -- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
- -- | -sym* | -kopensolaris* \
- -+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
- -+ | -kopensolaris* \
- - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- - | -aos* | -aros* \
- - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
- -@@ -1302,7 +1290,7 @@ case $os in
- - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
- - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
- - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- -- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
- -+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
- - # Remember, each alternative MUST END IN *, to match a version number.
- - ;;
- - -qnx*)
- ---- plymouth-0.8.2.orig/build-tools/config.guess
- -+++ plymouth-0.8.2/build-tools/config.guess
- -@@ -4,7 +4,7 @@
- - # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
- - # Free Software Foundation, Inc.
- -
- --timestamp='2009-11-20'
- -+timestamp='2009-06-10'
- -
- - # This file is free software; you can redistribute it and/or modify it
- - # under the terms of the GNU General Public License as published by
- -@@ -27,16 +27,16 @@ timestamp='2009-11-20'
- - # the same distribution terms that you use for the rest of that program.
- -
- -
- --# Originally written by Per Bothner. Please send patches (context
- --# diff format) to <config-patches@gnu.org> and include a ChangeLog
- --# entry.
- -+# Originally written by Per Bothner <per@bothner.com>.
- -+# Please send patches to <config-patches@gnu.org>. Submit a context
- -+# diff and a properly formatted ChangeLog entry.
- - #
- - # This script attempts to guess a canonical system name similar to
- - # config.sub. If it succeeds, it prints the system name on stdout, and
- - # exits with 0. Otherwise, it exits with 1.
- - #
- --# You can get the latest version of this script from:
- --# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
- -+# The plan is that this can be called by configure scripts if you
- -+# don't specify an explicit build system type.
- -
- - me=`echo "$0" | sed -e 's,.*/,,'`
- -
- -@@ -333,9 +333,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
- - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
- - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- - exit ;;
- -- i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
- -- echo i386-pc-auroraux${UNAME_RELEASE}
- -- exit ;;
- - i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
- - eval $set_cc_for_build
- - SUN_ARCH="i386"
- -@@ -810,12 +807,12 @@ EOF
- - i*:PW*:*)
- - echo ${UNAME_MACHINE}-pc-pw32
- - exit ;;
- -- *:Interix*:*)
- -+ *:Interix*:[3456]*)
- - case ${UNAME_MACHINE} in
- - x86)
- - echo i586-pc-interix${UNAME_RELEASE}
- - exit ;;
- -- authenticamd | genuineintel | EM64T)
- -+ EM64T | authenticamd | genuineintel)
- - echo x86_64-unknown-interix${UNAME_RELEASE}
- - exit ;;
- - IA64)
- -@@ -857,20 +854,6 @@ EOF
- - i*86:Minix:*:*)
- - echo ${UNAME_MACHINE}-pc-minix
- - exit ;;
- -- alpha:Linux:*:*)
- -- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- -- EV5) UNAME_MACHINE=alphaev5 ;;
- -- EV56) UNAME_MACHINE=alphaev56 ;;
- -- PCA56) UNAME_MACHINE=alphapca56 ;;
- -- PCA57) UNAME_MACHINE=alphapca56 ;;
- -- EV6) UNAME_MACHINE=alphaev6 ;;
- -- EV67) UNAME_MACHINE=alphaev67 ;;
- -- EV68*) UNAME_MACHINE=alphaev68 ;;
- -- esac
- -- objdump --private-headers /bin/sh | grep -q ld.so.1
- -- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- -- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- -- exit ;;
- - arm*:Linux:*:*)
- - eval $set_cc_for_build
- - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
- -@@ -893,17 +876,6 @@ EOF
- - frv:Linux:*:*)
- - echo frv-unknown-linux-gnu
- - exit ;;
- -- i*86:Linux:*:*)
- -- LIBC=gnu
- -- eval $set_cc_for_build
- -- sed 's/^ //' << EOF >$dummy.c
- -- #ifdef __dietlibc__
- -- LIBC=dietlibc
- -- #endif
- --EOF
- -- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
- -- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- -- exit ;;
- - ia64:Linux:*:*)
- - echo ${UNAME_MACHINE}-unknown-linux-gnu
- - exit ;;
- -@@ -929,18 +901,39 @@ EOF
- - #endif
- - #endif
- - EOF
- -- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
- -+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- -+ /^CPU/{
- -+ s: ::g
- -+ p
- -+ }'`"
- - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- - ;;
- - or32:Linux:*:*)
- - echo or32-unknown-linux-gnu
- - exit ;;
- -+ ppc:Linux:*:*)
- -+ echo powerpc-unknown-linux-gnu
- -+ exit ;;
- -+ ppc64:Linux:*:*)
- -+ echo powerpc64-unknown-linux-gnu
- -+ exit ;;
- -+ alpha:Linux:*:*)
- -+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- -+ EV5) UNAME_MACHINE=alphaev5 ;;
- -+ EV56) UNAME_MACHINE=alphaev56 ;;
- -+ PCA56) UNAME_MACHINE=alphapca56 ;;
- -+ PCA57) UNAME_MACHINE=alphapca56 ;;
- -+ EV6) UNAME_MACHINE=alphaev6 ;;
- -+ EV67) UNAME_MACHINE=alphaev67 ;;
- -+ EV68*) UNAME_MACHINE=alphaev68 ;;
- -+ esac
- -+ objdump --private-headers /bin/sh | grep -q ld.so.1
- -+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- -+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- -+ exit ;;
- - padre:Linux:*:*)
- - echo sparc-unknown-linux-gnu
- - exit ;;
- -- parisc64:Linux:*:* | hppa64:Linux:*:*)
- -- echo hppa64-unknown-linux-gnu
- -- exit ;;
- - parisc:Linux:*:* | hppa:Linux:*:*)
- - # Look for CPU level
- - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
- -@@ -949,11 +942,8 @@ EOF
- - *) echo hppa-unknown-linux-gnu ;;
- - esac
- - exit ;;
- -- ppc64:Linux:*:*)
- -- echo powerpc64-unknown-linux-gnu
- -- exit ;;
- -- ppc:Linux:*:*)
- -- echo powerpc-unknown-linux-gnu
- -+ parisc64:Linux:*:* | hppa64:Linux:*:*)
- -+ echo hppa64-unknown-linux-gnu
- - exit ;;
- - s390:Linux:*:* | s390x:Linux:*:*)
- - echo ${UNAME_MACHINE}-ibm-linux
- -@@ -976,6 +966,58 @@ EOF
- - xtensa*:Linux:*:*)
- - echo ${UNAME_MACHINE}-unknown-linux-gnu
- - exit ;;
- -+ i*86:Linux:*:*)
- -+ # The BFD linker knows what the default object file format is, so
- -+ # first see if it will tell us. cd to the root directory to prevent
- -+ # problems with other programs or directories called `ld' in the path.
- -+ # Set LC_ALL=C to ensure ld outputs messages in English.
- -+ ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
- -+ | sed -ne '/supported targets:/!d
- -+ s/[ ][ ]*/ /g
- -+ s/.*supported targets: *//
- -+ s/ .*//
- -+ p'`
- -+ case "$ld_supported_targets" in
- -+ elf32-i386)
- -+ TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
- -+ ;;
- -+ esac
- -+ # Determine whether the default compiler is a.out or elf
- -+ eval $set_cc_for_build
- -+ sed 's/^ //' << EOF >$dummy.c
- -+ #include <features.h>
- -+ #ifdef __ELF__
- -+ # ifdef __GLIBC__
- -+ # if __GLIBC__ >= 2
- -+ LIBC=gnu
- -+ # else
- -+ LIBC=gnulibc1
- -+ # endif
- -+ # else
- -+ LIBC=gnulibc1
- -+ # endif
- -+ #else
- -+ #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
- -+ LIBC=gnu
- -+ #else
- -+ LIBC=gnuaout
- -+ #endif
- -+ #endif
- -+ #ifdef __dietlibc__
- -+ LIBC=dietlibc
- -+ #endif
- -+EOF
- -+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- -+ /^LIBC/{
- -+ s: ::g
- -+ p
- -+ }'`"
- -+ test x"${LIBC}" != x && {
- -+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- -+ exit
- -+ }
- -+ test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
- -+ ;;
- - i*86:DYNIX/ptx:4*:*)
- - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
- - # earlier versions are messed up and put the nodename in both
- -@@ -1205,16 +1247,6 @@ EOF
- - *:Darwin:*:*)
- - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
- - case $UNAME_PROCESSOR in
- -- i386)
- -- eval $set_cc_for_build
- -- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
- -- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
- -- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
- -- grep IS_64BIT_ARCH >/dev/null
- -- then
- -- UNAME_PROCESSOR="x86_64"
- -- fi
- -- fi ;;
- - unknown) UNAME_PROCESSOR=powerpc ;;
- - esac
- - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
- ---- plymouth-0.8.2.orig/src/Makefile.in
- -+++ plymouth-0.8.2/src/Makefile.in
- -@@ -220,6 +220,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/main.c
- -+++ plymouth-0.8.2/src/main.c
- -@@ -116,6 +116,7 @@ typedef struct
- - const char *default_tty;
- -
- - int number_of_errors;
- -+ ply_list_t *pending_messages;
- - } state_t;
- -
- - static ply_boot_splash_t *start_boot_splash (state_t *state,
- -@@ -164,14 +165,34 @@ on_update (state_t *state,
- - const char *status)
- - {
- - ply_trace ("updating status to '%s'", status);
- -- ply_progress_status_update (state->progress,
- -- status);
- -+ if (strncmp (status, "fsck:", 5))
- -+ ply_progress_status_update (state->progress,
- -+ status);
- - if (state->boot_splash != NULL)
- - ply_boot_splash_update_status (state->boot_splash,
- - status);
- - }
- -
- - static void
- -+flush_pending_messages (state_t *state)
- -+{
- -+ ply_list_node_t *node = ply_list_get_first_node (state->pending_messages);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ char *message = ply_list_node_get_data (node);
- -+
- -+ ply_trace ("displaying queued message");
- -+
- -+ ply_boot_splash_display_message (state->boot_splash, message);
- -+ next_node = ply_list_get_next_node (state->pending_messages, node);
- -+ ply_list_remove_node (state->pending_messages, node);
- -+ free(message);
- -+ node = next_node;
- -+ }
- -+}
- -+
- -+static void
- - show_detailed_splash (state_t *state)
- - {
- - if (state->boot_splash != NULL)
- -@@ -319,11 +340,15 @@ show_default_splash (state_t *state)
- - ply_trace ("Could not start default splash screen,"
- - "showing text splash screen");
- - state->boot_splash = start_boot_splash (state,
- -- PLYMOUTH_THEME_PATH "text/text.plymouth");
- -+ PLYMOUTH_THEME_PATH "text.plymouth");
- - }
- -
- - if (state->boot_splash == NULL)
- -- ply_error ("could not start boot splash: %m");
- -+ {
- -+ if (errno != ENOENT)
- -+ ply_error ("could not start boot splash: %m");
- -+ show_detailed_splash (state);
- -+ }
- - }
- -
- - static void
- -@@ -374,6 +399,8 @@ on_display_message (state_t *state
- - ply_trace ("displaying message %s", message);
- - if (state->boot_splash != NULL)
- - ply_boot_splash_display_message (state->boot_splash, message);
- -+ else
- -+ ply_list_append_data (state->pending_messages, strdup(message));
- - }
- -
- - static void
- -@@ -720,6 +747,7 @@ on_show_splash (state_t *state)
- - show_detailed_splash (state);
- - state->showing_details = true;
- - }
- -+ flush_pending_messages (state);
- - }
- -
- - static void
- -@@ -1259,6 +1287,10 @@ add_display_and_keyboard_for_terminal (s
- -
- - state->terminal = ply_terminal_new (tty_name);
- -
- -+ // urgh
- -+ if (!ply_terminal_open (state->terminal))
- -+ return;
- -+
- - keyboard = ply_keyboard_new_for_terminal (state->terminal);
- - display = ply_text_display_new (state->terminal);
- -
- -@@ -1674,6 +1706,7 @@ initialize_environment (state_t *state)
- - state->entry_buffer = ply_buffer_new();
- - state->pixel_displays = ply_list_new ();
- - state->text_displays = ply_list_new ();
- -+ state->pending_messages = ply_list_new ();
- - state->keyboard = NULL;
- -
- - if (!state->default_tty)
- -@@ -1904,12 +1937,7 @@ main (int argc,
- - {
- - state.should_be_attached = attach_to_session;
- - if (!attach_to_running_session (&state))
- -- {
- -- ply_error ("could not create session: %m");
- -- if (! no_daemon)
- -- ply_detach_daemon (daemon_handle, EX_UNAVAILABLE);
- -- return EX_UNAVAILABLE;
- -- }
- -+ ply_trace ("could not create session: %m");
- - }
- -
- - state.boot_server = start_boot_server (&state);
- ---- plymouth-0.8.2.orig/src/plugins/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/Makefile.in
- -@@ -154,6 +154,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/controls/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/controls/Makefile.in
- -@@ -154,6 +154,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/controls/label/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/controls/label/Makefile.in
- -@@ -173,6 +173,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/splash/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/splash/Makefile.in
- -@@ -154,6 +154,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- -@@ -233,7 +234,7 @@ target_alias = @target_alias@
- - top_build_prefix = @top_build_prefix@
- - top_builddir = @top_builddir@
- - top_srcdir = @top_srcdir@
- --SUBDIRS = throbgress fade-throbber text details space-flares two-step script
- -+SUBDIRS = throbgress fade-throbber text details space-flares two-step script ubuntu-text
- - MAINTAINERCLEANFILES = Makefile.in
- - all: all-recursive
- -
- ---- plymouth-0.8.2.orig/src/plugins/splash/Makefile.am
- -+++ plymouth-0.8.2/src/plugins/splash/Makefile.am
- -@@ -1,2 +1,2 @@
- --SUBDIRS = throbgress fade-throbber text details space-flares two-step script
- -+SUBDIRS = throbgress fade-throbber text details space-flares two-step script ubuntu-text
- - MAINTAINERCLEANFILES = Makefile.in
- ---- plymouth-0.8.2.orig/src/plugins/splash/fade-throbber/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/splash/fade-throbber/Makefile.in
- -@@ -174,6 +174,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/splash/script/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/splash/script/Makefile.in
- -@@ -179,6 +179,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/splash/script/script-lib-image.c
- -+++ plymouth-0.8.2/src/plugins/splash/script/script-lib-image.c
- -@@ -171,7 +171,7 @@ static script_return_t image_text (scrip
- -
- - alpha_obj = script_obj_hash_peek_element (state->local, "alpha");
- -
- -- if (alpha_obj)
- -+ if (alpha_obj && !script_obj_is_null(alpha_obj))
- - {
- - alpha = CLAMP(script_obj_as_number (alpha_obj), 0, 1);
- - script_obj_unref(alpha_obj);
- ---- plymouth-0.8.2.orig/src/plugins/splash/script/plugin.c
- -+++ plymouth-0.8.2/src/plugins/splash/script/plugin.c
- -@@ -418,6 +418,8 @@ static void
- - become_idle (ply_boot_splash_plugin_t *plugin,
- - ply_trigger_t *idle_trigger)
- - {
- -+ stop_animation (plugin);
- -+
- - ply_trigger_pull (idle_trigger, NULL);
- - }
- -
- ---- plymouth-0.8.2.orig/src/plugins/splash/script/script-lib-sprite.c
- -+++ plymouth-0.8.2/src/plugins/splash/script/script-lib-sprite.c
- -@@ -399,6 +399,45 @@ static script_return_t sprite_window_set
- - return script_return_obj_null ();
- - }
- -
- -+static script_return_t sprite_window_get_bits_per_pixel (script_state_t *state,
- -+ void *user_data)
- -+{
- -+ script_lib_sprite_data_t *data = user_data;
- -+ ply_list_node_t *node;
- -+ int index;
- -+ script_obj_t *index_obj;
- -+ script_lib_display_t *display;
- -+ unsigned int bits_per_pixel;
- -+
- -+ index_obj = script_obj_hash_peek_element (state->local, "window");
- -+
- -+ if (index_obj)
- -+ {
- -+ index = script_obj_as_number (index_obj);
- -+ script_obj_unref(index_obj);
- -+ if (index < 0)
- -+ return script_return_obj_null ();
- -+ node = ply_list_get_nth_node (data->displays, index);
- -+ if (node == NULL)
- -+ return script_return_obj_null ();
- -+ display = ply_list_node_get_data (node);
- -+ bits_per_pixel = ply_pixel_display_get_bits_per_pixel (display->pixel_display);
- -+ return script_return_obj (script_obj_new_number (bits_per_pixel));
- -+ }
- -+
- -+ bits_per_pixel = 0;
- -+ for (node = ply_list_get_first_node (data->displays);
- -+ node;
- -+ node = ply_list_get_next_node (data->displays, node))
- -+ {
- -+ display = ply_list_node_get_data (node);
- -+ bits_per_pixel = ply_pixel_display_get_bits_per_pixel (display->pixel_display);
- -+ if (bits_per_pixel)
- -+ break;
- -+ }
- -+ return script_return_obj (script_obj_new_number (bits_per_pixel));
- -+}
- -+
- - static uint32_t extract_rgb_color (script_state_t *state)
- - {
- - uint8_t red = CLAMP (255 * script_obj_hash_get_number (state->local, "red"), 0, 255);
- -@@ -651,6 +690,12 @@ script_lib_sprite_data_t *script_lib_spr
- - "value",
- - NULL);
- - script_add_native_function (window_hash,
- -+ "GetBitsPerPixel",
- -+ sprite_window_get_bits_per_pixel,
- -+ data,
- -+ "window",
- -+ NULL);
- -+ script_add_native_function (window_hash,
- - "SetBackgroundTopColor",
- - sprite_window_set_background_top_color,
- - data,
- ---- plymouth-0.8.2.orig/src/plugins/splash/space-flares/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/splash/space-flares/Makefile.in
- -@@ -174,6 +174,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/splash/two-step/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/splash/two-step/Makefile.in
- -@@ -173,6 +173,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/splash/throbgress/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/splash/throbgress/Makefile.in
- -@@ -173,6 +173,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- /dev/null
- -+++ plymouth-0.8.2/src/plugins/splash/ubuntu-text/Makefile.in
- -@@ -0,0 +1,597 @@
- -+# Makefile.in generated by automake 1.11.1 from Makefile.am.
- -+# @configure_input@
- -+
- -+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- -+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
- -+# Inc.
- -+# This Makefile.in is free software; the Free Software Foundation
- -+# gives unlimited permission to copy and/or distribute it,
- -+# with or without modifications, as long as this notice is preserved.
- -+
- -+# This program is distributed in the hope that it will be useful,
- -+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- -+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- -+# PARTICULAR PURPOSE.
- -+
- -+@SET_MAKE@
- -+
- -+VPATH = @srcdir@
- -+pkgdatadir = $(datadir)/@PACKAGE@
- -+pkgincludedir = $(includedir)/@PACKAGE@
- -+pkglibdir = $(libdir)/@PACKAGE@
- -+pkglibexecdir = $(libexecdir)/@PACKAGE@
- -+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- -+install_sh_DATA = $(install_sh) -c -m 644
- -+install_sh_PROGRAM = $(install_sh) -c
- -+install_sh_SCRIPT = $(install_sh) -c
- -+INSTALL_HEADER = $(INSTALL_DATA)
- -+transform = $(program_transform_name)
- -+NORMAL_INSTALL = :
- -+PRE_INSTALL = :
- -+POST_INSTALL = :
- -+NORMAL_UNINSTALL = :
- -+PRE_UNINSTALL = :
- -+POST_UNINSTALL = :
- -+build_triplet = @build@
- -+host_triplet = @host@
- -+subdir = src/plugins/splash/ubuntu-text
- -+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- -+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- -+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- -+ $(top_srcdir)/configure.ac
- -+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- -+ $(ACLOCAL_M4)
- -+mkinstalldirs = $(install_sh) -d
- -+CONFIG_HEADER = $(top_builddir)/config.h
- -+CONFIG_CLEAN_FILES =
- -+CONFIG_CLEAN_VPATH_FILES =
- -+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
- -+am__vpath_adj = case $$p in \
- -+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- -+ *) f=$$p;; \
- -+ esac;
- -+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
- -+am__install_max = 40
- -+am__nobase_strip_setup = \
- -+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
- -+am__nobase_strip = \
- -+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
- -+am__nobase_list = $(am__nobase_strip_setup); \
- -+ for p in $$list; do echo "$$p $$p"; done | \
- -+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
- -+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
- -+ if (++n[$$2] == $(am__install_max)) \
- -+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
- -+ END { for (dir in files) print dir, files[dir] }'
- -+am__base_list = \
- -+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- -+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
- -+am__installdirs = "$(DESTDIR)$(plugindir)"
- -+LTLIBRARIES = $(plugin_LTLIBRARIES)
- -+am__DEPENDENCIES_1 =
- -+ubuntu_text_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- -+ ../../../libply/libply.la \
- -+ ../../../libply-splash-core/libply-splash-core.la
- -+am_ubuntu_text_la_OBJECTS = ubuntu_text_la-plugin.lo
- -+ubuntu_text_la_OBJECTS = $(am_ubuntu_text_la_OBJECTS)
- -+AM_V_lt = $(am__v_lt_$(V))
- -+am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
- -+am__v_lt_0 = --silent
- -+ubuntu_text_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
- -+ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
- -+ $(ubuntu_text_la_CFLAGS) $(CFLAGS) $(ubuntu_text_la_LDFLAGS) \
- -+ $(LDFLAGS) -o $@
- -+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
- -+depcomp = $(SHELL) $(top_srcdir)/build-tools/depcomp
- -+am__depfiles_maybe = depfiles
- -+am__mv = mv -f
- -+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- -+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- -+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- -+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
- -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
- -+ $(AM_CFLAGS) $(CFLAGS)
- -+AM_V_CC = $(am__v_CC_$(V))
- -+am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
- -+am__v_CC_0 = @echo " CC " $@;
- -+AM_V_at = $(am__v_at_$(V))
- -+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
- -+am__v_at_0 = @
- -+CCLD = $(CC)
- -+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- -+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- -+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
- -+AM_V_CCLD = $(am__v_CCLD_$(V))
- -+am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
- -+am__v_CCLD_0 = @echo " CCLD " $@;
- -+AM_V_GEN = $(am__v_GEN_$(V))
- -+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
- -+am__v_GEN_0 = @echo " GEN " $@;
- -+SOURCES = $(ubuntu_text_la_SOURCES)
- -+DIST_SOURCES = $(ubuntu_text_la_SOURCES)
- -+ETAGS = etags
- -+CTAGS = ctags
- -+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- -+ACLOCAL = @ACLOCAL@
- -+AMTAR = @AMTAR@
- -+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- -+AR = @AR@
- -+AUTOCONF = @AUTOCONF@
- -+AUTOHEADER = @AUTOHEADER@
- -+AUTOMAKE = @AUTOMAKE@
- -+AWK = @AWK@
- -+CC = @CC@
- -+CCDEPMODE = @CCDEPMODE@
- -+CFLAGS = @CFLAGS@
- -+CPP = @CPP@
- -+CPPFLAGS = @CPPFLAGS@
- -+CYGPATH_W = @CYGPATH_W@
- -+DEFS = @DEFS@
- -+DEPDIR = @DEPDIR@
- -+DRM_CFLAGS = @DRM_CFLAGS@
- -+DRM_LIBS = @DRM_LIBS@
- -+DSYMUTIL = @DSYMUTIL@
- -+DUMPBIN = @DUMPBIN@
- -+ECHO_C = @ECHO_C@
- -+ECHO_N = @ECHO_N@
- -+ECHO_T = @ECHO_T@
- -+EGREP = @EGREP@
- -+EXEEXT = @EXEEXT@
- -+FGREP = @FGREP@
- -+GREP = @GREP@
- -+GTK_CFLAGS = @GTK_CFLAGS@
- -+GTK_LIBS = @GTK_LIBS@
- -+IMAGE_CFLAGS = @IMAGE_CFLAGS@
- -+IMAGE_LIBS = @IMAGE_LIBS@
- -+INSTALL = @INSTALL@
- -+INSTALL_DATA = @INSTALL_DATA@
- -+INSTALL_PROGRAM = @INSTALL_PROGRAM@
- -+INSTALL_SCRIPT = @INSTALL_SCRIPT@
- -+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- -+LD = @LD@
- -+LDFLAGS = @LDFLAGS@
- -+LIBOBJS = @LIBOBJS@
- -+LIBS = @LIBS@
- -+LIBTOOL = @LIBTOOL@
- -+LIPO = @LIPO@
- -+LN_S = @LN_S@
- -+LTLIBOBJS = @LTLIBOBJS@
- -+LT_AGE = @LT_AGE@
- -+LT_CURRENT = @LT_CURRENT@
- -+LT_REVISION = @LT_REVISION@
- -+MAINT = @MAINT@
- -+MAKEINFO = @MAKEINFO@
- -+MKDIR_P = @MKDIR_P@
- -+NM = @NM@
- -+NMEDIT = @NMEDIT@
- -+OBJDUMP = @OBJDUMP@
- -+OBJEXT = @OBJEXT@
- -+OTOOL = @OTOOL@
- -+OTOOL64 = @OTOOL64@
- -+PACKAGE = @PACKAGE@
- -+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- -+PACKAGE_NAME = @PACKAGE_NAME@
- -+PACKAGE_STRING = @PACKAGE_STRING@
- -+PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- -+PACKAGE_VERSION = @PACKAGE_VERSION@
- -+PANGO_CFLAGS = @PANGO_CFLAGS@
- -+PANGO_LIBS = @PANGO_LIBS@
- -+PATH_SEPARATOR = @PATH_SEPARATOR@
- -+PKG_CONFIG = @PKG_CONFIG@
- -+PLYMOUTH_CFLAGS = @PLYMOUTH_CFLAGS@
- -+PLYMOUTH_CONF_DIR = @PLYMOUTH_CONF_DIR@
- -+PLYMOUTH_DATADIR = @PLYMOUTH_DATADIR@
- -+PLYMOUTH_LIBDIR = @PLYMOUTH_LIBDIR@
- -+PLYMOUTH_LIBEXECDIR = @PLYMOUTH_LIBEXECDIR@
- -+PLYMOUTH_LIBS = @PLYMOUTH_LIBS@
- -+PLYMOUTH_PLUGIN_PATH = @PLYMOUTH_PLUGIN_PATH@
- -+PLYMOUTH_POLICY_DIR = @PLYMOUTH_POLICY_DIR@
- -+PLYMOUTH_THEME_PATH = @PLYMOUTH_THEME_PATH@
- -+RANLIB = @RANLIB@
- -+RELEASE_FILE = @RELEASE_FILE@
- -+SED = @SED@
- -+SET_MAKE = @SET_MAKE@
- -+SHELL = @SHELL@
- -+STRIP = @STRIP@
- -+VERSION = @VERSION@
- -+abs_builddir = @abs_builddir@
- -+abs_srcdir = @abs_srcdir@
- -+abs_top_builddir = @abs_top_builddir@
- -+abs_top_srcdir = @abs_top_srcdir@
- -+ac_ct_CC = @ac_ct_CC@
- -+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
- -+am__include = @am__include@
- -+am__leading_dot = @am__leading_dot@
- -+am__quote = @am__quote@
- -+am__tar = @am__tar@
- -+am__untar = @am__untar@
- -+background_color = @background_color@
- -+background_end_color = @background_end_color@
- -+background_start_color = @background_start_color@
- -+bindir = @bindir@
- -+build = @build@
- -+build_alias = @build_alias@
- -+build_cpu = @build_cpu@
- -+build_os = @build_os@
- -+build_vendor = @build_vendor@
- -+builddir = @builddir@
- -+datadir = @datadir@
- -+datarootdir = @datarootdir@
- -+docdir = @docdir@
- -+dvidir = @dvidir@
- -+exec_prefix = @exec_prefix@
- -+host = @host@
- -+host_alias = @host_alias@
- -+host_cpu = @host_cpu@
- -+host_os = @host_os@
- -+host_vendor = @host_vendor@
- -+htmldir = @htmldir@
- -+includedir = @includedir@
- -+infodir = @infodir@
- -+install_sh = @install_sh@
- -+libdir = @libdir@
- -+libexecdir = @libexecdir@
- -+localedir = @localedir@
- -+localstatedir = @localstatedir@
- -+logofile = @logofile@
- -+lt_ECHO = @lt_ECHO@
- -+mandir = @mandir@
- -+mkdir_p = @mkdir_p@
- -+oldincludedir = @oldincludedir@
- -+pdfdir = @pdfdir@
- -+plymouthclientdir = @plymouthclientdir@
- -+plymouthdaemondir = @plymouthdaemondir@
- -+prefix = @prefix@
- -+program_transform_name = @program_transform_name@
- -+psdir = @psdir@
- -+sbindir = @sbindir@
- -+sharedstatedir = @sharedstatedir@
- -+srcdir = @srcdir@
- -+sysconfdir = @sysconfdir@
- -+target_alias = @target_alias@
- -+top_build_prefix = @top_build_prefix@
- -+top_builddir = @top_builddir@
- -+top_srcdir = @top_srcdir@
- -+INCLUDES = -I$(top_srcdir) \
- -+ -I$(srcdir)/../../../libply \
- -+ -I$(srcdir)/../../../libply-splash-core \
- -+ -I$(srcdir)/../../.. \
- -+ -I$(srcdir)/../.. \
- -+ -I$(srcdir)/.. \
- -+ -I$(srcdir)
- -+
- -+plugindir = $(libdir)/plymouth
- -+plugin_LTLIBRARIES = ubuntu-text.la
- -+ubuntu_text_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
- -+ -DPLYMOUTH_BACKGROUND_COLOR=$(background_color) \
- -+ -DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color) \
- -+ -DPLYMOUTH_BACKGROUND_START_COLOR=$(background_start_color)
- -+
- -+ubuntu_text_la_LDFLAGS = -module -avoid-version -export-dynamic
- -+ubuntu_text_la_LIBADD = $(PLYMOUTH_LIBS) \
- -+ ../../../libply/libply.la \
- -+ ../../../libply-splash-core/libply-splash-core.la
- -+
- -+ubuntu_text_la_SOURCES = $(srcdir)/plugin.c
- -+MAINTAINERCLEANFILES = Makefile.in
- -+all: all-am
- -+
- -+.SUFFIXES:
- -+.SUFFIXES: .c .lo .o .obj
- -+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- -+ @for dep in $?; do \
- -+ case '$(am__configure_deps)' in \
- -+ *$$dep*) \
- -+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- -+ && { if test -f $@; then exit 0; else break; fi; }; \
- -+ exit 1;; \
- -+ esac; \
- -+ done; \
- -+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/plugins/splash/ubuntu-text/Makefile'; \
- -+ $(am__cd) $(top_srcdir) && \
- -+ $(AUTOMAKE) --gnu src/plugins/splash/ubuntu-text/Makefile
- -+.PRECIOUS: Makefile
- -+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- -+ @case '$?' in \
- -+ *config.status*) \
- -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- -+ *) \
- -+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- -+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- -+ esac;
- -+
- -+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- -+
- -+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- -+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- -+$(am__aclocal_m4_deps):
- -+install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
- -+ @$(NORMAL_INSTALL)
- -+ test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
- -+ @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
- -+ list2=; for p in $$list; do \
- -+ if test -f $$p; then \
- -+ list2="$$list2 $$p"; \
- -+ else :; fi; \
- -+ done; \
- -+ test -z "$$list2" || { \
- -+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \
- -+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \
- -+ }
- -+
- -+uninstall-pluginLTLIBRARIES:
- -+ @$(NORMAL_UNINSTALL)
- -+ @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
- -+ for p in $$list; do \
- -+ $(am__strip_dir) \
- -+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \
- -+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \
- -+ done
- -+
- -+clean-pluginLTLIBRARIES:
- -+ -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES)
- -+ @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
- -+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- -+ test "$$dir" != "$$p" || dir=.; \
- -+ echo "rm -f \"$${dir}/so_locations\""; \
- -+ rm -f "$${dir}/so_locations"; \
- -+ done
- -+ubuntu-text.la: $(ubuntu_text_la_OBJECTS) $(ubuntu_text_la_DEPENDENCIES)
- -+ $(AM_V_CCLD)$(ubuntu_text_la_LINK) -rpath $(plugindir) $(ubuntu_text_la_OBJECTS) $(ubuntu_text_la_LIBADD) $(LIBS)
- -+
- -+mostlyclean-compile:
- -+ -rm -f *.$(OBJEXT)
- -+
- -+distclean-compile:
- -+ -rm -f *.tab.c
- -+
- -+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ubuntu_text_la-plugin.Plo@am__quote@
- -+
- -+.c.o:
- -+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- -+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- -+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- -+@am__fastdepCC_FALSE@ $(COMPILE) -c $<
- -+
- -+.c.obj:
- -+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- -+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- -+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- -+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
- -+
- -+.c.lo:
- -+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- -+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
- -+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- -+@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
- -+
- -+ubuntu_text_la-plugin.lo: $(srcdir)/plugin.c
- -+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ubuntu_text_la_CFLAGS) $(CFLAGS) -MT ubuntu_text_la-plugin.lo -MD -MP -MF $(DEPDIR)/ubuntu_text_la-plugin.Tpo -c -o ubuntu_text_la-plugin.lo `test -f '$(srcdir)/plugin.c' || echo '$(srcdir)/'`$(srcdir)/plugin.c
- -+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ubuntu_text_la-plugin.Tpo $(DEPDIR)/ubuntu_text_la-plugin.Plo
- -+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/plugin.c' object='ubuntu_text_la-plugin.lo' libtool=yes @AMDEPBACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- -+@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ubuntu_text_la_CFLAGS) $(CFLAGS) -c -o ubuntu_text_la-plugin.lo `test -f '$(srcdir)/plugin.c' || echo '$(srcdir)/'`$(srcdir)/plugin.c
- -+
- -+mostlyclean-libtool:
- -+ -rm -f *.lo
- -+
- -+clean-libtool:
- -+ -rm -rf .libs _libs
- -+
- -+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- -+ unique=`for i in $$list; do \
- -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- -+ done | \
- -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- -+ END { if (nonempty) { for (i in files) print i; }; }'`; \
- -+ mkid -fID $$unique
- -+tags: TAGS
- -+
- -+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- -+ $(TAGS_FILES) $(LISP)
- -+ set x; \
- -+ here=`pwd`; \
- -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- -+ unique=`for i in $$list; do \
- -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- -+ done | \
- -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- -+ END { if (nonempty) { for (i in files) print i; }; }'`; \
- -+ shift; \
- -+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- -+ test -n "$$unique" || unique=$$empty_fix; \
- -+ if test $$# -gt 0; then \
- -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- -+ "$$@" $$unique; \
- -+ else \
- -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- -+ $$unique; \
- -+ fi; \
- -+ fi
- -+ctags: CTAGS
- -+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- -+ $(TAGS_FILES) $(LISP)
- -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- -+ unique=`for i in $$list; do \
- -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- -+ done | \
- -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- -+ END { if (nonempty) { for (i in files) print i; }; }'`; \
- -+ test -z "$(CTAGS_ARGS)$$unique" \
- -+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- -+ $$unique
- -+
- -+GTAGS:
- -+ here=`$(am__cd) $(top_builddir) && pwd` \
- -+ && $(am__cd) $(top_srcdir) \
- -+ && gtags -i $(GTAGS_ARGS) "$$here"
- -+
- -+distclean-tags:
- -+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- -+
- -+distdir: $(DISTFILES)
- -+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- -+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- -+ list='$(DISTFILES)'; \
- -+ dist_files=`for file in $$list; do echo $$file; done | \
- -+ sed -e "s|^$$srcdirstrip/||;t" \
- -+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- -+ case $$dist_files in \
- -+ */*) $(MKDIR_P) `echo "$$dist_files" | \
- -+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- -+ sort -u` ;; \
- -+ esac; \
- -+ for file in $$dist_files; do \
- -+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- -+ if test -d $$d/$$file; then \
- -+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- -+ if test -d "$(distdir)/$$file"; then \
- -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- -+ fi; \
- -+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- -+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- -+ fi; \
- -+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- -+ else \
- -+ test -f "$(distdir)/$$file" \
- -+ || cp -p $$d/$$file "$(distdir)/$$file" \
- -+ || exit 1; \
- -+ fi; \
- -+ done
- -+check-am: all-am
- -+check: check-am
- -+all-am: Makefile $(LTLIBRARIES)
- -+installdirs:
- -+ for dir in "$(DESTDIR)$(plugindir)"; do \
- -+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- -+ done
- -+install: install-am
- -+install-exec: install-exec-am
- -+install-data: install-data-am
- -+uninstall: uninstall-am
- -+
- -+install-am: all-am
- -+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- -+
- -+installcheck: installcheck-am
- -+install-strip:
- -+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- -+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- -+ `test -z '$(STRIP)' || \
- -+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
- -+mostlyclean-generic:
- ++# Set the text colour in (rgb / 256)
- ++text_colour.red = 1.0;
- ++text_colour.green = 1.0;
- ++text_colour.blue = 1.0;
- +
- -+clean-generic:
- ++# Tinted text #988592
- ++tinted_text_colour.red = 0.59;
- ++tinted_text_colour.green = 0.52;
- ++tinted_text_colour.blue = 0.57;
- +
- -+distclean-generic:
- -+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- ++# Action Text - #ffffff - RGB 255 255 255
- ++action_text_colour.red = 1.0;
- ++action_text_colour.green = 1.0;
- ++action_text_colour.blue = 1.0;
- +
- -+maintainer-clean-generic:
- -+ @echo "This command is intended for maintainers to use"
- -+ @echo "it deletes files that may require special tools to rebuild."
- -+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
- -+clean: clean-am
- ++# Orange - #ff4012 - RGB 255 64 18
- ++debugsprite = Sprite();
- ++debugsprite_bottom = Sprite();
- ++debugsprite_medium = Sprite();
- +
- -+clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \
- -+ mostlyclean-am
- ++# are we currently prompting for a password?
- ++prompt_active = 0;
- +
- -+distclean: distclean-am
- -+ -rm -rf ./$(DEPDIR)
- -+ -rm -f Makefile
- -+distclean-am: clean-am distclean-compile distclean-generic \
- -+ distclean-tags
- ++# General purpose function to create text
- ++fun WriteText (text, colour) {
- ++ image = Image.Text (text, colour.red, colour.green, colour.blue);
- ++ return image;
- ++}
- +
- -+dvi: dvi-am
- ++fun ImageToText (text) {
- ++ image = WriteText (text, text_colour);
- ++ return image;
- ++}
- +
- -+dvi-am:
- ++fun ImageToTintedText (text) {
- ++ image = WriteText (text, tinted_text_colour);
- ++ return image;
- ++}
- +
- -+html: html-am
- ++fun ImageToActionText (text) {
- ++ image = WriteText (text, action_text_colour);
- ++ return image;
- ++}
- +
- -+html-am:
- ++fun Debug(text) {
- ++ debugsprite.SetImage(ImageToText (text));
- ++}
- +
- -+info: info-am
- ++fun DebugBottom(text) {
- ++ debugsprite_bottom.SetImage(ImageToText (text));
- ++ debugsprite_bottom.SetPosition(0, (Window.GetHeight (0) - 20), 1);
- ++}
- +
- -+info-am:
- ++fun DebugMedium(text) {
- ++ debugsprite_medium.SetImage(ImageToText (text));
- ++ debugsprite_medium.SetPosition(0, (Window.GetHeight (0) - 60), 1);
- ++}
- +
- -+install-data-am: install-pluginLTLIBRARIES
- ++fun TextYOffset() {
- ++ local.y;
- ++ local.text_height;
- ++ local.min_height;
- +
- -+install-dvi: install-dvi-am
- ++ # Put the 1st line below the logo + some spacing
- ++ y = logo.y + logo.height + (progress_indicator.bullet_height * 7 ); # + logo_spacing;
- +
- -+install-dvi-am:
- ++ text_height = first_line_height * 7.5;
- +
- -+install-exec-am:
- ++ min_height = Window.GetHeight();
- ++ if (y + text_height > min_height)
- ++ y = min_height - text_height;
- +
- -+install-html: install-html-am
- ++ if (y < progress_indicator.y + progress_indicator.height)
- ++ return progress_indicator.y + progress_indicator.height;
- ++ return y;
- ++}
- +
- -+install-html-am:
- ++#------------------------------String functions-------------------------------
- +
- -+install-info: install-info-am
- ++# This is the equivalent for strstr()
- ++fun StringString(string, substring) {
- ++ start = 0;
- ++ while (String(string).CharAt (start)) {
- ++ walk = 0;
- ++ while (String(substring).CharAt (walk) == String(string).CharAt (start + walk) ) {
- ++ walk++;
- ++ if (!String(substring).CharAt (walk)) return start;
- ++ }
- ++ start++;
- ++ }
- ++
- ++ return NULL;
- ++}
- +
- -+install-info-am:
- ++fun StringLength (string) {
- ++ index = 0;
- ++ while (String(string).CharAt(index)) index++;
- ++ return index;
- ++}
- +
- -+install-man:
- ++fun StringCopy (source, beginning, end) {
- ++ local.destination = "";
- ++ for (index = beginning; ( ( (end == NULL) || (index <= end) ) && (String(source).CharAt(index)) ); index++) {
- ++ local.destination += String(source).CharAt(index);
- ++ }
- ++
- ++ return local.destination;
- ++}
- +
- -+install-pdf: install-pdf-am
- ++fun StringReplace (source, pattern, replacement) {
- ++ local.found = StringString(source, pattern);
- ++ if (local.found == NULL)
- ++ return source;
- +
- -+install-pdf-am:
- ++ local.new_string = StringCopy (source, 0, local.found - 1) +
- ++ replacement +
- ++ StringCopy (source, local.found + StringLength(pattern), NULL);
- +
- -+install-ps: install-ps-am
- ++ return local.new_string;
- ++}
- +
- -+install-ps-am:
- ++# it makes sense to use it only for
- ++# numbers up to 100
- ++fun StringToInteger (str) {
- ++ int = -1;
- ++ for (i=0; i<=100; i++) {
- ++ if (i+"" == str) {
- ++ int = i;
- ++ break;
- ++ }
- ++ }
- ++ return int;
- ++}
- +
- -+installcheck-am:
- ++#-----------------------------------------------------------------------------
- ++# Previous background colour
- ++# #300a24 --> 0.19, 0.04, 0.14
- ++# New background colour
- ++# #2c001e --> 0.16, 0.00, 0.12
- ++#
- ++Window.SetBackgroundTopColor (0.16, 0.00, 0.12); # Nice colour on top of the screen fading to
- ++Window.SetBackgroundBottomColor (0.16, 0.00, 0.12); # an equally nice colour on the bottom
- +
- -+maintainer-clean: maintainer-clean-am
- -+ -rm -rf ./$(DEPDIR)
- -+ -rm -f Makefile
- -+maintainer-clean-am: distclean-am maintainer-clean-generic
- ++bits_per_pixel = Window.GetBitsPerPixel ();
- ++if (bits_per_pixel == 4) {
- ++ logo_filename = "ubuntu_logo16.png";
- ++ progress_dot_off_filename = "progress_dot_off16.png";
- ++ progress_dot_on_filename = "progress_dot_on16.png";
- ++ password_field_filename = "password_field16.png";
- ++} else {
- ++ logo_filename = "ubuntu_logo.png";
- ++ progress_dot_off_filename = "progress_dot_off.png";
- ++ progress_dot_on_filename = "progress_dot_on.png";
- ++ password_field_filename = "password_field.png";
- ++}
- +
- -+mostlyclean: mostlyclean-am
- ++logo.image = Image (logo_filename);
- ++logo.sprite = Sprite ();
- ++logo.sprite.SetImage (logo.image);
- ++logo.width = logo.image.GetWidth ();
- ++logo.height = logo.image.GetHeight ();
- ++logo.x = Window.GetX () + Window.GetWidth () / 2 - logo.width / 2;
- ++logo.y = Window.GetY () + Window.GetHeight () / 2 - logo.height;
- ++logo.z = 1000;
- ++logo.sprite.SetX (logo.x);
- ++logo.sprite.SetY (logo.y);
- ++logo.sprite.SetZ (logo.z);
- ++logo.sprite.SetOpacity (1);
- +
- -+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
- -+ mostlyclean-libtool
- ++# Spacing below the logo - in pixels
- ++logo_spacing = logo.height * 4;
- +
- -+pdf: pdf-am
- ++message_notification[0].image = ImageToTintedText ("");
- ++message_notification[1].image = ImageToTintedText ("");
- ++fsck_notification.image = ImageToActionText ("");
- +
- -+pdf-am:
- ++status = "normal";
- +
- -+ps: ps-am
- ++progress_indicator.bullet_off = Image (progress_dot_off_filename);
- ++progress_indicator.bullet_on = Image (progress_dot_on_filename);
- ++progress_indicator.bullet_width = progress_indicator.bullet_off.GetWidth ();
- ++progress_indicator.bullet_height = progress_indicator.bullet_off.GetHeight ();
- ++progress_indicator.bullet_hspacing = progress_indicator.bullet_width * 1.1;
- ++progress_indicator.width = progress_indicator.bullet_width * 5;
- ++progress_indicator.height = progress_indicator.bullet_height;
- ++progress_indicator.y = logo.y + logo.height + (logo.height / 4);
- ++progress_indicator.x = Window.GetX () + Window.GetWidth () / 2 - progress_indicator.width / 2; # logo.x + 26;
- +
- -+ps-am:
- ++# use a fixed string with ascending and descending stems to calibrate the
- ++# bounding box for the first message, so the messages below don't move up
- ++# and down according to *their* height.
- ++first_line_height = ImageToTintedText ("AfpqtM").GetHeight();
- +
- -+uninstall-am: uninstall-pluginLTLIBRARIES
- ++# if the user has a 640x480 or 800x600 display, we can't quite fit everything
- ++# (including passphrase prompts) with the target spacing, so scoot the text up
- ++# a bit if needed.
- ++top_of_the_text = TextYOffset();
- +
- -+.MAKE: install-am install-strip
- ++#-----------------------------------------Logo functions------------------------------
- +
- -+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- -+ clean-libtool clean-pluginLTLIBRARIES ctags distclean \
- -+ distclean-compile distclean-generic distclean-libtool \
- -+ distclean-tags distdir dvi dvi-am html html-am info info-am \
- -+ install install-am install-data install-data-am install-dvi \
- -+ install-dvi-am install-exec install-exec-am install-html \
- -+ install-html-am install-info install-info-am install-man \
- -+ install-pdf install-pdf-am install-pluginLTLIBRARIES \
- -+ install-ps install-ps-am install-strip installcheck \
- -+ installcheck-am installdirs maintainer-clean \
- -+ maintainer-clean-generic mostlyclean mostlyclean-compile \
- -+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- -+ tags uninstall uninstall-am uninstall-pluginLTLIBRARIES
- ++# Call this when updating the screen
- ++fun draw_logo () {
- ++ logo.sprite.SetX (logo.x);
- ++ logo.sprite.SetY (logo.y);
- ++ logo.sprite.SetZ (logo.z);
- ++ logo.sprite.SetOpacity (1);
- ++}
- +
- +
- -+# Tell versions [3.59,3.63) of GNU make to not export all variables.
- -+# Otherwise a system limit (for SysV at least) may be exceeded.
- -+.NOEXPORT:
- ---- /dev/null
- -+++ plymouth-0.8.2/src/plugins/splash/ubuntu-text/plugin.c
- -@@ -0,0 +1,795 @@
- -+/* ubuntu-text.c - boot splash plugin
- -+ *
- -+ * Copyright (C) 2010 Canonical Ltd.
- -+ * Copyright (C) 2008 Red Hat, Inc.
- -+ *
- -+ * 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 2, 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, write to the Free Software
- -+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- -+ * 02111-1307, USA.
- -+ *
- -+ * Written by: Scott James Remnant <scott@ubuntu.com>
- -+ * Adam Jackson <ajax@redhat.com>
- -+ * Ray Strode <rstrode@redhat.com>
- -+ */
- -+#include "config.h"
- ++#-----------------------------------------Progress Indicator--------------------------
- ++fun set_progress_indicator () {
- ++
- ++
- ++ # Here we assume that we can store half bullets on each half of the screen
- ++ # together with some spacing
- ++ local.x = progress_indicator.x;
- ++
- ++ for (index = 0; index <= 4; index++) {
- ++ # Set the "off" bullets
- ++ progress_indicator.bullets_off[index].sprite = Sprite (progress_indicator.bullet_off);
- ++ progress_indicator.bullets_off[index].sprite.SetPosition (local.x, progress_indicator.y, 1000);
- ++ progress_indicator.bullets_off[index].x = local.x;
- ++ progress_indicator.bullets_off[index].y = progress_indicator.y;
- ++ progress_indicator.bullets_off[index].sprite.SetOpacity (1);
- ++
- ++ #local.debug_medium_string = "Progress indicator " + index + ": x = " + progress_indicator.bullets_off[index].x +
- ++ # ", y = " + progress_indicator.bullets_off[index].y + ", logo width = " + logo.width +
- ++ # ", logo height = " + logo.height + " " + screen_width + " " + screen_height;
- ++ #
- ++ #(index % 2) && DebugMedium (local.debug_medium_string) || DebugBottom (local.debug_medium_string);
- +
- -+#include <assert.h>
- -+#include <errno.h>
- -+#include <fcntl.h>
- -+#include <math.h>
- -+#include <signal.h>
- -+#include <stdbool.h>
- -+#include <stdio.h>
- -+#include <stdint.h>
- -+#include <stdlib.h>
- -+#include <string.h>
- -+#include <sys/ioctl.h>
- -+#include <sys/stat.h>
- -+#include <sys/time.h>
- -+#include <sys/types.h>
- -+#include <termios.h>
- -+#include <unistd.h>
- -+#include <values.h>
- -+#include <wchar.h>
- ++ # Set the "on" bullets on top of the "off" bullets and make them transparent
- ++ progress_indicator.bullets_on[index].sprite = Sprite (progress_indicator.bullet_on);
- ++ progress_indicator.bullets_on[index].x = progress_indicator.bullets_off[index].x;
- ++ progress_indicator.bullets_on[index].y = progress_indicator.bullets_off[index].y;
- ++ progress_indicator.bullets_on[index].sprite.SetPosition (progress_indicator.bullets_on[index].x, progress_indicator.bullets_on[index].y, 10000);
- +
- -+#include "ply-trigger.h"
- -+#include "ply-boot-splash-plugin.h"
- -+#include "ply-buffer.h"
- -+#include "ply-event-loop.h"
- -+#include "ply-key-file.h"
- -+#include "ply-list.h"
- -+#include "ply-logger.h"
- -+#include "ply-text-display.h"
- -+#include "ply-text-progress-bar.h"
- -+#include "ply-utils.h"
- ++ progress_indicator.bullets_on[index].sprite.SetOpacity (0);
- ++
- ++ local.x += progress_indicator.bullet_hspacing;
- ++ }
- ++ #local.debug_string = "Progress indicator: x1 = " + progress_indicator.x + ", x2 = " + local.x + ", y = " + progress_indicator.y +
- ++ # ", x logo = " + logo.x + ", y logo = " + logo.y + ", indicator width = " + progress_indicator.width;
- ++ #Debug(progress_indicator.bullets_off[0].x);
- ++}
- +
- -+#include <linux/kd.h>
- +
- -+#define CLEAR_LINE_SEQUENCE "\033[2K\r\n"
- -+#define BACKSPACE "\b\033[0K"
- ++# We have 2 bullets, one on top of the other:
- ++# The white one is on top of the red one and the former should
- ++# slowly fade so as to get a nice transition effect.
- ++fun switch_on_bullet (bullets_off, bullets_on, bullet_number, opacity) {
- ++ local.x = bullets_on[bullet_number].x;
- ++ local.y = bullets_on[bullet_number].y;
- ++ local.z = bullets_on[bullet_number].z;
- ++
- ++ # Hide the bullets which are off
- ++ bullets_off[bullet_number].sprite.SetOpacity (0);
- ++
- ++ # Show the bullets which are on
- ++ bullets_on[bullet_number].sprite.SetPosition (local.x, local.y, local.z);
- ++ bullets_on[bullet_number].sprite.SetOpacity (opacity);
- ++
- ++ # Bump the number of times we have switched on bullets
- ++ global.times_bullets_switched++;
- ++}
- +
- -+typedef enum {
- -+ PLY_BOOT_SPLASH_DISPLAY_NORMAL,
- -+ PLY_BOOT_SPLASH_DISPLAY_QUESTION_ENTRY,
- -+ PLY_BOOT_SPLASH_DISPLAY_PASSWORD_ENTRY
- -+} ply_boot_splash_display_type_t;
- ++fun switch_off_bullets () {
- ++ # Debug("Switching off progress indicator");
- ++
- ++ set_progress_indicator ();
- ++ global.times_bullets_switched = 0;
- ++ global.on_off = 1;
- ++}
- +
- -+struct _ply_boot_splash_plugin
- -+{
- -+ ply_event_loop_t *loop;
- -+ ply_boot_splash_mode_t mode;
- ++# This is something that we can call when we exit
- ++fun switch_on_bullets () {
- ++ # Debug("Switching off progress indicator");
- ++ if (!global.progress_indicator.bullets_on) set_progress_indicator ();
- ++ local = global.progress_indicator;
- +
- -+ ply_list_t *views;
- ++ for (index = 0; bullets_on[index]; index++) {
- ++ switch_on_bullet (bullets_off, bullets_on, index, 1.0);
- ++ }
- ++}
- +
- -+ ply_boot_splash_display_type_t state;
- +
- -+ char *message;
- ++# Implement in boot progress callback
- ++fun animate_progress_indicator (progress, time) {
- ++ if (global.progress_time == NULL) {
- ++ global.progress_time = progress; #time;
- ++ switch_off_bullets ();
- ++ }
- +
- -+ uint32_t is_animating : 1;
- -+};
- ++# Debug ("progress = " + progress + ", time = " + time + " times switched = " + global.times_bullets_switched + " on_off " + global.on_off);
- +
- -+typedef struct
- -+{
- -+ ply_boot_splash_plugin_t *plugin;
- -+ ply_text_display_t *display;
- ++# if (global.times_bullets_switched == NULL)
- ++# global.times_bullets_switched = 5;
- +
- -+} view_t;
- ++# if (global.on_off == NULL)
- ++# global.on_off = 0;
- +
- -+static void hide_splash_screen (ply_boot_splash_plugin_t *plugin,
- -+ ply_event_loop_t *loop);
- ++ if ((progress - global.progress_time) >= 1.0) {
- ++ global.progress_time = progress;
- ++
- ++ if (global.times_bullets_switched == 5) {
- ++ # Change which bullets are switched on
- ++ # and which ones are switched off
- ++ global.on_off = !global.on_off;
- ++ global.times_bullets_switched = 0;
- ++ }
- ++
- ++ if (global.on_off) {
- ++ switch_on_bullet (progress_indicator.bullets_off, progress_indicator.bullets_on,
- ++ global.times_bullets_switched, 1.0);
- ++ }
- ++ else {
- ++ switch_on_bullet (progress_indicator.bullets_on, progress_indicator.bullets_off,
- ++ global.times_bullets_switched, 1.0);
- ++ }
- ++ }
- ++
- ++
- ++ # Start setting bullets to "on" with translucency
- ++# for (index = 0; index <= 5; index++) {
- ++# opacity = 0.0;
- ++# while (opacity <= 1.0) {
- ++# switch_on_bullet (progress_indicator.bullets_off, progress_indicator.bullets_on,
- ++# index, opacity);
- ++# opacity += 0.1;
- ++# }
- ++# }
- ++}
- +
- -+static view_t *
- -+view_new (ply_boot_splash_plugin_t *plugin,
- -+ ply_text_display_t *display)
- -+{
- -+ view_t *view;
- +
- -+ view = calloc (1, sizeof (view_t));
- -+ view->plugin = plugin;
- -+ view->display = display;
- ++#-----------------------------------------Label utility functions---------------------
- +
- -+ return view;
- -+}
- ++# label should be either a string or NULL
- ++# Images for n lines will be created and returned as items of the
- ++# message_label array
- ++#
- ++fun get_message_label (label, is_fake, is_action_line) {
- ++ # Debug("Get Label position");
- ++ local.message_label;
- ++
- ++ if (is_fake)
- ++ # Create a fake label so as to get the y coordinate of
- ++ # a standard-length label.
- ++ local.message_image = ImageToTintedText ("This is a fake message");
- ++ else
- ++ local.message_image = (is_action_line) && ImageToActionText (label) || ImageToTintedText (label);
- ++
- ++ message_label.width = message_image.GetWidth ();
- ++ message_label.height = message_image.GetHeight ();
- +
- -+static void
- -+view_free (view_t *view)
- -+{
- -+ free (view);
- -+}
- ++ # Center the line horizontally
- ++ message_label.x = Window.GetX () + Window.GetWidth () / 2 - message_label.width / 2;
- +
- -+static void
- -+view_show_message (view_t *view)
- -+{
- -+ ply_boot_splash_plugin_t *plugin;
- -+ int display_width, display_height, y;
- -+ ply_terminal_color_t color;
- -+ char *message;
- ++ message_label.y = top_of_the_text;
- +
- -+ plugin = view->plugin;
- ++ # Put the 2nd line below the fsck line
- ++ if (is_action_line) {
- ++ local.fsck_label.y = message_label.y + (first_line_height + first_line_height / 2);
- ++ message_label.y = local.fsck_label.y + (first_line_height * 2);
- ++ }
- +
- -+ display_width = ply_text_display_get_number_of_columns (view->display);
- -+ display_height = ply_text_display_get_number_of_rows (view->display);
- ++ # Debug("action label x = " + message_label.x + " y = " + message_label.y );
- +
- -+ if (!strncmp (plugin->message, "keys:", 5))
- -+ {
- -+ message = plugin->message + 5;
- -+ color = PLY_TERMINAL_COLOR_WHITE;
- -+ y = display_height - 4;
- -+ }
- -+ else
- -+ {
- -+ message = plugin->message;
- -+ color = PLY_TERMINAL_COLOR_BLUE;
- -+ y = display_height / 2 + 7;
- -+ }
- ++# message_debug = "msg_x = " + message_label.x + " msg_y = " + message_label.y +
- ++# "msg_width = " + message_label.width + " msg_height = " +
- ++# message_label.height + " message = " + label;
- ++# Debug(message_debug);
- ++
- ++ return message_label;
- +
- -+ ply_text_display_set_cursor_position (view->display, 0, y);
- -+ ply_text_display_clear_line (view->display);
- -+ ply_text_display_set_cursor_position (view->display,
- -+ (display_width -
- -+ strlen (message)) / 2,
- -+ y);
- ++}
- +
- -+ ply_text_display_set_foreground_color (view->display, color);
- -+ ply_text_display_write (view->display, "%s", message);
- ++# Create an fsck label and/or get its position
- ++fun get_fsck_label (label, is_fake) {
- ++ # Debug("Get Label position");
- ++ local.fsck_label = global.progress_label;
- ++
- ++ if (is_fake)
- ++ fsck_label.image = ImageToTintedText ("This is a fake message");
- ++ else
- ++ fsck_label.image = ImageToTintedText (label);
- ++
- ++ fsck_label.width = fsck_label.image.GetWidth ();
- ++ fsck_label.height = fsck_label.image.GetHeight ();
- ++
- ++ # Centre the label horizontally
- ++ fsck_label.x = Window.GetX () + Window.GetWidth () / 2 - fsck_label.width / 2;
- ++
- ++ local.first_label = get_message_label (label, 1, 0);
- ++
- ++ # Place the label below the 1st message line
- ++ fsck_label.y = local.first_label.y + local.first_label.height + (local.first_label.height / 2);
- ++
- ++# message_debug = "msg_x = " + fsck_label.x + " msg_y = " + fsck_label.y +
- ++# "msg_width = " + fsck_label.width + " msg_height = " +
- ++# fsck_label.height + " message = " + label;
- ++# Debug(message_debug);
- ++
- ++ return fsck_label;
- +}
- +
- -+static void
- -+view_show_prompt (view_t *view,
- -+ const char *prompt,
- -+ const char *entered_text)
- -+{
- -+ ply_boot_splash_plugin_t *plugin;
- -+ int display_width, display_height;
- -+ int i;
- ++#-----------------------------------------Message stuff --------------------------------
- ++#
- +
- -+ plugin = view->plugin;
- ++# Set up a message label
- ++#
- ++# NOTE: this is called when doing something like 'plymouth message "hello world"'
- ++#
- ++fun setup_message (message_text, x, y, z, index) {
- ++ # Debug("Message setup");
- ++ global.message_notification[index].image = (index) && ImageToActionText (message_text) || ImageToTintedText (message_text);
- +
- -+ display_width = ply_text_display_get_number_of_columns (view->display);
- -+ display_height = ply_text_display_get_number_of_rows (view->display);
- ++ # Set up the text message, if any
- ++ message_notification[index].x = x;
- ++ message_notification[index].y = y;
- ++ message_notification[index].z = z;
- ++
- ++ message_notification[index].sprite = Sprite ();
- ++ message_notification[index].sprite.SetImage (message_notification[index].image);
- ++ message_notification[index].sprite.SetX (message_notification[index].x);
- ++ message_notification[index].sprite.SetY (message_notification[index].y);
- ++ message_notification[index].sprite.SetZ (message_notification[index].z);
- +
- -+ ply_text_display_set_cursor_position (view->display, 0,
- -+ display_height / 2 + 8);
- -+ ply_text_display_clear_line (view->display);
- -+ ply_text_display_set_cursor_position (view->display,
- -+ display_width / 2 - (strlen (prompt)),
- -+ display_height / 2 + 8);
- ++}
- +
- -+ ply_text_display_write (view->display, "%s:%s", prompt, entered_text);
- ++fun show_message (index) {
- ++ if (global.message_notification[index].sprite) global.message_notification[index].sprite.SetOpacity(1);
- ++}
- +
- -+ ply_text_display_show_cursor (view->display);
- ++fun hide_message (index) {
- ++ if (global.message_notification[index].sprite) global.message_notification[index].sprite.SetOpacity(0);
- +}
- +
- -+static void
- -+view_start_animation (view_t *view)
- -+{
- -+ ply_boot_splash_plugin_t *plugin;
- -+ ply_terminal_t *terminal;
- +
- -+ assert (view != NULL);
- +
- -+ plugin = view->plugin;
- +
- -+ terminal = ply_text_display_get_terminal (view->display);
- ++# the callback function is called when new message should be displayed.
- ++# First arg is message to display.
- ++fun message_callback (message)
- ++{
- ++ # Debug("Message callback");
- ++ is_fake = 0;
- ++ if (!message || (message == "")) is_fake = 1;
- ++
- ++ local.substring = "keys:";
- ++
- ++ # Look for the "keys:" prefix
- ++ local.keys = StringString(message, local.substring);
- ++
- ++ local.is_action_line = (keys != NULL);
- ++ #Debug("keys " + local.keys + " substring length = " + StringLength(local.substring));
- ++
- ++ # Get the message without the "keys:" prefix
- ++ if (keys != NULL)
- ++ message = StringCopy (message, keys + StringLength(local.substring), NULL);
- +
- -+ ply_terminal_set_color_hex_value (terminal,
- -+ PLY_TERMINAL_COLOR_BLACK,
- -+ 0x2c001e);
- -+ ply_terminal_set_color_hex_value (terminal,
- -+ PLY_TERMINAL_COLOR_WHITE,
- -+ 0xffffff);
- -+ ply_terminal_set_color_hex_value (terminal,
- -+ PLY_TERMINAL_COLOR_BROWN,
- -+ 0xff4012);
- -+ ply_terminal_set_color_hex_value (terminal,
- -+ PLY_TERMINAL_COLOR_BLUE,
- -+ 0x988592);
- ++ local.label.is_fake = is_fake;
- ++ label = get_message_label(message, is_fake, is_action_line);
- ++ label.z = 10000;
- ++
- ++ setup_message (message, label.x, label.y, label.z, is_action_line);
- ++ if (prompt_active && local.is_action_line)
- ++ hide_message (is_action_line);
- ++ else
- ++ show_message (is_action_line);
- +
- -+ ply_text_display_set_background_color (view->display,
- -+ PLY_TERMINAL_COLOR_BLACK);
- -+ ply_text_display_clear_screen (view->display);
- -+ ply_text_display_hide_cursor (view->display);
- +}
- +
- -+static void
- -+view_redraw (view_t *view)
- -+{
- -+ unsigned long screen_width, screen_height;
- +
- -+ screen_width = ply_text_display_get_number_of_columns (view->display);
- -+ screen_height = ply_text_display_get_number_of_rows (view->display);
- ++#-----------------------------------------Display Password stuff -----------------------
- ++#
- +
- -+ ply_text_display_draw_area (view->display, 0, 0,
- -+ screen_width, screen_height);
- -+}
- ++fun password_dialogue_setup (message_label) {
- ++ # Debug("Password dialog setup");
- ++
- ++ local.entry;
- ++ local.bullet_image;
- ++
- ++ bullet_image = Image (progress_dot_off_filename);
- ++ entry.image = Image (password_field_filename);
- ++
- ++ # Hide the normal labels
- ++ prompt_active = 1;
- ++ if (message_notification[1].sprite) hide_message (1);
- ++
- ++ # Set the prompt label
- ++ label = get_message_label(message_label, 0, 1);
- ++ label.z = 10000;
- ++
- ++ setup_message (message_label, label.x, label.y, label.z, 2);
- ++ show_message (2);
- +
- -+static void
- -+redraw_views (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ ply_list_node_t *node;
- ++ # Set up the text entry which contains the bullets
- ++ entry.sprite = Sprite ();
- ++ entry.sprite.SetImage (entry.image);
- ++
- ++ # Centre the box horizontally
- ++ entry.x = Window.GetX () + Window.GetWidth () / 2 - entry.image.GetWidth () / 2;
- +
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- ++ # Put the entry below the second label.
- ++ entry.y = message_notification[2].y + label.height;
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++ #Debug ("entry x = " + entry.x + ", y = " + entry.y);
- ++ entry.z = 10000;
- ++ entry.sprite.SetX (entry.x);
- ++ entry.sprite.SetY (entry.y);
- ++ entry.sprite.SetZ (entry.z);
- +
- -+ view_redraw (view);
- ++ global.password_dialogue = local;
- ++}
- +
- -+ node = next_node;
- ++fun password_dialogue_opacity (opacity) {
- ++ # Debug("Password dialog opacity");
- ++ global.password_dialogue.opacity = opacity;
- ++ local = global.password_dialogue;
- ++
- ++ # You can make the box translucent with a float
- ++ # entry.sprite.SetOpacity (0.3);
- ++ entry.sprite.SetOpacity (opacity);
- ++ label.sprite.SetOpacity (opacity);
- ++
- ++ if (bullets) {
- ++ for (index = 0; bullets[index]; index++) {
- ++ bullets[index].sprite.SetOpacity (opacity);
- ++ }
- + }
- +}
- +
- -+static void
- -+view_hide (view_t *view)
- -+{
- -+ if (view->display != NULL)
- -+ {
- -+ ply_terminal_t *terminal;
- +
- -+ terminal = ply_text_display_get_terminal (view->display);
- ++# The callback function is called when the display should display a password dialogue.
- ++# First arg is prompt string, the second is the number of bullets.
- ++fun display_password_callback (prompt, bullets) {
- ++ # Debug("Password dialog setup");
- ++
- ++ global.status = "password";
- ++ if (!global.password_dialogue) password_dialogue_setup(prompt);
- ++ password_dialogue_opacity (1);
- ++ bullet_width = password_dialogue.bullet_image.GetWidth();
- ++ bullet_y = password_dialogue.entry.y +
- ++ password_dialogue.entry.image.GetHeight () / 2 -
- ++ password_dialogue.bullet_image.GetHeight () / 2;
- ++ margin = bullet_width;
- ++ spaces = Math.Int( (password_dialogue.entry.image.GetWidth () - (margin * 2)) / (bullet_width / 2 ) );
- ++ #Debug ("spaces = " + spaces + ", bullets = " + bullets);
- ++ bullets_area.width = margin + spaces * (bullet_width / 2);
- ++ bullets_area.x = Window.GetX () + Window.GetWidth () / 2 - bullets_area.width / 2;
- ++ #DebugBottom ("pwd_entry x = " + password_dialogue.entry.x + ", bullets_area.x = " + bullets_area.x + ", bullets_area.width = " + bullets_area.width);
- ++ if (bullets > spaces)
- ++ bullets = spaces;
- ++ for (index = 0; password_dialogue.bullets[index] || index < bullets; index++){
- ++ if (!password_dialogue.bullets[index]) {
- ++ password_dialogue.bullets[index].sprite = Sprite ();
- ++ password_dialogue.bullets[index].sprite.SetImage (password_dialogue.bullet_image);
- ++ password_dialogue.bullets[index].x = bullets_area.x + # password_dialogue.entry.x + margin +
- ++ index * bullet_width / 2;
- ++ password_dialogue.bullets[index].sprite.SetX (password_dialogue.bullets[index].x);
- ++ password_dialogue.bullets[index].y = bullet_y;
- ++ password_dialogue.bullets[index].sprite.SetY (password_dialogue.bullets[index].y);
- ++ password_dialogue.bullets[index].z = password_dialogue.entry.z + 1;
- ++ password_dialogue.bullets[index].sprite.SetZ (password_dialogue.bullets[index].z);
- ++ }
- +
- -+ ply_text_display_set_background_color (view->display, PLY_TERMINAL_COLOR_DEFAULT);
- -+ ply_text_display_clear_screen (view->display);
- -+ ply_text_display_show_cursor (view->display);
- ++ password_dialogue.bullets[index].sprite.SetOpacity (0);
- +
- -+ ply_terminal_reset_colors (terminal);
- ++ if (index < bullets) {
- ++ password_dialogue.bullets[index].sprite.SetOpacity (1);
- ++ }
- + }
- +}
- +
- -+static void
- -+hide_views (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ ply_list_node_t *node;
- ++Plymouth.SetDisplayPasswordFunction (display_password_callback);
- +
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- ++Plymouth.SetMessageFunction (message_callback);
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++Plymouth.SetBootProgressFunction (animate_progress_indicator);
- +
- -+ view_hide (view);
- ++# Plymouth.SetBootProgressFunction: the callback function is called with two numbers, the progress (between 0 and 1) and the time spent booting so far
- ++# Plymouth.SetRootMountedFunction: the callback function is called when a new root is mounted
- ++# Plymouth.SetKeyboardInputFunction: the callback function is called with a string containing a new character entered on the keyboard
- +
- -+ node = next_node;
- -+ }
- ++#----------------------------------------- FSCK Counter --------------------------------
- ++
- ++# Initialise the counter
- ++fun init_fsck_count () {
- ++ # The number of fsck checks in this cycle
- ++ global.counter.total = 0;
- ++ # The number of fsck checks already performed + the current one
- ++ global.counter.current = 1;
- ++ # The previous fsck
- ++ global.counter.last = 0;
- +}
- +
- -+static void
- -+pause_views (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ ply_list_node_t *node;
- ++# Increase the total counter
- ++fun increase_fsck_count () {
- ++ global.counter.total++;
- ++}
- +
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- ++fun increase_current_fsck_count () {
- ++ global.counter.last = global.counter.current++;
- ++}
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++# Clear the counter
- ++fun clear_fsck_count () {
- ++ global.counter = NULL;
- ++ init_fsck_count ();
- ++}
- +
- -+ ply_text_display_pause_updates (view->display);
- ++#----------------------------------------- Progress Label ------------------------------
- +
- -+ node = next_node;
- ++
- ++# Change the opacity level of a progress label
- ++#
- ++# opacity = 1 -> show
- ++# opacity = 0 -> hide
- ++# opacity = 0.3 (or any other float) -> translucent
- ++#
- ++fun set_progress_label_opacity (opacity) {
- ++ # the label
- ++ progress_label.sprite.SetOpacity (opacity);
- ++
- ++ # Make the slot available again when hiding the bar
- ++ # So that another bar can take its place
- ++ if (opacity == 0) {
- ++ progress_label.is_available = 1;
- ++ progress_label.device = "";
- + }
- +}
- +
- -+static void
- -+unpause_views (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ ply_list_node_t *node;
- -+
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- -+
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++# Set up a new Progress Bar
- ++#
- ++# TODO: Make it possible to reuse (rather than recreate) a bar
- ++# if .is_available = 1. Ideally this would just reset the
- ++# label, the associated
- ++# device and the image size of the sprite.
- +
- -+ ply_text_display_unpause_updates (view->display);
- ++fun init_progress_label (device, status_string) {
- ++ # Make the slot unavailable
- ++ global.progress_label.is_available = 0;
- ++ progress_label.progress = 0;
- ++ progress_label.device = device;
- ++ progress_label.status_string = status_string;
- ++}
- +
- -+ node = next_node;
- -+ }
- ++# See if the progress label is keeping track of the fsck
- ++# of "device"
- ++#
- ++fun device_has_progress_label (device) {
- ++ #DebugBottom ("label device = " + progress_label.device + " checking device " + device);
- ++ return (progress_label.device == device);
- +}
- +
- -+static ply_boot_splash_plugin_t *
- -+create_plugin (ply_key_file_t *key_file)
- -+{
- -+ ply_boot_splash_plugin_t *plugin;
- ++# Update the Progress bar which corresponds to index
- ++#
- ++fun update_progress_label (progress) {
- ++ # If progress is NULL then we just refresh the label.
- ++ # This happens when only counter.total has changed.
- ++ if (progress != NULL) {
- ++ progress_label.progress = progress;
- ++
- ++ #Debug("device " + progress_label.device + " progress " + progress);
- ++
- ++ # If progress >= 100% hide the label and make it available again
- ++ if (progress >= 100) {
- ++ set_progress_label_opacity (0);
- ++
- ++ # See if we any other fsck check is complete
- ++ # and, if so, hide the progress bars and the labels
- ++ on_fsck_completed ();
- ++
- ++ return 0;
- ++ }
- ++ }
- ++ # Update progress label here
- ++ #
- ++ # FIXME: the queue logic from this theme should really be moved into mountall
- ++ # instead of using string replacement to deal with localised strings.
- ++ label = StringReplace (progress_label.status_string[0], "%1$d", global.counter.current);
- ++ label = StringReplace (label, "%2$d", global.counter.total);
- ++ label = StringReplace (label, "%3$d", progress_label.progress);
- ++ label = StringReplace (label, "%%", "%");
- +
- -+ ply_trace ("creating plugin");
- ++ progress_label = get_fsck_label (label, 0);
- ++ #progress_label.progress = progress;
- +
- -+ plugin = calloc (1, sizeof (ply_boot_splash_plugin_t));
- -+ plugin->message = NULL;
- ++ progress_label.sprite = Sprite (progress_label.image);
- ++
- ++ # Set up the bar
- ++ progress_label.sprite.SetPosition(progress_label.x, progress_label.y, 1);
- +
- -+ plugin->views = ply_list_new ();
- ++ set_progress_label_opacity (1);
- +
- -+ return plugin;
- +}
- +
- -+static void
- -+detach_from_event_loop (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ plugin->loop = NULL;
- -+
- -+ ply_trace ("detaching from event loop");
- ++# Refresh the label so as to update counters
- ++fun refresh_progress_label () {
- ++ update_progress_label (NULL);
- +}
- +
- -+static void
- -+free_views (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ ply_list_node_t *node;
- -+
- -+ node = ply_list_get_first_node (plugin->views);
- ++#----------------------------------------- FSCK Queue ----------------------------------
- +
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- ++# Initialise the fsck queue
- ++fun init_queue () {
- ++ global.fsck_queue[0].device;
- ++ global.fsck_queue[0].progress;
- ++ global.fsck_queue.counter = 0;
- ++ global.fsck_queue.biggest_item = 0;
- ++}
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++fun clear_queue () {
- ++ global.fsck_queue = NULL;
- ++ init_queue ();
- ++}
- +
- -+ view_free (view);
- -+ ply_list_remove_node (plugin->views, node);
- ++# Return either the device index in the queue or -1
- ++fun queue_look_up_by_device (device) {
- ++ for (i=0; i <= fsck_queue.biggest_item; i++) {
- ++ if ((fsck_queue[i]) && (fsck_queue[i].device == device))
- ++ return i;
- ++ }
- ++ return -1;
- ++}
- +
- -+ node = next_node;
- ++# Keep track of an fsck process in the queue
- ++fun add_fsck_to_queue (device, progress) {
- ++ # Look for an empty slot in the queue
- ++ for (i=0; global.fsck_queue[i].device; i++) {
- ++ continue;
- + }
- ++ local.index = i;
- ++
- ++ # Set device and progress
- ++ global.fsck_queue[local.index].device = device;
- ++ global.fsck_queue[local.index].progress = progress;
- ++
- ++ # Increase the queue counter
- ++ global.fsck_queue.counter++;
- ++
- ++ # Update the max index of the array for iterations
- ++ if (local.index > global.fsck_queue.biggest_item)
- ++ global.fsck_queue.biggest_item = local.index;
- ++
- ++ #DebugMedium ("Adding " + device + " at " + local.index);
- ++}
- +
- -+ ply_list_free (plugin->views);
- -+ plugin->views = NULL;
- ++fun is_queue_empty () {
- ++ return (fsck_queue.counter == 0);
- +}
- +
- -+static void
- -+destroy_plugin (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ ply_trace ("destroying plugin");
- ++fun is_progress_label_available () {
- ++ return (progress_label.is_available == 1);
- ++}
- +
- -+ if (plugin == NULL)
- -+ return;
- +
- -+ /* It doesn't ever make sense to keep this plugin on screen
- -+ * after exit
- -+ */
- -+ hide_splash_screen (plugin, plugin->loop);
- ++# This should cover the case in which the fsck checks in
- ++# the queue are completed before the ones showed in the
- ++# progress label
- ++fun on_queued_fsck_completed () {
- ++ if (!is_queue_empty ())
- ++ return;
- ++
- ++ # Hide the extra label, if any
- ++ #if (progress_bar.extra_label.sprite)
- ++ # progress_bar.extra_label.sprite.SetOpacity(0);
- ++}
- +
- -+ free_views (plugin);
- -+ if (plugin->message != NULL)
- -+ free (plugin->message);
- ++fun remove_fsck_from_queue (index) {
- ++ # Free memory which was previously allocated for
- ++ # device and progress
- ++ global.fsck_queue[index].device = NULL;
- ++ global.fsck_queue[index].progress = NULL;
- +
- -+ free (plugin);
- ++ # Decrease the queue counter
- ++ global.fsck_queue.counter--;
- ++
- ++ # See if there are other processes in the queue
- ++ # if not, clear the extra_label
- ++ on_queued_fsck_completed ();
- +}
- +
- -+static void
- -+show_message (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ ply_list_node_t *node;
- -+
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- ++fun on_fsck_completed () {
- ++ # We have moved on to tracking the next fsck
- ++ increase_current_fsck_count ();
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++ if (!is_progress_label_available ())
- ++ return;
- ++
- ++ if (!is_queue_empty ())
- ++ return;
- ++
- ++ # Hide the progress label
- ++ if (progress_label.sprite)
- ++ progress_label.sprite.SetOpacity (0);
- ++
- ++ # Clear the queue
- ++ clear_queue ();
- +
- -+ view_show_message (view);
- ++ # Clear the fsck counter
- ++ clear_fsck_count ();
- ++}
- +
- -+ node = next_node;
- ++# Update an fsck process that we keep track of in the queue
- ++fun update_progress_in_queue (index, device, progress) {
- ++ # If the fsck is complete, remove it from the queue
- ++ if (progress >= 100) {
- ++ remove_fsck_from_queue (index);
- ++ on_queued_fsck_completed ();
- ++ return;
- + }
- ++
- ++ global.fsck_queue[index].device = device;
- ++ global.fsck_queue[index].progress = progress;
- ++
- +}
- +
- -+static void
- -+animate_frame (ply_boot_splash_plugin_t *plugin,
- -+ int frame)
- -+{
- -+ ply_list_node_t *node;
- -+
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- -+ int display_width, display_height;
- -+
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- -+
- -+ display_width = ply_text_display_get_number_of_columns (view->display);
- -+ display_height = ply_text_display_get_number_of_rows (view->display);
- -+
- -+ ply_text_display_set_cursor_position (view->display,
- -+ (display_width - 12) / 2,
- -+ display_height / 2);
- ++# TODO: Move it to some function
- ++# Create an empty queue
- ++#init_queue ();
- +
- -+ ply_text_display_set_background_color (view->display, PLY_TERMINAL_COLOR_BLACK);
- -+ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- -+ ply_text_display_write (view->display, "Ubuntu 10.04");
- +
- -+ ply_text_display_set_cursor_position (view->display,
- -+ (display_width - 10) / 2,
- -+ (display_height / 2) + 2);
- ++#----------------------------------------- FSCK Functions ------------------------------
- +
- -+ if ((frame < 1) || (frame > 4))
- -+ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- -+ else
- -+ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_BROWN);
- -+ ply_text_display_write (view->display, ". ");
- +
- -+ if ((frame < 2) || (frame > 5))
- -+ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- -+ else
- -+ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_BROWN);
- -+ ply_text_display_write (view->display, ". ");
- ++# Either add a new bar for fsck checks or update an existing bar
- ++#
- ++# NOTE: no more than "progress_bar.max_number" bars are allowed
- ++#
- ++fun fsck_check (device, progress, status_string) {
- +
- -+ if ((frame < 3) || (frame > 6))
- -+ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- -+ else
- -+ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_BROWN);
- -+ ply_text_display_write (view->display, ". ");
- ++ # The 1st time this will take place
- ++ if (!global.progress_label) {
- ++ # Increase the fsck counter
- ++ increase_fsck_count ();
- +
- -+ if (frame < 4)
- -+ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- -+ else
- -+ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_BROWN);
- -+ ply_text_display_write (view->display, ".");
- ++ # Set up a new label for the check
- ++ init_progress_label (device, status_string);
- ++ update_progress_label (progress);
- +
- -+ node = next_node;
- ++ return;
- + }
- -+}
- +
- -+static void
- -+on_timeout (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ static int frame = 0;
- ++
- ++ if (device_has_progress_label (device)) {
- ++ # Update the progress of the existing label
- ++ update_progress_label (progress);
- ++ }
- ++ else {
- ++ # See if there's already a slot in the queue for the device
- ++ local.queue_device_index = queue_look_up_by_device(device);
- +
- -+ frame += 1;
- -+ frame %= 8;
- ++ # See if the progress_label is available
- ++ if (progress_label.is_available) {
- ++
- ++# local.my_string = "available index " + local.available_index + " progress_bar counter is " + progress_bar.counter;
- ++# Debug(local.my_string);
- ++
- ++
- ++ # If the fsck check for the device was in the queue, then
- ++ # remove it from the queue
- ++ if (local.queue_device_index >= 0) {
- ++ remove_fsck_from_queue (index);
- ++ }
- ++ else {
- ++ # Increase the fsck counter
- ++ increase_fsck_count ();
- ++ }
- ++
- ++# local.my_string += local.message;
- ++ #Debug("setting new label for device " + device + " progress " + progress);
- +
- -+ animate_frame (plugin, frame);
- ++ # Set up a new label for the check
- ++ init_progress_label (device, status_string);
- ++ update_progress_label (progress);
- ++
- ++ }
- ++ # If the progress_label is not available
- ++ else {
- ++
- ++ # If the fsck check for the device is already in the queue
- ++ # just update its progress in the queue
- ++ if (local.queue_device_index >= 0) {
- ++ #DebugMedium("Updating queue at " + local.queue_device_index + " for device " + device);
- ++ update_progress_in_queue (local.queue_device_index, device, progress);
- ++ }
- ++ # Otherwise add the check to the queue
- ++ else {
- ++ #DebugMedium("Adding device " + device + " to queue at " + local.queue_device_index);
- ++ add_fsck_to_queue (device, progress);
- +
- -+ ply_event_loop_watch_for_timeout (plugin->loop, 1.0,
- -+ (ply_event_loop_timeout_handler_t)
- -+ on_timeout, plugin);
- ++ # Increase the fsck counter
- ++ increase_fsck_count ();
- ++
- ++ refresh_progress_label ();
- ++ }
- ++
- ++ }
- ++ }
- ++
- ++# if (!is_queue_empty ()) {
- ++# DebugBottom("Extra label for "+ device);
- ++ #}
- ++# else {
- ++# DebugBottom("No extra label for " + device + ". 1st Device in the queue "+ fsck_queue[0].device + " counter = " + global.fsck_queue.counter);
- ++# }
- +}
- +
- -+static void
- -+start_animation (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ ply_list_node_t *node;
- +
- -+ assert (plugin != NULL);
- -+ assert (plugin->loop != NULL);
- ++#-----------------------------------------Update Status stuff --------------------------
- ++#
- ++# The update_status_callback is what we can use to pass plymouth whatever we want so
- ++# as to make use of features which are available only in this program (as opposed to
- ++# being available for any theme for the script plugin).
- ++#
- ++# Example:
- ++#
- ++# Thanks to the current implementation, some scripts can call "plymouth --update=fsck:sda1:40"
- ++# and this program will know that 1) we're performing and fsck check, 2) we're checking sda1,
- ++# 3) the program should set the label progress to 40%
- ++#
- ++# Other features can be easily added by parsing the string that we pass plymouth with "--update"
- ++#
- ++fun update_status_callback (status) {
- ++# Debug(status);
- ++ if (!status) return;
- ++
- ++ string_it = 0;
- ++ update_strings[string_it] = "";
- ++
- ++ for (i=0; (String(status).CharAt(i) != ""); i++) {
- ++ local.temp_char = String(status).CharAt(i);
- ++ if (temp_char != ":")
- ++ update_strings[string_it] += temp_char;
- ++ else
- ++ update_strings[++string_it] = "";
- ++ }
- ++
- ++# my_string = update_strings[0] + " " + update_strings[1] + " " + update_strings[2];
- ++# Debug(my_string);
- ++ # Let's assume that we're dealing with these strings fsck:sda1:40
- ++ if ((string_it >= 2) && (update_strings[0] == "fsck")) {
- ++
- ++ device = update_strings[1];
- ++ progress = update_strings[2];
- ++ status_string[0] = update_strings[3]; # "Checking disk %1$d of %2$d (%3$d %% complete)"
- ++ if (!status_string[0])
- ++ status_string[0] = "Checking disk %1$d of %2$d (%3$d %% complete)";
- ++
- ++ if ((device != "") && (progress != "")) {
- ++ progress = StringToInteger (progress);
- ++
- ++ # Make sure that the fsck_queue is initialised
- ++ if (!global.fsck_queue)
- ++ init_queue ();
- +
- -+ redraw_views (plugin);
- ++ # Make sure that the fsck counter is initialised
- ++ if (!global.counter)
- ++ init_fsck_count ();
- +
- -+ if (plugin->message != NULL)
- -+ show_message (plugin);
- ++# if (!global.progress_bar.extra_label.sprite)
- ++# create_extra_fsck_label ();
- ++
- ++ # Keep track of the fsck check
- ++ fsck_check (device, progress, status_string);
- ++ }
- ++
- ++ }
- +
- -+ if (plugin->is_animating)
- -+ return;
- ++}
- ++Plymouth.SetUpdateStatusFunction (update_status_callback);
- +
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- ++#-----------------------------------------Display Question stuff -----------------------
- ++#
- ++# TODO: Implement this if needed
- ++#
- ++# The callback function is called when the display should display a question dialogue.
- ++# First arg is prompt string, the second is the entry contents.
- ++#fun display_question_callback (prompt_string, entry_contents)
- ++#{
- ++# time++;
- ++#}
- ++#
- ++#Plymouth.SetDisplayQuestionFunction (display_question_callback);
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++#-----------------------------------------Refresh stuff --------------------------------
- ++#
- ++# Calling Plymouth.SetRefreshFunction with a function will set that function to be
- ++# called up to 50 times every second, e.g.
- ++#
- ++# NOTE: if a refresh function is not set, Plymouth doesn't seem to be able to update
- ++# the screen correctly
- ++#
- ++fun refresh_callback ()
- ++{
- ++ draw_logo ();
- ++}
- ++Plymouth.SetRefreshFunction (refresh_callback);
- +
- -+ view_start_animation (view);
- +
- -+ node = next_node;
- ++#-----------------------------------------Display Normal stuff -----------------------
- ++#
- ++# The callback function is called when the display should return to normal
- ++fun display_normal_callback ()
- ++{
- ++ global.status = "normal";
- ++ if (global.password_dialogue) {
- ++ password_dialogue_opacity (0);
- ++ global.password_dialogue = NULL;
- ++ if (message_notification[2].sprite) hide_message(2);
- ++ prompt_active = 0;
- + }
- -+
- -+ plugin->is_animating = true;
- -+
- -+ animate_frame (plugin, 0);
- -+ ply_event_loop_watch_for_timeout (plugin->loop, 1.0,
- -+ (ply_event_loop_timeout_handler_t)
- -+ on_timeout, plugin);
- ++
- ++ if (message_notification[1].sprite) show_message (1);
- ++
- ++
- +}
- +
- -+static void
- -+stop_animation (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ ply_list_node_t *node;
- ++Plymouth.SetDisplayNormalFunction (display_normal_callback);
- +
- -+ assert (plugin != NULL);
- -+ assert (plugin->loop != NULL);
- +
- -+ if (!plugin->is_animating)
- -+ return;
- ++#----------------------------------------- Quit --------------------------------
- +
- -+ plugin->is_animating = false;
- ++# TODO: Maybe we should also hide any other dialog
- ++# Show the logo and make the progress indicator look full when on exit
- ++fun quit_callback ()
- ++{
- ++ logo.sprite.SetOpacity (1);
- ++ switch_on_bullets ();
- ++}
- +
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- ++Plymouth.SetQuitFunction(quit_callback);
- +--- /dev/null
- ++++ plymouth-0.8.2/themes/ubuntu-logo/Makefile.am
- +@@ -0,0 +1,22 @@
- ++themedir = $(datadir)/plymouth/themes/ubuntu-logo
- ++nodist_theme_DATA = ubuntu-logo.plymouth
- ++dist_theme_DATA = ubuntu-logo.script \
- ++ ubuntu_logo.png \
- ++ ubuntu_logo16.png \
- ++ password_field.png \
- ++ password_field16.png \
- ++ progress_dot_off.png \
- ++ progress_dot_off16.png \
- ++ progress_dot_on.png \
- ++ progress_dot_on16.png
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- +
- -+ node = next_node;
- -+ }
- +
- -+ ply_event_loop_stop_watching_for_timeout (plugin->loop,
- -+ (ply_event_loop_timeout_handler_t)
- -+ on_timeout, plugin);
- ++MAINTAINERCLEANFILES = Makefile.in ubuntu-logo.plymouth
- ++CLEANFILES = ubuntu-logo.plymouth
- +
- -+ redraw_views (plugin);
- -+}
- ++ubuntu-logo.plymouth: $(srcdir)/ubuntu-logo.plymouth.in
- ++ sed -e 's,[@]PLYMOUTH_THEME_PATH[@],$(PLYMOUTH_THEME_PATH),g' \
- ++ $(srcdir)/ubuntu-logo.plymouth.in > ubuntu-logo.plymouth
- ++
- ++EXTRA_DIST = ubuntu-logo.plymouth.in
- +--- /dev/null
- ++++ plymouth-0.8.2/themes/ubuntu-logo/Makefile.in
- +@@ -0,0 +1,475 @@
- ++# Makefile.in generated by automake 1.11.1 from Makefile.am.
- ++# @configure_input@
- +
- -+static void
- -+on_draw (view_t *view,
- -+ ply_terminal_t *terminal,
- -+ int x,
- -+ int y,
- -+ int width,
- -+ int height)
- -+{
- -+}
- ++# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- ++# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
- ++# Inc.
- ++# This Makefile.in is free software; the Free Software Foundation
- ++# gives unlimited permission to copy and/or distribute it,
- ++# with or without modifications, as long as this notice is preserved.
- +
- -+static void
- -+add_text_display (ply_boot_splash_plugin_t *plugin,
- -+ ply_text_display_t *display)
- -+{
- -+ view_t *view;
- -+ ply_terminal_t *terminal;
- ++# This program is distributed in the hope that it will be useful,
- ++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- ++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- ++# PARTICULAR PURPOSE.
- +
- -+ view = view_new (plugin, display);
- ++@SET_MAKE@
- +
- -+ terminal = ply_text_display_get_terminal (view->display);
- -+ if (ply_terminal_open (terminal))
- -+ {
- -+ ply_terminal_set_mode (terminal, PLY_TERMINAL_MODE_TEXT);
- -+ ply_terminal_activate_vt (terminal);
- -+ }
- ++VPATH = @srcdir@
- ++pkgdatadir = $(datadir)/@PACKAGE@
- ++pkgincludedir = $(includedir)/@PACKAGE@
- ++pkglibdir = $(libdir)/@PACKAGE@
- ++pkglibexecdir = $(libexecdir)/@PACKAGE@
- ++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- ++install_sh_DATA = $(install_sh) -c -m 644
- ++install_sh_PROGRAM = $(install_sh) -c
- ++install_sh_SCRIPT = $(install_sh) -c
- ++INSTALL_HEADER = $(INSTALL_DATA)
- ++transform = $(program_transform_name)
- ++NORMAL_INSTALL = :
- ++PRE_INSTALL = :
- ++POST_INSTALL = :
- ++NORMAL_UNINSTALL = :
- ++PRE_UNINSTALL = :
- ++POST_UNINSTALL = :
- ++build_triplet = @build@
- ++host_triplet = @host@
- ++subdir = themes/ubuntu-logo
- ++DIST_COMMON = $(dist_theme_DATA) $(srcdir)/Makefile.am \
- ++ $(srcdir)/Makefile.in
- ++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- ++am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- ++ $(top_srcdir)/configure.ac
- ++am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- ++ $(ACLOCAL_M4)
- ++mkinstalldirs = $(install_sh) -d
- ++CONFIG_HEADER = $(top_builddir)/config.h
- ++CONFIG_CLEAN_FILES =
- ++CONFIG_CLEAN_VPATH_FILES =
- ++AM_V_GEN = $(am__v_GEN_$(V))
- ++am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
- ++am__v_GEN_0 = @echo " GEN " $@;
- ++AM_V_at = $(am__v_at_$(V))
- ++am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
- ++am__v_at_0 = @
- ++SOURCES =
- ++DIST_SOURCES =
- ++am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
- ++am__vpath_adj = case $$p in \
- ++ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- ++ *) f=$$p;; \
- ++ esac;
- ++am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
- ++am__install_max = 40
- ++am__nobase_strip_setup = \
- ++ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
- ++am__nobase_strip = \
- ++ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
- ++am__nobase_list = $(am__nobase_strip_setup); \
- ++ for p in $$list; do echo "$$p $$p"; done | \
- ++ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
- ++ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
- ++ if (++n[$$2] == $(am__install_max)) \
- ++ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
- ++ END { for (dir in files) print dir, files[dir] }'
- ++am__base_list = \
- ++ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- ++ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
- ++am__installdirs = "$(DESTDIR)$(themedir)" "$(DESTDIR)$(themedir)"
- ++DATA = $(dist_theme_DATA) $(nodist_theme_DATA)
- ++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- ++ACLOCAL = @ACLOCAL@
- ++AMTAR = @AMTAR@
- ++AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- ++AR = @AR@
- ++AUTOCONF = @AUTOCONF@
- ++AUTOHEADER = @AUTOHEADER@
- ++AUTOMAKE = @AUTOMAKE@
- ++AWK = @AWK@
- ++CC = @CC@
- ++CCDEPMODE = @CCDEPMODE@
- ++CFLAGS = @CFLAGS@
- ++CPP = @CPP@
- ++CPPFLAGS = @CPPFLAGS@
- ++CYGPATH_W = @CYGPATH_W@
- ++DEFS = @DEFS@
- ++DEPDIR = @DEPDIR@
- ++DRM_CFLAGS = @DRM_CFLAGS@
- ++DRM_LIBS = @DRM_LIBS@
- ++DSYMUTIL = @DSYMUTIL@
- ++DUMPBIN = @DUMPBIN@
- ++ECHO_C = @ECHO_C@
- ++ECHO_N = @ECHO_N@
- ++ECHO_T = @ECHO_T@
- ++EGREP = @EGREP@
- ++EXEEXT = @EXEEXT@
- ++FGREP = @FGREP@
- ++GREP = @GREP@
- ++GTK_CFLAGS = @GTK_CFLAGS@
- ++GTK_LIBS = @GTK_LIBS@
- ++IMAGE_CFLAGS = @IMAGE_CFLAGS@
- ++IMAGE_LIBS = @IMAGE_LIBS@
- ++INSTALL = @INSTALL@
- ++INSTALL_DATA = @INSTALL_DATA@
- ++INSTALL_PROGRAM = @INSTALL_PROGRAM@
- ++INSTALL_SCRIPT = @INSTALL_SCRIPT@
- ++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- ++LD = @LD@
- ++LDFLAGS = @LDFLAGS@
- ++LIBOBJS = @LIBOBJS@
- ++LIBS = @LIBS@
- ++LIBTOOL = @LIBTOOL@
- ++LIPO = @LIPO@
- ++LN_S = @LN_S@
- ++LTLIBOBJS = @LTLIBOBJS@
- ++LT_AGE = @LT_AGE@
- ++LT_CURRENT = @LT_CURRENT@
- ++LT_REVISION = @LT_REVISION@
- ++MAINT = @MAINT@
- ++MAKEINFO = @MAKEINFO@
- ++MKDIR_P = @MKDIR_P@
- ++NM = @NM@
- ++NMEDIT = @NMEDIT@
- ++OBJDUMP = @OBJDUMP@
- ++OBJEXT = @OBJEXT@
- ++OTOOL = @OTOOL@
- ++OTOOL64 = @OTOOL64@
- ++PACKAGE = @PACKAGE@
- ++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- ++PACKAGE_NAME = @PACKAGE_NAME@
- ++PACKAGE_STRING = @PACKAGE_STRING@
- ++PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- ++PACKAGE_VERSION = @PACKAGE_VERSION@
- ++PANGO_CFLAGS = @PANGO_CFLAGS@
- ++PANGO_LIBS = @PANGO_LIBS@
- ++PATH_SEPARATOR = @PATH_SEPARATOR@
- ++PKG_CONFIG = @PKG_CONFIG@
- ++PLYMOUTH_CFLAGS = @PLYMOUTH_CFLAGS@
- ++PLYMOUTH_CONF_DIR = @PLYMOUTH_CONF_DIR@
- ++PLYMOUTH_DATADIR = @PLYMOUTH_DATADIR@
- ++PLYMOUTH_LIBDIR = @PLYMOUTH_LIBDIR@
- ++PLYMOUTH_LIBEXECDIR = @PLYMOUTH_LIBEXECDIR@
- ++PLYMOUTH_LIBS = @PLYMOUTH_LIBS@
- ++PLYMOUTH_PLUGIN_PATH = @PLYMOUTH_PLUGIN_PATH@
- ++PLYMOUTH_POLICY_DIR = @PLYMOUTH_POLICY_DIR@
- ++PLYMOUTH_THEME_PATH = @PLYMOUTH_THEME_PATH@
- ++RANLIB = @RANLIB@
- ++RELEASE_FILE = @RELEASE_FILE@
- ++SED = @SED@
- ++SET_MAKE = @SET_MAKE@
- ++SHELL = @SHELL@
- ++STRIP = @STRIP@
- ++VERSION = @VERSION@
- ++abs_builddir = @abs_builddir@
- ++abs_srcdir = @abs_srcdir@
- ++abs_top_builddir = @abs_top_builddir@
- ++abs_top_srcdir = @abs_top_srcdir@
- ++ac_ct_CC = @ac_ct_CC@
- ++ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
- ++am__include = @am__include@
- ++am__leading_dot = @am__leading_dot@
- ++am__quote = @am__quote@
- ++am__tar = @am__tar@
- ++am__untar = @am__untar@
- ++background_color = @background_color@
- ++background_end_color = @background_end_color@
- ++background_start_color = @background_start_color@
- ++bindir = @bindir@
- ++build = @build@
- ++build_alias = @build_alias@
- ++build_cpu = @build_cpu@
- ++build_os = @build_os@
- ++build_vendor = @build_vendor@
- ++builddir = @builddir@
- ++datadir = @datadir@
- ++datarootdir = @datarootdir@
- ++docdir = @docdir@
- ++dvidir = @dvidir@
- ++exec_prefix = @exec_prefix@
- ++host = @host@
- ++host_alias = @host_alias@
- ++host_cpu = @host_cpu@
- ++host_os = @host_os@
- ++host_vendor = @host_vendor@
- ++htmldir = @htmldir@
- ++includedir = @includedir@
- ++infodir = @infodir@
- ++install_sh = @install_sh@
- ++libdir = @libdir@
- ++libexecdir = @libexecdir@
- ++localedir = @localedir@
- ++localstatedir = @localstatedir@
- ++logofile = @logofile@
- ++lt_ECHO = @lt_ECHO@
- ++mandir = @mandir@
- ++mkdir_p = @mkdir_p@
- ++oldincludedir = @oldincludedir@
- ++pdfdir = @pdfdir@
- ++plymouthclientdir = @plymouthclientdir@
- ++plymouthdaemondir = @plymouthdaemondir@
- ++prefix = @prefix@
- ++program_transform_name = @program_transform_name@
- ++psdir = @psdir@
- ++sbindir = @sbindir@
- ++sharedstatedir = @sharedstatedir@
- ++srcdir = @srcdir@
- ++sysconfdir = @sysconfdir@
- ++target_alias = @target_alias@
- ++top_build_prefix = @top_build_prefix@
- ++top_builddir = @top_builddir@
- ++top_srcdir = @top_srcdir@
- ++themedir = $(datadir)/plymouth/themes/ubuntu-logo
- ++nodist_theme_DATA = ubuntu-logo.plymouth
- ++dist_theme_DATA = ubuntu-logo.script \
- ++ ubuntu_logo.png \
- ++ ubuntu_logo16.png \
- ++ password_field.png \
- ++ password_field16.png \
- ++ progress_dot_off.png \
- ++ progress_dot_off16.png \
- ++ progress_dot_on.png \
- ++ progress_dot_on16.png
- +
- -+ ply_text_display_set_draw_handler (view->display,
- -+ (ply_text_display_draw_handler_t)
- -+ on_draw, view);
- ++MAINTAINERCLEANFILES = Makefile.in ubuntu-logo.plymouth
- ++CLEANFILES = ubuntu-logo.plymouth
- ++EXTRA_DIST = ubuntu-logo.plymouth.in
- ++all: all-am
- +
- -+ ply_list_append_data (plugin->views, view);
- -+}
- ++.SUFFIXES:
- ++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- ++ @for dep in $?; do \
- ++ case '$(am__configure_deps)' in \
- ++ *$$dep*) \
- ++ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- ++ && { if test -f $@; then exit 0; else break; fi; }; \
- ++ exit 1;; \
- ++ esac; \
- ++ done; \
- ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu themes/ubuntu-logo/Makefile'; \
- ++ $(am__cd) $(top_srcdir) && \
- ++ $(AUTOMAKE) --gnu themes/ubuntu-logo/Makefile
- ++.PRECIOUS: Makefile
- ++Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- ++ @case '$?' in \
- ++ *config.status*) \
- ++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- ++ *) \
- ++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- ++ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- ++ esac;
- +
- -+static void
- -+remove_text_display (ply_boot_splash_plugin_t *plugin,
- -+ ply_text_display_t *display)
- -+{
- -+ ply_list_node_t *node;
- ++$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- ++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ view_t *view;
- -+ ply_list_node_t *next_node;
- ++$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- ++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- ++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- ++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- ++$(am__aclocal_m4_deps):
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++mostlyclean-libtool:
- ++ -rm -f *.lo
- +
- -+ if (view->display == display)
- -+ {
- -+ ply_text_display_set_draw_handler (view->display,
- -+ NULL, NULL);
- -+ view_free (view);
- -+ ply_list_remove_node (plugin->views, node);
- -+ return;
- -+ }
- ++clean-libtool:
- ++ -rm -rf .libs _libs
- ++install-dist_themeDATA: $(dist_theme_DATA)
- ++ @$(NORMAL_INSTALL)
- ++ test -z "$(themedir)" || $(MKDIR_P) "$(DESTDIR)$(themedir)"
- ++ @list='$(dist_theme_DATA)'; test -n "$(themedir)" || list=; \
- ++ for p in $$list; do \
- ++ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- ++ echo "$$d$$p"; \
- ++ done | $(am__base_list) | \
- ++ while read files; do \
- ++ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themedir)'"; \
- ++ $(INSTALL_DATA) $$files "$(DESTDIR)$(themedir)" || exit $$?; \
- ++ done
- +
- -+ node = next_node;
- -+ }
- -+}
- ++uninstall-dist_themeDATA:
- ++ @$(NORMAL_UNINSTALL)
- ++ @list='$(dist_theme_DATA)'; test -n "$(themedir)" || list=; \
- ++ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- ++ test -n "$$files" || exit 0; \
- ++ echo " ( cd '$(DESTDIR)$(themedir)' && rm -f" $$files ")"; \
- ++ cd "$(DESTDIR)$(themedir)" && rm -f $$files
- ++install-nodist_themeDATA: $(nodist_theme_DATA)
- ++ @$(NORMAL_INSTALL)
- ++ test -z "$(themedir)" || $(MKDIR_P) "$(DESTDIR)$(themedir)"
- ++ @list='$(nodist_theme_DATA)'; test -n "$(themedir)" || list=; \
- ++ for p in $$list; do \
- ++ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- ++ echo "$$d$$p"; \
- ++ done | $(am__base_list) | \
- ++ while read files; do \
- ++ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themedir)'"; \
- ++ $(INSTALL_DATA) $$files "$(DESTDIR)$(themedir)" || exit $$?; \
- ++ done
- +
- -+static bool
- -+show_splash_screen (ply_boot_splash_plugin_t *plugin,
- -+ ply_event_loop_t *loop,
- -+ ply_buffer_t *boot_buffer,
- -+ ply_boot_splash_mode_t mode)
- -+{
- -+ assert (plugin != NULL);
- ++uninstall-nodist_themeDATA:
- ++ @$(NORMAL_UNINSTALL)
- ++ @list='$(nodist_theme_DATA)'; test -n "$(themedir)" || list=; \
- ++ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- ++ test -n "$$files" || exit 0; \
- ++ echo " ( cd '$(DESTDIR)$(themedir)' && rm -f" $$files ")"; \
- ++ cd "$(DESTDIR)$(themedir)" && rm -f $$files
- ++tags: TAGS
- ++TAGS:
- +
- -+ plugin->loop = loop;
- -+ plugin->mode = mode;
- -+ ply_event_loop_watch_for_exit (loop, (ply_event_loop_exit_handler_t)
- -+ detach_from_event_loop,
- -+ plugin);
- ++ctags: CTAGS
- ++CTAGS:
- +
- -+ ply_show_new_kernel_messages (false);
- -+ start_animation (plugin);
- +
- -+ return true;
- -+}
- ++distdir: $(DISTFILES)
- ++ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- ++ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- ++ list='$(DISTFILES)'; \
- ++ dist_files=`for file in $$list; do echo $$file; done | \
- ++ sed -e "s|^$$srcdirstrip/||;t" \
- ++ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- ++ case $$dist_files in \
- ++ */*) $(MKDIR_P) `echo "$$dist_files" | \
- ++ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- ++ sort -u` ;; \
- ++ esac; \
- ++ for file in $$dist_files; do \
- ++ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- ++ if test -d $$d/$$file; then \
- ++ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- ++ if test -d "$(distdir)/$$file"; then \
- ++ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- ++ fi; \
- ++ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- ++ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- ++ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- ++ fi; \
- ++ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- ++ else \
- ++ test -f "$(distdir)/$$file" \
- ++ || cp -p $$d/$$file "$(distdir)/$$file" \
- ++ || exit 1; \
- ++ fi; \
- ++ done
- ++check-am: all-am
- ++check: check-am
- ++all-am: Makefile $(DATA)
- ++installdirs:
- ++ for dir in "$(DESTDIR)$(themedir)" "$(DESTDIR)$(themedir)"; do \
- ++ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- ++ done
- ++install: install-am
- ++install-exec: install-exec-am
- ++install-data: install-data-am
- ++uninstall: uninstall-am
- +
- -+static void
- -+update_status (ply_boot_splash_plugin_t *plugin,
- -+ const char *status)
- -+{
- -+ assert (plugin != NULL);
- ++install-am: all-am
- ++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- -+ ply_trace ("status update");
- -+}
- ++installcheck: installcheck-am
- ++install-strip:
- ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- ++ `test -z '$(STRIP)' || \
- ++ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
- ++mostlyclean-generic:
- +
- -+static void
- -+hide_splash_screen (ply_boot_splash_plugin_t *plugin,
- -+ ply_event_loop_t *loop)
- -+{
- -+ assert (plugin != NULL);
- ++clean-generic:
- ++ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
- +
- -+ ply_trace ("hiding splash screen");
- ++distclean-generic:
- ++ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- ++ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- +
- -+ if (plugin->loop != NULL)
- -+ {
- -+ stop_animation (plugin);
- ++maintainer-clean-generic:
- ++ @echo "This command is intended for maintainers to use"
- ++ @echo "it deletes files that may require special tools to rebuild."
- ++ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
- ++clean: clean-am
- +
- -+ ply_event_loop_stop_watching_for_exit (plugin->loop,
- -+ (ply_event_loop_exit_handler_t)
- -+ detach_from_event_loop,
- -+ plugin);
- -+ detach_from_event_loop (plugin);
- -+ }
- ++clean-am: clean-generic clean-libtool mostlyclean-am
- +
- -+ hide_views (plugin);
- -+ ply_show_new_kernel_messages (true);
- -+}
- ++distclean: distclean-am
- ++ -rm -f Makefile
- ++distclean-am: clean-am distclean-generic
- +
- -+static void
- -+display_normal (ply_boot_splash_plugin_t *plugin)
- -+{
- -+ pause_views (plugin);
- -+ if (plugin->state != PLY_BOOT_SPLASH_DISPLAY_NORMAL)
- -+ {
- -+ plugin->state = PLY_BOOT_SPLASH_DISPLAY_NORMAL;
- -+ start_animation (plugin);
- -+ redraw_views (plugin);
- -+ }
- -+ unpause_views (plugin);
- -+}
- ++dvi: dvi-am
- +
- -+static void
- -+display_message (ply_boot_splash_plugin_t *plugin,
- -+ const char *message)
- -+{
- -+ if (plugin->message != NULL)
- -+ free (plugin->message);
- ++dvi-am:
- +
- -+ plugin->message = strdup (message);
- -+ start_animation (plugin);
- -+}
- ++html: html-am
- +
- -+static void
- -+show_password_prompt (ply_boot_splash_plugin_t *plugin,
- -+ const char *prompt,
- -+ int bullets)
- -+{
- -+ ply_list_node_t *node;
- -+ int i;
- -+ char *entered_text;
- ++html-am:
- +
- -+ entered_text = calloc (bullets + 1, sizeof (char));
- ++info: info-am
- +
- -+ for (i = 0; i < bullets; i++)
- -+ entered_text[i] = '*';
- ++info-am:
- +
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- ++install-data-am: install-dist_themeDATA install-nodist_themeDATA
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++install-dvi: install-dvi-am
- +
- -+ view_show_prompt (view, prompt, entered_text);
- ++install-dvi-am:
- +
- -+ node = next_node;
- -+ }
- -+ free (entered_text);
- -+}
- ++install-exec-am:
- +
- -+static void
- -+show_prompt (ply_boot_splash_plugin_t *plugin,
- -+ const char *prompt,
- -+ const char *text)
- -+{
- -+ ply_list_node_t *node;
- ++install-html: install-html-am
- +
- -+ node = ply_list_get_first_node (plugin->views);
- -+ while (node != NULL)
- -+ {
- -+ ply_list_node_t *next_node;
- -+ view_t *view;
- ++install-html-am:
- +
- -+ view = ply_list_node_get_data (node);
- -+ next_node = ply_list_get_next_node (plugin->views, node);
- ++install-info: install-info-am
- +
- -+ view_show_prompt (view, prompt, text);
- ++install-info-am:
- +
- -+ node = next_node;
- -+ }
- -+}
- ++install-man:
- +
- -+static void
- -+display_password (ply_boot_splash_plugin_t *plugin,
- -+ const char *prompt,
- -+ int bullets)
- -+{
- -+ pause_views (plugin);
- -+ if (plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
- -+ stop_animation (plugin);
- ++install-pdf: install-pdf-am
- +
- -+ plugin->state = PLY_BOOT_SPLASH_DISPLAY_PASSWORD_ENTRY;
- ++install-pdf-am:
- +
- -+ if (!prompt)
- -+ prompt = "Password";
- ++install-ps: install-ps-am
- +
- -+ show_password_prompt (plugin, prompt, bullets);
- ++install-ps-am:
- +
- -+ unpause_views (plugin);
- -+}
- ++installcheck-am:
- +
- -+static void
- -+display_question (ply_boot_splash_plugin_t *plugin,
- -+ const char *prompt,
- -+ const char *entry_text)
- -+{
- -+ pause_views (plugin);
- -+ if (plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
- -+ stop_animation (plugin);
- ++maintainer-clean: maintainer-clean-am
- ++ -rm -f Makefile
- ++maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- -+ plugin->state = PLY_BOOT_SPLASH_DISPLAY_PASSWORD_ENTRY;
- ++mostlyclean: mostlyclean-am
- +
- -+ if (!prompt)
- -+ prompt = "Password";
- ++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
- +
- -+ show_prompt (plugin, prompt, entry_text);
- ++pdf: pdf-am
- +
- -+ unpause_views (plugin);
- -+}
- ++pdf-am:
- +
- ++ps: ps-am
- +
- -+ply_boot_splash_plugin_interface_t *
- -+ply_boot_splash_plugin_get_interface (void)
- -+{
- -+ static ply_boot_splash_plugin_interface_t plugin_interface =
- -+ {
- -+ .create_plugin = create_plugin,
- -+ .destroy_plugin = destroy_plugin,
- -+ .add_text_display = add_text_display,
- -+ .remove_text_display = remove_text_display,
- -+ .show_splash_screen = show_splash_screen,
- -+ .update_status = update_status,
- -+ .hide_splash_screen = hide_splash_screen,
- -+ .display_normal = display_normal,
- -+ .display_message = display_message,
- -+ .display_password = display_password,
- -+ .display_question = display_question,
- -+ };
- ++ps-am:
- +
- -+ return &plugin_interface;
- -+}
- ++uninstall-am: uninstall-dist_themeDATA uninstall-nodist_themeDATA
- +
- -+/* vim: set ts=4 sw=4 expandtab autoindent cindent cino={.5s,(0: */
- ---- /dev/null
- -+++ plymouth-0.8.2/src/plugins/splash/ubuntu-text/Makefile.am
- -@@ -0,0 +1,23 @@
- -+INCLUDES = -I$(top_srcdir) \
- -+ -I$(srcdir)/../../../libply \
- -+ -I$(srcdir)/../../../libply-splash-core \
- -+ -I$(srcdir)/../../.. \
- -+ -I$(srcdir)/../.. \
- -+ -I$(srcdir)/.. \
- -+ -I$(srcdir)
- ++.MAKE: install-am install-strip
- +
- -+plugindir = $(libdir)/plymouth
- -+plugin_LTLIBRARIES = ubuntu-text.la
- ++.PHONY: all all-am check check-am clean clean-generic clean-libtool \
- ++ distclean distclean-generic distclean-libtool distdir dvi \
- ++ dvi-am html html-am info info-am install install-am \
- ++ install-data install-data-am install-dist_themeDATA \
- ++ install-dvi install-dvi-am install-exec install-exec-am \
- ++ install-html install-html-am install-info install-info-am \
- ++ install-man install-nodist_themeDATA install-pdf \
- ++ install-pdf-am install-ps install-ps-am install-strip \
- ++ installcheck installcheck-am installdirs maintainer-clean \
- ++ maintainer-clean-generic mostlyclean mostlyclean-generic \
- ++ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
- ++ uninstall-dist_themeDATA uninstall-nodist_themeDATA
- +
- -+ubuntu_text_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
- -+ -DPLYMOUTH_BACKGROUND_COLOR=$(background_color) \
- -+ -DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color) \
- -+ -DPLYMOUTH_BACKGROUND_START_COLOR=$(background_start_color)
- +
- -+ubuntu_text_la_LDFLAGS = -module -avoid-version -export-dynamic
- -+ubuntu_text_la_LIBADD = $(PLYMOUTH_LIBS) \
- -+ ../../../libply/libply.la \
- -+ ../../../libply-splash-core/libply-splash-core.la
- -+ubuntu_text_la_SOURCES = $(srcdir)/plugin.c
- ++ubuntu-logo.plymouth: $(srcdir)/ubuntu-logo.plymouth.in
- ++ sed -e 's,[@]PLYMOUTH_THEME_PATH[@],$(PLYMOUTH_THEME_PATH),g' \
- ++ $(srcdir)/ubuntu-logo.plymouth.in > ubuntu-logo.plymouth
- ++
- ++# Tell versions [3.59,3.63) of GNU make to not export all variables.
- ++# Otherwise a system limit (for SysV at least) may be exceeded.
- ++.NOEXPORT:
- +--- /dev/null
- ++++ plymouth-0.8.2/themes/ubuntu-text/ubuntu-text.plymouth
- +@@ -0,0 +1,4 @@
- ++[Plymouth Theme]
- ++Name=Ubuntu Text
- ++Description=Text mode theme based on ubuntu-logo theme
- ++ModuleName=ubuntu-text
- +--- /dev/null
- ++++ plymouth-0.8.2/themes/ubuntu-text/Makefile.am
- +@@ -0,0 +1,4 @@
- ++themedir = $(datadir)/plymouth/themes/ubuntu-text
- ++dist_theme_DATA = ubuntu-text.plymouth
- +
- +MAINTAINERCLEANFILES = Makefile.in
- ---- plymouth-0.8.2.orig/src/plugins/splash/details/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/splash/details/Makefile.in
- -@@ -172,6 +172,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/splash/details/plugin.c
- -+++ plymouth-0.8.2/src/plugins/splash/details/plugin.c
- -@@ -203,7 +203,10 @@ add_text_display (ply_boot_splash_plugin
- -
- - terminal = ply_text_display_get_terminal (view->display);
- - if (ply_terminal_open (terminal))
- -- ply_terminal_activate_vt (terminal);
- -+ {
- -+ ply_terminal_set_mode (terminal, PLY_TERMINAL_MODE_TEXT);
- -+ ply_terminal_activate_vt (terminal);
- -+ }
- -
- - ply_list_append_data (plugin->views, view);
- - }
- ---- plymouth-0.8.2.orig/src/plugins/splash/text/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/splash/text/Makefile.in
- -@@ -171,6 +171,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/splash/text/plugin.c
- -+++ plymouth-0.8.2/src/plugins/splash/text/plugin.c
- -@@ -485,7 +485,10 @@ add_text_display (ply_boot_splash_plugin
- -
- - terminal = ply_text_display_get_terminal (view->display);
- - if (ply_terminal_open (terminal))
- -- ply_terminal_activate_vt (terminal);
- -+ {
- -+ ply_terminal_set_mode (terminal, PLY_TERMINAL_MODE_TEXT);
- -+ ply_terminal_activate_vt (terminal);
- -+ }
- -
- - ply_text_display_set_draw_handler (view->display,
- - (ply_text_display_draw_handler_t)
- ---- plymouth-0.8.2.orig/src/plugins/renderers/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/renderers/Makefile.in
- -@@ -33,6 +33,7 @@ PRE_UNINSTALL = :
- - POST_UNINSTALL = :
- - build_triplet = @build@
- - host_triplet = @host@
- -+@BUILD_VGA16FB_TRUE@am__append_1 = vga16fb
- - subdir = src/plugins/renderers
- - DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- -@@ -66,7 +67,7 @@ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGE
- - distdir
- - ETAGS = etags
- - CTAGS = ctags
- --DIST_SUBDIRS = $(SUBDIRS)
- -+DIST_SUBDIRS = frame-buffer drm x11 vga16fb
- - DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- - am__relativize = \
- - dir0=`pwd`; \
- -@@ -154,6 +155,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- -@@ -233,7 +235,7 @@ target_alias = @target_alias@
- - top_build_prefix = @top_build_prefix@
- - top_builddir = @top_builddir@
- - top_srcdir = @top_srcdir@
- --SUBDIRS = frame-buffer drm x11
- -+SUBDIRS = frame-buffer drm x11 $(am__append_1)
- - MAINTAINERCLEANFILES = Makefile.in
- - all: all-recursive
- -
- ---- plymouth-0.8.2.orig/src/plugins/renderers/Makefile.am
- -+++ plymouth-0.8.2/src/plugins/renderers/Makefile.am
- -@@ -1,2 +1,5 @@
- - SUBDIRS = frame-buffer drm x11
- -+if BUILD_VGA16FB
- -+SUBDIRS += vga16fb
- -+endif
- - MAINTAINERCLEANFILES = Makefile.in
- ---- plymouth-0.8.2.orig/src/plugins/renderers/x11/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/renderers/x11/Makefile.in
- -@@ -172,6 +172,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- --- /dev/null
- -+++ plymouth-0.8.2/src/plugins/renderers/vga16fb/Makefile.in
- -@@ -0,0 +1,592 @@
- ++++ plymouth-0.8.2/themes/ubuntu-text/Makefile.in
- +@@ -0,0 +1,437 @@
- +# Makefile.in generated by automake 1.11.1 from Makefile.am.
- +# @configure_input@
- +
- @@ -13298,8 +12643,9 @@
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- -+subdir = src/plugins/renderers/vga16fb
- -+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- ++subdir = themes/ubuntu-text
- ++DIST_COMMON = $(dist_theme_DATA) $(srcdir)/Makefile.am \
- ++ $(srcdir)/Makefile.in
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- + $(top_srcdir)/configure.ac
- @@ -13309,6 +12655,14 @@
- +CONFIG_HEADER = $(top_builddir)/config.h
- +CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- ++AM_V_GEN = $(am__v_GEN_$(V))
- ++am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
- ++am__v_GEN_0 = @echo " GEN " $@;
- ++AM_V_at = $(am__v_at_$(V))
- ++am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
- ++am__v_at_0 = @
- ++SOURCES =
- ++DIST_SOURCES =
- +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
- +am__vpath_adj = case $$p in \
- + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- @@ -13330,50 +12684,8 @@
- +am__base_list = \
- + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
- -+am__installdirs = "$(DESTDIR)$(plugindir)"
- -+LTLIBRARIES = $(plugin_LTLIBRARIES)
- -+am__DEPENDENCIES_1 =
- -+vga16fb_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- -+ ../../../libply/libply.la \
- -+ ../../../libply-splash-core/libply-splash-core.la
- -+am_vga16fb_la_OBJECTS = vga16fb_la-plugin.lo
- -+vga16fb_la_OBJECTS = $(am_vga16fb_la_OBJECTS)
- -+AM_V_lt = $(am__v_lt_$(V))
- -+am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
- -+am__v_lt_0 = --silent
- -+vga16fb_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- -+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(vga16fb_la_CFLAGS) \
- -+ $(CFLAGS) $(vga16fb_la_LDFLAGS) $(LDFLAGS) -o $@
- -+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
- -+depcomp = $(SHELL) $(top_srcdir)/build-tools/depcomp
- -+am__depfiles_maybe = depfiles
- -+am__mv = mv -f
- -+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- -+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- -+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- -+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
- -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
- -+ $(AM_CFLAGS) $(CFLAGS)
- -+AM_V_CC = $(am__v_CC_$(V))
- -+am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
- -+am__v_CC_0 = @echo " CC " $@;
- -+AM_V_at = $(am__v_at_$(V))
- -+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
- -+am__v_at_0 = @
- -+CCLD = $(CC)
- -+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- -+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- -+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
- -+AM_V_CCLD = $(am__v_CCLD_$(V))
- -+am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
- -+am__v_CCLD_0 = @echo " CCLD " $@;
- -+AM_V_GEN = $(am__v_GEN_$(V))
- -+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
- -+am__v_GEN_0 = @echo " GEN " $@;
- -+SOURCES = $(vga16fb_la_SOURCES)
- -+DIST_SOURCES = $(vga16fb_la_SOURCES)
- -+ETAGS = etags
- -+CTAGS = ctags
- ++am__installdirs = "$(DESTDIR)$(themedir)"
- ++DATA = $(dist_theme_DATA)
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +ACLOCAL = @ACLOCAL@
- +AMTAR = @AMTAR@
- @@ -13516,28 +12828,12 @@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- -+INCLUDES = -I$(top_srcdir) \
- -+ -I$(srcdir)/../../../libply \
- -+ -I$(srcdir)/../../../libply-splash-core \
- -+ -I$(srcdir)/../../.. \
- -+ -I$(srcdir)/../.. \
- -+ -I$(srcdir)/.. \
- -+ -I$(srcdir)
- -+
- -+plugindir = $(libdir)/plymouth/renderers
- -+plugin_LTLIBRARIES = vga16fb.la
- -+vga16fb_la_CFLAGS = $(PLYMOUTH_CFLAGS)
- -+vga16fb_la_LDFLAGS = -module -avoid-version -export-dynamic
- -+vga16fb_la_LIBADD = $(PLYMOUTH_LIBS) \
- -+ ../../../libply/libply.la \
- -+ ../../../libply-splash-core/libply-splash-core.la
- -+
- -+vga16fb_la_SOURCES = $(srcdir)/plugin.c
- ++themedir = $(datadir)/plymouth/themes/ubuntu-text
- ++dist_theme_DATA = ubuntu-text.plymouth
- +MAINTAINERCLEANFILES = Makefile.in
- +all: all-am
- +
- +.SUFFIXES:
- -+.SUFFIXES: .c .lo .o .obj
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- @@ -13547,9 +12843,9 @@
- + exit 1;; \
- + esac; \
- + done; \
- -+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/plugins/renderers/vga16fb/Makefile'; \
- ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu themes/ubuntu-text/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- -+ $(AUTOMAKE) --gnu src/plugins/renderers/vga16fb/Makefile
- ++ $(AUTOMAKE) --gnu themes/ubuntu-text/Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- @@ -13568,137 +12864,38 @@
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(am__aclocal_m4_deps):
- -+install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
- -+ @$(NORMAL_INSTALL)
- -+ test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
- -+ @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
- -+ list2=; for p in $$list; do \
- -+ if test -f $$p; then \
- -+ list2="$$list2 $$p"; \
- -+ else :; fi; \
- -+ done; \
- -+ test -z "$$list2" || { \
- -+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \
- -+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \
- -+ }
- -+
- -+uninstall-pluginLTLIBRARIES:
- -+ @$(NORMAL_UNINSTALL)
- -+ @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
- -+ for p in $$list; do \
- -+ $(am__strip_dir) \
- -+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \
- -+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \
- -+ done
- -+
- -+clean-pluginLTLIBRARIES:
- -+ -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES)
- -+ @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
- -+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- -+ test "$$dir" != "$$p" || dir=.; \
- -+ echo "rm -f \"$${dir}/so_locations\""; \
- -+ rm -f "$${dir}/so_locations"; \
- -+ done
- -+vga16fb.la: $(vga16fb_la_OBJECTS) $(vga16fb_la_DEPENDENCIES)
- -+ $(AM_V_CCLD)$(vga16fb_la_LINK) -rpath $(plugindir) $(vga16fb_la_OBJECTS) $(vga16fb_la_LIBADD) $(LIBS)
- -+
- -+mostlyclean-compile:
- -+ -rm -f *.$(OBJEXT)
- -+
- -+distclean-compile:
- -+ -rm -f *.tab.c
- -+
- -+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vga16fb_la-plugin.Plo@am__quote@
- -+
- -+.c.o:
- -+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- -+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- -+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- -+@am__fastdepCC_FALSE@ $(COMPILE) -c $<
- -+
- -+.c.obj:
- -+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- -+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- -+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- -+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
- -+
- -+.c.lo:
- -+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- -+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
- -+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- -+@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
- -+
- -+vga16fb_la-plugin.lo: $(srcdir)/plugin.c
- -+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vga16fb_la_CFLAGS) $(CFLAGS) -MT vga16fb_la-plugin.lo -MD -MP -MF $(DEPDIR)/vga16fb_la-plugin.Tpo -c -o vga16fb_la-plugin.lo `test -f '$(srcdir)/plugin.c' || echo '$(srcdir)/'`$(srcdir)/plugin.c
- -+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vga16fb_la-plugin.Tpo $(DEPDIR)/vga16fb_la-plugin.Plo
- -+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/plugin.c' object='vga16fb_la-plugin.lo' libtool=yes @AMDEPBACKSLASH@
- -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- -+@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vga16fb_la_CFLAGS) $(CFLAGS) -c -o vga16fb_la-plugin.lo `test -f '$(srcdir)/plugin.c' || echo '$(srcdir)/'`$(srcdir)/plugin.c
- +
- +mostlyclean-libtool:
- + -rm -f *.lo
- +
- +clean-libtool:
- + -rm -rf .libs _libs
- ++install-dist_themeDATA: $(dist_theme_DATA)
- ++ @$(NORMAL_INSTALL)
- ++ test -z "$(themedir)" || $(MKDIR_P) "$(DESTDIR)$(themedir)"
- ++ @list='$(dist_theme_DATA)'; test -n "$(themedir)" || list=; \
- ++ for p in $$list; do \
- ++ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- ++ echo "$$d$$p"; \
- ++ done | $(am__base_list) | \
- ++ while read files; do \
- ++ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themedir)'"; \
- ++ $(INSTALL_DATA) $$files "$(DESTDIR)$(themedir)" || exit $$?; \
- ++ done
- +
- -+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- -+ unique=`for i in $$list; do \
- -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- -+ done | \
- -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- -+ END { if (nonempty) { for (i in files) print i; }; }'`; \
- -+ mkid -fID $$unique
- ++uninstall-dist_themeDATA:
- ++ @$(NORMAL_UNINSTALL)
- ++ @list='$(dist_theme_DATA)'; test -n "$(themedir)" || list=; \
- ++ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- ++ test -n "$$files" || exit 0; \
- ++ echo " ( cd '$(DESTDIR)$(themedir)' && rm -f" $$files ")"; \
- ++ cd "$(DESTDIR)$(themedir)" && rm -f $$files
- +tags: TAGS
- ++TAGS:
- +
- -+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- -+ $(TAGS_FILES) $(LISP)
- -+ set x; \
- -+ here=`pwd`; \
- -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- -+ unique=`for i in $$list; do \
- -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- -+ done | \
- -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- -+ END { if (nonempty) { for (i in files) print i; }; }'`; \
- -+ shift; \
- -+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- -+ test -n "$$unique" || unique=$$empty_fix; \
- -+ if test $$# -gt 0; then \
- -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- -+ "$$@" $$unique; \
- -+ else \
- -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- -+ $$unique; \
- -+ fi; \
- -+ fi
- +ctags: CTAGS
- -+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- -+ $(TAGS_FILES) $(LISP)
- -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- -+ unique=`for i in $$list; do \
- -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- -+ done | \
- -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- -+ END { if (nonempty) { for (i in files) print i; }; }'`; \
- -+ test -z "$(CTAGS_ARGS)$$unique" \
- -+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- -+ $$unique
- -+
- -+GTAGS:
- -+ here=`$(am__cd) $(top_builddir) && pwd` \
- -+ && $(am__cd) $(top_srcdir) \
- -+ && gtags -i $(GTAGS_ARGS) "$$here"
- ++CTAGS:
- +
- -+distclean-tags:
- -+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- +
- +distdir: $(DISTFILES)
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- @@ -13732,9 +12929,9 @@
- + done
- +check-am: all-am
- +check: check-am
- -+all-am: Makefile $(LTLIBRARIES)
- ++all-am: Makefile $(DATA)
- +installdirs:
- -+ for dir in "$(DESTDIR)$(plugindir)"; do \
- ++ for dir in "$(DESTDIR)$(themedir)"; do \
- + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- + done
- +install: install-am
- @@ -13765,14 +12962,11 @@
- + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
- +clean: clean-am
- +
- -+clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \
- -+ mostlyclean-am
- ++clean-am: clean-generic clean-libtool mostlyclean-am
- +
- +distclean: distclean-am
- -+ -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- -+distclean-am: clean-am distclean-compile distclean-generic \
- -+ distclean-tags
- ++distclean-am: clean-am distclean-generic
- +
- +dvi: dvi-am
- +
- @@ -13786,7 +12980,7 @@
- +
- +info-am:
- +
- -+install-data-am: install-pluginLTLIBRARIES
- ++install-data-am: install-dist_themeDATA
- +
- +install-dvi: install-dvi-am
- +
- @@ -13815,14 +13009,12 @@
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-am
- -+ -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-am
- +
- -+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
- -+ mostlyclean-libtool
- ++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
- +
- +pdf: pdf-am
- +
- @@ -13832,36 +13024,297 @@
- +
- +ps-am:
- +
- -+uninstall-am: uninstall-pluginLTLIBRARIES
- ++uninstall-am: uninstall-dist_themeDATA
- +
- +.MAKE: install-am install-strip
- +
- -+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- -+ clean-libtool clean-pluginLTLIBRARIES ctags distclean \
- -+ distclean-compile distclean-generic distclean-libtool \
- -+ distclean-tags distdir dvi dvi-am html html-am info info-am \
- -+ install install-am install-data install-data-am install-dvi \
- -+ install-dvi-am install-exec install-exec-am install-html \
- -+ install-html-am install-info install-info-am install-man \
- -+ install-pdf install-pdf-am install-pluginLTLIBRARIES \
- -+ install-ps install-ps-am install-strip installcheck \
- -+ installcheck-am installdirs maintainer-clean \
- -+ maintainer-clean-generic mostlyclean mostlyclean-compile \
- -+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- -+ tags uninstall uninstall-am uninstall-pluginLTLIBRARIES
- ++.PHONY: all all-am check check-am clean clean-generic clean-libtool \
- ++ distclean distclean-generic distclean-libtool distdir dvi \
- ++ dvi-am html html-am info info-am install install-am \
- ++ install-data install-data-am install-dist_themeDATA \
- ++ install-dvi install-dvi-am install-exec install-exec-am \
- ++ install-html install-html-am install-info install-info-am \
- ++ install-man install-pdf install-pdf-am install-ps \
- ++ install-ps-am install-strip installcheck installcheck-am \
- ++ installdirs maintainer-clean maintainer-clean-generic \
- ++ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
- ++ ps ps-am uninstall uninstall-am uninstall-dist_themeDATA
- +
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- +--- plymouth-0.8.2.orig/themes/script/Makefile.in
- ++++ plymouth-0.8.2/themes/script/Makefile.in
- +@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/themes/spinfinity/Makefile.in
- ++++ plymouth-0.8.2/themes/spinfinity/Makefile.in
- +@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/themes/details/Makefile.in
- ++++ plymouth-0.8.2/themes/details/Makefile.in
- +@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/themes/fade-in/Makefile.in
- ++++ plymouth-0.8.2/themes/fade-in/Makefile.in
- +@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/docs/Makefile.in
- ++++ plymouth-0.8.2/docs/Makefile.in
- +@@ -140,6 +140,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/images/Makefile.in
- ++++ plymouth-0.8.2/images/Makefile.in
- +@@ -138,6 +138,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/Makefile.in
- ++++ plymouth-0.8.2/src/Makefile.in
- +@@ -220,6 +220,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/main.c
- ++++ plymouth-0.8.2/src/main.c
- +@@ -116,6 +116,7 @@ typedef struct
- + const char *default_tty;
- +
- + int number_of_errors;
- ++ ply_list_t *pending_messages;
- + } state_t;
- +
- + static ply_boot_splash_t *start_boot_splash (state_t *state,
- +@@ -164,14 +165,34 @@ on_update (state_t *state,
- + const char *status)
- + {
- + ply_trace ("updating status to '%s'", status);
- +- ply_progress_status_update (state->progress,
- +- status);
- ++ if (strncmp (status, "fsck:", 5))
- ++ ply_progress_status_update (state->progress,
- ++ status);
- + if (state->boot_splash != NULL)
- + ply_boot_splash_update_status (state->boot_splash,
- + status);
- + }
- +
- + static void
- ++flush_pending_messages (state_t *state)
- ++{
- ++ ply_list_node_t *node = ply_list_get_first_node (state->pending_messages);
- ++ while (node != NULL)
- ++ {
- ++ ply_list_node_t *next_node;
- ++ char *message = ply_list_node_get_data (node);
- ++
- ++ ply_trace ("displaying queued message");
- ++
- ++ ply_boot_splash_display_message (state->boot_splash, message);
- ++ next_node = ply_list_get_next_node (state->pending_messages, node);
- ++ ply_list_remove_node (state->pending_messages, node);
- ++ free(message);
- ++ node = next_node;
- ++ }
- ++}
- ++
- ++static void
- + show_detailed_splash (state_t *state)
- + {
- + if (state->boot_splash != NULL)
- +@@ -319,11 +340,15 @@ show_default_splash (state_t *state)
- + ply_trace ("Could not start default splash screen,"
- + "showing text splash screen");
- + state->boot_splash = start_boot_splash (state,
- +- PLYMOUTH_THEME_PATH "text/text.plymouth");
- ++ PLYMOUTH_THEME_PATH "text.plymouth");
- + }
- +
- + if (state->boot_splash == NULL)
- +- ply_error ("could not start boot splash: %m");
- ++ {
- ++ if (errno != ENOENT)
- ++ ply_error ("could not start boot splash: %m");
- ++ show_detailed_splash (state);
- ++ }
- + }
- +
- + static void
- +@@ -374,6 +399,8 @@ on_display_message (state_t *state
- + ply_trace ("displaying message %s", message);
- + if (state->boot_splash != NULL)
- + ply_boot_splash_display_message (state->boot_splash, message);
- ++ else
- ++ ply_list_append_data (state->pending_messages, strdup(message));
- + }
- +
- + static void
- +@@ -720,6 +747,7 @@ on_show_splash (state_t *state)
- + show_detailed_splash (state);
- + state->showing_details = true;
- + }
- ++ flush_pending_messages (state);
- + }
- +
- + static void
- +@@ -1259,6 +1287,10 @@ add_display_and_keyboard_for_terminal (s
- +
- + state->terminal = ply_terminal_new (tty_name);
- +
- ++ // urgh
- ++ if (!ply_terminal_open (state->terminal))
- ++ return;
- ++
- + keyboard = ply_keyboard_new_for_terminal (state->terminal);
- + display = ply_text_display_new (state->terminal);
- +
- +@@ -1674,6 +1706,7 @@ initialize_environment (state_t *state)
- + state->entry_buffer = ply_buffer_new();
- + state->pixel_displays = ply_list_new ();
- + state->text_displays = ply_list_new ();
- ++ state->pending_messages = ply_list_new ();
- + state->keyboard = NULL;
- +
- + if (!state->default_tty)
- +@@ -1904,12 +1937,7 @@ main (int argc,
- + {
- + state.should_be_attached = attach_to_session;
- + if (!attach_to_running_session (&state))
- +- {
- +- ply_error ("could not create session: %m");
- +- if (! no_daemon)
- +- ply_detach_daemon (daemon_handle, EX_UNAVAILABLE);
- +- return EX_UNAVAILABLE;
- +- }
- ++ ply_trace ("could not create session: %m");
- + }
- +
- + state.boot_server = start_boot_server (&state);
- +--- plymouth-0.8.2.orig/src/plugins/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/Makefile.in
- +@@ -154,6 +154,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/plugins/splash/Makefile.am
- ++++ plymouth-0.8.2/src/plugins/splash/Makefile.am
- +@@ -1,2 +1,2 @@
- +-SUBDIRS = throbgress fade-throbber text details space-flares two-step script
- ++SUBDIRS = throbgress fade-throbber text details space-flares two-step script ubuntu-text
- + MAINTAINERCLEANFILES = Makefile.in
- +--- plymouth-0.8.2.orig/src/plugins/splash/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/splash/Makefile.in
- +@@ -154,6 +154,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +@@ -233,7 +234,7 @@ target_alias = @target_alias@
- + top_build_prefix = @top_build_prefix@
- + top_builddir = @top_builddir@
- + top_srcdir = @top_srcdir@
- +-SUBDIRS = throbgress fade-throbber text details space-flares two-step script
- ++SUBDIRS = throbgress fade-throbber text details space-flares two-step script ubuntu-text
- + MAINTAINERCLEANFILES = Makefile.in
- + all: all-recursive
- +
- +--- plymouth-0.8.2.orig/src/plugins/splash/text/plugin.c
- ++++ plymouth-0.8.2/src/plugins/splash/text/plugin.c
- +@@ -485,7 +485,10 @@ add_text_display (ply_boot_splash_plugin
- +
- + terminal = ply_text_display_get_terminal (view->display);
- + if (ply_terminal_open (terminal))
- +- ply_terminal_activate_vt (terminal);
- ++ {
- ++ ply_terminal_set_mode (terminal, PLY_TERMINAL_MODE_TEXT);
- ++ ply_terminal_activate_vt (terminal);
- ++ }
- +
- + ply_text_display_set_draw_handler (view->display,
- + (ply_text_display_draw_handler_t)
- +--- plymouth-0.8.2.orig/src/plugins/splash/text/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/splash/text/Makefile.in
- +@@ -171,6 +171,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/plugins/splash/throbgress/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/splash/throbgress/Makefile.in
- +@@ -173,6 +173,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/plugins/splash/space-flares/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/splash/space-flares/Makefile.in
- +@@ -174,6 +174,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- --- /dev/null
- -+++ plymouth-0.8.2/src/plugins/renderers/vga16fb/plugin.c
- -@@ -0,0 +1,696 @@
- -+/* plugin.c - vga16fb renderer plugin
- ++++ plymouth-0.8.2/src/plugins/splash/ubuntu-text/plugin.c
- +@@ -0,0 +1,795 @@
- ++/* ubuntu-text.c - boot splash plugin
- + *
- + * Copyright (C) 2010 Canonical Ltd.
- -+ * 2006-2009 Red Hat, Inc.
- -+ * 2008 Charlie Brej <cbrej@cs.man.ac.uk>
- ++ * Copyright (C) 2008 Red Hat, Inc.
- + *
- + * 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
- @@ -13879,1202 +13332,809 @@
- + * 02111-1307, USA.
- + *
- + * Written by: Scott James Remnant <scott@ubuntu.com>
- -+ * Charlie Brej <cbrej@cs.man.ac.uk>
- -+ * Kristian Høgsberg <krh@redhat.com>
- -+ * Peter Jones <pjones@redhat.com>
- ++ * Adam Jackson <ajax@redhat.com>
- + * Ray Strode <rstrode@redhat.com>
- + */
- +#include "config.h"
- +
- -+#include <arpa/inet.h>
- +#include <assert.h>
- +#include <errno.h>
- +#include <fcntl.h>
- ++#include <math.h>
- +#include <signal.h>
- -+#include <string.h>
- +#include <stdbool.h>
- -+#include <stdint.h>
- +#include <stdio.h>
- ++#include <stdint.h>
- +#include <stdlib.h>
- ++#include <string.h>
- +#include <sys/ioctl.h>
- -+#include <sys/mman.h>
- +#include <sys/stat.h>
- ++#include <sys/time.h>
- +#include <sys/types.h>
- -+#include <values.h>
- ++#include <termios.h>
- +#include <unistd.h>
- -+#include <sys/io.h>
- -+
- -+#include <linux/fb.h>
- ++#include <values.h>
- ++#include <wchar.h>
- +
- ++#include "ply-trigger.h"
- ++#include "ply-boot-splash-plugin.h"
- +#include "ply-buffer.h"
- +#include "ply-event-loop.h"
- ++#include "ply-key-file.h"
- +#include "ply-list.h"
- +#include "ply-logger.h"
- -+#include "ply-rectangle.h"
- -+#include "ply-region.h"
- -+#include "ply-terminal.h"
- -+
- -+#include "ply-renderer.h"
- -+#include "ply-renderer-plugin.h"
- -+
- -+#include "vga.h"
- -+
- -+#ifndef PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME
- -+#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb0"
- -+#endif
- -+
- -+struct _ply_renderer_head
- -+{
- -+ ply_pixel_buffer_t *pixel_buffer;
- -+ ply_rectangle_t area;
- -+ char *map_address;
- -+ size_t size;
- -+
- -+ uint16_t red[16];
- -+ uint16_t green[16];
- -+ uint16_t blue[16];
- -+ uint32_t palette_size;
- -+ bool palette_overflow;
- -+};
- ++#include "ply-text-display.h"
- ++#include "ply-text-progress-bar.h"
- ++#include "ply-utils.h"
- +
- -+struct _ply_renderer_input_source
- -+{
- -+ ply_renderer_backend_t *backend;
- -+ ply_fd_watch_t *terminal_input_watch;
- ++#include <linux/kd.h>
- +
- -+ ply_buffer_t *key_buffer;
- ++#define CLEAR_LINE_SEQUENCE "\033[2K\r\n"
- ++#define BACKSPACE "\b\033[0K"
- +
- -+ ply_renderer_input_source_handler_t handler;
- -+ void *user_data;
- -+};
- ++typedef enum {
- ++ PLY_BOOT_SPLASH_DISPLAY_NORMAL,
- ++ PLY_BOOT_SPLASH_DISPLAY_QUESTION_ENTRY,
- ++ PLY_BOOT_SPLASH_DISPLAY_PASSWORD_ENTRY
- ++} ply_boot_splash_display_type_t;
- +
- -+struct _ply_renderer_backend
- ++struct _ply_boot_splash_plugin
- +{
- + ply_event_loop_t *loop;
- -+ ply_terminal_t *terminal;
- ++ ply_boot_splash_mode_t mode;
- +
- -+ char *device_name;
- -+ int device_fd;
- ++ ply_list_t *views;
- +
- -+ ply_renderer_input_source_t input_source;
- -+ ply_renderer_head_t head;
- -+ ply_list_t *heads;
- ++ ply_boot_splash_display_type_t state;
- +
- -+ unsigned int row_stride;
- -+ unsigned int bits_per_pixel;
- ++ char *message;
- +
- -+ uint32_t is_active : 1;
- ++ uint32_t is_animating : 1;
- +};
- +
- -+ply_renderer_plugin_interface_t *ply_renderer_backend_get_interface (void);
- -+static void ply_renderer_head_redraw (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head);
- -+static bool open_input_source (ply_renderer_backend_t *backend,
- -+ ply_renderer_input_source_t *input_source);
- -+
- -+static ply_renderer_backend_t *
- -+create_backend (const char *device_name,
- -+ ply_terminal_t *terminal)
- -+{
- -+ ply_renderer_backend_t *backend;
- -+
- -+ backend = calloc (1, sizeof (ply_renderer_backend_t));
- -+
- -+ if (device_name != NULL)
- -+ backend->device_name = strdup (device_name);
- -+ else if (getenv ("FRAMEBUFFER") != NULL)
- -+ backend->device_name = strdup (getenv ("FRAMEBUFFER"));
- -+ else
- -+ backend->device_name =
- -+ strdup (PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME);
- -+
- -+ backend->loop = ply_event_loop_get_default ();
- -+ backend->head.map_address = MAP_FAILED;
- -+ backend->heads = ply_list_new ();
- -+ backend->input_source.key_buffer = ply_buffer_new ();
- -+ backend->terminal = terminal;
- -+
- -+ return backend;
- -+}
- -+
- -+static void
- -+initialize_head (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head)
- -+{
- -+ head->pixel_buffer = ply_pixel_buffer_new (head->area.width,
- -+ head->area.height);
- -+ ply_pixel_buffer_fill_with_color (backend->head.pixel_buffer, NULL,
- -+ 0.0, 0.0, 0.0, 1.0);
- -+
- -+ memset (head->red, 0, sizeof head->red);
- -+ memset (head->green, 0, sizeof head->green);
- -+ memset (head->blue, 0, sizeof head->blue);
- -+
- -+ head->palette_size = 0;
- -+ head->palette_overflow = false;
- -+
- -+ ply_list_append_data (backend->heads, head);
- -+}
- -+
- -+static void
- -+uninitialize_head (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head)
- -+{
- -+ if (head->pixel_buffer != NULL)
- -+ {
- -+ ply_pixel_buffer_free (head->pixel_buffer);
- -+ head->pixel_buffer = NULL;
- -+
- -+ ply_list_remove_data (backend->heads, head);
- -+ }
- -+}
- -+
- -+static void
- -+destroy_backend (ply_renderer_backend_t *backend)
- ++typedef struct
- +{
- ++ ply_boot_splash_plugin_t *plugin;
- ++ ply_text_display_t *display;
- +
- -+ free (backend->device_name);
- -+ uninitialize_head (backend, &backend->head);
- -+
- -+ ply_list_free (backend->heads);
- ++} view_t;
- +
- -+ free (backend);
- -+}
- ++static void hide_splash_screen (ply_boot_splash_plugin_t *plugin,
- ++ ply_event_loop_t *loop);
- +
- -+static void
- -+set_palette (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head)
- ++static view_t *
- ++view_new (ply_boot_splash_plugin_t *plugin,
- ++ ply_text_display_t *display)
- +{
- -+ struct fb_cmap cmap;
- -+
- -+ if (backend->device_fd < 0)
- -+ return;
- -+ if (!head->palette_size)
- -+ return;
- -+
- -+ cmap.start = 0;
- -+ cmap.len = head->palette_size;;
- -+ cmap.red = head->red;
- -+ cmap.green = head->green;
- -+ cmap.blue = head->blue;
- -+ cmap.transp = NULL;
- -+
- -+ ioctl (backend->device_fd, FBIOPUTCMAP, &cmap);
- -+}
- ++ view_t *view;
- +
- -+static void
- -+activate (ply_renderer_backend_t *backend)
- -+{
- -+ backend->is_active = true;
- ++ view = calloc (1, sizeof (view_t));
- ++ view->plugin = plugin;
- ++ view->display = display;
- +
- -+ if (backend->head.map_address != MAP_FAILED)
- -+ ply_renderer_head_redraw (backend, &backend->head);
- ++ return view;
- +}
- +
- +static void
- -+deactivate (ply_renderer_backend_t *backend)
- ++view_free (view_t *view)
- +{
- -+ backend->is_active = false;
- ++ free (view);
- +}
- +
- +static void
- -+on_active_vt_changed (ply_renderer_backend_t *backend)
- ++view_show_message (view_t *view)
- +{
- -+ if (ply_terminal_is_active (backend->terminal))
- -+ {
- -+ activate (backend);
- -+ }
- -+ else
- -+ {
- -+ deactivate (backend);
- -+ }
- -+}
- ++ ply_boot_splash_plugin_t *plugin;
- ++ int display_width, display_height, y;
- ++ ply_terminal_color_t color;
- ++ char *message;
- +
- -+static bool
- -+open_device (ply_renderer_backend_t *backend)
- -+{
- -+ backend->device_fd = open (backend->device_name, O_RDWR);
- ++ plugin = view->plugin;
- +
- -+ if (backend->device_fd < 0)
- -+ {
- -+ ply_trace ("could not open '%s': %m", backend->device_name);
- -+ return false;
- -+ }
- ++ display_width = ply_text_display_get_number_of_columns (view->display);
- ++ display_height = ply_text_display_get_number_of_rows (view->display);
- +
- -+ if (!ply_terminal_open (backend->terminal))
- ++ if (!strncmp (plugin->message, "keys:", 5))
- + {
- -+ ply_trace ("could not open terminal: %m");
- -+ return false;
- ++ message = plugin->message + 5;
- ++ color = PLY_TERMINAL_COLOR_WHITE;
- ++ y = display_height - 4;
- + }
- -+
- -+ if (!ply_terminal_is_vt (backend->terminal))
- ++ else
- + {
- -+ ply_trace ("terminal is not a VT");
- -+ ply_terminal_close (backend->terminal);
- -+ return false;
- ++ message = plugin->message;
- ++ color = PLY_TERMINAL_COLOR_BLUE;
- ++ y = display_height / 2 + 7;
- + }
- +
- -+ ply_terminal_watch_for_active_vt_change (backend->terminal,
- -+ (ply_terminal_active_vt_changed_handler_t)
- -+ on_active_vt_changed,
- -+ backend);
- ++ ply_text_display_set_cursor_position (view->display, 0, y);
- ++ ply_text_display_clear_line (view->display);
- ++ ply_text_display_set_cursor_position (view->display,
- ++ (display_width -
- ++ strlen (message)) / 2,
- ++ y);
- +
- -+ return true;
- ++ ply_text_display_set_foreground_color (view->display, color);
- ++ ply_text_display_write (view->display, "%s", message);
- +}
- +
- +static void
- -+close_device (ply_renderer_backend_t *backend)
- ++view_show_prompt (view_t *view,
- ++ const char *prompt,
- ++ const char *entered_text)
- +{
- ++ ply_boot_splash_plugin_t *plugin;
- ++ int display_width, display_height;
- ++ int i;
- +
- -+ ply_terminal_stop_watching_for_active_vt_change (backend->terminal,
- -+ (ply_terminal_active_vt_changed_handler_t)
- -+ on_active_vt_changed,
- -+ backend);
- -+ uninitialize_head (backend, &backend->head);
- ++ plugin = view->plugin;
- +
- -+ close (backend->device_fd);
- -+ backend->device_fd = -1;
- ++ display_width = ply_text_display_get_number_of_columns (view->display);
- ++ display_height = ply_text_display_get_number_of_rows (view->display);
- +
- -+ backend->head.area.x = 0;
- -+ backend->head.area.y = 0;
- -+ backend->head.area.width = 0;
- -+ backend->head.area.height = 0;
- ++ ply_text_display_set_cursor_position (view->display, 0,
- ++ display_height / 2 + 8);
- ++ ply_text_display_clear_line (view->display);
- ++ ply_text_display_set_cursor_position (view->display,
- ++ display_width / 2 - (strlen (prompt)),
- ++ display_height / 2 + 8);
- ++
- ++ ply_text_display_write (view->display, "%s:%s", prompt, entered_text);
- ++
- ++ ply_text_display_show_cursor (view->display);
- +}
- +
- -+static bool
- -+query_device (ply_renderer_backend_t *backend)
- ++static void
- ++view_start_animation (view_t *view)
- +{
- -+ struct fb_var_screeninfo variable_screen_info;
- -+ struct fb_fix_screeninfo fixed_screen_info;
- -+
- -+ assert (backend != NULL);
- -+ assert (backend->device_fd >= 0);
- ++ ply_boot_splash_plugin_t *plugin;
- ++ ply_terminal_t *terminal;
- +
- -+ if (ioctl (backend->device_fd, FBIOGET_VSCREENINFO, &variable_screen_info) < 0)
- -+ return false;
- ++ assert (view != NULL);
- +
- -+ if (ioctl (backend->device_fd, FBIOGET_FSCREENINFO, &fixed_screen_info) < 0)
- -+ return false;
- ++ plugin = view->plugin;
- +
- -+ /* We only support the vga16fb with its own kooky planar colour mode. */
- -+ if ((fixed_screen_info.type != FB_TYPE_VGA_PLANES)
- -+ || (fixed_screen_info.type_aux != FB_AUX_VGA_PLANES_VGA4)
- -+ || (fixed_screen_info.visual != FB_VISUAL_PSEUDOCOLOR)
- -+ || (variable_screen_info.bits_per_pixel != 4))
- -+ {
- -+ ply_trace ("Doesn't look like vga16fb\n");
- -+ return false;
- -+ }
- ++ terminal = ply_text_display_get_terminal (view->display);
- +
- -+ backend->head.area.x = variable_screen_info.xoffset;
- -+ backend->head.area.y = variable_screen_info.yoffset;
- -+ backend->head.area.width = variable_screen_info.xres;
- -+ backend->head.area.height = variable_screen_info.yres;
- ++ ply_terminal_set_color_hex_value (terminal,
- ++ PLY_TERMINAL_COLOR_BLACK,
- ++ 0x2c001e);
- ++ ply_terminal_set_color_hex_value (terminal,
- ++ PLY_TERMINAL_COLOR_WHITE,
- ++ 0xffffff);
- ++ ply_terminal_set_color_hex_value (terminal,
- ++ PLY_TERMINAL_COLOR_BROWN,
- ++ 0xff4012);
- ++ ply_terminal_set_color_hex_value (terminal,
- ++ PLY_TERMINAL_COLOR_BLUE,
- ++ 0x988592);
- +
- -+ backend->row_stride = fixed_screen_info.line_length;
- -+ backend->bits_per_pixel = variable_screen_info.bits_per_pixel;
- -+ backend->head.size = backend->head.area.height * backend->row_stride;
- ++ ply_text_display_set_background_color (view->display,
- ++ PLY_TERMINAL_COLOR_BLACK);
- ++ ply_text_display_clear_screen (view->display);
- ++ ply_text_display_hide_cursor (view->display);
- ++}
- +
- -+ initialize_head (backend, &backend->head);
- ++static void
- ++view_redraw (view_t *view)
- ++{
- ++ unsigned long screen_width, screen_height;
- +
- -+ return true;
- ++ screen_width = ply_text_display_get_number_of_columns (view->display);
- ++ screen_height = ply_text_display_get_number_of_rows (view->display);
- +
- ++ ply_text_display_draw_area (view->display, 0, 0,
- ++ screen_width, screen_height);
- +}
- +
- -+static bool
- -+map_to_device (ply_renderer_backend_t *backend)
- ++static void
- ++redraw_views (ply_boot_splash_plugin_t *plugin)
- +{
- -+ ply_renderer_head_t *head;
- ++ ply_list_node_t *node;
- +
- -+ assert (backend != NULL);
- -+ assert (backend->device_fd >= 0);
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- ++ {
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- +
- -+ head = &backend->head;
- -+ assert (head->size > 0);
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- -+ if (ioperm (VGA_REGS_BASE, VGA_REGS_LEN, 1) < 0) {
- -+ ply_trace ("could not obtain permission to write to VGA regs: %m");
- -+ return false;
- -+ }
- ++ view_redraw (view);
- +
- -+ head->map_address = mmap (NULL, head->size, PROT_WRITE,
- -+ MAP_SHARED, backend->device_fd, 0);
- ++ node = next_node;
- ++ }
- ++}
- +
- -+ if (head->map_address == MAP_FAILED) {
- -+ ply_trace ("could not map VGA memory: %m");
- -+ return false;
- -+ }
- ++static void
- ++view_hide (view_t *view)
- ++{
- ++ if (view->display != NULL)
- ++ {
- ++ ply_terminal_t *terminal;
- +
- -+ if (ply_terminal_is_active (backend->terminal))
- -+ activate (backend);
- -+ else
- -+ ply_terminal_activate_vt (backend->terminal);
- ++ terminal = ply_text_display_get_terminal (view->display);
- +
- -+ return true;
- ++ ply_text_display_set_background_color (view->display, PLY_TERMINAL_COLOR_DEFAULT);
- ++ ply_text_display_clear_screen (view->display);
- ++ ply_text_display_show_cursor (view->display);
- ++
- ++ ply_terminal_reset_colors (terminal);
- ++ }
- +}
- +
- +static void
- -+unmap_from_device (ply_renderer_backend_t *backend)
- ++hide_views (ply_boot_splash_plugin_t *plugin)
- +{
- -+ ply_renderer_head_t *head;
- -+
- -+ head = &backend->head;
- ++ ply_list_node_t *node;
- +
- -+ if (head->map_address != MAP_FAILED)
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- + {
- -+ munmap (head->map_address, head->size);
- -+ head->map_address = MAP_FAILED;
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- ++
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- ++
- ++ view_hide (view);
- ++
- ++ node = next_node;
- + }
- +}
- +
- -+static unsigned int
- -+argb32_pixel_value_to_color_index (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head,
- -+ uint32_t pixel_value)
- ++static void
- ++pause_views (ply_boot_splash_plugin_t *plugin)
- +{
- -+ uint16_t red, green, blue;
- -+ unsigned int min_shift, max_shift, shift, index;
- -+
- -+ red = (pixel_value >> 16) & 0xff;
- -+ green = (pixel_value >> 8) & 0xff;
- -+ blue = pixel_value & 0xff;
- ++ ply_list_node_t *node;
- +
- -+ /* The 6 here is entirely arbitrary; that means we keep the top two bits
- -+ * of each colour when comparing against existing colors in the palette;
- -+ * in theory meaning a maximum of 64 -- that's still too many, so we
- -+ * then try again with 7 bits and a maximum of 8 -- in between those two
- -+ * is the 16 we actually have room for.
- -+ */
- -+ if (head->palette_overflow)
- -+ {
- -+ min_shift = 6;
- -+ max_shift = 8;
- -+ }
- -+ else
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- + {
- -+ min_shift = 0;
- -+ max_shift = 1;
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- ++
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- ++
- ++ ply_text_display_pause_updates (view->display);
- ++
- ++ node = next_node;
- + }
- ++}
- +
- -+ for (shift = min_shift; shift < max_shift; shift++)
- -+ {
- -+ for (index = 0; index < head->palette_size; index++)
- -+ if ( ((head->red[index] >> (8 + shift)) == (red >> shift))
- -+ && ((head->green[index] >> (8 + shift)) == (green >> shift))
- -+ && ((head->blue[index] >> (8 + shift)) == (blue >> shift)))
- -+ return index;
- ++static void
- ++unpause_views (ply_boot_splash_plugin_t *plugin)
- ++{
- ++ ply_list_node_t *node;
- +
- -+ if (head->palette_size < 16)
- -+ {
- -+ index = head->palette_size++;
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- ++ {
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- +
- -+ head->red[index] = red << 8;
- -+ head->green[index] = green << 8;
- -+ head->blue[index] = blue << 8;
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- -+ set_palette (backend, head);
- -+ ply_trace ("palette now has %d colours (added %06x)\n",
- -+ head->palette_size, pixel_value & 0xffffff);
- ++ ply_text_display_unpause_updates (view->display);
- +
- -+ return index;
- -+ }
- ++ node = next_node;
- + }
- ++}
- ++
- ++static ply_boot_splash_plugin_t *
- ++create_plugin (ply_key_file_t *key_file)
- ++{
- ++ ply_boot_splash_plugin_t *plugin;
- +
- -+ ply_trace ("could not find colour in palette for %06x\n",
- -+ pixel_value & 0xffffff);
- ++ ply_trace ("creating plugin");
- +
- -+ if (!head->palette_overflow)
- -+ {
- -+ head->palette_overflow = true;
- -+ }
- ++ plugin = calloc (1, sizeof (ply_boot_splash_plugin_t));
- ++ plugin->message = NULL;
- +
- -+ /* Didn't find a colour, so just return the last
- -+ * (first is probably background colour so a bad choice)
- -+ */
- -+ return head->palette_size - 1;;
- ++ plugin->views = ply_list_new ();
- ++
- ++ return plugin;
- +}
- +
- +static void
- -+flush_area (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head,
- -+ ply_rectangle_t *area_to_flush)
- ++detach_from_event_loop (ply_boot_splash_plugin_t *plugin)
- +{
- -+ unsigned char *mask;
- -+ uint32_t *shadow_buffer;
- -+ unsigned long x1, x2, y1, y2, x, y;
- -+ unsigned int c, b;
- ++ plugin->loop = NULL;
- +
- -+ mask = malloc (backend->row_stride * 16);
- ++ ply_trace ("detaching from event loop");
- ++}
- +
- -+ shadow_buffer = ply_pixel_buffer_get_argb32_data (backend->head.pixel_buffer);
- ++static void
- ++free_views (ply_boot_splash_plugin_t *plugin)
- ++{
- ++ ply_list_node_t *node;
- +
- -+ x1 = area_to_flush->x;
- -+ y1 = area_to_flush->y;
- -+ x2 = x1 + area_to_flush->width;
- -+ y2 = y1 + area_to_flush->height;
- ++ node = ply_list_get_first_node (plugin->views);
- +
- -+ for (y = y1; y < y2; y++)
- ++ while (node != NULL)
- + {
- -+ memset (mask, 0, backend->row_stride * 16);
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- +
- -+ for (x = x1; x < x2; x++)
- -+ {
- -+ unsigned int index;
- -+ uint32_t pixel;
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- -+ pixel = shadow_buffer[x + y * head->area.width];
- -+ index = argb32_pixel_value_to_color_index (backend, head, pixel);
- ++ view_free (view);
- ++ ply_list_remove_node (plugin->views, node);
- +
- -+ mask[index * backend->row_stride + x / 8] |= (0x80 >> (x % 8));
- -+ }
- ++ node = next_node;
- ++ }
- +
- -+ for (c = 0; c < 16; c++)
- -+ {
- -+ for (b = x1 / 8; b < x2 / 8 + 1; b++)
- -+ {
- -+ char *p;
- ++ ply_list_free (plugin->views);
- ++ plugin->views = NULL;
- ++}
- +
- -+ if (!mask[c * backend->row_stride + b])
- -+ continue;
- ++static void
- ++destroy_plugin (ply_boot_splash_plugin_t *plugin)
- ++{
- ++ ply_trace ("destroying plugin");
- +
- -+ vga_set_reset (c);
- -+ vga_bit_mask (mask[c * backend->row_stride + b]);
- ++ if (plugin == NULL)
- ++ return;
- +
- -+ p = head->map_address + y * backend->row_stride + b;
- -+ *p |= 1;
- -+ }
- -+ }
- -+ }
- ++ /* It doesn't ever make sense to keep this plugin on screen
- ++ * after exit
- ++ */
- ++ hide_splash_screen (plugin, plugin->loop);
- +
- -+ free (mask);
- ++ free_views (plugin);
- ++ if (plugin->message != NULL)
- ++ free (plugin->message);
- ++
- ++ free (plugin);
- +}
- +
- +static void
- -+flush_head (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head)
- ++show_message (ply_boot_splash_plugin_t *plugin)
- +{
- -+ ply_region_t *updated_region;
- -+ ply_list_t *areas_to_flush;
- + ply_list_node_t *node;
- -+ ply_pixel_buffer_t *pixel_buffer;
- -+ bool was_overflowed;
- -+
- -+ assert (backend != NULL);
- -+ assert (&backend->head == head);
- +
- -+ if (!backend->is_active)
- -+ return;
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- ++ {
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- +
- -+ ply_terminal_set_mode (backend->terminal, PLY_TERMINAL_MODE_GRAPHICS);
- -+ ply_terminal_set_unbuffered_input (backend->terminal);
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- -+ /* Reset to basic values; enable use of the Set/Reset register for all
- -+ * planes.
- -+ */
- -+ vga_enable_set_reset (0xf);
- -+ vga_mode (0);
- -+ vga_data_rotate (0);
- -+ vga_map_mask (0xff);
- ++ view_show_message (view);
- +
- -+ was_overflowed = backend->head.palette_overflow;
- -+ set_palette (backend, &backend->head);
- ++ node = next_node;
- ++ }
- ++}
- +
- -+ pixel_buffer = head->pixel_buffer;
- -+ updated_region = ply_pixel_buffer_get_updated_areas (pixel_buffer);
- -+ areas_to_flush = ply_region_get_sorted_rectangle_list (updated_region);
- ++static void
- ++animate_frame (ply_boot_splash_plugin_t *plugin,
- ++ int frame)
- ++{
- ++ ply_list_node_t *node;
- +
- -+ node = ply_list_get_first_node (areas_to_flush);
- ++ node = ply_list_get_first_node (plugin->views);
- + while (node != NULL)
- + {
- + ply_list_node_t *next_node;
- -+ ply_rectangle_t *area_to_flush;
- ++ view_t *view;
- ++ int display_width, display_height;
- +
- -+ area_to_flush = (ply_rectangle_t *) ply_list_node_get_data (node);
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- -+ next_node = ply_list_get_next_node (areas_to_flush, node);
- ++ display_width = ply_text_display_get_number_of_columns (view->display);
- ++ display_height = ply_text_display_get_number_of_rows (view->display);
- +
- -+ flush_area (backend, head, area_to_flush);
- ++ ply_text_display_set_cursor_position (view->display,
- ++ (display_width - 12) / 2,
- ++ display_height / 2);
- +
- -+ node = next_node;
- -+ }
- ++ ply_text_display_set_background_color (view->display, PLY_TERMINAL_COLOR_BLACK);
- ++ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- ++ ply_text_display_write (view->display, "Ubuntu 10.04");
- +
- -+ ply_region_clear (updated_region);
- ++ ply_text_display_set_cursor_position (view->display,
- ++ (display_width - 10) / 2,
- ++ (display_height / 2) + 2);
- +
- -+ /* If the palette overflowed, render the screen again with a new palette */
- -+ if ((!was_overflowed) && head->palette_overflow)
- -+ {
- -+ ply_trace ("palette overflowed, redrawing entire screen with new palette");
- ++ if ((frame < 1) || (frame > 4))
- ++ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- ++ else
- ++ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_BROWN);
- ++ ply_text_display_write (view->display, ". ");
- +
- -+ head->palette_size = 0;
- -+ ply_renderer_head_redraw (backend, head);
- ++ if ((frame < 2) || (frame > 5))
- ++ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- ++ else
- ++ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_BROWN);
- ++ ply_text_display_write (view->display, ". ");
- ++
- ++ if ((frame < 3) || (frame > 6))
- ++ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- ++ else
- ++ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_BROWN);
- ++ ply_text_display_write (view->display, ". ");
- ++
- ++ if (frame < 4)
- ++ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_WHITE);
- ++ else
- ++ ply_text_display_set_foreground_color (view->display, PLY_TERMINAL_COLOR_BROWN);
- ++ ply_text_display_write (view->display, ".");
- ++
- ++ node = next_node;
- + }
- +}
- +
- +static void
- -+ply_renderer_head_redraw (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head)
- ++on_timeout (ply_boot_splash_plugin_t *plugin)
- +{
- -+ ply_region_t *region;
- ++ static int frame = 0;
- +
- -+ region = ply_pixel_buffer_get_updated_areas (head->pixel_buffer);
- ++ frame += 1;
- ++ frame %= 8;
- +
- -+ ply_region_add_rectangle (region, &head->area);
- ++ animate_frame (plugin, frame);
- +
- -+ flush_head (backend, head);
- ++ ply_event_loop_watch_for_timeout (plugin->loop, 1.0,
- ++ (ply_event_loop_timeout_handler_t)
- ++ on_timeout, plugin);
- +}
- +
- -+static ply_list_t *
- -+get_heads (ply_renderer_backend_t *backend)
- ++static void
- ++start_animation (ply_boot_splash_plugin_t *plugin)
- +{
- -+ return backend->heads;
- -+}
- ++ ply_list_node_t *node;
- +
- -+static ply_pixel_buffer_t *
- -+get_buffer_for_head (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head)
- -+{
- ++ assert (plugin != NULL);
- ++ assert (plugin->loop != NULL);
- +
- -+ if (head != &backend->head)
- -+ return NULL;
- ++ redraw_views (plugin);
- +
- -+ return backend->head.pixel_buffer;
- -+}
- ++ if (plugin->message != NULL)
- ++ show_message (plugin);
- +
- -+static unsigned int
- -+get_bits_per_pixel_for_head (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head)
- -+{
- -+ if (head != &backend->head)
- -+ return 0;
- ++ if (plugin->is_animating)
- ++ return;
- +
- -+ return backend->bits_per_pixel;
- -+}
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- ++ {
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- +
- -+static bool
- -+has_input_source (ply_renderer_backend_t *backend,
- -+ ply_renderer_input_source_t *input_source)
- -+{
- -+ return input_source == &backend->input_source;
- -+}
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- -+static ply_renderer_input_source_t *
- -+get_input_source (ply_renderer_backend_t *backend)
- -+{
- -+ return &backend->input_source;
- ++ view_start_animation (view);
- ++
- ++ node = next_node;
- ++ }
- ++
- ++ plugin->is_animating = true;
- ++
- ++ animate_frame (plugin, 0);
- ++ ply_event_loop_watch_for_timeout (plugin->loop, 1.0,
- ++ (ply_event_loop_timeout_handler_t)
- ++ on_timeout, plugin);
- +}
- +
- +static void
- -+on_key_event (ply_renderer_input_source_t *input_source,
- -+ int terminal_fd)
- ++stop_animation (ply_boot_splash_plugin_t *plugin)
- +{
- -+ ply_buffer_append_from_fd (input_source->key_buffer,
- -+ terminal_fd);
- ++ ply_list_node_t *node;
- +
- -+ if (input_source->handler != NULL)
- -+ input_source->handler (input_source->user_data, input_source->key_buffer, input_source);
- ++ assert (plugin != NULL);
- ++ assert (plugin->loop != NULL);
- +
- -+}
- ++ if (!plugin->is_animating)
- ++ return;
- +
- -+static void
- -+on_input_source_disconnected (ply_renderer_input_source_t *input_source)
- -+{
- -+ ply_trace ("input source disconnected, reopening");
- -+ open_input_source (input_source->backend, input_source);
- -+}
- ++ plugin->is_animating = false;
- +
- -+static bool
- -+open_input_source (ply_renderer_backend_t *backend,
- -+ ply_renderer_input_source_t *input_source)
- -+{
- -+ int terminal_fd;
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- ++ {
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- +
- -+ assert (backend != NULL);
- -+ assert (has_input_source (backend, input_source));
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- -+ terminal_fd = ply_terminal_get_fd (backend->terminal);
- ++ node = next_node;
- ++ }
- +
- -+ input_source->backend = backend;
- -+ input_source->terminal_input_watch = ply_event_loop_watch_fd (backend->loop, terminal_fd, PLY_EVENT_LOOP_FD_STATUS_HAS_DATA,
- -+ (ply_event_handler_t) on_key_event,
- -+ (ply_event_handler_t) on_input_source_disconnected,
- -+ input_source);
- -+ return true;
- ++ ply_event_loop_stop_watching_for_timeout (plugin->loop,
- ++ (ply_event_loop_timeout_handler_t)
- ++ on_timeout, plugin);
- ++
- ++ redraw_views (plugin);
- +}
- +
- +static void
- -+set_handler_for_input_source (ply_renderer_backend_t *backend,
- -+ ply_renderer_input_source_t *input_source,
- -+ ply_renderer_input_source_handler_t handler,
- -+ void *user_data)
- ++on_draw (view_t *view,
- ++ ply_terminal_t *terminal,
- ++ int x,
- ++ int y,
- ++ int width,
- ++ int height)
- +{
- -+ assert (backend != NULL);
- -+ assert (has_input_source (backend, input_source));
- -+
- -+ input_source->handler = handler;
- -+ input_source->user_data = user_data;
- +}
- +
- +static void
- -+close_input_source (ply_renderer_backend_t *backend,
- -+ ply_renderer_input_source_t *input_source)
- ++add_text_display (ply_boot_splash_plugin_t *plugin,
- ++ ply_text_display_t *display)
- +{
- -+ assert (backend != NULL);
- -+ assert (has_input_source (backend, input_source));
- ++ view_t *view;
- ++ ply_terminal_t *terminal;
- +
- -+ ply_event_loop_stop_watching_fd (backend->loop, input_source->terminal_input_watch);
- -+ input_source->terminal_input_watch = NULL;
- -+ input_source->backend = NULL;
- -+}
- ++ view = view_new (plugin, display);
- +
- -+ply_renderer_plugin_interface_t *
- -+ply_renderer_backend_get_interface (void)
- -+{
- -+ static ply_renderer_plugin_interface_t plugin_interface =
- ++ terminal = ply_text_display_get_terminal (view->display);
- ++ if (ply_terminal_open (terminal))
- + {
- -+ .create_backend = create_backend,
- -+ .destroy_backend = destroy_backend,
- -+ .open_device = open_device,
- -+ .close_device = close_device,
- -+ .query_device = query_device,
- -+ .map_to_device = map_to_device,
- -+ .unmap_from_device = unmap_from_device,
- -+ .activate = activate,
- -+ .deactivate = deactivate,
- -+ .flush_head = flush_head,
- -+ .get_heads = get_heads,
- -+ .get_buffer_for_head = get_buffer_for_head,
- -+ .get_bits_per_pixel_for_head = get_bits_per_pixel_for_head,
- -+ .get_input_source = get_input_source,
- -+ .open_input_source = open_input_source,
- -+ .set_handler_for_input_source = set_handler_for_input_source,
- -+ .close_input_source = close_input_source
- -+ };
- ++ ply_terminal_set_mode (terminal, PLY_TERMINAL_MODE_TEXT);
- ++ ply_terminal_activate_vt (terminal);
- ++ }
- +
- -+ return &plugin_interface;
- -+}
- -+/* vim: set ts=4 sw=4 et ai ci cino={.5s,^-2,+.5s,t0,g0,e-2,n-2,p2s,(0,=.5s,:.5s */
- ---- /dev/null
- -+++ plymouth-0.8.2/src/plugins/renderers/vga16fb/vga.h
- -@@ -0,0 +1,107 @@
- -+/* vga.h - inlines for programming the VGA
- -+ *
- -+ * Copyright (C) 2010 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 2, 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, write to the Free Software
- -+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- -+ * 02111-1307, USA.
- -+ *
- -+ * Written by: Scott James Remnant <scott@ubuntu.com>
- -+ */
- -+#ifndef PLY_VGA_H
- -+#define PLY_VGA_H
- ++ ply_text_display_set_draw_handler (view->display,
- ++ (ply_text_display_draw_handler_t)
- ++ on_draw, view);
- +
- -+/* VGA ioports, and the registers we can access from them */
- -+#define VGA_REGS_BASE 0x3c0
- -+#define VGA_REGS_LEN 0x10
- ++ ply_list_append_data (plugin->views, view);
- ++}
- +
- -+#define VGA_SC_INDEX 0x3c4
- -+#define VGA_SC_DATA 0x3c5
- ++static void
- ++remove_text_display (ply_boot_splash_plugin_t *plugin,
- ++ ply_text_display_t *display)
- ++{
- ++ ply_list_node_t *node;
- +
- -+#define VGA_SC_MAP_MASK 0x02
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- ++ {
- ++ view_t *view;
- ++ ply_list_node_t *next_node;
- +
- -+#define VGA_GC_INDEX 0x3ce
- -+#define VGA_GC_DATA 0x3cf
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- -+#define VGA_GC_SET_RESET 0x00
- -+#define VGA_GC_ENABLE_SET_RESET 0x01
- -+#define VGA_GC_DATA_ROTATE 0x03
- -+#define VGA_GC_MODE 0x05
- -+#define VGA_GC_BIT_MASK 0x08
- ++ if (view->display == display)
- ++ {
- ++ ply_text_display_set_draw_handler (view->display,
- ++ NULL, NULL);
- ++ view_free (view);
- ++ ply_list_remove_node (plugin->views, node);
- ++ return;
- ++ }
- +
- -+/* Select the VGA write mode. */
- -+static inline void
- -+vga_mode (int mode)
- -+{
- -+ outb (VGA_GC_MODE, VGA_GC_INDEX);
- -+ outb (mode, VGA_GC_DATA);
- ++ node = next_node;
- ++ }
- +}
- +
- -+/* Data Rotate register; we don't use this, we just ensure it's off. */
- -+static inline void
- -+vga_data_rotate (int op)
- ++static bool
- ++show_splash_screen (ply_boot_splash_plugin_t *plugin,
- ++ ply_event_loop_t *loop,
- ++ ply_buffer_t *boot_buffer,
- ++ ply_boot_splash_mode_t mode)
- +{
- -+ outb (VGA_GC_DATA_ROTATE, VGA_GC_INDEX);
- -+ outb (op, VGA_GC_DATA);
- -+}
- ++ assert (plugin != NULL);
- +
- -+/* Enable use of the Set/Reset register for the given planes (as a mask).
- -+ *
- -+ * In effect: set this to 0xf to use all four planes.
- -+ */
- -+static inline void
- -+vga_enable_set_reset (int mask)
- -+{
- -+ outb (VGA_GC_ENABLE_SET_RESET, VGA_GC_INDEX);
- -+ outb (mask, VGA_GC_DATA);
- ++ plugin->loop = loop;
- ++ plugin->mode = mode;
- ++ ply_event_loop_watch_for_exit (loop, (ply_event_loop_exit_handler_t)
- ++ detach_from_event_loop,
- ++ plugin);
- ++
- ++ ply_show_new_kernel_messages (false);
- ++ start_animation (plugin);
- ++
- ++ return true;
- +}
- +
- -+/* Set/Reset register; the given planes (as a mask) will have whatever bits
- -+ * are true in the Bit Mask register set to 1, and whatever bits are false
- -+ * in the Bit Mask register set to 0. (It's more complicated than that, but
- -+ * your brain will explode).
- -+ *
- -+ * In effect: set this to the colour you want.
- -+ */
- -+static inline void
- -+vga_set_reset (int mask)
- ++static void
- ++update_status (ply_boot_splash_plugin_t *plugin,
- ++ const char *status)
- +{
- -+ outb (VGA_GC_SET_RESET, VGA_GC_INDEX);
- -+ outb (mask, VGA_GC_DATA);
- ++ assert (plugin != NULL);
- ++
- ++ ply_trace ("status update");
- +}
- +
- -+/* Bit Mask register; writing to a memory address will write to these bits
- -+ * of that byte according to the contents of the Set/Reset register. Far
- -+ * more complicated than that, you *really* don't want to know.
- -+ *
- -+ * In effect: set this to the pattern we want in the colour we set.
- -+ */
- -+static inline void
- -+vga_bit_mask (int mask)
- ++static void
- ++hide_splash_screen (ply_boot_splash_plugin_t *plugin,
- ++ ply_event_loop_t *loop)
- +{
- -+ outb (VGA_GC_BIT_MASK, VGA_GC_INDEX);
- -+ outb (mask, VGA_GC_DATA);
- ++ assert (plugin != NULL);
- ++
- ++ ply_trace ("hiding splash screen");
- ++
- ++ if (plugin->loop != NULL)
- ++ {
- ++ stop_animation (plugin);
- ++
- ++ ply_event_loop_stop_watching_for_exit (plugin->loop,
- ++ (ply_event_loop_exit_handler_t)
- ++ detach_from_event_loop,
- ++ plugin);
- ++ detach_from_event_loop (plugin);
- ++ }
- ++
- ++ hide_views (plugin);
- ++ ply_show_new_kernel_messages (true);
- +}
- +
- -+/* Map Mask register; we don't use this, but we do make sure it's reset. */
- -+static inline void
- -+vga_map_mask (int mask)
- ++static void
- ++display_normal (ply_boot_splash_plugin_t *plugin)
- +{
- -+ outb (VGA_SC_MAP_MASK, VGA_SC_INDEX);
- -+ outb (mask, VGA_SC_DATA);
- ++ pause_views (plugin);
- ++ if (plugin->state != PLY_BOOT_SPLASH_DISPLAY_NORMAL)
- ++ {
- ++ plugin->state = PLY_BOOT_SPLASH_DISPLAY_NORMAL;
- ++ start_animation (plugin);
- ++ redraw_views (plugin);
- ++ }
- ++ unpause_views (plugin);
- +}
- +
- -+#endif /* PLY_VGA_H */
- -+/* vim: set ts=4 sw=4 et ai ci cino={.5s,^-2,+.5s,t0,g0,e-2,n-2,p2s,(0,=.5s,:.5s */
- ++static void
- ++display_message (ply_boot_splash_plugin_t *plugin,
- ++ const char *message)
- ++{
- ++ if (plugin->message != NULL)
- ++ free (plugin->message);
- +
- ---- /dev/null
- -+++ plymouth-0.8.2/src/plugins/renderers/vga16fb/Makefile.am
- -@@ -0,0 +1,20 @@
- -+INCLUDES = -I$(top_srcdir) \
- -+ -I$(srcdir)/../../../libply \
- -+ -I$(srcdir)/../../../libply-splash-core \
- -+ -I$(srcdir)/../../.. \
- -+ -I$(srcdir)/../.. \
- -+ -I$(srcdir)/.. \
- -+ -I$(srcdir)
- ++ plugin->message = strdup (message);
- ++ start_animation (plugin);
- ++}
- +
- -+plugindir = $(libdir)/plymouth/renderers
- -+plugin_LTLIBRARIES = vga16fb.la
- ++static void
- ++show_password_prompt (ply_boot_splash_plugin_t *plugin,
- ++ const char *prompt,
- ++ int bullets)
- ++{
- ++ ply_list_node_t *node;
- ++ int i;
- ++ char *entered_text;
- +
- -+vga16fb_la_CFLAGS = $(PLYMOUTH_CFLAGS)
- ++ entered_text = calloc (bullets + 1, sizeof (char));
- +
- -+vga16fb_la_LDFLAGS = -module -avoid-version -export-dynamic
- -+vga16fb_la_LIBADD = $(PLYMOUTH_LIBS) \
- -+ ../../../libply/libply.la \
- -+ ../../../libply-splash-core/libply-splash-core.la
- -+vga16fb_la_SOURCES = $(srcdir)/plugin.c
- ++ for (i = 0; i < bullets; i++)
- ++ entered_text[i] = '*';
- +
- -+MAINTAINERCLEANFILES = Makefile.in
- ---- plymouth-0.8.2.orig/src/plugins/renderers/frame-buffer/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/renderers/frame-buffer/Makefile.in
- -@@ -173,6 +173,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/renderers/frame-buffer/plugin.c
- -+++ plymouth-0.8.2/src/plugins/renderers/frame-buffer/plugin.c
- -@@ -56,7 +56,7 @@
- - #include "ply-renderer-plugin.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_renderer_head
- -@@ -646,6 +646,16 @@ get_buffer_for_head (ply_renderer_backen
- - return backend->head.pixel_buffer;
- - }
- -
- -+static unsigned int
- -+get_bits_per_pixel_for_head (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head)
- -+{
- -+ if (head != &backend->head)
- -+ return 0;
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- ++ {
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- +
- -+ return backend->bytes_per_pixel * 8;
- -+}
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- - static bool
- - has_input_source (ply_renderer_backend_t *backend,
- - ply_renderer_input_source_t *input_source)
- -@@ -739,6 +749,7 @@ ply_renderer_backend_get_interface (void
- - .flush_head = flush_head,
- - .get_heads = get_heads,
- - .get_buffer_for_head = get_buffer_for_head,
- -+ .get_bits_per_pixel_for_head = get_bits_per_pixel_for_head,
- - .get_input_source = get_input_source,
- - .open_input_source = open_input_source,
- - .set_handler_for_input_source = set_handler_for_input_source,
- ---- plymouth-0.8.2.orig/src/plugins/renderers/drm/Makefile.in
- -+++ plymouth-0.8.2/src/plugins/renderers/drm/Makefile.in
- -@@ -175,6 +175,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/plugins/renderers/drm/plugin.c
- -+++ plymouth-0.8.2/src/plugins/renderers/drm/plugin.c
- -@@ -454,10 +454,15 @@ load_driver (ply_renderer_backend_t *bac
- - backend->driver_interface = ply_renderer_radeon_driver_get_interface ();
- - backend->driver_supports_mapping_console = false;
- - }
- -- else if (strcmp (driver_name, "nouveau") == 0)
- -+ else if (strcmp (driver_name, "nouveau") == 0
- -+ || strcmp (driver_name, "lbm-nouveau") == 0)
- - {
- -+#ifdef GDM_HANGING_IS_FINE_WITH_ME
- - backend->driver_interface = ply_renderer_nouveau_driver_get_interface ();
- - backend->driver_supports_mapping_console = false;
- -+#else
- -+ ply_trace("falling back to framebuffer for nouveau to avoid DRM hang");
- -+#endif
- - }
- - free (driver_name);
- -
- ---- plymouth-0.8.2.orig/src/viewer/Makefile.in
- -+++ plymouth-0.8.2/src/viewer/Makefile.in
- -@@ -215,6 +215,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/libply/Makefile.in
- -+++ plymouth-0.8.2/src/libply/Makefile.in
- -@@ -219,6 +219,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/libply/tests/Makefile.in
- -+++ plymouth-0.8.2/src/libply/tests/Makefile.in
- -@@ -342,6 +342,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/libply-splash-core/Makefile.in
- -+++ plymouth-0.8.2/src/libply-splash-core/Makefile.in
- -@@ -185,6 +185,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/libply-splash-core/ply-pixel-display.c
- -+++ plymouth-0.8.2/src/libply-splash-core/ply-pixel-display.c
- -@@ -51,6 +51,7 @@ struct _ply_pixel_display
- -
- - unsigned long width;
- - unsigned long height;
- -+ unsigned int bits_per_pixel;
- -
- - ply_pixel_display_draw_handler_t draw_handler;
- - void *draw_handler_user_data;
- -@@ -79,6 +80,9 @@ ply_pixel_display_new (ply_renderer_t
- - display->width = size.width;
- - display->height = size.height;
- -
- -+ display->bits_per_pixel = ply_renderer_get_bits_per_pixel_for_head (renderer,
- -+ head);
- ++ view_show_prompt (view, prompt, entered_text);
- +
- - return display;
- - }
- -
- -@@ -94,6 +98,12 @@ ply_pixel_display_get_height (ply_pixel_
- - return display->height;
- - }
- -
- -+unsigned int
- -+ply_pixel_display_get_bits_per_pixel (ply_pixel_display_t *display)
- -+{
- -+ return display->bits_per_pixel;
- ++ node = next_node;
- ++ }
- ++ free (entered_text);
- +}
- +
- - static void
- - ply_pixel_display_flush (ply_pixel_display_t *display)
- - {
- ---- plymouth-0.8.2.orig/src/libply-splash-core/ply-renderer.h
- -+++ plymouth-0.8.2/src/libply-splash-core/ply-renderer.h
- -@@ -50,6 +50,8 @@ void ply_renderer_deactivate (ply_render
- - ply_list_t *ply_renderer_get_heads (ply_renderer_t *renderer);
- - ply_pixel_buffer_t *ply_renderer_get_buffer_for_head (ply_renderer_t *renderer,
- - ply_renderer_head_t *head);
- -+unsigned int ply_renderer_get_bits_per_pixel_for_head (ply_renderer_t *renderer,
- -+ ply_renderer_head_t *head);
- -
- - void ply_renderer_flush_head (ply_renderer_t *renderer,
- - ply_renderer_head_t *head);
- ---- plymouth-0.8.2.orig/src/libply-splash-core/ply-renderer-plugin.h
- -+++ plymouth-0.8.2/src/libply-splash-core/ply-renderer-plugin.h
- -@@ -54,6 +54,8 @@ typedef struct
- -
- - ply_pixel_buffer_t * (* get_buffer_for_head) (ply_renderer_backend_t *backend,
- - ply_renderer_head_t *head);
- -+ unsigned int (* get_bits_per_pixel_for_head) (ply_renderer_backend_t *backend,
- -+ ply_renderer_head_t *head);
- -
- - ply_renderer_input_source_t * (* get_input_source) (ply_renderer_backend_t *backend);
- - bool (* open_input_source) (ply_renderer_backend_t *backend,
- ---- plymouth-0.8.2.orig/src/libply-splash-core/ply-renderer.c
- -+++ plymouth-0.8.2/src/libply-splash-core/ply-renderer.c
- -@@ -231,6 +231,7 @@ ply_renderer_open (ply_renderer_t *rende
- - PLYMOUTH_PLUGIN_PATH "renderers/x11.so",
- - PLYMOUTH_PLUGIN_PATH "renderers/drm.so",
- - PLYMOUTH_PLUGIN_PATH "renderers/frame-buffer.so",
- -+ PLYMOUTH_PLUGIN_PATH "renderers/vga16fb.so",
- - NULL
- - };
- -
- -@@ -310,6 +311,21 @@ ply_renderer_get_buffer_for_head (ply_re
- - head);
- - }
- -
- -+unsigned int
- -+ply_renderer_get_bits_per_pixel_for_head (ply_renderer_t *renderer,
- -+ ply_renderer_head_t *head)
- ++static void
- ++show_prompt (ply_boot_splash_plugin_t *plugin,
- ++ const char *prompt,
- ++ const char *text)
- +{
- -+ assert (renderer != NULL);
- -+ assert (renderer->plugin_interface != NULL);
- -+ assert (head != NULL);
- ++ ply_list_node_t *node;
- +
- -+ if (!renderer->plugin_interface->get_bits_per_pixel_for_head)
- -+ return 0;
- ++ node = ply_list_get_first_node (plugin->views);
- ++ while (node != NULL)
- ++ {
- ++ ply_list_node_t *next_node;
- ++ view_t *view;
- +
- -+ return renderer->plugin_interface->get_bits_per_pixel_for_head (renderer->backend,
- -+ head);
- -+}
- ++ view = ply_list_node_get_data (node);
- ++ next_node = ply_list_get_next_node (plugin->views, node);
- +
- - void
- - ply_renderer_flush_head (ply_renderer_t *renderer,
- - ply_renderer_head_t *head)
- ---- plymouth-0.8.2.orig/src/libply-splash-core/ply-pixel-display.h
- -+++ plymouth-0.8.2/src/libply-splash-core/ply-pixel-display.h
- -@@ -48,6 +48,7 @@ void ply_pixel_display_free (ply_pixel_d
- -
- - unsigned long ply_pixel_display_get_width (ply_pixel_display_t *display);
- - unsigned long ply_pixel_display_get_height (ply_pixel_display_t *display);
- -+unsigned int ply_pixel_display_get_bits_per_pixel (ply_pixel_display_t *display);
- -
- - void ply_pixel_display_set_draw_handler (ply_pixel_display_t *display,
- - ply_pixel_display_draw_handler_t draw_handler,
- ---- plymouth-0.8.2.orig/src/libply-splash-graphics/Makefile.in
- -+++ plymouth-0.8.2/src/libply-splash-graphics/Makefile.in
- -@@ -186,6 +186,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/client/Makefile.in
- -+++ plymouth-0.8.2/src/client/Makefile.in
- -@@ -228,6 +228,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/client/ply-boot-client.h
- -+++ plymouth-0.8.2/src/client/ply-boot-client.h
- -@@ -129,6 +129,7 @@ void ply_boot_client_ask_daemon_has_acti
- - ply_boot_client_response_handler_t handler,
- - ply_boot_client_response_handler_t failed_handler,
- - void *user_data);
- -+void ply_boot_client_flush (ply_boot_client_t *client);
- - void ply_boot_client_disconnect (ply_boot_client_t *client);
- - void ply_boot_client_attach_to_event_loop (ply_boot_client_t *client,
- - ply_event_loop_t *loop);
- ---- plymouth-0.8.2.orig/src/client/ply-boot-client.c
- -+++ plymouth-0.8.2/src/client/ply-boot-client.c
- -@@ -257,15 +257,32 @@ ply_boot_client_process_incoming_replies
- - return;
- - }
- -
- -- request_node = ply_list_get_first_node (client->requests_waiting_for_replies);
- -- assert (request_node != NULL);
- --
- -- request = (ply_boot_client_request_t *) ply_list_node_get_data (request_node);
- -- assert (request != NULL);
- --
- - if (!ply_read (client->socket_fd, byte, sizeof (uint8_t)))
- - goto out;
- -
- -+ for (request_node = ply_list_get_first_node (client->requests_waiting_for_replies);
- -+ request_node; request_node = ply_list_get_next_node (client->requests_waiting_for_replies, request_node))
- -+ {
- -+ assert (request_node != NULL);
- -+ request = (ply_boot_client_request_t *) ply_list_node_get_data (request_node);
- -+ assert (request != NULL);
- ++ view_show_prompt (view, prompt, text);
- +
- -+ if (! strcmp (request->command, PLY_BOOT_PROTOCOL_REQUEST_TYPE_PASSWORD)
- -+ || ! strcmp (request->command, PLY_BOOT_PROTOCOL_REQUEST_TYPE_QUESTION)
- -+ || ! strcmp (request->command, PLY_BOOT_PROTOCOL_REQUEST_TYPE_KEYSTROKE))
- -+ {
- -+ if (! memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ANSWER, sizeof (uint8_t))
- -+ || ! memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_NO_ANSWER, sizeof (uint8_t)))
- -+ break;
- -+ }
- -+ else
- -+ {
- -+ if (memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ANSWER, sizeof (uint8_t))
- -+ && memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_NO_ANSWER, sizeof (uint8_t)))
- -+ break;
- -+ }
- ++ node = next_node;
- + }
- ++}
- +
- - if (memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ACK, sizeof (uint8_t)) == 0)
- - request->handler (request->user_data, client);
- - else if (memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ANSWER, sizeof (uint8_t)) == 0)
- -@@ -743,6 +760,17 @@ ply_boot_client_tell_daemon_about_error
- - }
- -
- - void
- -+ply_boot_client_flush (ply_boot_client_t *client)
- ++static void
- ++display_password (ply_boot_splash_plugin_t *plugin,
- ++ const char *prompt,
- ++ int bullets)
- +{
- -+ assert (client != NULL);
- ++ pause_views (plugin);
- ++ if (plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
- ++ stop_animation (plugin);
- +
- -+ while (ply_list_get_length (client->requests_to_send) > 0)
- ++ plugin->state = PLY_BOOT_SPLASH_DISPLAY_PASSWORD_ENTRY;
- ++
- ++ if (!prompt)
- ++ prompt = "Password";
- ++
- ++ show_password_prompt (plugin, prompt, bullets);
- ++
- ++ unpause_views (plugin);
- ++}
- ++
- ++static void
- ++display_question (ply_boot_splash_plugin_t *plugin,
- ++ const char *prompt,
- ++ const char *entry_text)
- ++{
- ++ pause_views (plugin);
- ++ if (plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
- ++ stop_animation (plugin);
- ++
- ++ plugin->state = PLY_BOOT_SPLASH_DISPLAY_PASSWORD_ENTRY;
- ++
- ++ if (!prompt)
- ++ prompt = "Password";
- ++
- ++ show_prompt (plugin, prompt, entry_text);
- ++
- ++ unpause_views (plugin);
- ++}
- ++
- ++
- ++ply_boot_splash_plugin_interface_t *
- ++ply_boot_splash_plugin_get_interface (void)
- ++{
- ++ static ply_boot_splash_plugin_interface_t plugin_interface =
- + {
- -+ ply_event_loop_process_pending_events (client->loop);
- -+ }
- ++ .create_plugin = create_plugin,
- ++ .destroy_plugin = destroy_plugin,
- ++ .add_text_display = add_text_display,
- ++ .remove_text_display = remove_text_display,
- ++ .show_splash_screen = show_splash_screen,
- ++ .update_status = update_status,
- ++ .hide_splash_screen = hide_splash_screen,
- ++ .display_normal = display_normal,
- ++ .display_message = display_message,
- ++ .display_password = display_password,
- ++ .display_question = display_question,
- ++ };
- ++
- ++ return &plugin_interface;
- +}
- +
- -+void
- - ply_boot_client_disconnect (ply_boot_client_t *client)
- - {
- - assert (client != NULL);
- ---- plymouth-0.8.2.orig/src/client/tests/Makefile.in
- -+++ plymouth-0.8.2/src/client/tests/Makefile.in
- -@@ -121,6 +121,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/src/tests/Makefile.in
- -+++ plymouth-0.8.2/src/tests/Makefile.in
- -@@ -195,6 +195,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/scripts/Makefile.in
- -+++ plymouth-0.8.2/scripts/Makefile.in
- -@@ -144,6 +144,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/docs/Makefile.in
- -+++ plymouth-0.8.2/docs/Makefile.in
- -@@ -140,6 +140,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/themes/Makefile.in
- -+++ plymouth-0.8.2/themes/Makefile.in
- -@@ -154,6 +154,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- -@@ -233,7 +234,7 @@ target_alias = @target_alias@
- - top_build_prefix = @top_build_prefix@
- - top_builddir = @top_builddir@
- - top_srcdir = @top_srcdir@
- --SUBDIRS = spinfinity fade-in text details solar glow script
- -+SUBDIRS = spinfinity fade-in text details solar glow script ubuntu-logo ubuntu-text
- - MAINTAINERCLEANFILES = Makefile.in
- - all: all-recursive
- -
- ---- plymouth-0.8.2.orig/themes/Makefile.am
- -+++ plymouth-0.8.2/themes/Makefile.am
- -@@ -1,2 +1,2 @@
- --SUBDIRS = spinfinity fade-in text details solar glow script
- -+SUBDIRS = spinfinity fade-in text details solar glow script ubuntu-logo ubuntu-text
- - MAINTAINERCLEANFILES = Makefile.in
- ---- plymouth-0.8.2.orig/themes/script/Makefile.in
- -+++ plymouth-0.8.2/themes/script/Makefile.in
- -@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/themes/solar/Makefile.in
- -+++ plymouth-0.8.2/themes/solar/Makefile.in
- -@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- - PACKAGE_NAME = @PACKAGE_NAME@
- - PACKAGE_STRING = @PACKAGE_STRING@
- - PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- - PACKAGE_VERSION = @PACKAGE_VERSION@
- - PANGO_CFLAGS = @PANGO_CFLAGS@
- - PANGO_LIBS = @PANGO_LIBS@
- ++/* vim: set ts=4 sw=4 expandtab autoindent cindent cino={.5s,(0: */
- +--- /dev/null
- ++++ plymouth-0.8.2/src/plugins/splash/ubuntu-text/Makefile.am
- +@@ -0,0 +1,23 @@
- ++INCLUDES = -I$(top_srcdir) \
- ++ -I$(srcdir)/../../../libply \
- ++ -I$(srcdir)/../../../libply-splash-core \
- ++ -I$(srcdir)/../../.. \
- ++ -I$(srcdir)/../.. \
- ++ -I$(srcdir)/.. \
- ++ -I$(srcdir)
- ++
- ++plugindir = $(libdir)/plymouth
- ++plugin_LTLIBRARIES = ubuntu-text.la
- ++
- ++ubuntu_text_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
- ++ -DPLYMOUTH_BACKGROUND_COLOR=$(background_color) \
- ++ -DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color) \
- ++ -DPLYMOUTH_BACKGROUND_START_COLOR=$(background_start_color)
- ++
- ++ubuntu_text_la_LDFLAGS = -module -avoid-version -export-dynamic
- ++ubuntu_text_la_LIBADD = $(PLYMOUTH_LIBS) \
- ++ ../../../libply/libply.la \
- ++ ../../../libply-splash-core/libply-splash-core.la
- ++ubuntu_text_la_SOURCES = $(srcdir)/plugin.c
- ++
- ++MAINTAINERCLEANFILES = Makefile.in
- --- /dev/null
- -+++ plymouth-0.8.2/themes/ubuntu-text/Makefile.in
- -@@ -0,0 +1,437 @@
- ++++ plymouth-0.8.2/src/plugins/splash/ubuntu-text/Makefile.in
- +@@ -0,0 +1,597 @@
- +# Makefile.in generated by automake 1.11.1 from Makefile.am.
- +# @configure_input@
- +
- @@ -15111,9 +14171,8 @@
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- -+subdir = themes/ubuntu-text
- -+DIST_COMMON = $(dist_theme_DATA) $(srcdir)/Makefile.am \
- -+ $(srcdir)/Makefile.in
- ++subdir = src/plugins/splash/ubuntu-text
- ++DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- + $(top_srcdir)/configure.ac
- @@ -15123,14 +14182,6 @@
- +CONFIG_HEADER = $(top_builddir)/config.h
- +CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- -+AM_V_GEN = $(am__v_GEN_$(V))
- -+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
- -+am__v_GEN_0 = @echo " GEN " $@;
- -+AM_V_at = $(am__v_at_$(V))
- -+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
- -+am__v_at_0 = @
- -+SOURCES =
- -+DIST_SOURCES =
- +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
- +am__vpath_adj = case $$p in \
- + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- @@ -15152,8 +14203,51 @@
- +am__base_list = \
- + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
- -+am__installdirs = "$(DESTDIR)$(themedir)"
- -+DATA = $(dist_theme_DATA)
- ++am__installdirs = "$(DESTDIR)$(plugindir)"
- ++LTLIBRARIES = $(plugin_LTLIBRARIES)
- ++am__DEPENDENCIES_1 =
- ++ubuntu_text_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- ++ ../../../libply/libply.la \
- ++ ../../../libply-splash-core/libply-splash-core.la
- ++am_ubuntu_text_la_OBJECTS = ubuntu_text_la-plugin.lo
- ++ubuntu_text_la_OBJECTS = $(am_ubuntu_text_la_OBJECTS)
- ++AM_V_lt = $(am__v_lt_$(V))
- ++am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
- ++am__v_lt_0 = --silent
- ++ubuntu_text_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
- ++ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
- ++ $(ubuntu_text_la_CFLAGS) $(CFLAGS) $(ubuntu_text_la_LDFLAGS) \
- ++ $(LDFLAGS) -o $@
- ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
- ++depcomp = $(SHELL) $(top_srcdir)/build-tools/depcomp
- ++am__depfiles_maybe = depfiles
- ++am__mv = mv -f
- ++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- ++LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- ++ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
- ++ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
- ++ $(AM_CFLAGS) $(CFLAGS)
- ++AM_V_CC = $(am__v_CC_$(V))
- ++am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
- ++am__v_CC_0 = @echo " CC " $@;
- ++AM_V_at = $(am__v_at_$(V))
- ++am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
- ++am__v_at_0 = @
- ++CCLD = $(CC)
- ++LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- ++ $(AM_LDFLAGS) $(LDFLAGS) -o $@
- ++AM_V_CCLD = $(am__v_CCLD_$(V))
- ++am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
- ++am__v_CCLD_0 = @echo " CCLD " $@;
- ++AM_V_GEN = $(am__v_GEN_$(V))
- ++am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
- ++am__v_GEN_0 = @echo " GEN " $@;
- ++SOURCES = $(ubuntu_text_la_SOURCES)
- ++DIST_SOURCES = $(ubuntu_text_la_SOURCES)
- ++ETAGS = etags
- ++CTAGS = ctags
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +ACLOCAL = @ACLOCAL@
- +AMTAR = @AMTAR@
- @@ -15296,12 +14390,32 @@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- -+themedir = $(datadir)/plymouth/themes/ubuntu-text
- -+dist_theme_DATA = ubuntu-text.plymouth
- ++INCLUDES = -I$(top_srcdir) \
- ++ -I$(srcdir)/../../../libply \
- ++ -I$(srcdir)/../../../libply-splash-core \
- ++ -I$(srcdir)/../../.. \
- ++ -I$(srcdir)/../.. \
- ++ -I$(srcdir)/.. \
- ++ -I$(srcdir)
- ++
- ++plugindir = $(libdir)/plymouth
- ++plugin_LTLIBRARIES = ubuntu-text.la
- ++ubuntu_text_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
- ++ -DPLYMOUTH_BACKGROUND_COLOR=$(background_color) \
- ++ -DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color) \
- ++ -DPLYMOUTH_BACKGROUND_START_COLOR=$(background_start_color)
- ++
- ++ubuntu_text_la_LDFLAGS = -module -avoid-version -export-dynamic
- ++ubuntu_text_la_LIBADD = $(PLYMOUTH_LIBS) \
- ++ ../../../libply/libply.la \
- ++ ../../../libply-splash-core/libply-splash-core.la
- ++
- ++ubuntu_text_la_SOURCES = $(srcdir)/plugin.c
- +MAINTAINERCLEANFILES = Makefile.in
- +all: all-am
- +
- +.SUFFIXES:
- ++.SUFFIXES: .c .lo .o .obj
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- @@ -15311,9 +14425,9 @@
- + exit 1;; \
- + esac; \
- + done; \
- -+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu themes/ubuntu-text/Makefile'; \
- ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/plugins/splash/ubuntu-text/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- -+ $(AUTOMAKE) --gnu themes/ubuntu-text/Makefile
- ++ $(AUTOMAKE) --gnu src/plugins/splash/ubuntu-text/Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- @@ -15332,38 +14446,137 @@
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(am__aclocal_m4_deps):
- ++install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
- ++ @$(NORMAL_INSTALL)
- ++ test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
- ++ @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
- ++ list2=; for p in $$list; do \
- ++ if test -f $$p; then \
- ++ list2="$$list2 $$p"; \
- ++ else :; fi; \
- ++ done; \
- ++ test -z "$$list2" || { \
- ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \
- ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \
- ++ }
- ++
- ++uninstall-pluginLTLIBRARIES:
- ++ @$(NORMAL_UNINSTALL)
- ++ @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
- ++ for p in $$list; do \
- ++ $(am__strip_dir) \
- ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \
- ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \
- ++ done
- ++
- ++clean-pluginLTLIBRARIES:
- ++ -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES)
- ++ @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
- ++ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- ++ test "$$dir" != "$$p" || dir=.; \
- ++ echo "rm -f \"$${dir}/so_locations\""; \
- ++ rm -f "$${dir}/so_locations"; \
- ++ done
- ++ubuntu-text.la: $(ubuntu_text_la_OBJECTS) $(ubuntu_text_la_DEPENDENCIES)
- ++ $(AM_V_CCLD)$(ubuntu_text_la_LINK) -rpath $(plugindir) $(ubuntu_text_la_OBJECTS) $(ubuntu_text_la_LIBADD) $(LIBS)
- ++
- ++mostlyclean-compile:
- ++ -rm -f *.$(OBJEXT)
- ++
- ++distclean-compile:
- ++ -rm -f *.tab.c
- ++
- ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ubuntu_text_la-plugin.Plo@am__quote@
- ++
- ++.c.o:
- ++@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- ++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- ++@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- ++@am__fastdepCC_FALSE@ $(COMPILE) -c $<
- ++
- ++.c.obj:
- ++@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- ++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- ++@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- ++@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
- ++
- ++.c.lo:
- ++@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- ++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
- ++@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- ++@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
- ++
- ++ubuntu_text_la-plugin.lo: $(srcdir)/plugin.c
- ++@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ubuntu_text_la_CFLAGS) $(CFLAGS) -MT ubuntu_text_la-plugin.lo -MD -MP -MF $(DEPDIR)/ubuntu_text_la-plugin.Tpo -c -o ubuntu_text_la-plugin.lo `test -f '$(srcdir)/plugin.c' || echo '$(srcdir)/'`$(srcdir)/plugin.c
- ++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ubuntu_text_la-plugin.Tpo $(DEPDIR)/ubuntu_text_la-plugin.Plo
- ++@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/plugin.c' object='ubuntu_text_la-plugin.lo' libtool=yes @AMDEPBACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- ++@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ubuntu_text_la_CFLAGS) $(CFLAGS) -c -o ubuntu_text_la-plugin.lo `test -f '$(srcdir)/plugin.c' || echo '$(srcdir)/'`$(srcdir)/plugin.c
- +
- +mostlyclean-libtool:
- + -rm -f *.lo
- +
- +clean-libtool:
- + -rm -rf .libs _libs
- -+install-dist_themeDATA: $(dist_theme_DATA)
- -+ @$(NORMAL_INSTALL)
- -+ test -z "$(themedir)" || $(MKDIR_P) "$(DESTDIR)$(themedir)"
- -+ @list='$(dist_theme_DATA)'; test -n "$(themedir)" || list=; \
- -+ for p in $$list; do \
- -+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- -+ echo "$$d$$p"; \
- -+ done | $(am__base_list) | \
- -+ while read files; do \
- -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themedir)'"; \
- -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(themedir)" || exit $$?; \
- -+ done
- +
- -+uninstall-dist_themeDATA:
- -+ @$(NORMAL_UNINSTALL)
- -+ @list='$(dist_theme_DATA)'; test -n "$(themedir)" || list=; \
- -+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- -+ test -n "$$files" || exit 0; \
- -+ echo " ( cd '$(DESTDIR)$(themedir)' && rm -f" $$files ")"; \
- -+ cd "$(DESTDIR)$(themedir)" && rm -f $$files
- ++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- ++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- ++ unique=`for i in $$list; do \
- ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- ++ done | \
- ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- ++ END { if (nonempty) { for (i in files) print i; }; }'`; \
- ++ mkid -fID $$unique
- +tags: TAGS
- -+TAGS:
- +
- ++TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- ++ $(TAGS_FILES) $(LISP)
- ++ set x; \
- ++ here=`pwd`; \
- ++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- ++ unique=`for i in $$list; do \
- ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- ++ done | \
- ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- ++ END { if (nonempty) { for (i in files) print i; }; }'`; \
- ++ shift; \
- ++ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- ++ test -n "$$unique" || unique=$$empty_fix; \
- ++ if test $$# -gt 0; then \
- ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- ++ "$$@" $$unique; \
- ++ else \
- ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- ++ $$unique; \
- ++ fi; \
- ++ fi
- +ctags: CTAGS
- -+CTAGS:
- ++CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- ++ $(TAGS_FILES) $(LISP)
- ++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- ++ unique=`for i in $$list; do \
- ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- ++ done | \
- ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- ++ END { if (nonempty) { for (i in files) print i; }; }'`; \
- ++ test -z "$(CTAGS_ARGS)$$unique" \
- ++ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- ++ $$unique
- ++
- ++GTAGS:
- ++ here=`$(am__cd) $(top_builddir) && pwd` \
- ++ && $(am__cd) $(top_srcdir) \
- ++ && gtags -i $(GTAGS_ARGS) "$$here"
- +
- ++distclean-tags:
- ++ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- +
- +distdir: $(DISTFILES)
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- @@ -15397,9 +14610,9 @@
- + done
- +check-am: all-am
- +check: check-am
- -+all-am: Makefile $(DATA)
- ++all-am: Makefile $(LTLIBRARIES)
- +installdirs:
- -+ for dir in "$(DESTDIR)$(themedir)"; do \
- ++ for dir in "$(DESTDIR)$(plugindir)"; do \
- + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- + done
- +install: install-am
- @@ -15430,11 +14643,14 @@
- + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
- +clean: clean-am
- +
- -+clean-am: clean-generic clean-libtool mostlyclean-am
- ++clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \
- ++ mostlyclean-am
- +
- +distclean: distclean-am
- ++ -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- -+distclean-am: clean-am distclean-generic
- ++distclean-am: clean-am distclean-compile distclean-generic \
- ++ distclean-tags
- +
- +dvi: dvi-am
- +
- @@ -15448,7 +14664,7 @@
- +
- +info-am:
- +
- -+install-data-am: install-dist_themeDATA
- ++install-data-am: install-pluginLTLIBRARIES
- +
- +install-dvi: install-dvi-am
- +
- @@ -15477,12 +14693,14 @@
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-am
- ++ -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-am
- +
- -+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
- ++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
- ++ mostlyclean-libtool
- +
- +pdf: pdf-am
- +
- @@ -15492,43 +14710,103 @@
- +
- +ps-am:
- +
- -+uninstall-am: uninstall-dist_themeDATA
- ++uninstall-am: uninstall-pluginLTLIBRARIES
- +
- +.MAKE: install-am install-strip
- +
- -+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
- -+ distclean distclean-generic distclean-libtool distdir dvi \
- -+ dvi-am html html-am info info-am install install-am \
- -+ install-data install-data-am install-dist_themeDATA \
- -+ install-dvi install-dvi-am install-exec install-exec-am \
- -+ install-html install-html-am install-info install-info-am \
- -+ install-man install-pdf install-pdf-am install-ps \
- -+ install-ps-am install-strip installcheck installcheck-am \
- -+ installdirs maintainer-clean maintainer-clean-generic \
- -+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
- -+ ps ps-am uninstall uninstall-am uninstall-dist_themeDATA
- ++.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- ++ clean-libtool clean-pluginLTLIBRARIES ctags distclean \
- ++ distclean-compile distclean-generic distclean-libtool \
- ++ distclean-tags distdir dvi dvi-am html html-am info info-am \
- ++ install install-am install-data install-data-am install-dvi \
- ++ install-dvi-am install-exec install-exec-am install-html \
- ++ install-html-am install-info install-info-am install-man \
- ++ install-pdf install-pdf-am install-pluginLTLIBRARIES \
- ++ install-ps install-ps-am install-strip installcheck \
- ++ installcheck-am installdirs maintainer-clean \
- ++ maintainer-clean-generic mostlyclean mostlyclean-compile \
- ++ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- ++ tags uninstall uninstall-am uninstall-pluginLTLIBRARIES
- +
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- ---- /dev/null
- -+++ plymouth-0.8.2/themes/ubuntu-text/Makefile.am
- -@@ -0,0 +1,4 @@
- -+themedir = $(datadir)/plymouth/themes/ubuntu-text
- -+dist_theme_DATA = ubuntu-text.plymouth
- +--- plymouth-0.8.2.orig/src/plugins/splash/script/plugin.c
- ++++ plymouth-0.8.2/src/plugins/splash/script/plugin.c
- +@@ -418,6 +418,8 @@ static void
- + become_idle (ply_boot_splash_plugin_t *plugin,
- + ply_trigger_t *idle_trigger)
- + {
- ++ stop_animation (plugin);
- +
- -+MAINTAINERCLEANFILES = Makefile.in
- ---- /dev/null
- -+++ plymouth-0.8.2/themes/ubuntu-text/ubuntu-text.plymouth
- -@@ -0,0 +1,4 @@
- -+[Plymouth Theme]
- -+Name=Ubuntu Text
- -+Description=Text mode theme based on ubuntu-logo theme
- -+ModuleName=ubuntu-text
- ---- plymouth-0.8.2.orig/themes/details/Makefile.in
- -+++ plymouth-0.8.2/themes/details/Makefile.in
- -@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + ply_trigger_pull (idle_trigger, NULL);
- + }
- +
- +--- plymouth-0.8.2.orig/src/plugins/splash/script/script-lib-sprite.c
- ++++ plymouth-0.8.2/src/plugins/splash/script/script-lib-sprite.c
- +@@ -399,6 +399,45 @@ static script_return_t sprite_window_set
- + return script_return_obj_null ();
- + }
- +
- ++static script_return_t sprite_window_get_bits_per_pixel (script_state_t *state,
- ++ void *user_data)
- ++{
- ++ script_lib_sprite_data_t *data = user_data;
- ++ ply_list_node_t *node;
- ++ int index;
- ++ script_obj_t *index_obj;
- ++ script_lib_display_t *display;
- ++ unsigned int bits_per_pixel;
- ++
- ++ index_obj = script_obj_hash_peek_element (state->local, "window");
- ++
- ++ if (index_obj)
- ++ {
- ++ index = script_obj_as_number (index_obj);
- ++ script_obj_unref(index_obj);
- ++ if (index < 0)
- ++ return script_return_obj_null ();
- ++ node = ply_list_get_nth_node (data->displays, index);
- ++ if (node == NULL)
- ++ return script_return_obj_null ();
- ++ display = ply_list_node_get_data (node);
- ++ bits_per_pixel = ply_pixel_display_get_bits_per_pixel (display->pixel_display);
- ++ return script_return_obj (script_obj_new_number (bits_per_pixel));
- ++ }
- ++
- ++ bits_per_pixel = 0;
- ++ for (node = ply_list_get_first_node (data->displays);
- ++ node;
- ++ node = ply_list_get_next_node (data->displays, node))
- ++ {
- ++ display = ply_list_node_get_data (node);
- ++ bits_per_pixel = ply_pixel_display_get_bits_per_pixel (display->pixel_display);
- ++ if (bits_per_pixel)
- ++ break;
- ++ }
- ++ return script_return_obj (script_obj_new_number (bits_per_pixel));
- ++}
- ++
- + static uint32_t extract_rgb_color (script_state_t *state)
- + {
- + uint8_t red = CLAMP (255 * script_obj_hash_get_number (state->local, "red"), 0, 255);
- +@@ -651,6 +690,12 @@ script_lib_sprite_data_t *script_lib_spr
- + "value",
- + NULL);
- + script_add_native_function (window_hash,
- ++ "GetBitsPerPixel",
- ++ sprite_window_get_bits_per_pixel,
- ++ data,
- ++ "window",
- ++ NULL);
- ++ script_add_native_function (window_hash,
- + "SetBackgroundTopColor",
- + sprite_window_set_background_top_color,
- + data,
- +--- plymouth-0.8.2.orig/src/plugins/splash/script/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/splash/script/Makefile.in
- +@@ -179,6 +179,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- PACKAGE_NAME = @PACKAGE_NAME@
- PACKAGE_STRING = @PACKAGE_STRING@
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
- @@ -15536,9 +14814,20 @@
- PACKAGE_VERSION = @PACKAGE_VERSION@
- PANGO_CFLAGS = @PANGO_CFLAGS@
- PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/themes/spinfinity/Makefile.in
- -+++ plymouth-0.8.2/themes/spinfinity/Makefile.in
- -@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +--- plymouth-0.8.2.orig/src/plugins/splash/script/script-lib-image.c
- ++++ plymouth-0.8.2/src/plugins/splash/script/script-lib-image.c
- +@@ -171,7 +171,7 @@ static script_return_t image_text (scrip
- +
- + alpha_obj = script_obj_hash_peek_element (state->local, "alpha");
- +
- +- if (alpha_obj)
- ++ if (alpha_obj && !script_obj_is_null(alpha_obj))
- + {
- + alpha = CLAMP(script_obj_as_number (alpha_obj), 0, 1);
- + script_obj_unref(alpha_obj);
- +--- plymouth-0.8.2.orig/src/plugins/splash/fade-throbber/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/splash/fade-throbber/Makefile.in
- +@@ -174,6 +174,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- PACKAGE_NAME = @PACKAGE_NAME@
- PACKAGE_STRING = @PACKAGE_STRING@
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
- @@ -15546,9 +14835,23 @@
- PACKAGE_VERSION = @PACKAGE_VERSION@
- PANGO_CFLAGS = @PANGO_CFLAGS@
- PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/themes/fade-in/Makefile.in
- -+++ plymouth-0.8.2/themes/fade-in/Makefile.in
- -@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +--- plymouth-0.8.2.orig/src/plugins/splash/details/plugin.c
- ++++ plymouth-0.8.2/src/plugins/splash/details/plugin.c
- +@@ -203,7 +203,10 @@ add_text_display (ply_boot_splash_plugin
- +
- + terminal = ply_text_display_get_terminal (view->display);
- + if (ply_terminal_open (terminal))
- +- ply_terminal_activate_vt (terminal);
- ++ {
- ++ ply_terminal_set_mode (terminal, PLY_TERMINAL_MODE_TEXT);
- ++ ply_terminal_activate_vt (terminal);
- ++ }
- +
- + ply_list_append_data (plugin->views, view);
- + }
- +--- plymouth-0.8.2.orig/src/plugins/splash/details/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/splash/details/Makefile.in
- +@@ -172,6 +172,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- PACKAGE_NAME = @PACKAGE_NAME@
- PACKAGE_STRING = @PACKAGE_STRING@
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
- @@ -15556,9 +14859,102 @@
- PACKAGE_VERSION = @PACKAGE_VERSION@
- PANGO_CFLAGS = @PANGO_CFLAGS@
- PANGO_LIBS = @PANGO_LIBS@
- ---- plymouth-0.8.2.orig/themes/text/Makefile.in
- -+++ plymouth-0.8.2/themes/text/Makefile.in
- -@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +--- plymouth-0.8.2.orig/src/plugins/splash/two-step/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/splash/two-step/Makefile.in
- +@@ -173,6 +173,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/plugins/controls/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/controls/Makefile.in
- +@@ -154,6 +154,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/plugins/controls/label/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/controls/label/Makefile.in
- +@@ -173,6 +173,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/plugins/renderers/Makefile.am
- ++++ plymouth-0.8.2/src/plugins/renderers/Makefile.am
- +@@ -1,2 +1,5 @@
- + SUBDIRS = frame-buffer drm x11
- ++if BUILD_VGA16FB
- ++SUBDIRS += vga16fb
- ++endif
- + MAINTAINERCLEANFILES = Makefile.in
- +--- plymouth-0.8.2.orig/src/plugins/renderers/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/renderers/Makefile.in
- +@@ -33,6 +33,7 @@ PRE_UNINSTALL = :
- + POST_UNINSTALL = :
- + build_triplet = @build@
- + host_triplet = @host@
- ++@BUILD_VGA16FB_TRUE@am__append_1 = vga16fb
- + subdir = src/plugins/renderers
- + DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +@@ -66,7 +67,7 @@ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGE
- + distdir
- + ETAGS = etags
- + CTAGS = ctags
- +-DIST_SUBDIRS = $(SUBDIRS)
- ++DIST_SUBDIRS = frame-buffer drm x11 vga16fb
- + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- + am__relativize = \
- + dir0=`pwd`; \
- +@@ -154,6 +155,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +@@ -233,7 +235,7 @@ target_alias = @target_alias@
- + top_build_prefix = @top_build_prefix@
- + top_builddir = @top_builddir@
- + top_srcdir = @top_srcdir@
- +-SUBDIRS = frame-buffer drm x11
- ++SUBDIRS = frame-buffer drm x11 $(am__append_1)
- + MAINTAINERCLEANFILES = Makefile.in
- + all: all-recursive
- +
- +--- plymouth-0.8.2.orig/src/plugins/renderers/drm/plugin.c
- ++++ plymouth-0.8.2/src/plugins/renderers/drm/plugin.c
- +@@ -454,10 +454,15 @@ load_driver (ply_renderer_backend_t *bac
- + backend->driver_interface = ply_renderer_radeon_driver_get_interface ();
- + backend->driver_supports_mapping_console = false;
- + }
- +- else if (strcmp (driver_name, "nouveau") == 0)
- ++ else if (strcmp (driver_name, "nouveau") == 0
- ++ || strcmp (driver_name, "lbm-nouveau") == 0)
- + {
- ++#ifdef GDM_HANGING_IS_FINE_WITH_ME
- + backend->driver_interface = ply_renderer_nouveau_driver_get_interface ();
- + backend->driver_supports_mapping_console = false;
- ++#else
- ++ ply_trace("falling back to framebuffer for nouveau to avoid DRM hang");
- ++#endif
- + }
- + free (driver_name);
- +
- +--- plymouth-0.8.2.orig/src/plugins/renderers/drm/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/renderers/drm/Makefile.in
- +@@ -175,6 +175,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- PACKAGE_NAME = @PACKAGE_NAME@
- PACKAGE_STRING = @PACKAGE_STRING@
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
- @@ -15566,1584 +14962,1708 @@
- PACKAGE_VERSION = @PACKAGE_VERSION@
- PANGO_CFLAGS = @PANGO_CFLAGS@
- PANGO_LIBS = @PANGO_LIBS@
- ---- /dev/null
- -+++ plymouth-0.8.2/themes/ubuntu-logo/Makefile.in
- -@@ -0,0 +1,475 @@
- -+# Makefile.in generated by automake 1.11.1 from Makefile.am.
- -+# @configure_input@
- -+
- -+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- -+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
- -+# Inc.
- -+# This Makefile.in is free software; the Free Software Foundation
- -+# gives unlimited permission to copy and/or distribute it,
- -+# with or without modifications, as long as this notice is preserved.
- -+
- -+# This program is distributed in the hope that it will be useful,
- -+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- -+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- -+# PARTICULAR PURPOSE.
- -+
- -+@SET_MAKE@
- -+
- -+VPATH = @srcdir@
- -+pkgdatadir = $(datadir)/@PACKAGE@
- -+pkgincludedir = $(includedir)/@PACKAGE@
- -+pkglibdir = $(libdir)/@PACKAGE@
- -+pkglibexecdir = $(libexecdir)/@PACKAGE@
- -+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- -+install_sh_DATA = $(install_sh) -c -m 644
- -+install_sh_PROGRAM = $(install_sh) -c
- -+install_sh_SCRIPT = $(install_sh) -c
- -+INSTALL_HEADER = $(INSTALL_DATA)
- -+transform = $(program_transform_name)
- -+NORMAL_INSTALL = :
- -+PRE_INSTALL = :
- -+POST_INSTALL = :
- -+NORMAL_UNINSTALL = :
- -+PRE_UNINSTALL = :
- -+POST_UNINSTALL = :
- -+build_triplet = @build@
- -+host_triplet = @host@
- -+subdir = themes/ubuntu-logo
- -+DIST_COMMON = $(dist_theme_DATA) $(srcdir)/Makefile.am \
- -+ $(srcdir)/Makefile.in
- -+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- -+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- -+ $(top_srcdir)/configure.ac
- -+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- -+ $(ACLOCAL_M4)
- -+mkinstalldirs = $(install_sh) -d
- -+CONFIG_HEADER = $(top_builddir)/config.h
- -+CONFIG_CLEAN_FILES =
- -+CONFIG_CLEAN_VPATH_FILES =
- -+AM_V_GEN = $(am__v_GEN_$(V))
- -+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
- -+am__v_GEN_0 = @echo " GEN " $@;
- -+AM_V_at = $(am__v_at_$(V))
- -+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
- -+am__v_at_0 = @
- -+SOURCES =
- -+DIST_SOURCES =
- -+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
- -+am__vpath_adj = case $$p in \
- -+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- -+ *) f=$$p;; \
- -+ esac;
- -+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
- -+am__install_max = 40
- -+am__nobase_strip_setup = \
- -+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
- -+am__nobase_strip = \
- -+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
- -+am__nobase_list = $(am__nobase_strip_setup); \
- -+ for p in $$list; do echo "$$p $$p"; done | \
- -+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
- -+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
- -+ if (++n[$$2] == $(am__install_max)) \
- -+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
- -+ END { for (dir in files) print dir, files[dir] }'
- -+am__base_list = \
- -+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- -+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
- -+am__installdirs = "$(DESTDIR)$(themedir)" "$(DESTDIR)$(themedir)"
- -+DATA = $(dist_theme_DATA) $(nodist_theme_DATA)
- -+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- -+ACLOCAL = @ACLOCAL@
- -+AMTAR = @AMTAR@
- -+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- -+AR = @AR@
- -+AUTOCONF = @AUTOCONF@
- -+AUTOHEADER = @AUTOHEADER@
- -+AUTOMAKE = @AUTOMAKE@
- -+AWK = @AWK@
- -+CC = @CC@
- -+CCDEPMODE = @CCDEPMODE@
- -+CFLAGS = @CFLAGS@
- -+CPP = @CPP@
- -+CPPFLAGS = @CPPFLAGS@
- -+CYGPATH_W = @CYGPATH_W@
- -+DEFS = @DEFS@
- -+DEPDIR = @DEPDIR@
- -+DRM_CFLAGS = @DRM_CFLAGS@
- -+DRM_LIBS = @DRM_LIBS@
- -+DSYMUTIL = @DSYMUTIL@
- -+DUMPBIN = @DUMPBIN@
- -+ECHO_C = @ECHO_C@
- -+ECHO_N = @ECHO_N@
- -+ECHO_T = @ECHO_T@
- -+EGREP = @EGREP@
- -+EXEEXT = @EXEEXT@
- -+FGREP = @FGREP@
- -+GREP = @GREP@
- -+GTK_CFLAGS = @GTK_CFLAGS@
- -+GTK_LIBS = @GTK_LIBS@
- -+IMAGE_CFLAGS = @IMAGE_CFLAGS@
- -+IMAGE_LIBS = @IMAGE_LIBS@
- -+INSTALL = @INSTALL@
- -+INSTALL_DATA = @INSTALL_DATA@
- -+INSTALL_PROGRAM = @INSTALL_PROGRAM@
- -+INSTALL_SCRIPT = @INSTALL_SCRIPT@
- -+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- -+LD = @LD@
- -+LDFLAGS = @LDFLAGS@
- -+LIBOBJS = @LIBOBJS@
- -+LIBS = @LIBS@
- -+LIBTOOL = @LIBTOOL@
- -+LIPO = @LIPO@
- -+LN_S = @LN_S@
- -+LTLIBOBJS = @LTLIBOBJS@
- -+LT_AGE = @LT_AGE@
- -+LT_CURRENT = @LT_CURRENT@
- -+LT_REVISION = @LT_REVISION@
- -+MAINT = @MAINT@
- -+MAKEINFO = @MAKEINFO@
- -+MKDIR_P = @MKDIR_P@
- -+NM = @NM@
- -+NMEDIT = @NMEDIT@
- -+OBJDUMP = @OBJDUMP@
- -+OBJEXT = @OBJEXT@
- -+OTOOL = @OTOOL@
- -+OTOOL64 = @OTOOL64@
- -+PACKAGE = @PACKAGE@
- -+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- -+PACKAGE_NAME = @PACKAGE_NAME@
- -+PACKAGE_STRING = @PACKAGE_STRING@
- -+PACKAGE_TARNAME = @PACKAGE_TARNAME@
- -+PACKAGE_URL = @PACKAGE_URL@
- -+PACKAGE_VERSION = @PACKAGE_VERSION@
- -+PANGO_CFLAGS = @PANGO_CFLAGS@
- -+PANGO_LIBS = @PANGO_LIBS@
- -+PATH_SEPARATOR = @PATH_SEPARATOR@
- -+PKG_CONFIG = @PKG_CONFIG@
- -+PLYMOUTH_CFLAGS = @PLYMOUTH_CFLAGS@
- -+PLYMOUTH_CONF_DIR = @PLYMOUTH_CONF_DIR@
- -+PLYMOUTH_DATADIR = @PLYMOUTH_DATADIR@
- -+PLYMOUTH_LIBDIR = @PLYMOUTH_LIBDIR@
- -+PLYMOUTH_LIBEXECDIR = @PLYMOUTH_LIBEXECDIR@
- -+PLYMOUTH_LIBS = @PLYMOUTH_LIBS@
- -+PLYMOUTH_PLUGIN_PATH = @PLYMOUTH_PLUGIN_PATH@
- -+PLYMOUTH_POLICY_DIR = @PLYMOUTH_POLICY_DIR@
- -+PLYMOUTH_THEME_PATH = @PLYMOUTH_THEME_PATH@
- -+RANLIB = @RANLIB@
- -+RELEASE_FILE = @RELEASE_FILE@
- -+SED = @SED@
- -+SET_MAKE = @SET_MAKE@
- -+SHELL = @SHELL@
- -+STRIP = @STRIP@
- -+VERSION = @VERSION@
- -+abs_builddir = @abs_builddir@
- -+abs_srcdir = @abs_srcdir@
- -+abs_top_builddir = @abs_top_builddir@
- -+abs_top_srcdir = @abs_top_srcdir@
- -+ac_ct_CC = @ac_ct_CC@
- -+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
- -+am__include = @am__include@
- -+am__leading_dot = @am__leading_dot@
- -+am__quote = @am__quote@
- -+am__tar = @am__tar@
- -+am__untar = @am__untar@
- -+background_color = @background_color@
- -+background_end_color = @background_end_color@
- -+background_start_color = @background_start_color@
- -+bindir = @bindir@
- -+build = @build@
- -+build_alias = @build_alias@
- -+build_cpu = @build_cpu@
- -+build_os = @build_os@
- -+build_vendor = @build_vendor@
- -+builddir = @builddir@
- -+datadir = @datadir@
- -+datarootdir = @datarootdir@
- -+docdir = @docdir@
- -+dvidir = @dvidir@
- -+exec_prefix = @exec_prefix@
- -+host = @host@
- -+host_alias = @host_alias@
- -+host_cpu = @host_cpu@
- -+host_os = @host_os@
- -+host_vendor = @host_vendor@
- -+htmldir = @htmldir@
- -+includedir = @includedir@
- -+infodir = @infodir@
- -+install_sh = @install_sh@
- -+libdir = @libdir@
- -+libexecdir = @libexecdir@
- -+localedir = @localedir@
- -+localstatedir = @localstatedir@
- -+logofile = @logofile@
- -+lt_ECHO = @lt_ECHO@
- -+mandir = @mandir@
- -+mkdir_p = @mkdir_p@
- -+oldincludedir = @oldincludedir@
- -+pdfdir = @pdfdir@
- -+plymouthclientdir = @plymouthclientdir@
- -+plymouthdaemondir = @plymouthdaemondir@
- -+prefix = @prefix@
- -+program_transform_name = @program_transform_name@
- -+psdir = @psdir@
- -+sbindir = @sbindir@
- -+sharedstatedir = @sharedstatedir@
- -+srcdir = @srcdir@
- -+sysconfdir = @sysconfdir@
- -+target_alias = @target_alias@
- -+top_build_prefix = @top_build_prefix@
- -+top_builddir = @top_builddir@
- -+top_srcdir = @top_srcdir@
- -+themedir = $(datadir)/plymouth/themes/ubuntu-logo
- -+nodist_theme_DATA = ubuntu-logo.plymouth
- -+dist_theme_DATA = ubuntu-logo.script \
- -+ ubuntu_logo.png \
- -+ ubuntu_logo16.png \
- -+ password_field.png \
- -+ password_field16.png \
- -+ progress_dot_off.png \
- -+ progress_dot_off16.png \
- -+ progress_dot_on.png \
- -+ progress_dot_on16.png
- -+
- -+MAINTAINERCLEANFILES = Makefile.in ubuntu-logo.plymouth
- -+CLEANFILES = ubuntu-logo.plymouth
- -+EXTRA_DIST = ubuntu-logo.plymouth.in
- -+all: all-am
- +--- plymouth-0.8.2.orig/src/plugins/renderers/x11/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/renderers/x11/Makefile.in
- +@@ -172,6 +172,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/plugins/renderers/frame-buffer/plugin.c
- ++++ plymouth-0.8.2/src/plugins/renderers/frame-buffer/plugin.c
- +@@ -56,7 +56,7 @@
- + #include "ply-renderer-plugin.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_renderer_head
- +@@ -646,6 +646,16 @@ get_buffer_for_head (ply_renderer_backen
- + return backend->head.pixel_buffer;
- + }
- +
- ++static unsigned int
- ++get_bits_per_pixel_for_head (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head)
- ++{
- ++ if (head != &backend->head)
- ++ return 0;
- +
- -+.SUFFIXES:
- -+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- -+ @for dep in $?; do \
- -+ case '$(am__configure_deps)' in \
- -+ *$$dep*) \
- -+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- -+ && { if test -f $@; then exit 0; else break; fi; }; \
- -+ exit 1;; \
- -+ esac; \
- -+ done; \
- -+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu themes/ubuntu-logo/Makefile'; \
- -+ $(am__cd) $(top_srcdir) && \
- -+ $(AUTOMAKE) --gnu themes/ubuntu-logo/Makefile
- -+.PRECIOUS: Makefile
- -+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- -+ @case '$?' in \
- -+ *config.status*) \
- -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- -+ *) \
- -+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- -+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- -+ esac;
- ++ return backend->bytes_per_pixel * 8;
- ++}
- +
- -+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- + static bool
- + has_input_source (ply_renderer_backend_t *backend,
- + ply_renderer_input_source_t *input_source)
- +@@ -739,6 +749,7 @@ ply_renderer_backend_get_interface (void
- + .flush_head = flush_head,
- + .get_heads = get_heads,
- + .get_buffer_for_head = get_buffer_for_head,
- ++ .get_bits_per_pixel_for_head = get_bits_per_pixel_for_head,
- + .get_input_source = get_input_source,
- + .open_input_source = open_input_source,
- + .set_handler_for_input_source = set_handler_for_input_source,
- +--- plymouth-0.8.2.orig/src/plugins/renderers/frame-buffer/Makefile.in
- ++++ plymouth-0.8.2/src/plugins/renderers/frame-buffer/Makefile.in
- +@@ -173,6 +173,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- /dev/null
- ++++ plymouth-0.8.2/src/plugins/renderers/vga16fb/plugin.c
- +@@ -0,0 +1,696 @@
- ++/* plugin.c - vga16fb renderer plugin
- ++ *
- ++ * Copyright (C) 2010 Canonical Ltd.
- ++ * 2006-2009 Red Hat, Inc.
- ++ * 2008 Charlie Brej <cbrej@cs.man.ac.uk>
- ++ *
- ++ * 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 2, 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, write to the Free Software
- ++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- ++ * 02111-1307, USA.
- ++ *
- ++ * Written by: Scott James Remnant <scott@ubuntu.com>
- ++ * Charlie Brej <cbrej@cs.man.ac.uk>
- ++ * Kristian Høgsberg <krh@redhat.com>
- ++ * Peter Jones <pjones@redhat.com>
- ++ * Ray Strode <rstrode@redhat.com>
- ++ */
- ++#include "config.h"
- +
- -+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- -+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- -+$(am__aclocal_m4_deps):
- ++#include <arpa/inet.h>
- ++#include <assert.h>
- ++#include <errno.h>
- ++#include <fcntl.h>
- ++#include <signal.h>
- ++#include <string.h>
- ++#include <stdbool.h>
- ++#include <stdint.h>
- ++#include <stdio.h>
- ++#include <stdlib.h>
- ++#include <sys/ioctl.h>
- ++#include <sys/mman.h>
- ++#include <sys/stat.h>
- ++#include <sys/types.h>
- ++#include <values.h>
- ++#include <unistd.h>
- ++#include <sys/io.h>
- +
- -+mostlyclean-libtool:
- -+ -rm -f *.lo
- ++#include <linux/fb.h>
- +
- -+clean-libtool:
- -+ -rm -rf .libs _libs
- -+install-dist_themeDATA: $(dist_theme_DATA)
- -+ @$(NORMAL_INSTALL)
- -+ test -z "$(themedir)" || $(MKDIR_P) "$(DESTDIR)$(themedir)"
- -+ @list='$(dist_theme_DATA)'; test -n "$(themedir)" || list=; \
- -+ for p in $$list; do \
- -+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- -+ echo "$$d$$p"; \
- -+ done | $(am__base_list) | \
- -+ while read files; do \
- -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themedir)'"; \
- -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(themedir)" || exit $$?; \
- -+ done
- ++#include "ply-buffer.h"
- ++#include "ply-event-loop.h"
- ++#include "ply-list.h"
- ++#include "ply-logger.h"
- ++#include "ply-rectangle.h"
- ++#include "ply-region.h"
- ++#include "ply-terminal.h"
- +
- -+uninstall-dist_themeDATA:
- -+ @$(NORMAL_UNINSTALL)
- -+ @list='$(dist_theme_DATA)'; test -n "$(themedir)" || list=; \
- -+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- -+ test -n "$$files" || exit 0; \
- -+ echo " ( cd '$(DESTDIR)$(themedir)' && rm -f" $$files ")"; \
- -+ cd "$(DESTDIR)$(themedir)" && rm -f $$files
- -+install-nodist_themeDATA: $(nodist_theme_DATA)
- -+ @$(NORMAL_INSTALL)
- -+ test -z "$(themedir)" || $(MKDIR_P) "$(DESTDIR)$(themedir)"
- -+ @list='$(nodist_theme_DATA)'; test -n "$(themedir)" || list=; \
- -+ for p in $$list; do \
- -+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- -+ echo "$$d$$p"; \
- -+ done | $(am__base_list) | \
- -+ while read files; do \
- -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themedir)'"; \
- -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(themedir)" || exit $$?; \
- -+ done
- ++#include "ply-renderer.h"
- ++#include "ply-renderer-plugin.h"
- +
- -+uninstall-nodist_themeDATA:
- -+ @$(NORMAL_UNINSTALL)
- -+ @list='$(nodist_theme_DATA)'; test -n "$(themedir)" || list=; \
- -+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- -+ test -n "$$files" || exit 0; \
- -+ echo " ( cd '$(DESTDIR)$(themedir)' && rm -f" $$files ")"; \
- -+ cd "$(DESTDIR)$(themedir)" && rm -f $$files
- -+tags: TAGS
- -+TAGS:
- ++#include "vga.h"
- +
- -+ctags: CTAGS
- -+CTAGS:
- ++#ifndef PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME
- ++#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb0"
- ++#endif
- +
- ++struct _ply_renderer_head
- ++{
- ++ ply_pixel_buffer_t *pixel_buffer;
- ++ ply_rectangle_t area;
- ++ char *map_address;
- ++ size_t size;
- +
- -+distdir: $(DISTFILES)
- -+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- -+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- -+ list='$(DISTFILES)'; \
- -+ dist_files=`for file in $$list; do echo $$file; done | \
- -+ sed -e "s|^$$srcdirstrip/||;t" \
- -+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- -+ case $$dist_files in \
- -+ */*) $(MKDIR_P) `echo "$$dist_files" | \
- -+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- -+ sort -u` ;; \
- -+ esac; \
- -+ for file in $$dist_files; do \
- -+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- -+ if test -d $$d/$$file; then \
- -+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- -+ if test -d "$(distdir)/$$file"; then \
- -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- -+ fi; \
- -+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- -+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- -+ fi; \
- -+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- -+ else \
- -+ test -f "$(distdir)/$$file" \
- -+ || cp -p $$d/$$file "$(distdir)/$$file" \
- -+ || exit 1; \
- -+ fi; \
- -+ done
- -+check-am: all-am
- -+check: check-am
- -+all-am: Makefile $(DATA)
- -+installdirs:
- -+ for dir in "$(DESTDIR)$(themedir)" "$(DESTDIR)$(themedir)"; do \
- -+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- -+ done
- -+install: install-am
- -+install-exec: install-exec-am
- -+install-data: install-data-am
- -+uninstall: uninstall-am
- ++ uint16_t red[16];
- ++ uint16_t green[16];
- ++ uint16_t blue[16];
- ++ uint32_t palette_size;
- ++ bool palette_overflow;
- ++};
- +
- -+install-am: all-am
- -+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- ++struct _ply_renderer_input_source
- ++{
- ++ ply_renderer_backend_t *backend;
- ++ ply_fd_watch_t *terminal_input_watch;
- +
- -+installcheck: installcheck-am
- -+install-strip:
- -+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- -+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- -+ `test -z '$(STRIP)' || \
- -+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
- -+mostlyclean-generic:
- ++ ply_buffer_t *key_buffer;
- +
- -+clean-generic:
- -+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
- ++ ply_renderer_input_source_handler_t handler;
- ++ void *user_data;
- ++};
- +
- -+distclean-generic:
- -+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- ++struct _ply_renderer_backend
- ++{
- ++ ply_event_loop_t *loop;
- ++ ply_terminal_t *terminal;
- +
- -+maintainer-clean-generic:
- -+ @echo "This command is intended for maintainers to use"
- -+ @echo "it deletes files that may require special tools to rebuild."
- -+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
- -+clean: clean-am
- ++ char *device_name;
- ++ int device_fd;
- +
- -+clean-am: clean-generic clean-libtool mostlyclean-am
- ++ ply_renderer_input_source_t input_source;
- ++ ply_renderer_head_t head;
- ++ ply_list_t *heads;
- +
- -+distclean: distclean-am
- -+ -rm -f Makefile
- -+distclean-am: clean-am distclean-generic
- ++ unsigned int row_stride;
- ++ unsigned int bits_per_pixel;
- +
- -+dvi: dvi-am
- ++ uint32_t is_active : 1;
- ++};
- +
- -+dvi-am:
- ++ply_renderer_plugin_interface_t *ply_renderer_backend_get_interface (void);
- ++static void ply_renderer_head_redraw (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head);
- ++static bool open_input_source (ply_renderer_backend_t *backend,
- ++ ply_renderer_input_source_t *input_source);
- +
- -+html: html-am
- ++static ply_renderer_backend_t *
- ++create_backend (const char *device_name,
- ++ ply_terminal_t *terminal)
- ++{
- ++ ply_renderer_backend_t *backend;
- +
- -+html-am:
- ++ backend = calloc (1, sizeof (ply_renderer_backend_t));
- +
- -+info: info-am
- ++ if (device_name != NULL)
- ++ backend->device_name = strdup (device_name);
- ++ else if (getenv ("FRAMEBUFFER") != NULL)
- ++ backend->device_name = strdup (getenv ("FRAMEBUFFER"));
- ++ else
- ++ backend->device_name =
- ++ strdup (PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME);
- +
- -+info-am:
- ++ backend->loop = ply_event_loop_get_default ();
- ++ backend->head.map_address = MAP_FAILED;
- ++ backend->heads = ply_list_new ();
- ++ backend->input_source.key_buffer = ply_buffer_new ();
- ++ backend->terminal = terminal;
- +
- -+install-data-am: install-dist_themeDATA install-nodist_themeDATA
- ++ return backend;
- ++}
- +
- -+install-dvi: install-dvi-am
- ++static void
- ++initialize_head (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head)
- ++{
- ++ head->pixel_buffer = ply_pixel_buffer_new (head->area.width,
- ++ head->area.height);
- ++ ply_pixel_buffer_fill_with_color (backend->head.pixel_buffer, NULL,
- ++ 0.0, 0.0, 0.0, 1.0);
- +
- -+install-dvi-am:
- ++ memset (head->red, 0, sizeof head->red);
- ++ memset (head->green, 0, sizeof head->green);
- ++ memset (head->blue, 0, sizeof head->blue);
- +
- -+install-exec-am:
- ++ head->palette_size = 0;
- ++ head->palette_overflow = false;
- +
- -+install-html: install-html-am
- ++ ply_list_append_data (backend->heads, head);
- ++}
- +
- -+install-html-am:
- ++static void
- ++uninitialize_head (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head)
- ++{
- ++ if (head->pixel_buffer != NULL)
- ++ {
- ++ ply_pixel_buffer_free (head->pixel_buffer);
- ++ head->pixel_buffer = NULL;
- +
- -+install-info: install-info-am
- ++ ply_list_remove_data (backend->heads, head);
- ++ }
- ++}
- +
- -+install-info-am:
- ++static void
- ++destroy_backend (ply_renderer_backend_t *backend)
- ++{
- +
- -+install-man:
- ++ free (backend->device_name);
- ++ uninitialize_head (backend, &backend->head);
- +
- -+install-pdf: install-pdf-am
- ++ ply_list_free (backend->heads);
- +
- -+install-pdf-am:
- ++ free (backend);
- ++}
- +
- -+install-ps: install-ps-am
- ++static void
- ++set_palette (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head)
- ++{
- ++ struct fb_cmap cmap;
- +
- -+install-ps-am:
- ++ if (backend->device_fd < 0)
- ++ return;
- ++ if (!head->palette_size)
- ++ return;
- +
- -+installcheck-am:
- ++ cmap.start = 0;
- ++ cmap.len = head->palette_size;;
- ++ cmap.red = head->red;
- ++ cmap.green = head->green;
- ++ cmap.blue = head->blue;
- ++ cmap.transp = NULL;
- +
- -+maintainer-clean: maintainer-clean-am
- -+ -rm -f Makefile
- -+maintainer-clean-am: distclean-am maintainer-clean-generic
- ++ ioctl (backend->device_fd, FBIOPUTCMAP, &cmap);
- ++}
- +
- -+mostlyclean: mostlyclean-am
- ++static void
- ++activate (ply_renderer_backend_t *backend)
- ++{
- ++ backend->is_active = true;
- +
- -+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
- ++ if (backend->head.map_address != MAP_FAILED)
- ++ ply_renderer_head_redraw (backend, &backend->head);
- ++}
- +
- -+pdf: pdf-am
- ++static void
- ++deactivate (ply_renderer_backend_t *backend)
- ++{
- ++ backend->is_active = false;
- ++}
- +
- -+pdf-am:
- ++static void
- ++on_active_vt_changed (ply_renderer_backend_t *backend)
- ++{
- ++ if (ply_terminal_is_active (backend->terminal))
- ++ {
- ++ activate (backend);
- ++ }
- ++ else
- ++ {
- ++ deactivate (backend);
- ++ }
- ++}
- +
- -+ps: ps-am
- ++static bool
- ++open_device (ply_renderer_backend_t *backend)
- ++{
- ++ backend->device_fd = open (backend->device_name, O_RDWR);
- +
- -+ps-am:
- ++ if (backend->device_fd < 0)
- ++ {
- ++ ply_trace ("could not open '%s': %m", backend->device_name);
- ++ return false;
- ++ }
- +
- -+uninstall-am: uninstall-dist_themeDATA uninstall-nodist_themeDATA
- ++ if (!ply_terminal_open (backend->terminal))
- ++ {
- ++ ply_trace ("could not open terminal: %m");
- ++ return false;
- ++ }
- +
- -+.MAKE: install-am install-strip
- ++ if (!ply_terminal_is_vt (backend->terminal))
- ++ {
- ++ ply_trace ("terminal is not a VT");
- ++ ply_terminal_close (backend->terminal);
- ++ return false;
- ++ }
- +
- -+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
- -+ distclean distclean-generic distclean-libtool distdir dvi \
- -+ dvi-am html html-am info info-am install install-am \
- -+ install-data install-data-am install-dist_themeDATA \
- -+ install-dvi install-dvi-am install-exec install-exec-am \
- -+ install-html install-html-am install-info install-info-am \
- -+ install-man install-nodist_themeDATA install-pdf \
- -+ install-pdf-am install-ps install-ps-am install-strip \
- -+ installcheck installcheck-am installdirs maintainer-clean \
- -+ maintainer-clean-generic mostlyclean mostlyclean-generic \
- -+ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
- -+ uninstall-dist_themeDATA uninstall-nodist_themeDATA
- ++ ply_terminal_watch_for_active_vt_change (backend->terminal,
- ++ (ply_terminal_active_vt_changed_handler_t)
- ++ on_active_vt_changed,
- ++ backend);
- +
- ++ return true;
- ++}
- +
- -+ubuntu-logo.plymouth: $(srcdir)/ubuntu-logo.plymouth.in
- -+ sed -e 's,[@]PLYMOUTH_THEME_PATH[@],$(PLYMOUTH_THEME_PATH),g' \
- -+ $(srcdir)/ubuntu-logo.plymouth.in > ubuntu-logo.plymouth
- ++static void
- ++close_device (ply_renderer_backend_t *backend)
- ++{
- +
- -+# Tell versions [3.59,3.63) of GNU make to not export all variables.
- -+# Otherwise a system limit (for SysV at least) may be exceeded.
- -+.NOEXPORT:
- ---- /dev/null
- -+++ plymouth-0.8.2/themes/ubuntu-logo/ubuntu-logo.plymouth.in
- -@@ -0,0 +1,8 @@
- -+[Plymouth Theme]
- -+Name=Ubuntu Logo
- -+Description=A theme that features a blank background with a logo.
- -+ModuleName=script
- ++ ply_terminal_stop_watching_for_active_vt_change (backend->terminal,
- ++ (ply_terminal_active_vt_changed_handler_t)
- ++ on_active_vt_changed,
- ++ backend);
- ++ uninitialize_head (backend, &backend->head);
- +
- -+[script]
- -+ImageDir=@PLYMOUTH_THEME_PATH@/ubuntu-logo
- -+ScriptFile=@PLYMOUTH_THEME_PATH@/ubuntu-logo/ubuntu-logo.script
- ---- /dev/null
- -+++ plymouth-0.8.2/themes/ubuntu-logo/ubuntu-logo.script
- -@@ -0,0 +1,1058 @@
- -+# ubuntu-logo.script - boot splash plugin
- -+#
- -+# 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 2, 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, write to the Free Software
- -+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- -+# 02111-1307, USA.
- -+#
- -+# Written by: Alberto Milone <alberto.milone@canonical.com>
- -+#
- -+# Based on the example provided with the "script plugin" written by:
- -+# Charlie Brej <cbrej@cs.man.ac.uk>
- -+#
- ++ close (backend->device_fd);
- ++ backend->device_fd = -1;
- ++
- ++ backend->head.area.x = 0;
- ++ backend->head.area.y = 0;
- ++ backend->head.area.width = 0;
- ++ backend->head.area.height = 0;
- ++}
- +
- -+# Set the text colour in (rgb / 256)
- -+text_colour.red = 1.0;
- -+text_colour.green = 1.0;
- -+text_colour.blue = 1.0;
- ++static bool
- ++query_device (ply_renderer_backend_t *backend)
- ++{
- ++ struct fb_var_screeninfo variable_screen_info;
- ++ struct fb_fix_screeninfo fixed_screen_info;
- +
- -+# Tinted text #988592
- -+tinted_text_colour.red = 0.59;
- -+tinted_text_colour.green = 0.52;
- -+tinted_text_colour.blue = 0.57;
- ++ assert (backend != NULL);
- ++ assert (backend->device_fd >= 0);
- +
- -+# Action Text - #ffffff - RGB 255 255 255
- -+action_text_colour.red = 1.0;
- -+action_text_colour.green = 1.0;
- -+action_text_colour.blue = 1.0;
- ++ if (ioctl (backend->device_fd, FBIOGET_VSCREENINFO, &variable_screen_info) < 0)
- ++ return false;
- +
- -+# Orange - #ff4012 - RGB 255 64 18
- -+debugsprite = Sprite();
- -+debugsprite_bottom = Sprite();
- -+debugsprite_medium = Sprite();
- ++ if (ioctl (backend->device_fd, FBIOGET_FSCREENINFO, &fixed_screen_info) < 0)
- ++ return false;
- +
- -+# are we currently prompting for a password?
- -+prompt_active = 0;
- ++ /* We only support the vga16fb with its own kooky planar colour mode. */
- ++ if ((fixed_screen_info.type != FB_TYPE_VGA_PLANES)
- ++ || (fixed_screen_info.type_aux != FB_AUX_VGA_PLANES_VGA4)
- ++ || (fixed_screen_info.visual != FB_VISUAL_PSEUDOCOLOR)
- ++ || (variable_screen_info.bits_per_pixel != 4))
- ++ {
- ++ ply_trace ("Doesn't look like vga16fb\n");
- ++ return false;
- ++ }
- +
- -+# General purpose function to create text
- -+fun WriteText (text, colour) {
- -+ image = Image.Text (text, colour.red, colour.green, colour.blue);
- -+ return image;
- -+}
- ++ backend->head.area.x = variable_screen_info.xoffset;
- ++ backend->head.area.y = variable_screen_info.yoffset;
- ++ backend->head.area.width = variable_screen_info.xres;
- ++ backend->head.area.height = variable_screen_info.yres;
- +
- -+fun ImageToText (text) {
- -+ image = WriteText (text, text_colour);
- -+ return image;
- -+}
- ++ backend->row_stride = fixed_screen_info.line_length;
- ++ backend->bits_per_pixel = variable_screen_info.bits_per_pixel;
- ++ backend->head.size = backend->head.area.height * backend->row_stride;
- +
- -+fun ImageToTintedText (text) {
- -+ image = WriteText (text, tinted_text_colour);
- -+ return image;
- -+}
- ++ initialize_head (backend, &backend->head);
- +
- -+fun ImageToActionText (text) {
- -+ image = WriteText (text, action_text_colour);
- -+ return image;
- -+}
- ++ return true;
- +
- -+fun Debug(text) {
- -+ debugsprite.SetImage(ImageToText (text));
- +}
- +
- -+fun DebugBottom(text) {
- -+ debugsprite_bottom.SetImage(ImageToText (text));
- -+ debugsprite_bottom.SetPosition(0, (Window.GetHeight (0) - 20), 1);
- ++static bool
- ++map_to_device (ply_renderer_backend_t *backend)
- ++{
- ++ ply_renderer_head_t *head;
- ++
- ++ assert (backend != NULL);
- ++ assert (backend->device_fd >= 0);
- ++
- ++ head = &backend->head;
- ++ assert (head->size > 0);
- ++
- ++ if (ioperm (VGA_REGS_BASE, VGA_REGS_LEN, 1) < 0) {
- ++ ply_trace ("could not obtain permission to write to VGA regs: %m");
- ++ return false;
- ++ }
- ++
- ++ head->map_address = mmap (NULL, head->size, PROT_WRITE,
- ++ MAP_SHARED, backend->device_fd, 0);
- ++
- ++ if (head->map_address == MAP_FAILED) {
- ++ ply_trace ("could not map VGA memory: %m");
- ++ return false;
- ++ }
- ++
- ++ if (ply_terminal_is_active (backend->terminal))
- ++ activate (backend);
- ++ else
- ++ ply_terminal_activate_vt (backend->terminal);
- ++
- ++ return true;
- +}
- +
- -+fun DebugMedium(text) {
- -+ debugsprite_medium.SetImage(ImageToText (text));
- -+ debugsprite_medium.SetPosition(0, (Window.GetHeight (0) - 60), 1);
- ++static void
- ++unmap_from_device (ply_renderer_backend_t *backend)
- ++{
- ++ ply_renderer_head_t *head;
- ++
- ++ head = &backend->head;
- ++
- ++ if (head->map_address != MAP_FAILED)
- ++ {
- ++ munmap (head->map_address, head->size);
- ++ head->map_address = MAP_FAILED;
- ++ }
- +}
- +
- -+fun TextYOffset() {
- -+ local.y;
- -+ local.text_height;
- -+ local.min_height;
- ++static unsigned int
- ++argb32_pixel_value_to_color_index (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head,
- ++ uint32_t pixel_value)
- ++{
- ++ uint16_t red, green, blue;
- ++ unsigned int min_shift, max_shift, shift, index;
- +
- -+ # Put the 1st line below the logo + some spacing
- -+ y = logo.y + logo.height + (progress_indicator.bullet_height * 7 ); # + logo_spacing;
- ++ red = (pixel_value >> 16) & 0xff;
- ++ green = (pixel_value >> 8) & 0xff;
- ++ blue = pixel_value & 0xff;
- +
- -+ text_height = first_line_height * 7.5;
- ++ /* The 6 here is entirely arbitrary; that means we keep the top two bits
- ++ * of each colour when comparing against existing colors in the palette;
- ++ * in theory meaning a maximum of 64 -- that's still too many, so we
- ++ * then try again with 7 bits and a maximum of 8 -- in between those two
- ++ * is the 16 we actually have room for.
- ++ */
- ++ if (head->palette_overflow)
- ++ {
- ++ min_shift = 6;
- ++ max_shift = 8;
- ++ }
- ++ else
- ++ {
- ++ min_shift = 0;
- ++ max_shift = 1;
- ++ }
- +
- -+ min_height = Window.GetHeight();
- -+ if (y + text_height > min_height)
- -+ y = min_height - text_height;
- ++ for (shift = min_shift; shift < max_shift; shift++)
- ++ {
- ++ for (index = 0; index < head->palette_size; index++)
- ++ if ( ((head->red[index] >> (8 + shift)) == (red >> shift))
- ++ && ((head->green[index] >> (8 + shift)) == (green >> shift))
- ++ && ((head->blue[index] >> (8 + shift)) == (blue >> shift)))
- ++ return index;
- +
- -+ if (y < progress_indicator.y + progress_indicator.height)
- -+ return progress_indicator.y + progress_indicator.height;
- -+ return y;
- -+}
- ++ if (head->palette_size < 16)
- ++ {
- ++ index = head->palette_size++;
- +
- -+#------------------------------String functions-------------------------------
- ++ head->red[index] = red << 8;
- ++ head->green[index] = green << 8;
- ++ head->blue[index] = blue << 8;
- +
- -+# This is the equivalent for strstr()
- -+fun StringString(string, substring) {
- -+ start = 0;
- -+ while (String(string).CharAt (start)) {
- -+ walk = 0;
- -+ while (String(substring).CharAt (walk) == String(string).CharAt (start + walk) ) {
- -+ walk++;
- -+ if (!String(substring).CharAt (walk)) return start;
- ++ set_palette (backend, head);
- ++ ply_trace ("palette now has %d colours (added %06x)\n",
- ++ head->palette_size, pixel_value & 0xffffff);
- ++
- ++ return index;
- + }
- -+ start++;
- + }
- -+
- -+ return NULL;
- -+}
- +
- -+fun StringLength (string) {
- -+ index = 0;
- -+ while (String(string).CharAt(index)) index++;
- -+ return index;
- -+}
- ++ ply_trace ("could not find colour in palette for %06x\n",
- ++ pixel_value & 0xffffff);
- +
- -+fun StringCopy (source, beginning, end) {
- -+ local.destination = "";
- -+ for (index = beginning; ( ( (end == NULL) || (index <= end) ) && (String(source).CharAt(index)) ); index++) {
- -+ local.destination += String(source).CharAt(index);
- ++ if (!head->palette_overflow)
- ++ {
- ++ head->palette_overflow = true;
- + }
- -+
- -+ return local.destination;
- ++
- ++ /* Didn't find a colour, so just return the last
- ++ * (first is probably background colour so a bad choice)
- ++ */
- ++ return head->palette_size - 1;;
- +}
- +
- -+fun StringReplace (source, pattern, replacement) {
- -+ local.found = StringString(source, pattern);
- -+ if (local.found == NULL)
- -+ return source;
- ++static void
- ++flush_area (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head,
- ++ ply_rectangle_t *area_to_flush)
- ++{
- ++ unsigned char *mask;
- ++ uint32_t *shadow_buffer;
- ++ unsigned long x1, x2, y1, y2, x, y;
- ++ unsigned int c, b;
- +
- -+ local.new_string = StringCopy (source, 0, local.found - 1) +
- -+ replacement +
- -+ StringCopy (source, local.found + StringLength(pattern), NULL);
- ++ mask = malloc (backend->row_stride * 16);
- ++
- ++ shadow_buffer = ply_pixel_buffer_get_argb32_data (backend->head.pixel_buffer);
- ++
- ++ x1 = area_to_flush->x;
- ++ y1 = area_to_flush->y;
- ++ x2 = x1 + area_to_flush->width;
- ++ y2 = y1 + area_to_flush->height;
- ++
- ++ for (y = y1; y < y2; y++)
- ++ {
- ++ memset (mask, 0, backend->row_stride * 16);
- ++
- ++ for (x = x1; x < x2; x++)
- ++ {
- ++ unsigned int index;
- ++ uint32_t pixel;
- ++
- ++ pixel = shadow_buffer[x + y * head->area.width];
- ++ index = argb32_pixel_value_to_color_index (backend, head, pixel);
- ++
- ++ mask[index * backend->row_stride + x / 8] |= (0x80 >> (x % 8));
- ++ }
- ++
- ++ for (c = 0; c < 16; c++)
- ++ {
- ++ for (b = x1 / 8; b < x2 / 8 + 1; b++)
- ++ {
- ++ char *p;
- ++
- ++ if (!mask[c * backend->row_stride + b])
- ++ continue;
- +
- -+ return local.new_string;
- -+}
- ++ vga_set_reset (c);
- ++ vga_bit_mask (mask[c * backend->row_stride + b]);
- +
- -+# it makes sense to use it only for
- -+# numbers up to 100
- -+fun StringToInteger (str) {
- -+ int = -1;
- -+ for (i=0; i<=100; i++) {
- -+ if (i+"" == str) {
- -+ int = i;
- -+ break;
- ++ p = head->map_address + y * backend->row_stride + b;
- ++ *p |= 1;
- ++ }
- + }
- + }
- -+ return int;
- ++
- ++ free (mask);
- +}
- +
- -+#-----------------------------------------------------------------------------
- -+# Previous background colour
- -+# #300a24 --> 0.19, 0.04, 0.14
- -+# New background colour
- -+# #2c001e --> 0.16, 0.00, 0.12
- -+#
- -+Window.SetBackgroundTopColor (0.16, 0.00, 0.12); # Nice colour on top of the screen fading to
- -+Window.SetBackgroundBottomColor (0.16, 0.00, 0.12); # an equally nice colour on the bottom
- ++static void
- ++flush_head (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head)
- ++{
- ++ ply_region_t *updated_region;
- ++ ply_list_t *areas_to_flush;
- ++ ply_list_node_t *node;
- ++ ply_pixel_buffer_t *pixel_buffer;
- ++ bool was_overflowed;
- +
- -+bits_per_pixel = Window.GetBitsPerPixel ();
- -+if (bits_per_pixel == 4) {
- -+ logo_filename = "ubuntu_logo16.png";
- -+ progress_dot_off_filename = "progress_dot_off16.png";
- -+ progress_dot_on_filename = "progress_dot_on16.png";
- -+ password_field_filename = "password_field16.png";
- -+} else {
- -+ logo_filename = "ubuntu_logo.png";
- -+ progress_dot_off_filename = "progress_dot_off.png";
- -+ progress_dot_on_filename = "progress_dot_on.png";
- -+ password_field_filename = "password_field.png";
- -+}
- ++ assert (backend != NULL);
- ++ assert (&backend->head == head);
- +
- -+logo.image = Image (logo_filename);
- -+logo.sprite = Sprite ();
- -+logo.sprite.SetImage (logo.image);
- -+logo.width = logo.image.GetWidth ();
- -+logo.height = logo.image.GetHeight ();
- -+logo.x = Window.GetX () + Window.GetWidth () / 2 - logo.width / 2;
- -+logo.y = Window.GetY () + Window.GetHeight () / 2 - logo.height;
- -+logo.z = 1000;
- -+logo.sprite.SetX (logo.x);
- -+logo.sprite.SetY (logo.y);
- -+logo.sprite.SetZ (logo.z);
- -+logo.sprite.SetOpacity (1);
- ++ if (!backend->is_active)
- ++ return;
- +
- -+# Spacing below the logo - in pixels
- -+logo_spacing = logo.height * 4;
- ++ ply_terminal_set_mode (backend->terminal, PLY_TERMINAL_MODE_GRAPHICS);
- ++ ply_terminal_set_unbuffered_input (backend->terminal);
- +
- -+message_notification[0].image = ImageToTintedText ("");
- -+message_notification[1].image = ImageToTintedText ("");
- -+fsck_notification.image = ImageToActionText ("");
- ++ /* Reset to basic values; enable use of the Set/Reset register for all
- ++ * planes.
- ++ */
- ++ vga_enable_set_reset (0xf);
- ++ vga_mode (0);
- ++ vga_data_rotate (0);
- ++ vga_map_mask (0xff);
- +
- -+status = "normal";
- ++ was_overflowed = backend->head.palette_overflow;
- ++ set_palette (backend, &backend->head);
- +
- -+progress_indicator.bullet_off = Image (progress_dot_off_filename);
- -+progress_indicator.bullet_on = Image (progress_dot_on_filename);
- -+progress_indicator.bullet_width = progress_indicator.bullet_off.GetWidth ();
- -+progress_indicator.bullet_height = progress_indicator.bullet_off.GetHeight ();
- -+progress_indicator.bullet_hspacing = progress_indicator.bullet_width * 1.1;
- -+progress_indicator.width = progress_indicator.bullet_width * 5;
- -+progress_indicator.height = progress_indicator.bullet_height;
- -+progress_indicator.y = logo.y + logo.height + (logo.height / 4);
- -+progress_indicator.x = Window.GetX () + Window.GetWidth () / 2 - progress_indicator.width / 2; # logo.x + 26;
- ++ pixel_buffer = head->pixel_buffer;
- ++ updated_region = ply_pixel_buffer_get_updated_areas (pixel_buffer);
- ++ areas_to_flush = ply_region_get_sorted_rectangle_list (updated_region);
- +
- -+# use a fixed string with ascending and descending stems to calibrate the
- -+# bounding box for the first message, so the messages below don't move up
- -+# and down according to *their* height.
- -+first_line_height = ImageToTintedText ("AfpqtM").GetHeight();
- ++ node = ply_list_get_first_node (areas_to_flush);
- ++ while (node != NULL)
- ++ {
- ++ ply_list_node_t *next_node;
- ++ ply_rectangle_t *area_to_flush;
- +
- -+# if the user has a 640x480 or 800x600 display, we can't quite fit everything
- -+# (including passphrase prompts) with the target spacing, so scoot the text up
- -+# a bit if needed.
- -+top_of_the_text = TextYOffset();
- ++ area_to_flush = (ply_rectangle_t *) ply_list_node_get_data (node);
- +
- -+#-----------------------------------------Logo functions------------------------------
- ++ next_node = ply_list_get_next_node (areas_to_flush, node);
- +
- -+# Call this when updating the screen
- -+fun draw_logo () {
- -+ logo.sprite.SetX (logo.x);
- -+ logo.sprite.SetY (logo.y);
- -+ logo.sprite.SetZ (logo.z);
- -+ logo.sprite.SetOpacity (1);
- -+}
- ++ flush_area (backend, head, area_to_flush);
- +
- ++ node = next_node;
- ++ }
- +
- -+#-----------------------------------------Progress Indicator--------------------------
- -+fun set_progress_indicator () {
- -+
- -+
- -+ # Here we assume that we can store half bullets on each half of the screen
- -+ # together with some spacing
- -+ local.x = progress_indicator.x;
- -+
- -+ for (index = 0; index <= 4; index++) {
- -+ # Set the "off" bullets
- -+ progress_indicator.bullets_off[index].sprite = Sprite (progress_indicator.bullet_off);
- -+ progress_indicator.bullets_off[index].sprite.SetPosition (local.x, progress_indicator.y, 1000);
- -+ progress_indicator.bullets_off[index].x = local.x;
- -+ progress_indicator.bullets_off[index].y = progress_indicator.y;
- -+ progress_indicator.bullets_off[index].sprite.SetOpacity (1);
- -+
- -+ #local.debug_medium_string = "Progress indicator " + index + ": x = " + progress_indicator.bullets_off[index].x +
- -+ # ", y = " + progress_indicator.bullets_off[index].y + ", logo width = " + logo.width +
- -+ # ", logo height = " + logo.height + " " + screen_width + " " + screen_height;
- -+ #
- -+ #(index % 2) && DebugMedium (local.debug_medium_string) || DebugBottom (local.debug_medium_string);
- ++ ply_region_clear (updated_region);
- +
- -+ # Set the "on" bullets on top of the "off" bullets and make them transparent
- -+ progress_indicator.bullets_on[index].sprite = Sprite (progress_indicator.bullet_on);
- -+ progress_indicator.bullets_on[index].x = progress_indicator.bullets_off[index].x;
- -+ progress_indicator.bullets_on[index].y = progress_indicator.bullets_off[index].y;
- -+ progress_indicator.bullets_on[index].sprite.SetPosition (progress_indicator.bullets_on[index].x, progress_indicator.bullets_on[index].y, 10000);
- ++ /* If the palette overflowed, render the screen again with a new palette */
- ++ if ((!was_overflowed) && head->palette_overflow)
- ++ {
- ++ ply_trace ("palette overflowed, redrawing entire screen with new palette");
- +
- -+ progress_indicator.bullets_on[index].sprite.SetOpacity (0);
- -+
- -+ local.x += progress_indicator.bullet_hspacing;
- ++ head->palette_size = 0;
- ++ ply_renderer_head_redraw (backend, head);
- + }
- -+ #local.debug_string = "Progress indicator: x1 = " + progress_indicator.x + ", x2 = " + local.x + ", y = " + progress_indicator.y +
- -+ # ", x logo = " + logo.x + ", y logo = " + logo.y + ", indicator width = " + progress_indicator.width;
- -+ #Debug(progress_indicator.bullets_off[0].x);
- +}
- +
- ++static void
- ++ply_renderer_head_redraw (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head)
- ++{
- ++ ply_region_t *region;
- +
- -+# We have 2 bullets, one on top of the other:
- -+# The white one is on top of the red one and the former should
- -+# slowly fade so as to get a nice transition effect.
- -+fun switch_on_bullet (bullets_off, bullets_on, bullet_number, opacity) {
- -+ local.x = bullets_on[bullet_number].x;
- -+ local.y = bullets_on[bullet_number].y;
- -+ local.z = bullets_on[bullet_number].z;
- -+
- -+ # Hide the bullets which are off
- -+ bullets_off[bullet_number].sprite.SetOpacity (0);
- -+
- -+ # Show the bullets which are on
- -+ bullets_on[bullet_number].sprite.SetPosition (local.x, local.y, local.z);
- -+ bullets_on[bullet_number].sprite.SetOpacity (opacity);
- -+
- -+ # Bump the number of times we have switched on bullets
- -+ global.times_bullets_switched++;
- -+}
- -+
- -+fun switch_off_bullets () {
- -+ # Debug("Switching off progress indicator");
- -+
- -+ set_progress_indicator ();
- -+ global.times_bullets_switched = 0;
- -+ global.on_off = 1;
- -+}
- ++ region = ply_pixel_buffer_get_updated_areas (head->pixel_buffer);
- +
- -+# This is something that we can call when we exit
- -+fun switch_on_bullets () {
- -+ # Debug("Switching off progress indicator");
- -+ if (!global.progress_indicator.bullets_on) set_progress_indicator ();
- -+ local = global.progress_indicator;
- ++ ply_region_add_rectangle (region, &head->area);
- +
- -+ for (index = 0; bullets_on[index]; index++) {
- -+ switch_on_bullet (bullets_off, bullets_on, index, 1.0);
- -+ }
- ++ flush_head (backend, head);
- +}
- +
- ++static ply_list_t *
- ++get_heads (ply_renderer_backend_t *backend)
- ++{
- ++ return backend->heads;
- ++}
- +
- -+# Implement in boot progress callback
- -+fun animate_progress_indicator (progress, time) {
- -+ if (global.progress_time == NULL) {
- -+ global.progress_time = progress; #time;
- -+ switch_off_bullets ();
- -+ }
- -+
- -+# Debug ("progress = " + progress + ", time = " + time + " times switched = " + global.times_bullets_switched + " on_off " + global.on_off);
- ++static ply_pixel_buffer_t *
- ++get_buffer_for_head (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head)
- ++{
- +
- -+# if (global.times_bullets_switched == NULL)
- -+# global.times_bullets_switched = 5;
- ++ if (head != &backend->head)
- ++ return NULL;
- +
- -+# if (global.on_off == NULL)
- -+# global.on_off = 0;
- ++ return backend->head.pixel_buffer;
- ++}
- +
- -+ if ((progress - global.progress_time) >= 1.0) {
- -+ global.progress_time = progress;
- -+
- -+ if (global.times_bullets_switched == 5) {
- -+ # Change which bullets are switched on
- -+ # and which ones are switched off
- -+ global.on_off = !global.on_off;
- -+ global.times_bullets_switched = 0;
- -+ }
- -+
- -+ if (global.on_off) {
- -+ switch_on_bullet (progress_indicator.bullets_off, progress_indicator.bullets_on,
- -+ global.times_bullets_switched, 1.0);
- -+ }
- -+ else {
- -+ switch_on_bullet (progress_indicator.bullets_on, progress_indicator.bullets_off,
- -+ global.times_bullets_switched, 1.0);
- -+ }
- -+ }
- -+
- -+
- -+ # Start setting bullets to "on" with translucency
- -+# for (index = 0; index <= 5; index++) {
- -+# opacity = 0.0;
- -+# while (opacity <= 1.0) {
- -+# switch_on_bullet (progress_indicator.bullets_off, progress_indicator.bullets_on,
- -+# index, opacity);
- -+# opacity += 0.1;
- -+# }
- -+# }
- ++static unsigned int
- ++get_bits_per_pixel_for_head (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head)
- ++{
- ++ if (head != &backend->head)
- ++ return 0;
- ++
- ++ return backend->bits_per_pixel;
- +}
- +
- ++static bool
- ++has_input_source (ply_renderer_backend_t *backend,
- ++ ply_renderer_input_source_t *input_source)
- ++{
- ++ return input_source == &backend->input_source;
- ++}
- +
- -+#-----------------------------------------Label utility functions---------------------
- ++static ply_renderer_input_source_t *
- ++get_input_source (ply_renderer_backend_t *backend)
- ++{
- ++ return &backend->input_source;
- ++}
- +
- -+# label should be either a string or NULL
- -+# Images for n lines will be created and returned as items of the
- -+# message_label array
- -+#
- -+fun get_message_label (label, is_fake, is_action_line) {
- -+ # Debug("Get Label position");
- -+ local.message_label;
- -+
- -+ if (is_fake)
- -+ # Create a fake label so as to get the y coordinate of
- -+ # a standard-length label.
- -+ local.message_image = ImageToTintedText ("This is a fake message");
- -+ else
- -+ local.message_image = (is_action_line) && ImageToActionText (label) || ImageToTintedText (label);
- -+
- -+ message_label.width = message_image.GetWidth ();
- -+ message_label.height = message_image.GetHeight ();
- ++static void
- ++on_key_event (ply_renderer_input_source_t *input_source,
- ++ int terminal_fd)
- ++{
- ++ ply_buffer_append_from_fd (input_source->key_buffer,
- ++ terminal_fd);
- +
- -+ # Center the line horizontally
- -+ message_label.x = Window.GetX () + Window.GetWidth () / 2 - message_label.width / 2;
- ++ if (input_source->handler != NULL)
- ++ input_source->handler (input_source->user_data, input_source->key_buffer, input_source);
- +
- -+ message_label.y = top_of_the_text;
- ++}
- +
- -+ # Put the 2nd line below the fsck line
- -+ if (is_action_line) {
- -+ local.fsck_label.y = message_label.y + (first_line_height + first_line_height / 2);
- -+ message_label.y = local.fsck_label.y + (first_line_height * 2);
- -+ }
- ++static void
- ++on_input_source_disconnected (ply_renderer_input_source_t *input_source)
- ++{
- ++ ply_trace ("input source disconnected, reopening");
- ++ open_input_source (input_source->backend, input_source);
- ++}
- +
- -+ # Debug("action label x = " + message_label.x + " y = " + message_label.y );
- ++static bool
- ++open_input_source (ply_renderer_backend_t *backend,
- ++ ply_renderer_input_source_t *input_source)
- ++{
- ++ int terminal_fd;
- +
- -+# message_debug = "msg_x = " + message_label.x + " msg_y = " + message_label.y +
- -+# "msg_width = " + message_label.width + " msg_height = " +
- -+# message_label.height + " message = " + label;
- -+# Debug(message_debug);
- -+
- -+ return message_label;
- ++ assert (backend != NULL);
- ++ assert (has_input_source (backend, input_source));
- +
- -+}
- ++ terminal_fd = ply_terminal_get_fd (backend->terminal);
- +
- -+# Create an fsck label and/or get its position
- -+fun get_fsck_label (label, is_fake) {
- -+ # Debug("Get Label position");
- -+ local.fsck_label = global.progress_label;
- -+
- -+ if (is_fake)
- -+ fsck_label.image = ImageToTintedText ("This is a fake message");
- -+ else
- -+ fsck_label.image = ImageToTintedText (label);
- -+
- -+ fsck_label.width = fsck_label.image.GetWidth ();
- -+ fsck_label.height = fsck_label.image.GetHeight ();
- -+
- -+ # Centre the label horizontally
- -+ fsck_label.x = Window.GetX () + Window.GetWidth () / 2 - fsck_label.width / 2;
- -+
- -+ local.first_label = get_message_label (label, 1, 0);
- -+
- -+ # Place the label below the 1st message line
- -+ fsck_label.y = local.first_label.y + local.first_label.height + (local.first_label.height / 2);
- -+
- -+# message_debug = "msg_x = " + fsck_label.x + " msg_y = " + fsck_label.y +
- -+# "msg_width = " + fsck_label.width + " msg_height = " +
- -+# fsck_label.height + " message = " + label;
- -+# Debug(message_debug);
- -+
- -+ return fsck_label;
- ++ input_source->backend = backend;
- ++ input_source->terminal_input_watch = ply_event_loop_watch_fd (backend->loop, terminal_fd, PLY_EVENT_LOOP_FD_STATUS_HAS_DATA,
- ++ (ply_event_handler_t) on_key_event,
- ++ (ply_event_handler_t) on_input_source_disconnected,
- ++ input_source);
- ++ return true;
- +}
- +
- -+#-----------------------------------------Message stuff --------------------------------
- -+#
- ++static void
- ++set_handler_for_input_source (ply_renderer_backend_t *backend,
- ++ ply_renderer_input_source_t *input_source,
- ++ ply_renderer_input_source_handler_t handler,
- ++ void *user_data)
- ++{
- ++ assert (backend != NULL);
- ++ assert (has_input_source (backend, input_source));
- +
- -+# Set up a message label
- -+#
- -+# NOTE: this is called when doing something like 'plymouth message "hello world"'
- -+#
- -+fun setup_message (message_text, x, y, z, index) {
- -+ # Debug("Message setup");
- -+ global.message_notification[index].image = (index) && ImageToActionText (message_text) || ImageToTintedText (message_text);
- ++ input_source->handler = handler;
- ++ input_source->user_data = user_data;
- ++}
- +
- -+ # Set up the text message, if any
- -+ message_notification[index].x = x;
- -+ message_notification[index].y = y;
- -+ message_notification[index].z = z;
- -+
- -+ message_notification[index].sprite = Sprite ();
- -+ message_notification[index].sprite.SetImage (message_notification[index].image);
- -+ message_notification[index].sprite.SetX (message_notification[index].x);
- -+ message_notification[index].sprite.SetY (message_notification[index].y);
- -+ message_notification[index].sprite.SetZ (message_notification[index].z);
- ++static void
- ++close_input_source (ply_renderer_backend_t *backend,
- ++ ply_renderer_input_source_t *input_source)
- ++{
- ++ assert (backend != NULL);
- ++ assert (has_input_source (backend, input_source));
- +
- ++ ply_event_loop_stop_watching_fd (backend->loop, input_source->terminal_input_watch);
- ++ input_source->terminal_input_watch = NULL;
- ++ input_source->backend = NULL;
- +}
- +
- -+fun show_message (index) {
- -+ if (global.message_notification[index].sprite) global.message_notification[index].sprite.SetOpacity(1);
- ++ply_renderer_plugin_interface_t *
- ++ply_renderer_backend_get_interface (void)
- ++{
- ++ static ply_renderer_plugin_interface_t plugin_interface =
- ++ {
- ++ .create_backend = create_backend,
- ++ .destroy_backend = destroy_backend,
- ++ .open_device = open_device,
- ++ .close_device = close_device,
- ++ .query_device = query_device,
- ++ .map_to_device = map_to_device,
- ++ .unmap_from_device = unmap_from_device,
- ++ .activate = activate,
- ++ .deactivate = deactivate,
- ++ .flush_head = flush_head,
- ++ .get_heads = get_heads,
- ++ .get_buffer_for_head = get_buffer_for_head,
- ++ .get_bits_per_pixel_for_head = get_bits_per_pixel_for_head,
- ++ .get_input_source = get_input_source,
- ++ .open_input_source = open_input_source,
- ++ .set_handler_for_input_source = set_handler_for_input_source,
- ++ .close_input_source = close_input_source
- ++ };
- ++
- ++ return &plugin_interface;
- +}
- ++/* vim: set ts=4 sw=4 et ai ci cino={.5s,^-2,+.5s,t0,g0,e-2,n-2,p2s,(0,=.5s,:.5s */
- +--- /dev/null
- ++++ plymouth-0.8.2/src/plugins/renderers/vga16fb/vga.h
- +@@ -0,0 +1,107 @@
- ++/* vga.h - inlines for programming the VGA
- ++ *
- ++ * Copyright (C) 2010 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 2, 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, write to the Free Software
- ++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- ++ * 02111-1307, USA.
- ++ *
- ++ * Written by: Scott James Remnant <scott@ubuntu.com>
- ++ */
- ++#ifndef PLY_VGA_H
- ++#define PLY_VGA_H
- +
- -+fun hide_message (index) {
- -+ if (global.message_notification[index].sprite) global.message_notification[index].sprite.SetOpacity(0);
- ++/* VGA ioports, and the registers we can access from them */
- ++#define VGA_REGS_BASE 0x3c0
- ++#define VGA_REGS_LEN 0x10
- ++
- ++#define VGA_SC_INDEX 0x3c4
- ++#define VGA_SC_DATA 0x3c5
- ++
- ++#define VGA_SC_MAP_MASK 0x02
- ++
- ++#define VGA_GC_INDEX 0x3ce
- ++#define VGA_GC_DATA 0x3cf
- ++
- ++#define VGA_GC_SET_RESET 0x00
- ++#define VGA_GC_ENABLE_SET_RESET 0x01
- ++#define VGA_GC_DATA_ROTATE 0x03
- ++#define VGA_GC_MODE 0x05
- ++#define VGA_GC_BIT_MASK 0x08
- ++
- ++/* Select the VGA write mode. */
- ++static inline void
- ++vga_mode (int mode)
- ++{
- ++ outb (VGA_GC_MODE, VGA_GC_INDEX);
- ++ outb (mode, VGA_GC_DATA);
- +}
- +
- ++/* Data Rotate register; we don't use this, we just ensure it's off. */
- ++static inline void
- ++vga_data_rotate (int op)
- ++{
- ++ outb (VGA_GC_DATA_ROTATE, VGA_GC_INDEX);
- ++ outb (op, VGA_GC_DATA);
- ++}
- +
- ++/* Enable use of the Set/Reset register for the given planes (as a mask).
- ++ *
- ++ * In effect: set this to 0xf to use all four planes.
- ++ */
- ++static inline void
- ++vga_enable_set_reset (int mask)
- ++{
- ++ outb (VGA_GC_ENABLE_SET_RESET, VGA_GC_INDEX);
- ++ outb (mask, VGA_GC_DATA);
- ++}
- +
- ++/* Set/Reset register; the given planes (as a mask) will have whatever bits
- ++ * are true in the Bit Mask register set to 1, and whatever bits are false
- ++ * in the Bit Mask register set to 0. (It's more complicated than that, but
- ++ * your brain will explode).
- ++ *
- ++ * In effect: set this to the colour you want.
- ++ */
- ++static inline void
- ++vga_set_reset (int mask)
- ++{
- ++ outb (VGA_GC_SET_RESET, VGA_GC_INDEX);
- ++ outb (mask, VGA_GC_DATA);
- ++}
- +
- -+# the callback function is called when new message should be displayed.
- -+# First arg is message to display.
- -+fun message_callback (message)
- ++/* Bit Mask register; writing to a memory address will write to these bits
- ++ * of that byte according to the contents of the Set/Reset register. Far
- ++ * more complicated than that, you *really* don't want to know.
- ++ *
- ++ * In effect: set this to the pattern we want in the colour we set.
- ++ */
- ++static inline void
- ++vga_bit_mask (int mask)
- +{
- -+ # Debug("Message callback");
- -+ is_fake = 0;
- -+ if (!message || (message == "")) is_fake = 1;
- -+
- -+ local.substring = "keys:";
- -+
- -+ # Look for the "keys:" prefix
- -+ local.keys = StringString(message, local.substring);
- -+
- -+ local.is_action_line = (keys != NULL);
- -+ #Debug("keys " + local.keys + " substring length = " + StringLength(local.substring));
- ++ outb (VGA_GC_BIT_MASK, VGA_GC_INDEX);
- ++ outb (mask, VGA_GC_DATA);
- ++}
- +
- -+ # Get the message without the "keys:" prefix
- -+ if (keys != NULL)
- -+ message = StringCopy (message, keys + StringLength(local.substring), NULL);
- ++/* Map Mask register; we don't use this, but we do make sure it's reset. */
- ++static inline void
- ++vga_map_mask (int mask)
- ++{
- ++ outb (VGA_SC_MAP_MASK, VGA_SC_INDEX);
- ++ outb (mask, VGA_SC_DATA);
- ++}
- +
- -+ local.label.is_fake = is_fake;
- -+ label = get_message_label(message, is_fake, is_action_line);
- -+ label.z = 10000;
- -+
- -+ setup_message (message, label.x, label.y, label.z, is_action_line);
- -+ if (prompt_active && local.is_action_line)
- -+ hide_message (is_action_line);
- -+ else
- -+ show_message (is_action_line);
- ++#endif /* PLY_VGA_H */
- ++/* vim: set ts=4 sw=4 et ai ci cino={.5s,^-2,+.5s,t0,g0,e-2,n-2,p2s,(0,=.5s,:.5s */
- +
- -+}
- +--- /dev/null
- ++++ plymouth-0.8.2/src/plugins/renderers/vga16fb/Makefile.am
- +@@ -0,0 +1,20 @@
- ++INCLUDES = -I$(top_srcdir) \
- ++ -I$(srcdir)/../../../libply \
- ++ -I$(srcdir)/../../../libply-splash-core \
- ++ -I$(srcdir)/../../.. \
- ++ -I$(srcdir)/../.. \
- ++ -I$(srcdir)/.. \
- ++ -I$(srcdir)
- +
- ++plugindir = $(libdir)/plymouth/renderers
- ++plugin_LTLIBRARIES = vga16fb.la
- +
- -+#-----------------------------------------Display Password stuff -----------------------
- -+#
- ++vga16fb_la_CFLAGS = $(PLYMOUTH_CFLAGS)
- +
- -+fun password_dialogue_setup (message_label) {
- -+ # Debug("Password dialog setup");
- -+
- -+ local.entry;
- -+ local.bullet_image;
- -+
- -+ bullet_image = Image (progress_dot_off_filename);
- -+ entry.image = Image (password_field_filename);
- -+
- -+ # Hide the normal labels
- -+ prompt_active = 1;
- -+ if (message_notification[1].sprite) hide_message (1);
- -+
- -+ # Set the prompt label
- -+ label = get_message_label(message_label, 0, 1);
- -+ label.z = 10000;
- -+
- -+ setup_message (message_label, label.x, label.y, label.z, 2);
- -+ show_message (2);
- ++vga16fb_la_LDFLAGS = -module -avoid-version -export-dynamic
- ++vga16fb_la_LIBADD = $(PLYMOUTH_LIBS) \
- ++ ../../../libply/libply.la \
- ++ ../../../libply-splash-core/libply-splash-core.la
- ++vga16fb_la_SOURCES = $(srcdir)/plugin.c
- +
- -+ # Set up the text entry which contains the bullets
- -+ entry.sprite = Sprite ();
- -+ entry.sprite.SetImage (entry.image);
- -+
- -+ # Centre the box horizontally
- -+ entry.x = Window.GetX () + Window.GetWidth () / 2 - entry.image.GetWidth () / 2;
- ++MAINTAINERCLEANFILES = Makefile.in
- +--- /dev/null
- ++++ plymouth-0.8.2/src/plugins/renderers/vga16fb/Makefile.in
- +@@ -0,0 +1,592 @@
- ++# Makefile.in generated by automake 1.11.1 from Makefile.am.
- ++# @configure_input@
- +
- -+ # Put the entry below the second label.
- -+ entry.y = message_notification[2].y + label.height;
- ++# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- ++# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
- ++# Inc.
- ++# This Makefile.in is free software; the Free Software Foundation
- ++# gives unlimited permission to copy and/or distribute it,
- ++# with or without modifications, as long as this notice is preserved.
- +
- -+ #Debug ("entry x = " + entry.x + ", y = " + entry.y);
- -+ entry.z = 10000;
- -+ entry.sprite.SetX (entry.x);
- -+ entry.sprite.SetY (entry.y);
- -+ entry.sprite.SetZ (entry.z);
- ++# This program is distributed in the hope that it will be useful,
- ++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- ++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- ++# PARTICULAR PURPOSE.
- +
- -+ global.password_dialogue = local;
- -+}
- ++@SET_MAKE@
- +
- -+fun password_dialogue_opacity (opacity) {
- -+ # Debug("Password dialog opacity");
- -+ global.password_dialogue.opacity = opacity;
- -+ local = global.password_dialogue;
- ++VPATH = @srcdir@
- ++pkgdatadir = $(datadir)/@PACKAGE@
- ++pkgincludedir = $(includedir)/@PACKAGE@
- ++pkglibdir = $(libdir)/@PACKAGE@
- ++pkglibexecdir = $(libexecdir)/@PACKAGE@
- ++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- ++install_sh_DATA = $(install_sh) -c -m 644
- ++install_sh_PROGRAM = $(install_sh) -c
- ++install_sh_SCRIPT = $(install_sh) -c
- ++INSTALL_HEADER = $(INSTALL_DATA)
- ++transform = $(program_transform_name)
- ++NORMAL_INSTALL = :
- ++PRE_INSTALL = :
- ++POST_INSTALL = :
- ++NORMAL_UNINSTALL = :
- ++PRE_UNINSTALL = :
- ++POST_UNINSTALL = :
- ++build_triplet = @build@
- ++host_triplet = @host@
- ++subdir = src/plugins/renderers/vga16fb
- ++DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- ++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- ++am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- ++ $(top_srcdir)/configure.ac
- ++am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- ++ $(ACLOCAL_M4)
- ++mkinstalldirs = $(install_sh) -d
- ++CONFIG_HEADER = $(top_builddir)/config.h
- ++CONFIG_CLEAN_FILES =
- ++CONFIG_CLEAN_VPATH_FILES =
- ++am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
- ++am__vpath_adj = case $$p in \
- ++ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- ++ *) f=$$p;; \
- ++ esac;
- ++am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
- ++am__install_max = 40
- ++am__nobase_strip_setup = \
- ++ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
- ++am__nobase_strip = \
- ++ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
- ++am__nobase_list = $(am__nobase_strip_setup); \
- ++ for p in $$list; do echo "$$p $$p"; done | \
- ++ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
- ++ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
- ++ if (++n[$$2] == $(am__install_max)) \
- ++ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
- ++ END { for (dir in files) print dir, files[dir] }'
- ++am__base_list = \
- ++ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- ++ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
- ++am__installdirs = "$(DESTDIR)$(plugindir)"
- ++LTLIBRARIES = $(plugin_LTLIBRARIES)
- ++am__DEPENDENCIES_1 =
- ++vga16fb_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- ++ ../../../libply/libply.la \
- ++ ../../../libply-splash-core/libply-splash-core.la
- ++am_vga16fb_la_OBJECTS = vga16fb_la-plugin.lo
- ++vga16fb_la_OBJECTS = $(am_vga16fb_la_OBJECTS)
- ++AM_V_lt = $(am__v_lt_$(V))
- ++am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
- ++am__v_lt_0 = --silent
- ++vga16fb_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(vga16fb_la_CFLAGS) \
- ++ $(CFLAGS) $(vga16fb_la_LDFLAGS) $(LDFLAGS) -o $@
- ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
- ++depcomp = $(SHELL) $(top_srcdir)/build-tools/depcomp
- ++am__depfiles_maybe = depfiles
- ++am__mv = mv -f
- ++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- ++LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- ++ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
- ++ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
- ++ $(AM_CFLAGS) $(CFLAGS)
- ++AM_V_CC = $(am__v_CC_$(V))
- ++am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
- ++am__v_CC_0 = @echo " CC " $@;
- ++AM_V_at = $(am__v_at_$(V))
- ++am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
- ++am__v_at_0 = @
- ++CCLD = $(CC)
- ++LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- ++ $(AM_LDFLAGS) $(LDFLAGS) -o $@
- ++AM_V_CCLD = $(am__v_CCLD_$(V))
- ++am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
- ++am__v_CCLD_0 = @echo " CCLD " $@;
- ++AM_V_GEN = $(am__v_GEN_$(V))
- ++am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
- ++am__v_GEN_0 = @echo " GEN " $@;
- ++SOURCES = $(vga16fb_la_SOURCES)
- ++DIST_SOURCES = $(vga16fb_la_SOURCES)
- ++ETAGS = etags
- ++CTAGS = ctags
- ++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- ++ACLOCAL = @ACLOCAL@
- ++AMTAR = @AMTAR@
- ++AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- ++AR = @AR@
- ++AUTOCONF = @AUTOCONF@
- ++AUTOHEADER = @AUTOHEADER@
- ++AUTOMAKE = @AUTOMAKE@
- ++AWK = @AWK@
- ++CC = @CC@
- ++CCDEPMODE = @CCDEPMODE@
- ++CFLAGS = @CFLAGS@
- ++CPP = @CPP@
- ++CPPFLAGS = @CPPFLAGS@
- ++CYGPATH_W = @CYGPATH_W@
- ++DEFS = @DEFS@
- ++DEPDIR = @DEPDIR@
- ++DRM_CFLAGS = @DRM_CFLAGS@
- ++DRM_LIBS = @DRM_LIBS@
- ++DSYMUTIL = @DSYMUTIL@
- ++DUMPBIN = @DUMPBIN@
- ++ECHO_C = @ECHO_C@
- ++ECHO_N = @ECHO_N@
- ++ECHO_T = @ECHO_T@
- ++EGREP = @EGREP@
- ++EXEEXT = @EXEEXT@
- ++FGREP = @FGREP@
- ++GREP = @GREP@
- ++GTK_CFLAGS = @GTK_CFLAGS@
- ++GTK_LIBS = @GTK_LIBS@
- ++IMAGE_CFLAGS = @IMAGE_CFLAGS@
- ++IMAGE_LIBS = @IMAGE_LIBS@
- ++INSTALL = @INSTALL@
- ++INSTALL_DATA = @INSTALL_DATA@
- ++INSTALL_PROGRAM = @INSTALL_PROGRAM@
- ++INSTALL_SCRIPT = @INSTALL_SCRIPT@
- ++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- ++LD = @LD@
- ++LDFLAGS = @LDFLAGS@
- ++LIBOBJS = @LIBOBJS@
- ++LIBS = @LIBS@
- ++LIBTOOL = @LIBTOOL@
- ++LIPO = @LIPO@
- ++LN_S = @LN_S@
- ++LTLIBOBJS = @LTLIBOBJS@
- ++LT_AGE = @LT_AGE@
- ++LT_CURRENT = @LT_CURRENT@
- ++LT_REVISION = @LT_REVISION@
- ++MAINT = @MAINT@
- ++MAKEINFO = @MAKEINFO@
- ++MKDIR_P = @MKDIR_P@
- ++NM = @NM@
- ++NMEDIT = @NMEDIT@
- ++OBJDUMP = @OBJDUMP@
- ++OBJEXT = @OBJEXT@
- ++OTOOL = @OTOOL@
- ++OTOOL64 = @OTOOL64@
- ++PACKAGE = @PACKAGE@
- ++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- ++PACKAGE_NAME = @PACKAGE_NAME@
- ++PACKAGE_STRING = @PACKAGE_STRING@
- ++PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- ++PACKAGE_VERSION = @PACKAGE_VERSION@
- ++PANGO_CFLAGS = @PANGO_CFLAGS@
- ++PANGO_LIBS = @PANGO_LIBS@
- ++PATH_SEPARATOR = @PATH_SEPARATOR@
- ++PKG_CONFIG = @PKG_CONFIG@
- ++PLYMOUTH_CFLAGS = @PLYMOUTH_CFLAGS@
- ++PLYMOUTH_CONF_DIR = @PLYMOUTH_CONF_DIR@
- ++PLYMOUTH_DATADIR = @PLYMOUTH_DATADIR@
- ++PLYMOUTH_LIBDIR = @PLYMOUTH_LIBDIR@
- ++PLYMOUTH_LIBEXECDIR = @PLYMOUTH_LIBEXECDIR@
- ++PLYMOUTH_LIBS = @PLYMOUTH_LIBS@
- ++PLYMOUTH_PLUGIN_PATH = @PLYMOUTH_PLUGIN_PATH@
- ++PLYMOUTH_POLICY_DIR = @PLYMOUTH_POLICY_DIR@
- ++PLYMOUTH_THEME_PATH = @PLYMOUTH_THEME_PATH@
- ++RANLIB = @RANLIB@
- ++RELEASE_FILE = @RELEASE_FILE@
- ++SED = @SED@
- ++SET_MAKE = @SET_MAKE@
- ++SHELL = @SHELL@
- ++STRIP = @STRIP@
- ++VERSION = @VERSION@
- ++abs_builddir = @abs_builddir@
- ++abs_srcdir = @abs_srcdir@
- ++abs_top_builddir = @abs_top_builddir@
- ++abs_top_srcdir = @abs_top_srcdir@
- ++ac_ct_CC = @ac_ct_CC@
- ++ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
- ++am__include = @am__include@
- ++am__leading_dot = @am__leading_dot@
- ++am__quote = @am__quote@
- ++am__tar = @am__tar@
- ++am__untar = @am__untar@
- ++background_color = @background_color@
- ++background_end_color = @background_end_color@
- ++background_start_color = @background_start_color@
- ++bindir = @bindir@
- ++build = @build@
- ++build_alias = @build_alias@
- ++build_cpu = @build_cpu@
- ++build_os = @build_os@
- ++build_vendor = @build_vendor@
- ++builddir = @builddir@
- ++datadir = @datadir@
- ++datarootdir = @datarootdir@
- ++docdir = @docdir@
- ++dvidir = @dvidir@
- ++exec_prefix = @exec_prefix@
- ++host = @host@
- ++host_alias = @host_alias@
- ++host_cpu = @host_cpu@
- ++host_os = @host_os@
- ++host_vendor = @host_vendor@
- ++htmldir = @htmldir@
- ++includedir = @includedir@
- ++infodir = @infodir@
- ++install_sh = @install_sh@
- ++libdir = @libdir@
- ++libexecdir = @libexecdir@
- ++localedir = @localedir@
- ++localstatedir = @localstatedir@
- ++logofile = @logofile@
- ++lt_ECHO = @lt_ECHO@
- ++mandir = @mandir@
- ++mkdir_p = @mkdir_p@
- ++oldincludedir = @oldincludedir@
- ++pdfdir = @pdfdir@
- ++plymouthclientdir = @plymouthclientdir@
- ++plymouthdaemondir = @plymouthdaemondir@
- ++prefix = @prefix@
- ++program_transform_name = @program_transform_name@
- ++psdir = @psdir@
- ++sbindir = @sbindir@
- ++sharedstatedir = @sharedstatedir@
- ++srcdir = @srcdir@
- ++sysconfdir = @sysconfdir@
- ++target_alias = @target_alias@
- ++top_build_prefix = @top_build_prefix@
- ++top_builddir = @top_builddir@
- ++top_srcdir = @top_srcdir@
- ++INCLUDES = -I$(top_srcdir) \
- ++ -I$(srcdir)/../../../libply \
- ++ -I$(srcdir)/../../../libply-splash-core \
- ++ -I$(srcdir)/../../.. \
- ++ -I$(srcdir)/../.. \
- ++ -I$(srcdir)/.. \
- ++ -I$(srcdir)
- +
- -+ # You can make the box translucent with a float
- -+ # entry.sprite.SetOpacity (0.3);
- -+ entry.sprite.SetOpacity (opacity);
- -+ label.sprite.SetOpacity (opacity);
- -+
- -+ if (bullets) {
- -+ for (index = 0; bullets[index]; index++) {
- -+ bullets[index].sprite.SetOpacity (opacity);
- -+ }
- -+ }
- -+}
- ++plugindir = $(libdir)/plymouth/renderers
- ++plugin_LTLIBRARIES = vga16fb.la
- ++vga16fb_la_CFLAGS = $(PLYMOUTH_CFLAGS)
- ++vga16fb_la_LDFLAGS = -module -avoid-version -export-dynamic
- ++vga16fb_la_LIBADD = $(PLYMOUTH_LIBS) \
- ++ ../../../libply/libply.la \
- ++ ../../../libply-splash-core/libply-splash-core.la
- +
- ++vga16fb_la_SOURCES = $(srcdir)/plugin.c
- ++MAINTAINERCLEANFILES = Makefile.in
- ++all: all-am
- +
- -+# The callback function is called when the display should display a password dialogue.
- -+# First arg is prompt string, the second is the number of bullets.
- -+fun display_password_callback (prompt, bullets) {
- -+ # Debug("Password dialog setup");
- -+
- -+ global.status = "password";
- -+ if (!global.password_dialogue) password_dialogue_setup(prompt);
- -+ password_dialogue_opacity (1);
- -+ bullet_width = password_dialogue.bullet_image.GetWidth();
- -+ bullet_y = password_dialogue.entry.y +
- -+ password_dialogue.entry.image.GetHeight () / 2 -
- -+ password_dialogue.bullet_image.GetHeight () / 2;
- -+ margin = bullet_width;
- -+ spaces = Math.Int( (password_dialogue.entry.image.GetWidth () - (margin * 2)) / (bullet_width / 2 ) );
- -+ #Debug ("spaces = " + spaces + ", bullets = " + bullets);
- -+ bullets_area.width = margin + spaces * (bullet_width / 2);
- -+ bullets_area.x = Window.GetX () + Window.GetWidth () / 2 - bullets_area.width / 2;
- -+ #DebugBottom ("pwd_entry x = " + password_dialogue.entry.x + ", bullets_area.x = " + bullets_area.x + ", bullets_area.width = " + bullets_area.width);
- -+ if (bullets > spaces)
- -+ bullets = spaces;
- -+ for (index = 0; password_dialogue.bullets[index] || index < bullets; index++){
- -+ if (!password_dialogue.bullets[index]) {
- -+ password_dialogue.bullets[index].sprite = Sprite ();
- -+ password_dialogue.bullets[index].sprite.SetImage (password_dialogue.bullet_image);
- -+ password_dialogue.bullets[index].x = bullets_area.x + # password_dialogue.entry.x + margin +
- -+ index * bullet_width / 2;
- -+ password_dialogue.bullets[index].sprite.SetX (password_dialogue.bullets[index].x);
- -+ password_dialogue.bullets[index].y = bullet_y;
- -+ password_dialogue.bullets[index].sprite.SetY (password_dialogue.bullets[index].y);
- -+ password_dialogue.bullets[index].z = password_dialogue.entry.z + 1;
- -+ password_dialogue.bullets[index].sprite.SetZ (password_dialogue.bullets[index].z);
- -+ }
- ++.SUFFIXES:
- ++.SUFFIXES: .c .lo .o .obj
- ++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- ++ @for dep in $?; do \
- ++ case '$(am__configure_deps)' in \
- ++ *$$dep*) \
- ++ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- ++ && { if test -f $@; then exit 0; else break; fi; }; \
- ++ exit 1;; \
- ++ esac; \
- ++ done; \
- ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/plugins/renderers/vga16fb/Makefile'; \
- ++ $(am__cd) $(top_srcdir) && \
- ++ $(AUTOMAKE) --gnu src/plugins/renderers/vga16fb/Makefile
- ++.PRECIOUS: Makefile
- ++Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- ++ @case '$?' in \
- ++ *config.status*) \
- ++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- ++ *) \
- ++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- ++ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- ++ esac;
- +
- -+ password_dialogue.bullets[index].sprite.SetOpacity (0);
- ++$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- ++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- -+ if (index < bullets) {
- -+ password_dialogue.bullets[index].sprite.SetOpacity (1);
- -+ }
- -+ }
- -+}
- ++$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- ++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- ++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- ++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- ++$(am__aclocal_m4_deps):
- ++install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
- ++ @$(NORMAL_INSTALL)
- ++ test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
- ++ @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
- ++ list2=; for p in $$list; do \
- ++ if test -f $$p; then \
- ++ list2="$$list2 $$p"; \
- ++ else :; fi; \
- ++ done; \
- ++ test -z "$$list2" || { \
- ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \
- ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \
- ++ }
- +
- -+Plymouth.SetDisplayPasswordFunction (display_password_callback);
- ++uninstall-pluginLTLIBRARIES:
- ++ @$(NORMAL_UNINSTALL)
- ++ @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
- ++ for p in $$list; do \
- ++ $(am__strip_dir) \
- ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \
- ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \
- ++ done
- +
- -+Plymouth.SetMessageFunction (message_callback);
- ++clean-pluginLTLIBRARIES:
- ++ -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES)
- ++ @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
- ++ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- ++ test "$$dir" != "$$p" || dir=.; \
- ++ echo "rm -f \"$${dir}/so_locations\""; \
- ++ rm -f "$${dir}/so_locations"; \
- ++ done
- ++vga16fb.la: $(vga16fb_la_OBJECTS) $(vga16fb_la_DEPENDENCIES)
- ++ $(AM_V_CCLD)$(vga16fb_la_LINK) -rpath $(plugindir) $(vga16fb_la_OBJECTS) $(vga16fb_la_LIBADD) $(LIBS)
- +
- -+Plymouth.SetBootProgressFunction (animate_progress_indicator);
- ++mostlyclean-compile:
- ++ -rm -f *.$(OBJEXT)
- +
- -+# Plymouth.SetBootProgressFunction: the callback function is called with two numbers, the progress (between 0 and 1) and the time spent booting so far
- -+# Plymouth.SetRootMountedFunction: the callback function is called when a new root is mounted
- -+# Plymouth.SetKeyboardInputFunction: the callback function is called with a string containing a new character entered on the keyboard
- ++distclean-compile:
- ++ -rm -f *.tab.c
- +
- -+#----------------------------------------- FSCK Counter --------------------------------
- ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vga16fb_la-plugin.Plo@am__quote@
- +
- -+# Initialise the counter
- -+fun init_fsck_count () {
- -+ # The number of fsck checks in this cycle
- -+ global.counter.total = 0;
- -+ # The number of fsck checks already performed + the current one
- -+ global.counter.current = 1;
- -+ # The previous fsck
- -+ global.counter.last = 0;
- -+}
- ++.c.o:
- ++@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- ++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- ++@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- ++@am__fastdepCC_FALSE@ $(COMPILE) -c $<
- +
- -+# Increase the total counter
- -+fun increase_fsck_count () {
- -+ global.counter.total++;
- -+}
- ++.c.obj:
- ++@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- ++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- ++@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- ++@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
- +
- -+fun increase_current_fsck_count () {
- -+ global.counter.last = global.counter.current++;
- -+}
- ++.c.lo:
- ++@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- ++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
- ++@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- ++@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
- +
- -+# Clear the counter
- -+fun clear_fsck_count () {
- -+ global.counter = NULL;
- -+ init_fsck_count ();
- -+}
- ++vga16fb_la-plugin.lo: $(srcdir)/plugin.c
- ++@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vga16fb_la_CFLAGS) $(CFLAGS) -MT vga16fb_la-plugin.lo -MD -MP -MF $(DEPDIR)/vga16fb_la-plugin.Tpo -c -o vga16fb_la-plugin.lo `test -f '$(srcdir)/plugin.c' || echo '$(srcdir)/'`$(srcdir)/plugin.c
- ++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vga16fb_la-plugin.Tpo $(DEPDIR)/vga16fb_la-plugin.Plo
- ++@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/plugin.c' object='vga16fb_la-plugin.lo' libtool=yes @AMDEPBACKSLASH@
- ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- ++@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vga16fb_la_CFLAGS) $(CFLAGS) -c -o vga16fb_la-plugin.lo `test -f '$(srcdir)/plugin.c' || echo '$(srcdir)/'`$(srcdir)/plugin.c
- +
- -+#----------------------------------------- Progress Label ------------------------------
- ++mostlyclean-libtool:
- ++ -rm -f *.lo
- +
- ++clean-libtool:
- ++ -rm -rf .libs _libs
- +
- -+# Change the opacity level of a progress label
- -+#
- -+# opacity = 1 -> show
- -+# opacity = 0 -> hide
- -+# opacity = 0.3 (or any other float) -> translucent
- -+#
- -+fun set_progress_label_opacity (opacity) {
- -+ # the label
- -+ progress_label.sprite.SetOpacity (opacity);
- -+
- -+ # Make the slot available again when hiding the bar
- -+ # So that another bar can take its place
- -+ if (opacity == 0) {
- -+ progress_label.is_available = 1;
- -+ progress_label.device = "";
- -+ }
- -+}
- ++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- ++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- ++ unique=`for i in $$list; do \
- ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- ++ done | \
- ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- ++ END { if (nonempty) { for (i in files) print i; }; }'`; \
- ++ mkid -fID $$unique
- ++tags: TAGS
- +
- -+# Set up a new Progress Bar
- -+#
- -+# TODO: Make it possible to reuse (rather than recreate) a bar
- -+# if .is_available = 1. Ideally this would just reset the
- -+# label, the associated
- -+# device and the image size of the sprite.
- ++TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- ++ $(TAGS_FILES) $(LISP)
- ++ set x; \
- ++ here=`pwd`; \
- ++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- ++ unique=`for i in $$list; do \
- ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- ++ done | \
- ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- ++ END { if (nonempty) { for (i in files) print i; }; }'`; \
- ++ shift; \
- ++ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- ++ test -n "$$unique" || unique=$$empty_fix; \
- ++ if test $$# -gt 0; then \
- ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- ++ "$$@" $$unique; \
- ++ else \
- ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- ++ $$unique; \
- ++ fi; \
- ++ fi
- ++ctags: CTAGS
- ++CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- ++ $(TAGS_FILES) $(LISP)
- ++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- ++ unique=`for i in $$list; do \
- ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- ++ done | \
- ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- ++ END { if (nonempty) { for (i in files) print i; }; }'`; \
- ++ test -z "$(CTAGS_ARGS)$$unique" \
- ++ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- ++ $$unique
- +
- -+fun init_progress_label (device, status_string) {
- -+ # Make the slot unavailable
- -+ global.progress_label.is_available = 0;
- -+ progress_label.progress = 0;
- -+ progress_label.device = device;
- -+ progress_label.status_string = status_string;
- -+}
- ++GTAGS:
- ++ here=`$(am__cd) $(top_builddir) && pwd` \
- ++ && $(am__cd) $(top_srcdir) \
- ++ && gtags -i $(GTAGS_ARGS) "$$here"
- +
- -+# See if the progress label is keeping track of the fsck
- -+# of "device"
- -+#
- -+fun device_has_progress_label (device) {
- -+ #DebugBottom ("label device = " + progress_label.device + " checking device " + device);
- -+ return (progress_label.device == device);
- -+}
- ++distclean-tags:
- ++ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- +
- -+# Update the Progress bar which corresponds to index
- -+#
- -+fun update_progress_label (progress) {
- -+ # If progress is NULL then we just refresh the label.
- -+ # This happens when only counter.total has changed.
- -+ if (progress != NULL) {
- -+ progress_label.progress = progress;
- -+
- -+ #Debug("device " + progress_label.device + " progress " + progress);
- -+
- -+ # If progress >= 100% hide the label and make it available again
- -+ if (progress >= 100) {
- -+ set_progress_label_opacity (0);
- -+
- -+ # See if we any other fsck check is complete
- -+ # and, if so, hide the progress bars and the labels
- -+ on_fsck_completed ();
- -+
- -+ return 0;
- -+ }
- -+ }
- -+ # Update progress label here
- -+ #
- -+ # FIXME: the queue logic from this theme should really be moved into mountall
- -+ # instead of using string replacement to deal with localised strings.
- -+ label = StringReplace (progress_label.status_string[0], "%1$d", global.counter.current);
- -+ label = StringReplace (label, "%2$d", global.counter.total);
- -+ label = StringReplace (label, "%3$d", progress_label.progress);
- -+ label = StringReplace (label, "%%", "%");
- ++distdir: $(DISTFILES)
- ++ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- ++ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- ++ list='$(DISTFILES)'; \
- ++ dist_files=`for file in $$list; do echo $$file; done | \
- ++ sed -e "s|^$$srcdirstrip/||;t" \
- ++ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- ++ case $$dist_files in \
- ++ */*) $(MKDIR_P) `echo "$$dist_files" | \
- ++ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- ++ sort -u` ;; \
- ++ esac; \
- ++ for file in $$dist_files; do \
- ++ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- ++ if test -d $$d/$$file; then \
- ++ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- ++ if test -d "$(distdir)/$$file"; then \
- ++ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- ++ fi; \
- ++ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- ++ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- ++ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- ++ fi; \
- ++ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- ++ else \
- ++ test -f "$(distdir)/$$file" \
- ++ || cp -p $$d/$$file "$(distdir)/$$file" \
- ++ || exit 1; \
- ++ fi; \
- ++ done
- ++check-am: all-am
- ++check: check-am
- ++all-am: Makefile $(LTLIBRARIES)
- ++installdirs:
- ++ for dir in "$(DESTDIR)$(plugindir)"; do \
- ++ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- ++ done
- ++install: install-am
- ++install-exec: install-exec-am
- ++install-data: install-data-am
- ++uninstall: uninstall-am
- +
- -+ progress_label = get_fsck_label (label, 0);
- -+ #progress_label.progress = progress;
- ++install-am: all-am
- ++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- -+ progress_label.sprite = Sprite (progress_label.image);
- -+
- -+ # Set up the bar
- -+ progress_label.sprite.SetPosition(progress_label.x, progress_label.y, 1);
- ++installcheck: installcheck-am
- ++install-strip:
- ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- ++ `test -z '$(STRIP)' || \
- ++ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
- ++mostlyclean-generic:
- +
- -+ set_progress_label_opacity (1);
- ++clean-generic:
- +
- -+}
- ++distclean-generic:
- ++ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- ++ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- +
- -+# Refresh the label so as to update counters
- -+fun refresh_progress_label () {
- -+ update_progress_label (NULL);
- -+}
- ++maintainer-clean-generic:
- ++ @echo "This command is intended for maintainers to use"
- ++ @echo "it deletes files that may require special tools to rebuild."
- ++ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
- ++clean: clean-am
- +
- -+#----------------------------------------- FSCK Queue ----------------------------------
- ++clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \
- ++ mostlyclean-am
- +
- -+# Initialise the fsck queue
- -+fun init_queue () {
- -+ global.fsck_queue[0].device;
- -+ global.fsck_queue[0].progress;
- -+ global.fsck_queue.counter = 0;
- -+ global.fsck_queue.biggest_item = 0;
- -+}
- ++distclean: distclean-am
- ++ -rm -rf ./$(DEPDIR)
- ++ -rm -f Makefile
- ++distclean-am: clean-am distclean-compile distclean-generic \
- ++ distclean-tags
- +
- -+fun clear_queue () {
- -+ global.fsck_queue = NULL;
- -+ init_queue ();
- -+}
- ++dvi: dvi-am
- +
- -+# Return either the device index in the queue or -1
- -+fun queue_look_up_by_device (device) {
- -+ for (i=0; i <= fsck_queue.biggest_item; i++) {
- -+ if ((fsck_queue[i]) && (fsck_queue[i].device == device))
- -+ return i;
- -+ }
- -+ return -1;
- -+}
- ++dvi-am:
- ++
- ++html: html-am
- +
- -+# Keep track of an fsck process in the queue
- -+fun add_fsck_to_queue (device, progress) {
- -+ # Look for an empty slot in the queue
- -+ for (i=0; global.fsck_queue[i].device; i++) {
- -+ continue;
- -+ }
- -+ local.index = i;
- -+
- -+ # Set device and progress
- -+ global.fsck_queue[local.index].device = device;
- -+ global.fsck_queue[local.index].progress = progress;
- -+
- -+ # Increase the queue counter
- -+ global.fsck_queue.counter++;
- -+
- -+ # Update the max index of the array for iterations
- -+ if (local.index > global.fsck_queue.biggest_item)
- -+ global.fsck_queue.biggest_item = local.index;
- -+
- -+ #DebugMedium ("Adding " + device + " at " + local.index);
- -+}
- ++html-am:
- +
- -+fun is_queue_empty () {
- -+ return (fsck_queue.counter == 0);
- -+}
- ++info: info-am
- +
- -+fun is_progress_label_available () {
- -+ return (progress_label.is_available == 1);
- -+}
- ++info-am:
- +
- ++install-data-am: install-pluginLTLIBRARIES
- +
- -+# This should cover the case in which the fsck checks in
- -+# the queue are completed before the ones showed in the
- -+# progress label
- -+fun on_queued_fsck_completed () {
- -+ if (!is_queue_empty ())
- -+ return;
- -+
- -+ # Hide the extra label, if any
- -+ #if (progress_bar.extra_label.sprite)
- -+ # progress_bar.extra_label.sprite.SetOpacity(0);
- -+}
- ++install-dvi: install-dvi-am
- +
- -+fun remove_fsck_from_queue (index) {
- -+ # Free memory which was previously allocated for
- -+ # device and progress
- -+ global.fsck_queue[index].device = NULL;
- -+ global.fsck_queue[index].progress = NULL;
- ++install-dvi-am:
- +
- -+ # Decrease the queue counter
- -+ global.fsck_queue.counter--;
- -+
- -+ # See if there are other processes in the queue
- -+ # if not, clear the extra_label
- -+ on_queued_fsck_completed ();
- -+}
- ++install-exec-am:
- +
- -+fun on_fsck_completed () {
- -+ # We have moved on to tracking the next fsck
- -+ increase_current_fsck_count ();
- ++install-html: install-html-am
- +
- -+ if (!is_progress_label_available ())
- -+ return;
- -+
- -+ if (!is_queue_empty ())
- -+ return;
- -+
- -+ # Hide the progress label
- -+ if (progress_label.sprite)
- -+ progress_label.sprite.SetOpacity (0);
- -+
- -+ # Clear the queue
- -+ clear_queue ();
- ++install-html-am:
- +
- -+ # Clear the fsck counter
- -+ clear_fsck_count ();
- -+}
- ++install-info: install-info-am
- +
- -+# Update an fsck process that we keep track of in the queue
- -+fun update_progress_in_queue (index, device, progress) {
- -+ # If the fsck is complete, remove it from the queue
- -+ if (progress >= 100) {
- -+ remove_fsck_from_queue (index);
- -+ on_queued_fsck_completed ();
- -+ return;
- -+ }
- -+
- -+ global.fsck_queue[index].device = device;
- -+ global.fsck_queue[index].progress = progress;
- -+
- -+}
- ++install-info-am:
- +
- -+# TODO: Move it to some function
- -+# Create an empty queue
- -+#init_queue ();
- ++install-man:
- +
- ++install-pdf: install-pdf-am
- +
- -+#----------------------------------------- FSCK Functions ------------------------------
- ++install-pdf-am:
- +
- ++install-ps: install-ps-am
- +
- -+# Either add a new bar for fsck checks or update an existing bar
- -+#
- -+# NOTE: no more than "progress_bar.max_number" bars are allowed
- -+#
- -+fun fsck_check (device, progress, status_string) {
- ++install-ps-am:
- +
- -+ # The 1st time this will take place
- -+ if (!global.progress_label) {
- -+ # Increase the fsck counter
- -+ increase_fsck_count ();
- ++installcheck-am:
- +
- -+ # Set up a new label for the check
- -+ init_progress_label (device, status_string);
- -+ update_progress_label (progress);
- ++maintainer-clean: maintainer-clean-am
- ++ -rm -rf ./$(DEPDIR)
- ++ -rm -f Makefile
- ++maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- -+ return;
- -+ }
- ++mostlyclean: mostlyclean-am
- +
- -+
- -+ if (device_has_progress_label (device)) {
- -+ # Update the progress of the existing label
- -+ update_progress_label (progress);
- -+ }
- -+ else {
- -+ # See if there's already a slot in the queue for the device
- -+ local.queue_device_index = queue_look_up_by_device(device);
- ++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
- ++ mostlyclean-libtool
- +
- -+ # See if the progress_label is available
- -+ if (progress_label.is_available) {
- -+
- -+# local.my_string = "available index " + local.available_index + " progress_bar counter is " + progress_bar.counter;
- -+# Debug(local.my_string);
- -+
- -+
- -+ # If the fsck check for the device was in the queue, then
- -+ # remove it from the queue
- -+ if (local.queue_device_index >= 0) {
- -+ remove_fsck_from_queue (index);
- -+ }
- -+ else {
- -+ # Increase the fsck counter
- -+ increase_fsck_count ();
- -+ }
- -+
- -+# local.my_string += local.message;
- -+ #Debug("setting new label for device " + device + " progress " + progress);
- ++pdf: pdf-am
- +
- -+ # Set up a new label for the check
- -+ init_progress_label (device, status_string);
- -+ update_progress_label (progress);
- -+
- -+ }
- -+ # If the progress_label is not available
- -+ else {
- -+
- -+ # If the fsck check for the device is already in the queue
- -+ # just update its progress in the queue
- -+ if (local.queue_device_index >= 0) {
- -+ #DebugMedium("Updating queue at " + local.queue_device_index + " for device " + device);
- -+ update_progress_in_queue (local.queue_device_index, device, progress);
- -+ }
- -+ # Otherwise add the check to the queue
- -+ else {
- -+ #DebugMedium("Adding device " + device + " to queue at " + local.queue_device_index);
- -+ add_fsck_to_queue (device, progress);
- ++pdf-am:
- +
- -+ # Increase the fsck counter
- -+ increase_fsck_count ();
- ++ps: ps-am
- +
- -+ refresh_progress_label ();
- -+ }
- -+
- -+ }
- -+ }
- -+
- -+# if (!is_queue_empty ()) {
- -+# DebugBottom("Extra label for "+ device);
- -+ #}
- -+# else {
- -+# DebugBottom("No extra label for " + device + ". 1st Device in the queue "+ fsck_queue[0].device + " counter = " + global.fsck_queue.counter);
- -+# }
- -+}
- ++ps-am:
- +
- ++uninstall-am: uninstall-pluginLTLIBRARIES
- +
- -+#-----------------------------------------Update Status stuff --------------------------
- -+#
- -+# The update_status_callback is what we can use to pass plymouth whatever we want so
- -+# as to make use of features which are available only in this program (as opposed to
- -+# being available for any theme for the script plugin).
- -+#
- -+# Example:
- -+#
- -+# Thanks to the current implementation, some scripts can call "plymouth --update=fsck:sda1:40"
- -+# and this program will know that 1) we're performing and fsck check, 2) we're checking sda1,
- -+# 3) the program should set the label progress to 40%
- -+#
- -+# Other features can be easily added by parsing the string that we pass plymouth with "--update"
- -+#
- -+fun update_status_callback (status) {
- -+# Debug(status);
- -+ if (!status) return;
- -+
- -+ string_it = 0;
- -+ update_strings[string_it] = "";
- -+
- -+ for (i=0; (String(status).CharAt(i) != ""); i++) {
- -+ local.temp_char = String(status).CharAt(i);
- -+ if (temp_char != ":")
- -+ update_strings[string_it] += temp_char;
- -+ else
- -+ update_strings[++string_it] = "";
- -+ }
- -+
- -+# my_string = update_strings[0] + " " + update_strings[1] + " " + update_strings[2];
- -+# Debug(my_string);
- -+ # Let's assume that we're dealing with these strings fsck:sda1:40
- -+ if ((string_it >= 2) && (update_strings[0] == "fsck")) {
- -+
- -+ device = update_strings[1];
- -+ progress = update_strings[2];
- -+ status_string[0] = update_strings[3]; # "Checking disk %1$d of %2$d (%3$d %% complete)"
- -+ if (!status_string[0])
- -+ status_string[0] = "Checking disk %1$d of %2$d (%3$d %% complete)";
- -+
- -+ if ((device != "") && (progress != "")) {
- -+ progress = StringToInteger (progress);
- -+
- -+ # Make sure that the fsck_queue is initialised
- -+ if (!global.fsck_queue)
- -+ init_queue ();
- ++.MAKE: install-am install-strip
- +
- -+ # Make sure that the fsck counter is initialised
- -+ if (!global.counter)
- -+ init_fsck_count ();
- ++.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- ++ clean-libtool clean-pluginLTLIBRARIES ctags distclean \
- ++ distclean-compile distclean-generic distclean-libtool \
- ++ distclean-tags distdir dvi dvi-am html html-am info info-am \
- ++ install install-am install-data install-data-am install-dvi \
- ++ install-dvi-am install-exec install-exec-am install-html \
- ++ install-html-am install-info install-info-am install-man \
- ++ install-pdf install-pdf-am install-pluginLTLIBRARIES \
- ++ install-ps install-ps-am install-strip installcheck \
- ++ installcheck-am installdirs maintainer-clean \
- ++ maintainer-clean-generic mostlyclean mostlyclean-compile \
- ++ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- ++ tags uninstall uninstall-am uninstall-pluginLTLIBRARIES
- ++
- ++
- ++# Tell versions [3.59,3.63) of GNU make to not export all variables.
- ++# Otherwise a system limit (for SysV at least) may be exceeded.
- ++.NOEXPORT:
- +--- plymouth-0.8.2.orig/src/client/ply-boot-client.h
- ++++ plymouth-0.8.2/src/client/ply-boot-client.h
- +@@ -129,6 +129,7 @@ void ply_boot_client_ask_daemon_has_acti
- + ply_boot_client_response_handler_t handler,
- + ply_boot_client_response_handler_t failed_handler,
- + void *user_data);
- ++void ply_boot_client_flush (ply_boot_client_t *client);
- + void ply_boot_client_disconnect (ply_boot_client_t *client);
- + void ply_boot_client_attach_to_event_loop (ply_boot_client_t *client,
- + ply_event_loop_t *loop);
- +--- plymouth-0.8.2.orig/src/client/Makefile.in
- ++++ plymouth-0.8.2/src/client/Makefile.in
- +@@ -228,6 +228,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/client/ply-boot-client.c
- ++++ plymouth-0.8.2/src/client/ply-boot-client.c
- +@@ -257,15 +257,32 @@ ply_boot_client_process_incoming_replies
- + return;
- + }
- +
- +- request_node = ply_list_get_first_node (client->requests_waiting_for_replies);
- +- assert (request_node != NULL);
- +-
- +- request = (ply_boot_client_request_t *) ply_list_node_get_data (request_node);
- +- assert (request != NULL);
- +-
- + if (!ply_read (client->socket_fd, byte, sizeof (uint8_t)))
- + goto out;
- +
- ++ for (request_node = ply_list_get_first_node (client->requests_waiting_for_replies);
- ++ request_node; request_node = ply_list_get_next_node (client->requests_waiting_for_replies, request_node))
- ++ {
- ++ assert (request_node != NULL);
- ++ request = (ply_boot_client_request_t *) ply_list_node_get_data (request_node);
- ++ assert (request != NULL);
- +
- -+# if (!global.progress_bar.extra_label.sprite)
- -+# create_extra_fsck_label ();
- -+
- -+ # Keep track of the fsck check
- -+ fsck_check (device, progress, status_string);
- ++ if (! strcmp (request->command, PLY_BOOT_PROTOCOL_REQUEST_TYPE_PASSWORD)
- ++ || ! strcmp (request->command, PLY_BOOT_PROTOCOL_REQUEST_TYPE_QUESTION)
- ++ || ! strcmp (request->command, PLY_BOOT_PROTOCOL_REQUEST_TYPE_KEYSTROKE))
- ++ {
- ++ if (! memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ANSWER, sizeof (uint8_t))
- ++ || ! memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_NO_ANSWER, sizeof (uint8_t)))
- ++ break;
- ++ }
- ++ else
- ++ {
- ++ if (memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ANSWER, sizeof (uint8_t))
- ++ && memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_NO_ANSWER, sizeof (uint8_t)))
- ++ break;
- + }
- -+
- + }
- +
- -+}
- -+Plymouth.SetUpdateStatusFunction (update_status_callback);
- -+
- -+#-----------------------------------------Display Question stuff -----------------------
- -+#
- -+# TODO: Implement this if needed
- -+#
- -+# The callback function is called when the display should display a question dialogue.
- -+# First arg is prompt string, the second is the entry contents.
- -+#fun display_question_callback (prompt_string, entry_contents)
- -+#{
- -+# time++;
- -+#}
- -+#
- -+#Plymouth.SetDisplayQuestionFunction (display_question_callback);
- -+
- -+#-----------------------------------------Refresh stuff --------------------------------
- -+#
- -+# Calling Plymouth.SetRefreshFunction with a function will set that function to be
- -+# called up to 50 times every second, e.g.
- -+#
- -+# NOTE: if a refresh function is not set, Plymouth doesn't seem to be able to update
- -+# the screen correctly
- -+#
- -+fun refresh_callback ()
- + if (memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ACK, sizeof (uint8_t)) == 0)
- + request->handler (request->user_data, client);
- + else if (memcmp (byte, PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ANSWER, sizeof (uint8_t)) == 0)
- +@@ -743,6 +760,17 @@ ply_boot_client_tell_daemon_about_error
- + }
- +
- + void
- ++ply_boot_client_flush (ply_boot_client_t *client)
- +{
- -+ draw_logo ();
- -+}
- -+Plymouth.SetRefreshFunction (refresh_callback);
- -+
- ++ assert (client != NULL);
- +
- -+#-----------------------------------------Display Normal stuff -----------------------
- -+#
- -+# The callback function is called when the display should return to normal
- -+fun display_normal_callback ()
- -+{
- -+ global.status = "normal";
- -+ if (global.password_dialogue) {
- -+ password_dialogue_opacity (0);
- -+ global.password_dialogue = NULL;
- -+ if (message_notification[2].sprite) hide_message(2);
- -+ prompt_active = 0;
- ++ while (ply_list_get_length (client->requests_to_send) > 0)
- ++ {
- ++ ply_event_loop_process_pending_events (client->loop);
- + }
- -+
- -+ if (message_notification[1].sprite) show_message (1);
- -+
- -+
- +}
- +
- -+Plymouth.SetDisplayNormalFunction (display_normal_callback);
- -+
- -+
- -+#----------------------------------------- Quit --------------------------------
- ++void
- + ply_boot_client_disconnect (ply_boot_client_t *client)
- + {
- + assert (client != NULL);
- +--- plymouth-0.8.2.orig/src/client/tests/Makefile.in
- ++++ plymouth-0.8.2/src/client/tests/Makefile.in
- +@@ -121,6 +121,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/libply-splash-graphics/Makefile.in
- ++++ plymouth-0.8.2/src/libply-splash-graphics/Makefile.in
- +@@ -186,6 +186,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/viewer/Makefile.in
- ++++ plymouth-0.8.2/src/viewer/Makefile.in
- +@@ -215,6 +215,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/libply-splash-core/ply-pixel-display.h
- ++++ plymouth-0.8.2/src/libply-splash-core/ply-pixel-display.h
- +@@ -48,6 +48,7 @@ void ply_pixel_display_free (ply_pixel_d
- +
- + unsigned long ply_pixel_display_get_width (ply_pixel_display_t *display);
- + unsigned long ply_pixel_display_get_height (ply_pixel_display_t *display);
- ++unsigned int ply_pixel_display_get_bits_per_pixel (ply_pixel_display_t *display);
- +
- + void ply_pixel_display_set_draw_handler (ply_pixel_display_t *display,
- + ply_pixel_display_draw_handler_t draw_handler,
- +--- plymouth-0.8.2.orig/src/libply-splash-core/ply-renderer-plugin.h
- ++++ plymouth-0.8.2/src/libply-splash-core/ply-renderer-plugin.h
- +@@ -54,6 +54,8 @@ typedef struct
- +
- + ply_pixel_buffer_t * (* get_buffer_for_head) (ply_renderer_backend_t *backend,
- + ply_renderer_head_t *head);
- ++ unsigned int (* get_bits_per_pixel_for_head) (ply_renderer_backend_t *backend,
- ++ ply_renderer_head_t *head);
- +
- + ply_renderer_input_source_t * (* get_input_source) (ply_renderer_backend_t *backend);
- + bool (* open_input_source) (ply_renderer_backend_t *backend,
- +--- plymouth-0.8.2.orig/src/libply-splash-core/ply-pixel-display.c
- ++++ plymouth-0.8.2/src/libply-splash-core/ply-pixel-display.c
- +@@ -51,6 +51,7 @@ struct _ply_pixel_display
- +
- + unsigned long width;
- + unsigned long height;
- ++ unsigned int bits_per_pixel;
- +
- + ply_pixel_display_draw_handler_t draw_handler;
- + void *draw_handler_user_data;
- +@@ -79,6 +80,9 @@ ply_pixel_display_new (ply_renderer_t
- + display->width = size.width;
- + display->height = size.height;
- +
- ++ display->bits_per_pixel = ply_renderer_get_bits_per_pixel_for_head (renderer,
- ++ head);
- +
- -+# TODO: Maybe we should also hide any other dialog
- -+# Show the logo and make the progress indicator look full when on exit
- -+fun quit_callback ()
- + return display;
- + }
- +
- +@@ -94,6 +98,12 @@ ply_pixel_display_get_height (ply_pixel_
- + return display->height;
- + }
- +
- ++unsigned int
- ++ply_pixel_display_get_bits_per_pixel (ply_pixel_display_t *display)
- +{
- -+ logo.sprite.SetOpacity (1);
- -+ switch_on_bullets ();
- ++ return display->bits_per_pixel;
- +}
- +
- -+Plymouth.SetQuitFunction(quit_callback);
- ---- /dev/null
- -+++ plymouth-0.8.2/themes/ubuntu-logo/Makefile.am
- -@@ -0,0 +1,22 @@
- -+themedir = $(datadir)/plymouth/themes/ubuntu-logo
- -+nodist_theme_DATA = ubuntu-logo.plymouth
- -+dist_theme_DATA = ubuntu-logo.script \
- -+ ubuntu_logo.png \
- -+ ubuntu_logo16.png \
- -+ password_field.png \
- -+ password_field16.png \
- -+ progress_dot_off.png \
- -+ progress_dot_off16.png \
- -+ progress_dot_on.png \
- -+ progress_dot_on16.png
- -+
- -+
- + static void
- + ply_pixel_display_flush (ply_pixel_display_t *display)
- + {
- +--- plymouth-0.8.2.orig/src/libply-splash-core/ply-renderer.c
- ++++ plymouth-0.8.2/src/libply-splash-core/ply-renderer.c
- +@@ -231,6 +231,7 @@ ply_renderer_open (ply_renderer_t *rende
- + PLYMOUTH_PLUGIN_PATH "renderers/x11.so",
- + PLYMOUTH_PLUGIN_PATH "renderers/drm.so",
- + PLYMOUTH_PLUGIN_PATH "renderers/frame-buffer.so",
- ++ PLYMOUTH_PLUGIN_PATH "renderers/vga16fb.so",
- + NULL
- + };
- +
- +@@ -310,6 +311,21 @@ ply_renderer_get_buffer_for_head (ply_re
- + head);
- + }
- +
- ++unsigned int
- ++ply_renderer_get_bits_per_pixel_for_head (ply_renderer_t *renderer,
- ++ ply_renderer_head_t *head)
- ++{
- ++ assert (renderer != NULL);
- ++ assert (renderer->plugin_interface != NULL);
- ++ assert (head != NULL);
- +
- -+MAINTAINERCLEANFILES = Makefile.in ubuntu-logo.plymouth
- -+CLEANFILES = ubuntu-logo.plymouth
- ++ if (!renderer->plugin_interface->get_bits_per_pixel_for_head)
- ++ return 0;
- +
- -+ubuntu-logo.plymouth: $(srcdir)/ubuntu-logo.plymouth.in
- -+ sed -e 's,[@]PLYMOUTH_THEME_PATH[@],$(PLYMOUTH_THEME_PATH),g' \
- -+ $(srcdir)/ubuntu-logo.plymouth.in > ubuntu-logo.plymouth
- ++ return renderer->plugin_interface->get_bits_per_pixel_for_head (renderer->backend,
- ++ head);
- ++}
- +
- -+EXTRA_DIST = ubuntu-logo.plymouth.in
- ---- plymouth-0.8.2.orig/themes/glow/Makefile.in
- -+++ plymouth-0.8.2/themes/glow/Makefile.in
- -@@ -139,6 +139,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + void
- + ply_renderer_flush_head (ply_renderer_t *renderer,
- + ply_renderer_head_t *head)
- +--- plymouth-0.8.2.orig/src/libply-splash-core/Makefile.in
- ++++ plymouth-0.8.2/src/libply-splash-core/Makefile.in
- +@@ -185,6 +185,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/libply-splash-core/ply-renderer.h
- ++++ plymouth-0.8.2/src/libply-splash-core/ply-renderer.h
- +@@ -50,6 +50,8 @@ void ply_renderer_deactivate (ply_render
- + ply_list_t *ply_renderer_get_heads (ply_renderer_t *renderer);
- + ply_pixel_buffer_t *ply_renderer_get_buffer_for_head (ply_renderer_t *renderer,
- + ply_renderer_head_t *head);
- ++unsigned int ply_renderer_get_bits_per_pixel_for_head (ply_renderer_t *renderer,
- ++ ply_renderer_head_t *head);
- +
- + void ply_renderer_flush_head (ply_renderer_t *renderer,
- + ply_renderer_head_t *head);
- +--- plymouth-0.8.2.orig/src/libply/Makefile.in
- ++++ plymouth-0.8.2/src/libply/Makefile.in
- +@@ -219,6 +219,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- PACKAGE_NAME = @PACKAGE_NAME@
- PACKAGE_STRING = @PACKAGE_STRING@
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
- @@ -17151,3 +16671,483 @@
- PACKAGE_VERSION = @PACKAGE_VERSION@
- PANGO_CFLAGS = @PANGO_CFLAGS@
- PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/libply/tests/Makefile.in
- ++++ plymouth-0.8.2/src/libply/tests/Makefile.in
- +@@ -342,6 +342,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/src/tests/Makefile.in
- ++++ plymouth-0.8.2/src/tests/Makefile.in
- +@@ -195,6 +195,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/scripts/Makefile.in
- ++++ plymouth-0.8.2/scripts/Makefile.in
- +@@ -144,6 +144,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- + PACKAGE_NAME = @PACKAGE_NAME@
- + PACKAGE_STRING = @PACKAGE_STRING@
- + PACKAGE_TARNAME = @PACKAGE_TARNAME@
- ++PACKAGE_URL = @PACKAGE_URL@
- + PACKAGE_VERSION = @PACKAGE_VERSION@
- + PANGO_CFLAGS = @PANGO_CFLAGS@
- + PANGO_LIBS = @PANGO_LIBS@
- +--- plymouth-0.8.2.orig/build-tools/config.sub
- ++++ plymouth-0.8.2/build-tools/config.sub
- +@@ -4,7 +4,7 @@
- + # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
- + # Free Software Foundation, Inc.
- +
- +-timestamp='2009-11-20'
- ++timestamp='2009-06-11'
- +
- + # This file is (in principle) common to ALL GNU software.
- + # The presence of a machine in this file suggests that SOME GNU software
- +@@ -32,16 +32,13 @@ timestamp='2009-11-20'
- +
- +
- + # Please send patches to <config-patches@gnu.org>. Submit a context
- +-# diff and a properly formatted GNU ChangeLog entry.
- ++# diff and a properly formatted ChangeLog entry.
- + #
- + # Configuration subroutine to validate and canonicalize a configuration type.
- + # Supply the specified configuration type as an argument.
- + # If it is invalid, we print an error message on stderr and exit with code 1.
- + # Otherwise, we print the canonical config type on stdout and succeed.
- +
- +-# You can get the latest version of this script from:
- +-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
- +-
- + # This file is supposed to be the same for all GNU packages
- + # and recognize all the CPU types, system types and aliases
- + # that are meaningful with *any* GNU software.
- +@@ -152,7 +149,7 @@ case $os in
- + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
- + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
- + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- +- -apple | -axis | -knuth | -cray | -microblaze)
- ++ -apple | -axis | -knuth | -cray)
- + os=
- + basic_machine=$1
- + ;;
- +@@ -287,7 +284,6 @@ case $basic_machine in
- + | pdp10 | pdp11 | pj | pjl \
- + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
- + | pyramid \
- +- | rx \
- + | score \
- + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
- + | sh64 | sh64le \
- +@@ -295,14 +291,13 @@ case $basic_machine in
- + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
- + | spu | strongarm \
- + | tahoe | thumb | tic4x | tic80 | tron \
- +- | ubicom32 \
- + | v850 | v850e \
- + | we32k \
- + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
- + | z8k | z80)
- + basic_machine=$basic_machine-unknown
- + ;;
- +- m6811 | m68hc11 | m6812 | m68hc12 | picochip)
- ++ m6811 | m68hc11 | m6812 | m68hc12)
- + # Motorola 68HC11/12.
- + basic_machine=$basic_machine-unknown
- + os=-none
- +@@ -345,7 +340,7 @@ case $basic_machine in
- + | lm32-* \
- + | m32c-* | m32r-* | m32rle-* \
- + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- +- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
- ++ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
- + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
- + | mips16-* \
- + | mips64-* | mips64el-* \
- +@@ -373,7 +368,7 @@ case $basic_machine in
- + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
- + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
- + | pyramid-* \
- +- | romp-* | rs6000-* | rx-* \
- ++ | romp-* | rs6000-* \
- + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
- + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
- + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
- +@@ -382,7 +377,6 @@ case $basic_machine in
- + | tahoe-* | thumb-* \
- + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
- + | tron-* \
- +- | ubicom32-* \
- + | v850-* | v850e-* | vax-* \
- + | we32k-* \
- + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
- +@@ -732,9 +726,6 @@ case $basic_machine in
- + basic_machine=ns32k-utek
- + os=-sysv
- + ;;
- +- microblaze)
- +- basic_machine=microblaze-xilinx
- +- ;;
- + mingw32)
- + basic_machine=i386-pc
- + os=-mingw32
- +@@ -1256,9 +1247,6 @@ case $os in
- + # First match some system type aliases
- + # that might get confused with valid system types.
- + # -solaris* is a basic system type, with this one exception.
- +- -auroraux)
- +- os=-auroraux
- +- ;;
- + -solaris1 | -solaris1.*)
- + os=`echo $os | sed -e 's|solaris1|sunos4|'`
- + ;;
- +@@ -1280,8 +1268,8 @@ case $os in
- + # -sysv* is not here because it comes later, after sysvr4.
- + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
- +- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
- +- | -sym* | -kopensolaris* \
- ++ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
- ++ | -kopensolaris* \
- + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- + | -aos* | -aros* \
- + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
- +@@ -1302,7 +1290,7 @@ case $os in
- + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
- + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
- + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- +- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
- ++ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
- + # Remember, each alternative MUST END IN *, to match a version number.
- + ;;
- + -qnx*)
- +--- plymouth-0.8.2.orig/build-tools/config.guess
- ++++ plymouth-0.8.2/build-tools/config.guess
- +@@ -4,7 +4,7 @@
- + # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
- + # Free Software Foundation, Inc.
- +
- +-timestamp='2009-11-20'
- ++timestamp='2009-06-10'
- +
- + # This file is free software; you can redistribute it and/or modify it
- + # under the terms of the GNU General Public License as published by
- +@@ -27,16 +27,16 @@ timestamp='2009-11-20'
- + # the same distribution terms that you use for the rest of that program.
- +
- +
- +-# Originally written by Per Bothner. Please send patches (context
- +-# diff format) to <config-patches@gnu.org> and include a ChangeLog
- +-# entry.
- ++# Originally written by Per Bothner <per@bothner.com>.
- ++# Please send patches to <config-patches@gnu.org>. Submit a context
- ++# diff and a properly formatted ChangeLog entry.
- + #
- + # This script attempts to guess a canonical system name similar to
- + # config.sub. If it succeeds, it prints the system name on stdout, and
- + # exits with 0. Otherwise, it exits with 1.
- + #
- +-# You can get the latest version of this script from:
- +-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
- ++# The plan is that this can be called by configure scripts if you
- ++# don't specify an explicit build system type.
- +
- + me=`echo "$0" | sed -e 's,.*/,,'`
- +
- +@@ -333,9 +333,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
- + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
- + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit ;;
- +- i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
- +- echo i386-pc-auroraux${UNAME_RELEASE}
- +- exit ;;
- + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
- + eval $set_cc_for_build
- + SUN_ARCH="i386"
- +@@ -810,12 +807,12 @@ EOF
- + i*:PW*:*)
- + echo ${UNAME_MACHINE}-pc-pw32
- + exit ;;
- +- *:Interix*:*)
- ++ *:Interix*:[3456]*)
- + case ${UNAME_MACHINE} in
- + x86)
- + echo i586-pc-interix${UNAME_RELEASE}
- + exit ;;
- +- authenticamd | genuineintel | EM64T)
- ++ EM64T | authenticamd | genuineintel)
- + echo x86_64-unknown-interix${UNAME_RELEASE}
- + exit ;;
- + IA64)
- +@@ -857,20 +854,6 @@ EOF
- + i*86:Minix:*:*)
- + echo ${UNAME_MACHINE}-pc-minix
- + exit ;;
- +- alpha:Linux:*:*)
- +- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- +- EV5) UNAME_MACHINE=alphaev5 ;;
- +- EV56) UNAME_MACHINE=alphaev56 ;;
- +- PCA56) UNAME_MACHINE=alphapca56 ;;
- +- PCA57) UNAME_MACHINE=alphapca56 ;;
- +- EV6) UNAME_MACHINE=alphaev6 ;;
- +- EV67) UNAME_MACHINE=alphaev67 ;;
- +- EV68*) UNAME_MACHINE=alphaev68 ;;
- +- esac
- +- objdump --private-headers /bin/sh | grep -q ld.so.1
- +- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- +- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- +- exit ;;
- + arm*:Linux:*:*)
- + eval $set_cc_for_build
- + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
- +@@ -893,17 +876,6 @@ EOF
- + frv:Linux:*:*)
- + echo frv-unknown-linux-gnu
- + exit ;;
- +- i*86:Linux:*:*)
- +- LIBC=gnu
- +- eval $set_cc_for_build
- +- sed 's/^ //' << EOF >$dummy.c
- +- #ifdef __dietlibc__
- +- LIBC=dietlibc
- +- #endif
- +-EOF
- +- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
- +- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- +- exit ;;
- + ia64:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- +@@ -929,18 +901,39 @@ EOF
- + #endif
- + #endif
- + EOF
- +- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
- ++ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- ++ /^CPU/{
- ++ s: ::g
- ++ p
- ++ }'`"
- + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- + ;;
- + or32:Linux:*:*)
- + echo or32-unknown-linux-gnu
- + exit ;;
- ++ ppc:Linux:*:*)
- ++ echo powerpc-unknown-linux-gnu
- ++ exit ;;
- ++ ppc64:Linux:*:*)
- ++ echo powerpc64-unknown-linux-gnu
- ++ exit ;;
- ++ alpha:Linux:*:*)
- ++ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- ++ EV5) UNAME_MACHINE=alphaev5 ;;
- ++ EV56) UNAME_MACHINE=alphaev56 ;;
- ++ PCA56) UNAME_MACHINE=alphapca56 ;;
- ++ PCA57) UNAME_MACHINE=alphapca56 ;;
- ++ EV6) UNAME_MACHINE=alphaev6 ;;
- ++ EV67) UNAME_MACHINE=alphaev67 ;;
- ++ EV68*) UNAME_MACHINE=alphaev68 ;;
- ++ esac
- ++ objdump --private-headers /bin/sh | grep -q ld.so.1
- ++ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- ++ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- ++ exit ;;
- + padre:Linux:*:*)
- + echo sparc-unknown-linux-gnu
- + exit ;;
- +- parisc64:Linux:*:* | hppa64:Linux:*:*)
- +- echo hppa64-unknown-linux-gnu
- +- exit ;;
- + parisc:Linux:*:* | hppa:Linux:*:*)
- + # Look for CPU level
- + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
- +@@ -949,11 +942,8 @@ EOF
- + *) echo hppa-unknown-linux-gnu ;;
- + esac
- + exit ;;
- +- ppc64:Linux:*:*)
- +- echo powerpc64-unknown-linux-gnu
- +- exit ;;
- +- ppc:Linux:*:*)
- +- echo powerpc-unknown-linux-gnu
- ++ parisc64:Linux:*:* | hppa64:Linux:*:*)
- ++ echo hppa64-unknown-linux-gnu
- + exit ;;
- + s390:Linux:*:* | s390x:Linux:*:*)
- + echo ${UNAME_MACHINE}-ibm-linux
- +@@ -976,6 +966,58 @@ EOF
- + xtensa*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- ++ i*86:Linux:*:*)
- ++ # The BFD linker knows what the default object file format is, so
- ++ # first see if it will tell us. cd to the root directory to prevent
- ++ # problems with other programs or directories called `ld' in the path.
- ++ # Set LC_ALL=C to ensure ld outputs messages in English.
- ++ ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
- ++ | sed -ne '/supported targets:/!d
- ++ s/[ ][ ]*/ /g
- ++ s/.*supported targets: *//
- ++ s/ .*//
- ++ p'`
- ++ case "$ld_supported_targets" in
- ++ elf32-i386)
- ++ TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
- ++ ;;
- ++ esac
- ++ # Determine whether the default compiler is a.out or elf
- ++ eval $set_cc_for_build
- ++ sed 's/^ //' << EOF >$dummy.c
- ++ #include <features.h>
- ++ #ifdef __ELF__
- ++ # ifdef __GLIBC__
- ++ # if __GLIBC__ >= 2
- ++ LIBC=gnu
- ++ # else
- ++ LIBC=gnulibc1
- ++ # endif
- ++ # else
- ++ LIBC=gnulibc1
- ++ # endif
- ++ #else
- ++ #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
- ++ LIBC=gnu
- ++ #else
- ++ LIBC=gnuaout
- ++ #endif
- ++ #endif
- ++ #ifdef __dietlibc__
- ++ LIBC=dietlibc
- ++ #endif
- ++EOF
- ++ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- ++ /^LIBC/{
- ++ s: ::g
- ++ p
- ++ }'`"
- ++ test x"${LIBC}" != x && {
- ++ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- ++ exit
- ++ }
- ++ test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
- ++ ;;
- + i*86:DYNIX/ptx:4*:*)
- + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
- + # earlier versions are messed up and put the nodename in both
- +@@ -1205,16 +1247,6 @@ EOF
- + *:Darwin:*:*)
- + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
- + case $UNAME_PROCESSOR in
- +- i386)
- +- eval $set_cc_for_build
- +- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
- +- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
- +- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
- +- grep IS_64BIT_ARCH >/dev/null
- +- then
- +- UNAME_PROCESSOR="x86_64"
- +- fi
- +- fi ;;
- + unknown) UNAME_PROCESSOR=powerpc ;;
- + esac
- + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
- +--- plymouth-0.8.2.orig/build-tools/ltmain.sh
- ++++ plymouth-0.8.2/build-tools/ltmain.sh
- +@@ -1,6 +1,6 @@
- + # Generated from ltmain.m4sh.
- +
- +-# ltmain.sh (GNU libtool) 2.2.6
- ++# ltmain.sh (GNU libtool) 2.2.6b
- + # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
- +
- + # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
- +@@ -65,7 +65,7 @@
- + # compiler: $LTCC
- + # compiler flags: $LTCFLAGS
- + # linker: $LD (gnu? $with_gnu_ld)
- +-# $progname: (GNU libtool) 2.2.6
- ++# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
- + # automake: $automake_version
- + # autoconf: $autoconf_version
- + #
- +@@ -73,9 +73,9 @@
- +
- + PROGRAM=ltmain.sh
- + PACKAGE=libtool
- +-VERSION=2.2.6
- ++VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
- + TIMESTAMP=""
- +-package_revision=1.3012
- ++package_revision=1.3017
- +
- + # Be Bourne compatible
- + if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- +@@ -5033,7 +5033,10 @@ func_mode_link ()
- + case $pass in
- + dlopen) libs="$dlfiles" ;;
- + dlpreopen) libs="$dlprefiles" ;;
- +- link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
- ++ link)
- ++ libs="$deplibs %DEPLIBS%"
- ++ test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
- ++ ;;
- + esac
- + fi
- + if test "$linkmode,$pass" = "lib,dlpreopen"; then
- +@@ -5344,19 +5347,19 @@ func_mode_link ()
- + # It is a libtool convenience library, so add in its objects.
- + convenience="$convenience $ladir/$objdir/$old_library"
- + old_convenience="$old_convenience $ladir/$objdir/$old_library"
- ++ tmp_libs=
- ++ for deplib in $dependency_libs; do
- ++ deplibs="$deplib $deplibs"
- ++ if $opt_duplicate_deps ; then
- ++ case "$tmp_libs " in
- ++ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- ++ esac
- ++ fi
- ++ tmp_libs="$tmp_libs $deplib"
- ++ done
- + elif test "$linkmode" != prog && test "$linkmode" != lib; then
- + func_fatal_error "\`$lib' is not a convenience library"
- + fi
- +- tmp_libs=
- +- for deplib in $dependency_libs; do
- +- deplibs="$deplib $deplibs"
- +- if $opt_duplicate_deps ; then
- +- case "$tmp_libs " in
- +- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- +- esac
- +- fi
- +- tmp_libs="$tmp_libs $deplib"
- +- done
- + continue
- + fi # $pass = conv
- +
- +@@ -5893,6 +5896,7 @@ func_mode_link ()
- + if test "$link_all_deplibs" != no; then
- + # Add the search paths of all dependency libraries
- + for deplib in $dependency_libs; do
- ++ path=
- + case $deplib in
- + -L*) path="$deplib" ;;
- + *.la)
- +@@ -6206,6 +6210,9 @@ func_mode_link ()
- + revision="$number_minor"
- + lt_irix_increment=no
- + ;;
- ++ *)
- ++ func_fatal_configuration "$modename: unknown library version type \`$version_type'"
- ++ ;;
- + esac
- + ;;
- + no)
SHARE
TWEET
mw
a guest
May 3rd, 2010
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
