Move all backgrounds to kali-wallpapers package

This commit is contained in:
Daniel Ruiz de Alegría 2020-11-02 10:45:05 +01:00
parent 75800f2511
commit c087399c5e
105 changed files with 17 additions and 7 deletions

View File

@ -7,8 +7,8 @@ SIZE_4x3="1024x768 1280x1024 1600x1200"
SIZE_16x9="1280x720 1920x1080 2560x1440 3840x2160" SIZE_16x9="1280x720 1920x1080 2560x1440 3840x2160"
SIZE_16x10="1280x800 1920x1200 2560x1600" SIZE_16x10="1280x800 1920x1200 2560x1600"
SOURCE_DIR=share/backgrounds/kali SOURCE_DIR=wallpapers/backgrounds/kali
TARGET_DIR=share/wallpapers/$KDE_WALLPAPER_NAME/contents/images TARGET_DIR=wallpapers/wallpapers/$KDE_WALLPAPER_NAME/contents/images
mkdir -p $TARGET_DIR mkdir -p $TARGET_DIR

View File

@ -5,9 +5,9 @@ DESKTOP_BACKGROUND=$1
LOGIN_BACKGROUND=$2 LOGIN_BACKGROUND=$2
# xfce background # xfce background
if [ -e share/backgrounds/kali-16x9/$DESKTOP_BACKGROUND.png ]; then if [ -e wallpapers/backgrounds/kali-16x9/$DESKTOP_BACKGROUND.png ]; then
mv -v share/backgrounds/kali-16x9/$DESKTOP_BACKGROUND.png \ mv -v wallpapers/backgrounds/kali-16x9/$DESKTOP_BACKGROUND.png \
share/backgrounds/kali-16x9/default wallpapers/backgrounds/kali-16x9/default
fi fi
# login/lockscreen # login/lockscreen

View File

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
TARGET_DIR=share/backgrounds/kali-16x9 TARGET_DIR=wallpapers/backgrounds/kali-16x9
rm $TARGET_DIR/*.png rm $TARGET_DIR/*.png
for f in share/backgrounds/kali/*-16x9.png; do for f in wallpapers/backgrounds/kali/*-16x9.png; do
target=$(basename $f) target=$(basename $f)
target="${target%%-16x9.png}.png" target="${target%%-16x9.png}.png"
ln -vsrf $f $TARGET_DIR/$target ln -vsrf $f $TARGET_DIR/$target

1
debian/changelog vendored
View File

@ -29,6 +29,7 @@ kali-themes (2020.4.3) kali-dev; urgency=medium
* Backgrounds: move old backgrounds to kali-legacy-wallpapers * Backgrounds: move old backgrounds to kali-legacy-wallpapers
* Icons: Update Flat-Remix icon theme * Icons: Update Flat-Remix icon theme
* Icons use symbolic icon for edit-find action icon * Icons use symbolic icon for edit-find action icon
* Move all backgrounds to kali-wallpapers package
-- Daniel Ruiz de Alegría <daniel@drasite.com> Mon, 02 Nov 2020 12:04:54 +0100 -- Daniel Ruiz de Alegría <daniel@drasite.com> Mon, 02 Nov 2020 12:04:54 +0100

8
debian/control vendored
View File

@ -36,6 +36,7 @@ Description: Kali version of Debian's desktop-base package
Package: kali-themes Package: kali-themes
Architecture: all Architecture: all
Depends: kali-themes-common (= ${source:Version}), Depends: kali-themes-common (= ${source:Version}),
kali-wallpapers (= ${source:Version}),
# gsettings and other config files reference those fonts # gsettings and other config files reference those fonts
fonts-cantarell, fonts-cantarell,
fonts-firacode, fonts-firacode,
@ -59,6 +60,13 @@ Description: Configure all desktops to use the Kali theme
provides configuration files and other settings for each desktop so that provides configuration files and other settings for each desktop so that
they use the Kali theme by default. they use the Kali theme by default.
Package: kali-wallpapers
Architecture: all
Depends: ${misc:Depends}
Breaks: kali-themes (<< 2020.4.3)
Description: Kali Themes (data files)
This package contains multiple wallpapers for Kali.
Package: gnome-theme-kali Package: gnome-theme-kali
Architecture: all Architecture: all
Depends: kali-themes, Depends: kali-themes,

1
debian/kali-wallpapers.install vendored Normal file
View File

@ -0,0 +1 @@
wallpapers/* usr/share/

View File

Before

Width:  |  Height:  |  Size: 484 KiB

After

Width:  |  Height:  |  Size: 484 KiB

View File

Before

Width:  |  Height:  |  Size: 528 KiB

After

Width:  |  Height:  |  Size: 528 KiB

View File

Before

Width:  |  Height:  |  Size: 268 KiB

After

Width:  |  Height:  |  Size: 268 KiB

View File

Before

Width:  |  Height:  |  Size: 980 KiB

After

Width:  |  Height:  |  Size: 980 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

Before

Width:  |  Height:  |  Size: 624 KiB

After

Width:  |  Height:  |  Size: 624 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

Before

Width:  |  Height:  |  Size: 886 KiB

After

Width:  |  Height:  |  Size: 886 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

Before

Width:  |  Height:  |  Size: 970 KiB

After

Width:  |  Height:  |  Size: 970 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

Before

Width:  |  Height:  |  Size: 623 KiB

After

Width:  |  Height:  |  Size: 623 KiB

View File

Before

Width:  |  Height:  |  Size: 307 KiB

After

Width:  |  Height:  |  Size: 307 KiB

View File

Before

Width:  |  Height:  |  Size: 344 KiB

After

Width:  |  Height:  |  Size: 344 KiB

View File

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 166 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Some files were not shown because too many files have changed in this diff Show More