Add a debian-theme theme for plymouth themes. This should help switching the plymouth theme with the rest of the global theme package.

This commit is contained in:
Aurélien COUDERC
2017-08-21 07:54:51 +00:00
parent 107171055e
commit 35c9f10cdb
7 changed files with 6 additions and 27 deletions

View File

@@ -36,6 +36,10 @@ install-local:
mkdir -p $(DESTDIR)/usr/share/pixmaps
$(INSTALL) $(PIXMAPS) $(DESTDIR)/usr/share/pixmaps/
# Create a 'debian-theme' symlink in plymouth themes folder, pointing at the
# plymouth theme for the currently active 'debian-theme' alternative.
mkdir -p $(DESTDIR)/usr/share/plymouth/themes
ln -s ../../desktop-base/active-theme/plymouth $(DESTDIR)/usr/share/plymouth/themes/debian-theme
# Set Plasma 5/KDE default wallpaper
install -d $(DESTDIR)/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates
@@ -54,7 +58,6 @@ install-local:
install -d $(DESTDIR)/usr/share/plymouth/themes/spacefun
$(INSTALL) $(wildcard spacefun-theme/plymouth/*) $(DESTDIR)/usr/share/plymouth/themes/spacefun
cd $(DESTDIR)/usr/share/desktop-base/spacefun-theme && ln -s /usr/share/plymouth/themes/spacefun plymouth
$(INSTALL) spacefun-theme/plymouthd.defaults $(DESTDIR)/usr/share/desktop-base/spacefun-theme
### Login background
install -d $(DESTDIR)/usr/share/desktop-base/spacefun-theme/login
$(INSTALL) $(wildcard spacefun-theme/login/*) $(DESTDIR)/usr/share/desktop-base/spacefun-theme/login
@@ -78,8 +81,6 @@ install-local:
install -d $(DESTDIR)/usr/share/plymouth/themes/joy
$(INSTALL) $(wildcard joy-theme/plymouth/*) $(DESTDIR)/usr/share/plymouth/themes/joy
cd $(DESTDIR)/usr/share/desktop-base/joy-theme && ln -s /usr/share/plymouth/themes/joy plymouth
$(INSTALL) joy-theme/plymouthd.defaults $(DESTDIR)/usr/share/desktop-base/joy-theme
### Login background
install -d $(DESTDIR)/usr/share/desktop-base/joy-theme/login
$(INSTALL) $(wildcard joy-theme/login/*) $(DESTDIR)/usr/share/desktop-base/joy-theme/login
@@ -109,7 +110,6 @@ install-local:
# Reuse « normal » joy theme
cd $(DESTDIR)/usr/share/desktop-base/joy-inksplat-theme \
&& ln -s /usr/share/plymouth/themes/joy plymouth \
&& ln -s /usr/share/desktop-base/joy-theme/plymouthd.defaults plymouthd.defaults
### Wallpapers
install -d $(DESTDIR)/usr/share/desktop-base/joy-inksplat-theme/wallpaper/contents/images
@@ -129,7 +129,6 @@ install-local:
install -d $(DESTDIR)/usr/share/plymouth/themes/lines
$(INSTALL) $(wildcard lines-theme/plymouth/*) $(DESTDIR)/usr/share/plymouth/themes/lines
cd $(DESTDIR)/usr/share/desktop-base/lines-theme && ln -s /usr/share/plymouth/themes/lines plymouth
$(INSTALL) lines-theme/plymouthd.defaults $(DESTDIR)/usr/share/desktop-base/lines-theme
### Login background
install -d $(DESTDIR)/usr/share/desktop-base/lines-theme/login
$(INSTALL) $(wildcard lines-theme/login/*) $(DESTDIR)/usr/share/desktop-base/lines-theme/login
@@ -159,7 +158,6 @@ install-local:
install -d $(DESTDIR)/usr/share/plymouth/themes/softwaves
$(INSTALL) $(wildcard softwaves-theme/plymouth/*) $(DESTDIR)/usr/share/plymouth/themes/softwaves
cd $(DESTDIR)/usr/share/desktop-base/softwaves-theme && ln -s /usr/share/plymouth/themes/softwaves plymouth
$(INSTALL) softwaves-theme/plymouthd.defaults $(DESTDIR)/usr/share/desktop-base/softwaves-theme
### Login background
install -d $(DESTDIR)/usr/share/desktop-base/softwaves-theme/login
$(INSTALL) $(wildcard softwaves-theme/login/*) $(DESTDIR)/usr/share/desktop-base/softwaves-theme/login

View File

@@ -224,11 +224,6 @@ A theme pack should contain the following elements:
messages, fsck feedback… so its highly recommended to start with an
existing script and adapt the background setup and animation to the needs
of your theme.
./plymouthd.default
-> Should be a drop in replacement for /usr/share/plymouth/plymouthd.defaults
selecting your team. This file is not currently used but when we finish
integrating plymouth with the themes pack system well be able to handle
plymouth theme switching with the rest of the theme elements in Debian.
./login/background.svg
-> To provide the login background alternative for LightDM, SDDM…

2
debian/changelog vendored
View File

@@ -4,6 +4,8 @@ desktop-base (9.0.6) UNRELEASED; urgency=medium
* Bump Standards-Version to 4.0.0 (no changes needed).
* Drop versioned pre-depends on dpkg for dpkg-maintscript-helper that has
been available in dpkg since wheezy.
* Add a debian-theme theme for plymouth themes. This should help switching
the plymouth theme with the rest of the global theme package.
-- Aurélien COUDERC <zecoucou@free.fr> Thu, 06 Jul 2017 17:09:44 +0200

View File

@@ -1,4 +0,0 @@
# Defaults provided by desktop-base for the joy theme
[Daemon]
Theme=joy
ShowDelay=0

View File

@@ -1,4 +0,0 @@
# Defaults provided by desktop-base for the lines theme
[Daemon]
Theme=lines
ShowDelay=0

View File

@@ -1,4 +0,0 @@
# Defaults provided by desktop-base for the softwaves theme
[Daemon]
Theme=softwaves
ShowDelay=0

View File

@@ -1,4 +0,0 @@
# Defaults provided by desktop-base for the spacefun theme
[Daemon]
Theme=spacefun
ShowDelay=0