misc: use centralized wallpaper artwork.

This commit is contained in:
Luis Guzmán 2024-09-04 19:50:22 +00:00
parent 4c6fea56e4
commit 1c3f58b50a
4 changed files with 8 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

View file

@ -24,13 +24,16 @@ VERSION=2
#Set default trisquel wallpaper
BUDGIE_WALLP="budgie-codename.png"
TRISQUEL_WALLP="$CODENAME.jpg"
TRISQUEL_WALLP="$(find DATA/trisquel-wallpapers/ -name $CODENAME.*|xargs basename)"
grep -lr "$BUDGIE_WALLP" | xargs -r sed -i "s|$BUDGIE_WALLP|$TRISQUEL_WALLP|g"
#menu-icon
cp $DATA/logo-trisquel.svg distrologo/trisquel-logo.svg
cp $DATA/$CODENAME.jpg codename-wallpapers/
# Make sure to review helper on the designed stage prior to release, so it uses
# right artwork when released.
cp $(find DATA/trisquel-wallpapers/ -name $CODENAME.*) codename-wallpapers/
rm codename-wallpapers/budgie-codename.png
#Tweak default handlers

View file

@ -27,9 +27,9 @@ VERSION=3
sed -i "s|background=.*|background=\"/usr/share/backgrounds/$CODENAME.jpg\"|" 30_ubuntukylin-wallpapers.gschema.override
sed -i "s|picture-uri=.*|picture-uri=\'file:///usr/share/backgrounds/$CODENAME.jpg\'|" 30_ubuntukylin-wallpapers.gschema.override
# Copy final artwork from trisquel-packages/$VERSION/trisquel-wallpapers repository.
# Make sure to force helper fail on release update, so it's fixed once the new artwork is released.
cp $DATA/$CODENAME.jpg warty-final-ubuntukylin.jpg
# Make sure to review helper on the designed stage prior to release, so it uses
# right artwork when released.
cp $(find DATA/trisquel-wallpapers/ -name $CODENAME.*) warty-final-ubuntukylin.jpg
# Add current release wallpaper to any possible xml release kylin-wallpaper file.
for i in $(find -name \*.xml.in)