Provide the /usr/share/backgrounds/kali-16x9/default symlink in kali-themes-common
And have the corresponding dependency to kali-wallpapers-2020.4 in kali-themes-common too to ensure the symlink points to an existing file. Gbp-Dch: Full
This commit is contained in:
parent
da5897425e
commit
7fbc766e84
4
Makefile
4
Makefile
@ -1,9 +1,9 @@
|
||||
SUBDIRS=emblems kali-logos
|
||||
BACKGROUND=kali-geometric
|
||||
DESKTOP_BACKGROUND=kali-geometric
|
||||
LOGIN_BACKGROUND=kali-light-strips
|
||||
|
||||
build:
|
||||
bin/update-default-backgrounds $(BACKGROUND) $(LOGIN_BACKGROUND)
|
||||
bin/update-default-backgrounds $(DESKTOP_BACKGROUND) $(LOGIN_BACKGROUND)
|
||||
$(foreach SUBDIR,$(SUBDIRS),$(MAKE) -C $(SUBDIR) build &&) true
|
||||
|
||||
clean:
|
||||
|
||||
11
README.md
11
README.md
@ -35,3 +35,14 @@ target location by the postinst script (see debian/kali-themes.postinst).
|
||||
When you add a new file that needs to be diverted, you can update
|
||||
the list in "files-to-divert" and run "debian/update-maintainer-scripts"
|
||||
to update the list of files in the 3 maintainer scripts.
|
||||
|
||||
## wallpapers
|
||||
|
||||
The wallpapers are provided by the kali-wallpapers-VERSION binary package
|
||||
which is built by the kali-wallpapers source package. We have the Makefile
|
||||
which generates some symlinks pointing to the kali-wallpapers-VERSION that
|
||||
we depend upon.
|
||||
|
||||
Care must be taken to ensure that we depend on the right package so that
|
||||
the symlinks are working. So update debian/control and Makefile at the
|
||||
same time.
|
||||
|
||||
@ -15,3 +15,7 @@ ln -sfv ../../../backgrounds/kali/$DESKTOP_BACKGROUND.xml ${DESTDIR}wallpaper/gn
|
||||
ln -nsfv ../../../wallpapers/$kde_wallpaper/contents ${DESTDIR}wallpaper/contents
|
||||
|
||||
sed -i "s/defaultWallpaperTheme=.*/defaultWallpaperTheme=${kde_wallpaper}/" share/plasma/desktoptheme/kali/metadata.desktop
|
||||
|
||||
# default background symlink for XFCE
|
||||
mkdir -p share/backgrounds/kali-16x9
|
||||
ln -sf $DESKTOP_BACKGROUND.png share/backgrounds/kali-16x9/default
|
||||
|
||||
7
debian/control
vendored
7
debian/control
vendored
@ -12,7 +12,9 @@ Vcs-Browser: https://gitlab.com/kalilinux/packages/kali-themes
|
||||
|
||||
Package: kali-themes-common
|
||||
Architecture: all
|
||||
Depends: kali-wallpapers-current,
|
||||
Depends:
|
||||
# Dependency on the package providing the current default background
|
||||
kali-wallpapers-2020.4,
|
||||
${misc:Depends}
|
||||
Suggests: gtk2-engines-murrine
|
||||
Breaks: gnome-theme-kali (<< 2019.4), desktop-base (<< 10.0.3+kali2)
|
||||
@ -36,7 +38,8 @@ Description: Kali version of Debian's desktop-base package
|
||||
|
||||
Package: kali-themes
|
||||
Architecture: all
|
||||
Depends: kali-themes-common (= ${source:Version}),
|
||||
Depends:
|
||||
kali-themes-common (= ${source:Version}),
|
||||
# gsettings and other config files reference those fonts
|
||||
fonts-cantarell,
|
||||
fonts-firacode,
|
||||
|
||||
1
share/backgrounds/kali-16x9/default
Symbolic link
1
share/backgrounds/kali-16x9/default
Symbolic link
@ -0,0 +1 @@
|
||||
kali-geometric.png
|
||||
Loading…
x
Reference in New Issue
Block a user