[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1108513: sddm-theme-debian-breeze: Preview image does not show



Package: sddm-theme-debian-breeze
Version: 4:6.3.5-1
Severity: normal

While browsing themes in kde-config-sddm no preview image is shown for this
theme, even though one is included (kind of, anyway). The package clearly
intends to provide a preview.png, but due to an error in packaging a directory
with that name is created during package build instead, and the intended
preview image file is now inside that directory, with the original name 'sddm-
theme-debian-breeze-preview.png' as it appears in the source archive.

The reason for this is the first line in the source archive's sddm-theme-debian-
breeze.install file:

  debian/sddm-theme-debian-breeze-preview.png usr/share/sddm/themes/debian-breeze/preview.png

It is clear what the maintainer intended to do here, but unfortunately the last
argument is treated as a directory, as per dh_install's manual page:

  The format is a set of lines, where each line lists a file or files to install, and at the end of the line tells the directory it should be installed in.

And, as such, a directory called 'preview.png' is created instead, and the
preview image is copied to it. I worked around this by:

- moving debian/sddm-theme-debian-breeze-preview.png to debian/_sddm-theme-debian-breeze/preview.png - altering the line in debian/source/include-binaries according to the new preview.png location
- similarly, altering the first line in sddm-theme-debian-breeze.install to:
    debian/_sddm-theme-debian-breeze/preview.png usr/share/sddm/themes/debian-breeze

There may very well be a better or more elegant way to fix this, but after this
change the package is built the way I believe it was intended and a proper
preview is now shown in kde's sddm config module.

Kind regards,

Jordi Bosveld

-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.33+deb13-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sddm-theme-debian-breeze depends on:
ii plasma-desktoptheme 6.3.5-1
ii plasma-workspace 4:6.3.5-1
ii qt6-svg-plugins 6.8.2-3
ii sddm-theme-breeze 4:6.3.5-1

Versions of packages sddm-theme-debian-breeze recommends:
ii desktop-base 13.0.3
ii sddm 0.21.0+git20250502.4fe234b-1

sddm-theme-debian-breeze suggests no packages.

-- no debconf information


Reply to: