Accepting request 113079 from Base:System
This submit fixes the wrong license file in the branding-opensuse. It would be great if this update for plymouth could still be included in M3. It has two major changes: The first change is that we now have text support in the initrd and we are able to send messages to users when required (e.g. when asking for password, etc. The second one is that the package now contains an openSUSE theme that fits better with the 12.2 artwork. OBS-URL: https://build.opensuse.org/request/show/113079 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plymouth?expand=0&rev=4
This commit is contained in:
commit
5cef769d16
3
branding-suse.tar.xz
Normal file
3
branding-suse.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:96f6ec0461fdd9eae2a3845e97a07aa35a354e63eb9dd5cc10391360fec0de67
|
||||||
|
size 1417396
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 5 14:44:25 UTC 2012 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
- Updated the initrd patch to include the necessary files to have
|
||||||
|
text support (e.g. LUKS passphrase question, etc)
|
||||||
|
|
||||||
|
- Temporarily added a openSUSE plymouth theme
|
||||||
|
(plymouth-branding-openSUSE) to have a better integration with
|
||||||
|
12.2.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 29 09:36:32 UTC 2012 - tittiatcoke@gmail.com
|
Thu Mar 29 09:36:32 UTC 2012 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ Url: http://freedesktop.org/software/plymouth/releases
|
|||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: boot-duration
|
Source1: boot-duration
|
||||||
Source2: opensuse-logo.png
|
Source2: opensuse-logo.png
|
||||||
|
Source3: branding-suse.tar.xz
|
||||||
# PATCH-OPENSUSE -- Support the openSUSE initrd
|
# PATCH-OPENSUSE -- Support the openSUSE initrd
|
||||||
Patch1: suse-initrd-support
|
Patch1: suse-initrd-support
|
||||||
# PATCH-OPENSUSE -- Add line numbers to tracing output
|
# PATCH-OPENSUSE -- Add line numbers to tracing output
|
||||||
@ -45,6 +46,7 @@ BuildRequires: automake
|
|||||||
BuildRequires: kernel-headers
|
BuildRequires: kernel-headers
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(libdrm)
|
BuildRequires: pkgconfig(libdrm)
|
||||||
BuildRequires: pkgconfig(libdrm_intel)
|
BuildRequires: pkgconfig(libdrm_intel)
|
||||||
BuildRequires: pkgconfig(libdrm_nouveau)
|
BuildRequires: pkgconfig(libdrm_nouveau)
|
||||||
@ -222,6 +224,19 @@ Conflicts: otherproviders(plymouth-branding)
|
|||||||
%description branding-upstream
|
%description branding-upstream
|
||||||
This metapackage tracks the Plymouth default theme from upstream.
|
This metapackage tracks the Plymouth default theme from upstream.
|
||||||
|
|
||||||
|
%package branding-openSUSE
|
||||||
|
Summary: Plymouth openSUSE theme
|
||||||
|
Group: System/Base
|
||||||
|
Requires: plymouth-plugin-script = %{version}
|
||||||
|
Supplements: packageand(plymouth:branding-openSUSE)
|
||||||
|
Provides: %{name}-branding = %{version}
|
||||||
|
BuildArch: noarch
|
||||||
|
Conflicts: otherproviders(plymouth-branding)
|
||||||
|
|
||||||
|
%description branding-openSUSE
|
||||||
|
This metapackage tracks the Plymouth openSUSE branding.
|
||||||
|
|
||||||
|
|
||||||
%package theme-fade-in
|
%package theme-fade-in
|
||||||
Summary: Plymouth "Fade-In" theme
|
Summary: Plymouth "Fade-In" theme
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
@ -339,6 +354,12 @@ mkdir -p %{buildroot}/lib/mkinitrd/scripts
|
|||||||
install -t %{buildroot}/lib/mkinitrd/scripts \
|
install -t %{buildroot}/lib/mkinitrd/scripts \
|
||||||
scripts/{setup,boot}-plymouth*.sh
|
scripts/{setup,boot}-plymouth*.sh
|
||||||
|
|
||||||
|
# Unpack the openSUSE branding. This branding is temporarily in this package
|
||||||
|
# until the official one is created/accepted in the main branding package
|
||||||
|
pushd %{buildroot}%{_datadir}/plymouth/themes/
|
||||||
|
tar -Jxf %{SOURCE3}
|
||||||
|
popd
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
@ -442,6 +463,26 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%post branding-openSUSE
|
||||||
|
if [ $1 -eq 1 ]; then
|
||||||
|
export LIB=%{_libdir}
|
||||||
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
||||||
|
%{_sbindir}/plymouth-set-default-theme SuSE
|
||||||
|
if [ -x /sbin/mkinitrd ]; then
|
||||||
|
/sbin/mkinitrd
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun branding-openSUSE
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
export lib=%{_libdir}
|
||||||
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "openSUSE" ]; then
|
||||||
|
%{_sbindir}/plymouth-set-default-theme --reset
|
||||||
|
/sbin/mkinitrd
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS NEWS README
|
%doc AUTHORS NEWS README
|
||||||
@ -575,4 +616,10 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf
|
%config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf
|
||||||
%{_datadir}/plymouth/logo.png
|
%{_datadir}/plymouth/logo.png
|
||||||
|
|
||||||
|
%files branding-openSUSE
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf
|
||||||
|
%{_datadir}/plymouth/logo.png
|
||||||
|
%{_datadir}/plymouth/themes/openSUSE/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
---
|
--- plymouth-0.8.4/configure.ac 2012-02-06 22:01:36.000000000 +0100
|
||||||
configure.ac | 1
|
+++ new/configure.ac 2012-04-03 10:28:00.658536991 +0200
|
||||||
scripts/boot-plymouth.chroot.sh | 7 ++++++
|
@@ -440,6 +440,7 @@
|
||||||
scripts/boot-plymouth.sh | 8 +++++++
|
|
||||||
scripts/setup-plymouth.sh.in | 41 ++++++++++++++++++++++++++++++++++++++++
|
|
||||||
4 files changed, 57 insertions(+)
|
|
||||||
|
|
||||||
--- plymouth-0.8.3_git201110131555.orig/configure.ac
|
|
||||||
+++ plymouth-0.8.3_git201110131555/configure.ac
|
|
||||||
@@ -440,6 +440,7 @@ AC_CONFIG_FILES([Makefile
|
|
||||||
themes/spinner/Makefile
|
themes/spinner/Makefile
|
||||||
themes/script/Makefile
|
themes/script/Makefile
|
||||||
images/Makefile
|
images/Makefile
|
||||||
@ -16,7 +9,7 @@
|
|||||||
scripts/plymouth-populate-initrd
|
scripts/plymouth-populate-initrd
|
||||||
scripts/plymouth-set-default-theme
|
scripts/plymouth-set-default-theme
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ plymouth-0.8.3_git201110131555/scripts/boot-plymouth.chroot.sh
|
+++ new/scripts/boot-plymouth.chroot.sh 2012-04-03 10:28:00.659536992 +0200
|
||||||
@@ -0,0 +1,7 @@
|
@@ -0,0 +1,7 @@
|
||||||
+#!/bin/bash
|
+#!/bin/bash
|
||||||
+#%stage: setup
|
+#%stage: setup
|
||||||
@ -26,7 +19,7 @@
|
|||||||
+
|
+
|
||||||
+plymouth update-root-fs --new-root-dir=/root
|
+plymouth update-root-fs --new-root-dir=/root
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ plymouth-0.8.3_git201110131555/scripts/boot-plymouth.sh
|
+++ new/scripts/boot-plymouth.sh 2012-04-03 10:28:00.659536992 +0200
|
||||||
@@ -0,0 +1,10 @@
|
@@ -0,0 +1,10 @@
|
||||||
+#!/bin/bash
|
+#!/bin/bash
|
||||||
+#%stage: boot
|
+#%stage: boot
|
||||||
@ -39,8 +32,8 @@
|
|||||||
+
|
+
|
||||||
+plymouth show-splash
|
+plymouth show-splash
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ plymouth-0.8.3_git201110131555/scripts/setup-plymouth.sh.in
|
+++ new/scripts/setup-plymouth.sh.in 2012-04-03 11:11:44.656337240 +0200
|
||||||
@@ -0,0 +1,41 @@
|
@@ -0,0 +1,68 @@
|
||||||
+#!/bin/bash
|
+#!/bin/bash
|
||||||
+#
|
+#
|
||||||
+#%stage: setup
|
+#%stage: setup
|
||||||
@ -70,6 +63,7 @@
|
|||||||
+
|
+
|
||||||
+PLUGINS="${PLUGIN_PATH}/details.so \
|
+PLUGINS="${PLUGIN_PATH}/details.so \
|
||||||
+ ${PLUGIN_PATH}/text.so \
|
+ ${PLUGIN_PATH}/text.so \
|
||||||
|
+ ${PLUGIN_PATH}/label.so \
|
||||||
+ ${PLUGIN_PATH}/${MODULE}.so \
|
+ ${PLUGIN_PATH}/${MODULE}.so \
|
||||||
+ ${PLUGIN_PATH}/renderers/drm.so \
|
+ ${PLUGIN_PATH}/renderers/drm.so \
|
||||||
+ ${PLUGIN_PATH}/renderers/frame-buffer.so"
|
+ ${PLUGIN_PATH}/renderers/frame-buffer.so"
|
||||||
@ -82,3 +76,29 @@
|
|||||||
+ mkdir -p $tmp_mnt/$(dirname $plugin)
|
+ mkdir -p $tmp_mnt/$(dirname $plugin)
|
||||||
+ cp_bin $plugin $tmp_mnt/$plugin
|
+ cp_bin $plugin $tmp_mnt/$plugin
|
||||||
+done
|
+done
|
||||||
|
+
|
||||||
|
+# copy files for font rendering
|
||||||
|
+_libdir=`rpm --eval '%{_lib}'`
|
||||||
|
+if [ "$_libdir" == "lib64" ];
|
||||||
|
+ then
|
||||||
|
+ _pangodir=`pango-querymodules-64 | grep ModulesPath | awk '{print $4}'`
|
||||||
|
+ _pangomod="/etc/pango/pango64.modules"
|
||||||
|
+ else
|
||||||
|
+ _pangodir=`pango-querymodules | grep ModulesPath | awk '{print $4}'`
|
||||||
|
+ _pangomod="/etc/pango/pango.modules"
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
+FONTS="/usr/share/fonts/truetype/DejaVuSerif.ttf \
|
||||||
|
+ /usr/share/fonts/truetype/DejaVuSans.ttf \
|
||||||
|
+ /etc/fonts/fonts.conf \
|
||||||
|
+ /etc/fonts/conf.d/60-latin.conf \
|
||||||
|
+ ${_pangomod} \
|
||||||
|
+ ${_pangodir}/pango-basic-fc.so \
|
||||||
|
+ /usr/${_libdir}/libpango-1.0.so.0 \
|
||||||
|
+ /usr/${_libdir}/libpangoft2-1.0.so.0 \
|
||||||
|
+ /usr/${_libdir}/libpangocairo-1.0.so.0 "
|
||||||
|
+
|
||||||
|
+for font in $FONTS; do
|
||||||
|
+ install -D $font $tmp_mnt/$font
|
||||||
|
+done
|
||||||
|
+mkdir -p $tmp_mnt/var/cache/fontconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user