New package: plymouth-0.8.3, not yet finished.
This commit is contained in:
parent
e39971db8b
commit
2e683c607e
|
@ -0,0 +1 @@
|
|||
plymouth
|
|
@ -0,0 +1 @@
|
|||
plymouth
|
|
@ -0,0 +1 @@
|
|||
plymouth
|
|
@ -0,0 +1 @@
|
|||
plymouth
|
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=0.8.3"
|
||||
api_depends="${abi_depends}"
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
update-initramfs -tu
|
|
@ -0,0 +1,112 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
PREREQ=""
|
||||
|
||||
prereqs()
|
||||
{
|
||||
echo "${PREREQ}"
|
||||
}
|
||||
|
||||
case "${1}" in
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
. /usr/share/initramfs-tools/hook-functions
|
||||
|
||||
THEME="$(/usr/sbin/plymouth-set-default-theme || true)"
|
||||
THEMES="/usr/share/plymouth/themes"
|
||||
|
||||
if [ -n "${THEME}" ]
|
||||
then
|
||||
THEME="${THEMES}/${THEME}/${THEME}.plymouth"
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
PLUGIN_PATH="$(plymouth --get-splash-plugin-path)"
|
||||
|
||||
case "$(basename ${THEME} .plymouth)" in
|
||||
text)
|
||||
PLUGINS="details.so text.so"
|
||||
;;
|
||||
|
||||
*)
|
||||
PLUGINS="details.so text.so label.so"
|
||||
;;
|
||||
esac
|
||||
|
||||
MODULE="${PLUGIN_PATH}/$(sed -n 's/^ModuleName=\(.*\)/\1/p' ${THEME}).so"
|
||||
|
||||
# copy plugin and images for current theme
|
||||
copy_exec "${MODULE}"
|
||||
mkdir -p "${DESTDIR}/${THEMES}"
|
||||
IMAGES="$(sed -n 's/^ImageDir=\(.*\)/\1/p' ${THEME})"
|
||||
# No images in text mode:
|
||||
if [ -n "${IMAGES}" ]
|
||||
then
|
||||
cp -r "${IMAGES}" "${DESTDIR}/${THEMES}"
|
||||
fi
|
||||
|
||||
# copy binaries and base plugins
|
||||
copy_exec /bin/plymouth
|
||||
copy_exec /sbin/plymouthd
|
||||
|
||||
for PLUGIN in ${PLUGINS}
|
||||
do
|
||||
copy_exec ${PLUGIN_PATH}/${PLUGIN}
|
||||
done
|
||||
|
||||
# copy base themes and logo
|
||||
cp -a "${THEMES}/details" "${DESTDIR}/${THEMES}"
|
||||
cp -a "${THEMES}/text" "${DESTDIR}/${THEMES}"
|
||||
cp /etc/os-release "${DESTDIR}/etc"
|
||||
|
||||
case "$(basename ${THEME} .plymouth)" in
|
||||
text)
|
||||
|
||||
;;
|
||||
|
||||
*)
|
||||
# copy files for font rendering
|
||||
mkdir -p "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu"
|
||||
mkdir -p "${DESTDIR}/etc/fonts/conf.d"
|
||||
mkdir -p "${DESTDIR}/var/cache/fontconfig"
|
||||
cp -a /usr/share/fonts/TTF/DejaVuSerif.ttf "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu"
|
||||
cp -a /usr/share/fonts/TTF/DejaVuSans.ttf "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu"
|
||||
cp -a /etc/fonts/fonts.conf "${DESTDIR}/etc/fonts"
|
||||
cp -rL /etc/fonts/conf.d/60-latin.conf "${DESTDIR}/etc/fonts/conf.d"
|
||||
if [ -d /usr/lib/pango/1.6.0 ]; then
|
||||
# pre-multiarch fallback
|
||||
PANGO_DIR=/usr/lib/pango/1.6.0
|
||||
fi
|
||||
mkdir -p "${DESTDIR}${PANGO_DIR}/modules"
|
||||
mkdir -p "${DESTDIR}/etc/pango"
|
||||
cp /etc/pango/pango.modules ${DESTDIR}/etc/pango
|
||||
copy_exec ${PANGO_DIR}/modules/pango-basic-fc.so
|
||||
|
||||
# copy renderers
|
||||
copy_exec /usr/lib/plymouth/renderers/frame-buffer.so
|
||||
copy_exec /usr/lib/plymouth/renderers/drm.so
|
||||
|
||||
# add drm/fb modules
|
||||
manual_add_modules intel-agp
|
||||
manual_add_modules ati-agp
|
||||
manual_add_modules i915
|
||||
manual_add_modules radeon
|
||||
;;
|
||||
esac
|
||||
|
||||
# copy config files
|
||||
mkdir -p "${DESTDIR}/etc/plymouth"
|
||||
|
||||
if [ -r /etc/plymouth/plymouthd.conf ]
|
||||
then
|
||||
cp -a /etc/plymouth/plymouthd.conf "${DESTDIR}/etc/plymouth/"
|
||||
fi
|
||||
|
||||
cp -a /usr/share/plymouth/plymouthd.defaults "${DESTDIR}/usr/share/plymouth/"
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREREQ="udev"
|
||||
|
||||
prereqs()
|
||||
{
|
||||
echo "${PREREQ}"
|
||||
}
|
||||
|
||||
case ${1} in
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
/bin/plymouth --newroot=${rootmnt}
|
|
@ -0,0 +1,40 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREREQ="udev"
|
||||
|
||||
prereqs()
|
||||
{
|
||||
echo "${PREREQ}"
|
||||
}
|
||||
|
||||
case ${1} in
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
SPLASH="false"
|
||||
|
||||
for ARGUMENT in $(cat /proc/cmdline)
|
||||
do
|
||||
case "${ARGUMENT}" in
|
||||
splash*)
|
||||
SPLASH="true"
|
||||
;;
|
||||
|
||||
nosplash*)
|
||||
SPLASH="false"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "${SPLASH}" = "true" ]; then
|
||||
modprobe i8042
|
||||
modprobe atkbd
|
||||
|
||||
mkdir -p /var/lib/plymouth
|
||||
mkdir -p /run/plymouth
|
||||
/sbin/plymouthd --mode=boot --attach-to-session --pid-file=/run/plymouth/pid
|
||||
/bin/plymouth --show-splash
|
||||
fi
|
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'libplymouth'.
|
||||
#
|
||||
short_desc="${short_desc} - shared libraries"
|
||||
long_desc="
|
||||
${long_desc}
|
||||
|
||||
This package includes the shared libraries provided by plymouth."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libpng
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmove "lib/*.so*" lib
|
||||
vmove "usr/lib/*.so*" usr/lib
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
Author: Guido Guenther <agx@sigxcpu.org>
|
||||
Description:
|
||||
Set default framebuffer device to /dev/fb0 instead of /dev/fb which doesn't
|
||||
exist by default (Closes: #573724).
|
||||
|
||||
diff -Naurp plymouth.orig//src/plugins/renderers/frame-buffer/plugin.c plymouth/src/plugins/renderers/frame-buffer/plugin.c
|
||||
--- plymouth.orig//src/plugins/renderers/frame-buffer/plugin.c 2010-11-20 16:22:53.066407620 +0100
|
||||
+++ plymouth/src/plugins/renderers/frame-buffer/plugin.c 2010-11-20 16:23:21.861484753 +0100
|
||||
@@ -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
|
|
@ -0,0 +1,23 @@
|
|||
Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
|
||||
Description: Hack to fix awk call.
|
||||
|
||||
diff -Naurp plymouth.orig/scripts/plymouth-set-default-theme.in plymouth/scripts/plymouth-set-default-theme.in
|
||||
--- plymouth.orig/scripts/plymouth-set-default-theme.in 2010-03-27 16:29:57.000000000 +0100
|
||||
+++ plymouth/scripts/plymouth-set-default-theme.in 2010-03-28 22:58:10.000000000 +0200
|
||||
@@ -45,15 +45,7 @@ function list_themes ()
|
||||
function read_theme_name_from_file ()
|
||||
{
|
||||
echo $(grep -v '^#' $1 2> /dev/null |
|
||||
- awk '
|
||||
- BEGIN {
|
||||
- RS="[[][[:blank:]]*[^[:space:]]+[:blank:]*[]\n]";
|
||||
- FS="[=[:space:]]+";
|
||||
- OFS="";
|
||||
- ORS=""
|
||||
- }
|
||||
- $1 ~/Theme/ { print $2 }
|
||||
- ')
|
||||
+ awk -F= '/Theme=/ { print $2 }')
|
||||
}
|
||||
|
||||
function get_default_theme ()
|
|
@ -0,0 +1,128 @@
|
|||
Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
|
||||
Description:
|
||||
Use fd for stdout instead of device, since the latter may not always exist,
|
||||
e.g. in chroots (Closes: #581649).
|
||||
|
||||
diff -Naurp plymouth.orig/scripts/plymouth-populate-initrd.in plymouth/scripts/plymouth-populate-initrd.in
|
||||
--- plymouth.orig/scripts/plymouth-populate-initrd.in 2010-05-14 19:22:15.000000000 +0200
|
||||
+++ plymouth/scripts/plymouth-populate-initrd.in 2010-05-14 19:23:25.000000000 +0200
|
||||
@@ -38,7 +38,7 @@ function usage() {
|
||||
local output="/dev/stdout"
|
||||
local rc=0
|
||||
if [ "$1" == "error" ]; then
|
||||
- output="/dev/stderr"
|
||||
+ output=">&2"
|
||||
rc=1
|
||||
fi
|
||||
|
||||
@@ -84,14 +84,14 @@ inst ${PLYMOUTH_POLICYDIR}/plymouthd.def
|
||||
inst ${PLYMOUTH_CONFDIR}/plymouthd.conf $INITRDDIR
|
||||
|
||||
if [ -z "$PLYMOUTH_THEME_NAME" ]; then
|
||||
- echo "No default plymouth plugin is set" > /dev/stderr
|
||||
+ echo "No default plymouth plugin is set" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PLYMOUTH_MODULE_NAME=$(grep "ModuleName *= *" ${PLYMOUTH_DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME}/${PLYMOUTH_THEME_NAME}.plymouth | sed 's/ModuleName *= *//')
|
||||
|
||||
if [ ! -f ${PLYMOUTH_PLUGIN_PATH}/${PLYMOUTH_MODULE_NAME}.so ]; then
|
||||
- echo "The default plymouth plugin (${PLYMOUTH_MODULE_NAME}) doesn't exist" > /dev/stderr
|
||||
+ echo "The default plymouth plugin (${PLYMOUTH_MODULE_NAME}) doesn't exist" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
diff -Naurp plymouth.orig/scripts/plymouth-set-default-theme.in plymouth/scripts/plymouth-set-default-theme.in
|
||||
--- plymouth.orig/scripts/plymouth-set-default-theme.in 2010-05-14 19:22:15.000000000 +0200
|
||||
+++ plymouth/scripts/plymouth-set-default-theme.in 2010-05-14 19:23:04.000000000 +0200
|
||||
@@ -79,14 +79,14 @@ while [ $# -gt 0 ]; do
|
||||
|
||||
-l|--list)
|
||||
if [ -n "$THEME_NAME" ]; then
|
||||
- echo "You can only specify --list or a theme name, not both" > /dev/stderr
|
||||
- echo $(usage) > /dev/stderr
|
||||
+ echo "You can only specify --list or a theme name, not both" >&2
|
||||
+ echo $(usage) >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $DO_RESET -ne 0 ]; then
|
||||
- echo "You can only specify --reset or --list, not both" > /dev/stderr
|
||||
- echo $(usage) > /dev/stderr
|
||||
+ echo "You can only specify --reset or --list, not both" >&2
|
||||
+ echo $(usage) >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -99,14 +99,14 @@ while [ $# -gt 0 ]; do
|
||||
|
||||
-r|--reset|default)
|
||||
if [ -n "$THEME_NAME" ]; then
|
||||
- echo "You can only specify --reset or a theme name, not both" > /dev/stderr
|
||||
- echo $(usage) > /dev/stderr
|
||||
+ echo "You can only specify --reset or a theme name, not both" >&2
|
||||
+ echo $(usage) >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $DO_LIST -ne 0 ]; then
|
||||
- echo "You can only specify --reset or --list, not both" > /dev/stderr
|
||||
- echo $(usage) > /dev/stderr
|
||||
+ echo "You can only specify --reset or --list, not both" >&2
|
||||
+ echo $(usage) >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -119,20 +119,20 @@ while [ $# -gt 0 ]; do
|
||||
|
||||
*)
|
||||
if [ -n "$THEME_NAME" ]; then
|
||||
- echo "You can only specify one theme at a time" > /dev/stderr
|
||||
- echo $(usage) > /dev/stderr
|
||||
+ echo "You can only specify one theme at a time" >&2
|
||||
+ echo $(usage) >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $DO_RESET -ne 0 ]; then
|
||||
- echo "You can only specify --reset or a theme name, not both" > /dev/stderr
|
||||
- echo $(usage) > /dev/stderr
|
||||
+ echo "You can only specify --reset or a theme name, not both" >&2
|
||||
+ echo $(usage) >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $DO_LIST -ne 0 ]; then
|
||||
- echo "You can only specify --list or a theme name, not both" > /dev/stderr
|
||||
- echo $(usage) > /dev/stderr
|
||||
+ echo "You can only specify --list or a theme name, not both" >&2
|
||||
+ echo $(usage) >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -158,7 +158,7 @@ if [ $DO_RESET -eq 0 ] && [ $DO_INITRD_R
|
||||
fi
|
||||
|
||||
if [ `id -u` -ne 0 ]; then
|
||||
- echo "This program must be run as root" > /dev/stderr
|
||||
+ echo "This program must be run as root" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -169,14 +169,14 @@ if [ $DO_RESET -ne 0 ]; then
|
||||
fi
|
||||
|
||||
if [ ! -e ${PLYMOUTH_DATADIR}/plymouth/themes/${THEME_NAME}/${THEME_NAME}.plymouth ]; then
|
||||
- echo "${PLYMOUTH_DATADIR}/plymouth/themes/${THEME_NAME}/${THEME_NAME}.plymouth does not exist" > /dev/stderr
|
||||
+ echo "${PLYMOUTH_DATADIR}/plymouth/themes/${THEME_NAME}/${THEME_NAME}.plymouth does not exist" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
MODULE_NAME=$(grep "ModuleName *= *" ${PLYMOUTH_DATADIR}/plymouth/themes/${THEME_NAME}/${THEME_NAME}.plymouth | sed 's/ModuleName *= *//')
|
||||
|
||||
if [ ! -e ${PLYMOUTH_PLUGIN_PATH}${MODULE_NAME}.so ]; then
|
||||
- echo "${PLYMOUTH_PLUGIN_PATH}${MODULE_NAME}.so does not exist" > /dev/stderr
|
||||
+ echo "${PLYMOUTH_PLUGIN_PATH}${MODULE_NAME}.so does not exist" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
|
||||
Description: Ship configuration file with default theme set (Closes: #594999).
|
||||
|
||||
diff -Naurp plymouth.orig/src/plymouthd.conf plymouth/src/plymouthd.conf
|
||||
--- plymouth.orig/src/plymouthd.conf 2010-06-04 18:55:14.000000000 +0200
|
||||
+++ plymouth/src/plymouthd.conf 2010-09-10 21:35:55.945741477 +0200
|
||||
@@ -1,3 +1,3 @@
|
||||
# Administrator customizations go in this file
|
||||
-#[Daemon]
|
||||
-#Theme=fade-in
|
||||
+[Daemon]
|
||||
+Theme=text
|
||||
diff -Naurp plymouth.orig/src/plymouthd.defaults plymouth/src/plymouthd.defaults
|
||||
--- plymouth.orig/src/plymouthd.defaults 2010-06-04 18:55:14.000000000 +0200
|
||||
+++ plymouth/src/plymouthd.defaults 2010-09-10 21:35:05.466754551 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
# Distribution defaults. Changes to this file will get overwritten during
|
||||
# upgrades.
|
||||
[Daemon]
|
||||
-Theme=fade-in
|
||||
+Theme=text
|
|
@ -0,0 +1,18 @@
|
|||
Author: Julien Cristau <jcristau@debian.org>
|
||||
Description:
|
||||
Cherry-pick "[terminal] don't stomp over original tty lock settings". Prevents
|
||||
setting tty1 in 'echo' mode after boot (Closes: 595178).
|
||||
|
||||
diff -Naurp plymouth.orig/src/libply-splash-core/ply-terminal.c plymouth/src/libply-splash-core/ply-terminal.c
|
||||
--- plymouth.orig/src/libply-splash-core/ply-terminal.c 2010-09-14 21:16:57.185256706 +0200
|
||||
+++ plymouth/src/libply-splash-core/ply-terminal.c 2010-10-13 17:58:48.752970212 +0200
|
||||
@@ -188,7 +188,8 @@ ply_terminal_set_unbuffered_input (ply_t
|
||||
if (tcsetattr (terminal->fd, TCSANOW, &term_attributes) != 0)
|
||||
return false;
|
||||
|
||||
- if (ioctl (terminal->fd, TIOCGLCKTRMIOS, &locked_term_attributes) == 0)
|
||||
+ if (!terminal->original_locked_term_attributes_saved &&
|
||||
+ ioctl (terminal->fd, TIOCGLCKTRMIOS, &locked_term_attributes) == 0)
|
||||
{
|
||||
terminal->original_locked_term_attributes = locked_term_attributes;
|
||||
terminal->original_locked_term_attributes_saved = true;
|
|
@ -0,0 +1,15 @@
|
|||
Author: Michael Prokop <mika@debian.org>
|
||||
Description: Fixing wrong return code of plymouth-set-default-theme (Closes: #605018).
|
||||
|
||||
diff -Naurp plymouth.orig/scripts/plymouth-set-default-theme.in plymouth/scripts/plymouth-set-default-theme.in
|
||||
--- plymouth.orig/scripts/plymouth-set-default-theme.in 2011-09-08 15:03:24.212396867 +0200
|
||||
+++ plymouth/scripts/plymouth-set-default-theme.in 2011-09-08 15:04:41.011888522 +0200
|
||||
@@ -179,5 +179,7 @@ grep -q '^[[]Daemon[]]' ${PLYMOUTH_CONFD
|
||||
sed -i -e '/^Theme[[:blank:]]*=.*/d' ${PLYMOUTH_CONFDIR}/plymouthd.conf
|
||||
sed -i -e "s/^\([[]Daemon[]]\)\n*/\1\nTheme=${THEME_NAME}/" ${PLYMOUTH_CONFDIR}/plymouthd.conf
|
||||
|
||||
-[ $DO_INITRD_REBUILD -ne 0 ] && (${PLYMOUTH_LIBEXECDIR}/plymouth/plymouth-update-initrd)
|
||||
+if [ $DO_INITRD_REBUILD -ne 0 ] ; then
|
||||
+ (${PLYMOUTH_LIBEXECDIR}/plymouth/plymouth-update-initrd)
|
||||
+fi
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'plymouth-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run gtk+-devel
|
||||
Add_dependency run libdrm-devel
|
||||
Add_dependency run libplymouth
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'plymouth-drm'.
|
||||
#
|
||||
short_desc="${short_desc} - DRM renderer"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the DRM renderer."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libdrm
|
||||
Add_dependency run libplymouth
|
||||
Add_dependency run plymouth
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmove usr/lib/plymouth/renderers/drm.so usr/lib/plymouth/renderers
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'plymouth-x11'.
|
||||
#
|
||||
short_desc="${short_desc} - X11 renderer and log viewer"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the x11 renderer and the log viewer."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run gtk+
|
||||
Add_dependency run pango
|
||||
Add_dependency run glib
|
||||
Add_dependency run atk
|
||||
Add_dependency run gdk-pixbuf
|
||||
Add_dependency run cairo
|
||||
Add_dependency run freetype
|
||||
Add_dependency run fontconfig
|
||||
Add_dependency run libplymouth
|
||||
Add_dependency run plymouth
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmove usr/bin/plymouth-log-viewer usr/bin
|
||||
vmove usr/lib/plymouth/renderers/x11.so usr/lib/plymouth/renderers
|
||||
vmove usr/share/gdm usr/share
|
||||
}
|
|
@ -0,0 +1,54 @@
|
|||
# Template file for 'plymouth'
|
||||
pkgname=plymouth
|
||||
version=0.8.3
|
||||
patch_args="-Np1"
|
||||
homepage="http://cgit.freedesktop.org/plymouth"
|
||||
distfiles="${homepage}/snapshot/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-gdm-transition
|
||||
--with-release-file=/etc/os-release --disable-static
|
||||
--localstatedir=/var --enable-pango --enable-tracing --disable-tests
|
||||
--with-system-root-install --without-rhgb-compat-link
|
||||
--with-logo=/usr/share/plymouth/xbps-log.png
|
||||
--with-background-color=0xffffff"
|
||||
short_desc="Graphical boot animation and logger"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
checksum=2e51abbc087228f7910302334755d0190fc9e923eae9992150adb0f6cccc9077
|
||||
long_desc="
|
||||
Plymouth is an application that runs very early in the boot process
|
||||
(even before the root filesystem is mounted!) that provides a graphical
|
||||
boot animation while the boot process happens in the background."
|
||||
|
||||
subpackages="libplymouth ${pkgname}-x11 ${pkgname}-drm ${pkgname}-devel"
|
||||
conf_files="/etc/plymouth/plymouthd.conf"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run glib
|
||||
Add_dependency run pango
|
||||
Add_dependency run cairo
|
||||
Add_dependency run libpng
|
||||
Add_dependency run libplymouth
|
||||
|
||||
Add_dependency build automake
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build gtk+-devel
|
||||
Add_dependency build libdrm-devel
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -f ${DESTDIR}/usr/libexec/plymouth/*
|
||||
vinstall ${FILESDIR}/plymouth-update-initrd 755 usr/libexec/plymouth
|
||||
|
||||
# initramfs-tools hook
|
||||
vinstall ${FILESDIR}/plymouth.hook 755 \
|
||||
usr/share/initramfs-tools/hooks plymouth
|
||||
vinstall ${FILESDIR}/plymouth.init-bottom 755 \
|
||||
usr/share/initramfs-tools/scripts/init-bottom plymouth
|
||||
vinstall ${FILESDIR}/plymouth.init-premount 755 \
|
||||
usr/share/initramfs-tools/scripts/init-premount plymouth
|
||||
vinstall ${FILESDIR}/xbps-logo.png 644 usr/share/plymouth
|
||||
}
|
|
@ -866,3 +866,7 @@ libtracker-sparql-0.12.so.0 libtracker tracker-devel
|
|||
libmex-0.2.so.0 mex
|
||||
libsystemd-daemon.so.0 systemd
|
||||
libsystemd-login.so.0 systemd
|
||||
libply.so.2 libplymouth plymouth-devel
|
||||
libply-splash-graphics.so.2 libplymouth plymouth-devel
|
||||
libply-splash-core.so.2 libplymouth plymouth-devel
|
||||
|
||||
|
|
Loading…
Reference in New Issue