First set of packaging changes. Add 16/9 version of grub background

This commit is contained in:
Aurélien COUDERC
2018-08-29 12:45:28 +02:00
parent a1233c8861
commit ae82aefdf0
13 changed files with 6597 additions and 1 deletions
+34 -1
View File
@@ -1,4 +1,9 @@
GRUB_THEMES=futureprototype-theme/grub softwaves-theme/grub lines-theme/grub joy-theme/grub spacefun-theme/grub
GRUB_THEMES=futureprototype-theme\
moonlight-theme/grub\
softwaves-theme/grub\
lines-theme/grub\
joy-theme/grub\
spacefun-theme/grub
DEFAULT_BACKGROUND=desktop-background
PIXMAPS=$(wildcard pixmaps/*.png)
@@ -214,4 +219,32 @@ install-local:
install -d $(DESTDIR)/usr/share/wallpapers
cd $(DESTDIR)/usr/share/wallpapers && ln -s /usr/share/desktop-base/futureprototype-theme/lockscreen FuturePrototypeLockScreen
# Moonlight theme
### Plymouth theme
#install -d $(DESTDIR)/usr/share/plymouth/themes/moonlight
#$(INSTALL_DATA) $(wildcard moonlight-theme/plymouth/*) $(DESTDIR)/usr/share/plymouth/themes/moonlight
#install -d $(DESTDIR)/usr/share/desktop-base/moonlight-theme
#cd $(DESTDIR)/usr/share/desktop-base/moonlight-theme && ln -s /usr/share/plymouth/themes/moonlight plymouth
### Login background
install -d $(DESTDIR)/usr/share/desktop-base/moonlight-theme/login
$(INSTALL_DATA) $(wildcard moonlight-theme/login/*) $(DESTDIR)/usr/share/desktop-base/moonlight-theme/login
### Wallpapers
install -d $(DESTDIR)/usr/share/desktop-base/moonlight-theme/wallpaper/contents/images
$(INSTALL_DATA) moonlight-theme/wallpaper/metadata.desktop $(DESTDIR)/usr/share/desktop-base/moonlight-theme/wallpaper
$(INSTALL_DATA) moonlight-theme/wallpaper/gnome-background.xml $(DESTDIR)/usr/share/desktop-base/moonlight-theme/wallpaper
$(INSTALL_DATA) $(wildcard moonlight-theme/wallpaper/contents/images/*) $(DESTDIR)/usr/share/desktop-base/moonlight-theme/wallpaper/contents/images/
$(INSTALL_DATA) moonlight-theme/gnome-wp-list.xml $(DESTDIR)/usr/share/gnome-background-properties/debian-moonlight.xml
# Wallpaper symlink for KDE
install -d $(DESTDIR)/usr/share/wallpapers
cd $(DESTDIR)/usr/share/wallpapers && ln -s /usr/share/desktop-base/moonlight-theme/wallpaper moonlight
### Lockscreen
install -d $(DESTDIR)/usr/share/desktop-base/moonlight-theme/lockscreen/contents/images
$(INSTALL_DATA) moonlight-theme/lockscreen/metadata.desktop $(DESTDIR)/usr/share/desktop-base/moonlight-theme/lockscreen
$(INSTALL_DATA) moonlight-theme/lockscreen/gnome-background.xml $(DESTDIR)/usr/share/desktop-base/moonlight-theme/lockscreen
$(INSTALL_DATA) $(wildcard moonlight-theme/lockscreen/contents/images/*) $(DESTDIR)/usr/share/desktop-base/moonlight-theme/lockscreen/contents/images/
# Lock screen symlink for KDE
install -d $(DESTDIR)/usr/share/wallpapers
cd $(DESTDIR)/usr/share/wallpapers && ln -s /usr/share/desktop-base/moonlight-theme/lockscreen MoonlightLockScreen
include Makefile.inc
+2
View File
@@ -25,6 +25,7 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remov
/usr/share/desktop-base/$theme-theme $priority
done << EOF
futureprototype 50
moonlight 40
softwaves 40
lines 40
joy 40
@@ -52,6 +53,7 @@ futureprototype 1920x1080.svg 65
futureprototype 1920x1200.svg 65
futureprototype 2560x1080.svg 65
futureprototype 4096x2160.svg 65
moonlight 1920x1080.svg 65
softwaves 1024x768.svg 50
softwaves 1280x720.svg 50
softwaves 1280x800.svg 50
+1
View File
@@ -169,6 +169,7 @@ EOF
/usr/share/desktop-base/$theme-theme
done << EOF
softwaves
moonlight
lines
joy
joy-inksplat
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper>
<!-- don't include words such as "wallpaper" (avoids translations) -->
<name>Soft Waves</name>
<filename>/usr/share/desktop-base/moonlight-theme/wallpaper/gnome-background.xml</filename>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
<wallpaper>
<!-- don't include words such as "wallpaper" (avoids translations) -->
<name>Soft Waves Lock Screen</name>
<filename>/usr/share/desktop-base/moonlight-theme/lockscreen/gnome-background.xml</filename>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
</wallpapers>
+24
View File
@@ -0,0 +1,24 @@
dir = usr/share/desktop-base/moonlight-theme/grub
.PHONY: build clean install
files = \
grub-4x3.png \
grub-16x9.png
build: $(files)
clean:
rm -f grub-4x3.png grub-16x9.png
install:
install -d $(DESTDIR)/$(dir)
$(INSTALL_DATA) $(wildcard *.png *.sh) $(DESTDIR)/$(dir)
grub-4x3.png: grub-4x3.svg
rsvg-convert $< > $@
grub-16x9.png: grub-16x9.svg
rsvg-convert $< > $@
include ../../Makefile.inc
File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 217 KiB

+3
View File
@@ -0,0 +1,3 @@
WALLPAPER=/usr/share/images/desktop-base/desktop-grub.png
COLOR_NORMAL=white/black
COLOR_HIGHLIGHT=black/white

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 182 KiB

@@ -0,0 +1,9 @@
<background>
<static>
<duration>8640000.0</duration>
<file>
<size width="1920" height="1080">/usr/share/desktop-base/moonlight-theme/lockscreen/contents/images/1920x1080.svg</size>
</file>
</static>
</background>
@@ -0,0 +1,6 @@
[Desktop Entry]
Name=Moonlight Lock Screen
X-KDE-PluginInfo-Name=MoonlightLockScreen
X-KDE-PluginInfo-Author=Juliette Taka Belin
X-KDE-PluginInfo-Email=juliettetaka.belin@gmail.com
X-KDE-PluginInfo-License=GPLv2+

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 182 KiB

@@ -0,0 +1,9 @@
<background>
<static>
<duration>8640000.0</duration>
<file>
<size width="1920" height="1080">/usr/share/desktop-base/moonlight-theme/wallpaper/contents/images/1920x1080.svg</size>
</file>
</static>
</background>
@@ -0,0 +1,6 @@
[Desktop Entry]
Name=Moonlight
X-KDE-PluginInfo-Name=Moonlight
X-KDE-PluginInfo-Author=Juliette Taka Belin
X-KDE-PluginInfo-Email=juliettetaka.belin@gmail.com
X-KDE-PluginInfo-License=GPLv2+