Merge ~aleasto/ubuntu/+source/plymouth:logo into ubuntu/+source/plymouth:ubuntu/devel
- Git
- lp:~aleasto/ubuntu/+source/plymouth
- logo
- Merge into ubuntu/devel
| Status: | Merged |
|---|---|
| Merged at revision: | 5b5dfa2fde38b7f8d8c21cb63eb76a4009c9c543 |
| Proposed branch: | ~aleasto/ubuntu/+source/plymouth:logo |
| Merge into: | ubuntu/+source/plymouth:ubuntu/devel |
| Diff against target: |
165 lines (+18/-52) 9 files modified
debian/changelog (+7/-0) debian/control (+4/-2) debian/local/plymouth.hook (+3/-3) debian/patches/series (+0/-1) debian/plymouth.postinst (+1/-1) debian/plymouth.triggers (+1/-0) debian/rules (+2/-11) debian/source/include-binaries (+0/-1) dev/null (+0/-33) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sebastien Bacher (community) | Approve | ||
| Simon Johnsson (community) | Approve | ||
| Daniel van Vugt (community) | Abstain | ||
| git-ubuntu import | Pending | ||
|
Review via email:
|
|||
Commit message
Description of the change
| Daniel van Vugt (vanvugt) wrote (last edit ): | # |
| Alessandro Astone (aleasto) wrote : | # |
FWIW base-files also still ships a PNG version of the logo.
| Daniel van Vugt (vanvugt) wrote : | # |
Assuming base-files' PNG is up to date then I think we would like to start using that instead of making Plymouth the owner of the image. That way future logo changes only need to modify one package (again).
| Alessandro Astone (aleasto) wrote (last edit ): | # |
Yeah I agree. There are a couple of options:
* Copy the file from base-files into the plymouth package at build time (plymouth needs a rebuild whenever the logo changes again)
* Copy the file from base-files in plymouth.postinst (plymouth still needs an update whenever the logo changes to re-trigger the postinst script -- I also don't particularly like having files not tracked by dpkg)
* Statically symlink the file from base-files into the plymouth package (need to ensure that the initramfs hook can resolve the symlink and write a regular file)
* Make the plymouth initramfs hook copy the file from base-files into initramfs directly
I think I would like to try the last option in that list
| Daniel van Vugt (vanvugt) wrote : | # |
Yes I think the last one sounds best. All options probably need a new dependency on base-files.
| Alessandro Astone (aleasto) wrote (last edit ): | # |
Configured plymouth to use /usr/share/
Did not add a dependency on base-files because lintian complains that it's not necessary: build-depends-
Verified working for both the boot splash (that is plymouth running from initramfs) and the shutdown splash (that is plymouth running from the root fs)
| Daniel van Vugt (vanvugt) : | # |
| Alessandro Astone (aleasto) : | # |
| Daniel van Vugt (vanvugt) wrote : | # |
Updated diff comments....
| Alessandro Astone (aleasto) : | # |
| Alessandro Astone (aleasto) wrote : | # |
Rebased
| Daniel van Vugt (vanvugt) wrote : | # |
Sorry about the build time/install time misunderstanding.
In an effort to hurry this up and unblock it I tried to build and install it. But installation is failing on Resolute:
dpkg: regarding plymouth-
plymouth-
plymouth (version 24.004.
dpkg: error processing archive plymouth-
installing plymouth-
deconfiguration is not permitted (--auto-deconfigure might help)
| Daniel van Vugt (vanvugt) : | # |
| Alessandro Astone (aleasto) wrote (last edit ): | # |
> In an effort to hurry this up and unblock it I tried to build and install it.
> But installation is failing on Resolute:
>
> dpkg: regarding plymouth-theme-
> spinner_
> theme-spinner:
> plymouth-
> 24.004.
> plymouth (version 24.004.
> installed.
>
> dpkg: error processing archive plymouth-theme-
> spinner_
> installing plymouth-
> deconfiguration is not permitted (--auto-deconfigure might help)
Works for me. Are you requesting install of all binary packages (namely both `plymouth` and `plymouth-
E.g.: sudo apt install --only-upgrade ../plymouth_
| Daniel van Vugt (vanvugt) wrote (last edit ): | # |
I requested install of the packages already installed. From the Bash history (reformatted for readability):
sudo dpkg -i \
libplymouth5_
plymouth-
plymouth-
plymouth-
plymouth_
Maybe you can spot a mistake?
| Alessandro Astone (aleasto) wrote : | # |
Ah, you're invoking dpkg directly. You'll need to specify `--auto-
| Daniel van Vugt (vanvugt) wrote : | # |
OK I don't need to block this but also don't have time to confirm it's correct today.
| Simon Johnsson (bamf0) wrote : | # |
Minor comments, looks good to me, and builds successfully on Resolute for me. Is there a bug related to this MP?
| Daniel van Vugt (vanvugt) wrote : | # |
There's no launchpad bug. I keep forgetting to create one. The idea is to make Plymouth use the new logo that the login screen is now using in Resolute so they match more often. It's tracked internally in https:/
| Alessandro Astone (aleasto) : | # |
| Simon Johnsson (bamf0) : | # |
| Alessandro Astone (aleasto) : | # |
| Simon Johnsson (bamf0) wrote : | # |
I tested out the build on the latest Resolute daily ISO and the boot logo looks good in Plymouth! Version 24.004.
| Alessandro Astone (aleasto) wrote : | # |
Rebased
| Simon Johnsson (bamf0) : | # |
Preview Diff
| 1 | diff --git a/debian/changelog b/debian/changelog |
| 2 | index 8eeb53b..8e1bd2c 100644 |
| 3 | --- a/debian/changelog |
| 4 | +++ b/debian/changelog |
| 5 | @@ -1,3 +1,10 @@ |
| 6 | +plymouth (24.004.60+git20250831.4a3c171d-0ubuntu5) resolute; urgency=medium |
| 7 | + |
| 8 | + * Move themes/spinner/watermark.png to the spinner package |
| 9 | + * Use Ubuntu logo from base-files |
| 10 | + |
| 11 | + -- Alessandro Astone <alessandro.astone@canonical.com> Thu, 22 Jan 2026 14:48:08 +0100 |
| 12 | + |
| 13 | plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) resolute; urgency=medium |
| 14 | |
| 15 | * d/p/toggle-password.patch: Add TAB toggle hint for password |
| 16 | diff --git a/debian/control b/debian/control |
| 17 | index 49264d5..167320b 100644 |
| 18 | --- a/debian/control |
| 19 | +++ b/debian/control |
| 20 | @@ -202,8 +202,10 @@ Depends: |
| 21 | plymouth (= ${binary:Version}), |
| 22 | plymouth-label (= ${binary:Version}), |
| 23 | lsb-release, |
| 24 | -Breaks: plymouth-themes (<< 0.9.4git20190712-0ubuntu1~) |
| 25 | -Replaces: plymouth-themes (<< 0.9.4git20190712-0ubuntu1~) |
| 26 | +Breaks: plymouth-themes (<< 0.9.4git20190712-0ubuntu1~), |
| 27 | + plymouth (<< 24.004.60+git20250831.4a3c171d-0ubuntu4), |
| 28 | +Replaces: plymouth-themes (<< 0.9.4git20190712-0ubuntu1~), |
| 29 | + plymouth (<< 24.004.60+git20250831.4a3c171d-0ubuntu4), |
| 30 | Provides: plymouth-theme, |
| 31 | Description: boot animation, logger and I/O multiplexer - spinner theme |
| 32 | Plymouth provides a boot-time I/O multiplexing framework - the most obvious |
| 33 | diff --git a/debian/local/plymouth.hook b/debian/local/plymouth.hook |
| 34 | index f618944..a70e009 100644 |
| 35 | --- a/debian/local/plymouth.hook |
| 36 | +++ b/debian/local/plymouth.hook |
| 37 | @@ -121,9 +121,9 @@ case "${THEME_NAME}" in |
| 38 | ;; |
| 39 | |
| 40 | *) |
| 41 | - if [ -d ${DESTDIR}/usr/share/plymouth/themes/spinner ]; then |
| 42 | - cp /usr/share/plymouth/themes/spinner/watermark.png "${DESTDIR}/usr/share/plymouth/themes/spinner/watermark.png" |
| 43 | - fi |
| 44 | + # logo from base-files |
| 45 | + mkdir -p "${DESTDIR}/usr/share/pixmaps" |
| 46 | + cp -a /usr/share/pixmaps/ubuntu-logo-text-dark.png "${DESTDIR}/usr/share/pixmaps" |
| 47 | |
| 48 | # fontconfig |
| 49 | mkdir -p "${DESTDIR}/etc/fonts/conf.d" |
| 50 | diff --git a/debian/local/ubuntu-logo.png b/debian/local/ubuntu-logo.png |
| 51 | deleted file mode 100644 |
| 52 | index 64263af..0000000 |
| 53 | Binary files a/debian/local/ubuntu-logo.png and /dev/null differ |
| 54 | diff --git a/debian/patches/series b/debian/patches/series |
| 55 | index 85f7c53..77fef5a 100644 |
| 56 | --- a/debian/patches/series |
| 57 | +++ b/debian/patches/series |
| 58 | @@ -11,7 +11,6 @@ ubuntu-spinner-style.patch |
| 59 | ubuntu-spinner-fsck.patch |
| 60 | plymouth-switch-root-initramfs-Preload-text-renderin.patch |
| 61 | ubuntu-text.patch |
| 62 | -spinfinity-no-meson-symlink.patch |
| 63 | remove-plymouth-set-default-theme-populate-initrd.patch |
| 64 | include-necessary-files.patch |
| 65 | enable-usesimpledrm.patch |
| 66 | diff --git a/debian/patches/spinfinity-no-meson-symlink.patch b/debian/patches/spinfinity-no-meson-symlink.patch |
| 67 | deleted file mode 100644 |
| 68 | index bb6e5fa..0000000 |
| 69 | --- a/debian/patches/spinfinity-no-meson-symlink.patch |
| 70 | +++ /dev/null |
| 71 | @@ -1,33 +0,0 @@ |
| 72 | -From: Agathe Porte <agathe.porte@canonical.com> |
| 73 | -Date: Tue, 2 Jan 2024 15:37:48 +0100 |
| 74 | -Subject: spinfinity: do not rely on meson for symlink creation |
| 75 | - |
| 76 | -Meson is currently not able to create broken symlinks, which is required |
| 77 | -when packaging using a PKGBUILDDIR. This is because the created symlink |
| 78 | -will point to a file in /usr/share/plymouth/... but the file will not |
| 79 | -be installed yet in the host file system but only in the prefix (and after |
| 80 | -the meson install anyways). |
| 81 | - |
| 82 | -Upstream issue: https://github.com/mesonbuild/meson/issues/12253 |
| 83 | - |
| 84 | -Drop the meson link creation and rely on debian/rules for copying the logo |
| 85 | -for now. |
| 86 | - |
| 87 | -Forwarded: not-needed |
| 88 | ---- |
| 89 | - themes/spinfinity/meson.build | 5 ----- |
| 90 | - 1 file changed, 5 deletions(-) |
| 91 | - |
| 92 | -diff --git a/themes/spinfinity/meson.build b/themes/spinfinity/meson.build |
| 93 | -index f48e8e5..5a2050c 100644 |
| 94 | ---- a/themes/spinfinity/meson.build |
| 95 | -+++ b/themes/spinfinity/meson.build |
| 96 | -@@ -53,8 +53,3 @@ install_data( |
| 97 | - 'throbber-33.png', |
| 98 | - install_dir: plymouth_theme_path / 'spinfinity', |
| 99 | - ) |
| 100 | -- |
| 101 | --install_symlink('header-image.png', |
| 102 | -- install_dir: plymouth_theme_path / 'spinfinity', |
| 103 | -- pointing_to: plymouth_logo_file, |
| 104 | --) |
| 105 | diff --git a/debian/plymouth.postinst b/debian/plymouth.postinst |
| 106 | index 5736e8f..cb954af 100644 |
| 107 | --- a/debian/plymouth.postinst |
| 108 | +++ b/debian/plymouth.postinst |
| 109 | @@ -3,7 +3,7 @@ |
| 110 | set -e |
| 111 | |
| 112 | case "${1}" in |
| 113 | - configure) |
| 114 | + configure|triggered) |
| 115 | dpkg-trigger update-initramfs |
| 116 | ;; |
| 117 | |
| 118 | diff --git a/debian/plymouth.triggers b/debian/plymouth.triggers |
| 119 | new file mode 100644 |
| 120 | index 0000000..99ee303 |
| 121 | --- /dev/null |
| 122 | +++ b/debian/plymouth.triggers |
| 123 | @@ -0,0 +1 @@ |
| 124 | +interest-noawait /usr/share/pixmaps/ubuntu-logo-text-dark.png |
| 125 | diff --git a/debian/rules b/debian/rules |
| 126 | index 1e91077..a2a53d5 100755 |
| 127 | --- a/debian/rules |
| 128 | +++ b/debian/rules |
| 129 | @@ -27,7 +27,7 @@ override_dh_auto_configure: |
| 130 | -Dbackground-color=0x2c001e \ |
| 131 | -Dbackground-start-color-stop=0x2c001e \ |
| 132 | -Dbackground-end-color-stop=0x2c001e \ |
| 133 | - -Dlogo=/usr/share/plymouth/ubuntu-logo.png \ |
| 134 | + -Dlogo=/usr/share/pixmaps/ubuntu-logo-text-dark.png \ |
| 135 | -Drelease-file=/etc/os-release |
| 136 | |
| 137 | override_dh_install: |
| 138 | @@ -51,16 +51,7 @@ override_dh_install: |
| 139 | cp debian/local/lock.png debian/plymouth-theme-spinner/usr/share/plymouth/themes/spinner |
| 140 | cp debian/local/keyboard.png debian/plymouth-theme-spinner/usr/share/plymouth/themes/spinner |
| 141 | cp debian/local/bgrt-fallback.png debian/plymouth-theme-spinner/usr/share/plymouth/themes/spinner |
| 142 | - |
| 143 | - |
| 144 | -override_dh_auto_install: |
| 145 | - |
| 146 | - # Workaround a but in meson, it cannot create a symlink if the target doesn't exist |
| 147 | - # https://github.com/mesonbuild/meson/issues/12253 |
| 148 | - install -D -m 0644 debian/local/ubuntu-logo.png debian/plymouth/usr/share/plymouth/ubuntu-logo.png |
| 149 | - install -D -m 0644 debian/local/ubuntu-logo.png debian/plymouth/usr/share/plymouth/themes/spinner/watermark.png |
| 150 | - install -D -m 0644 debian/local/ubuntu-logo.png debian/plymouth-themes/usr/share/plymouth/themes/spinfinity/header-image.png |
| 151 | - dh_auto_install |
| 152 | + ln -s ../../../pixmaps/ubuntu-logo-text-dark.png debian/plymouth-theme-spinner/usr/share/plymouth/themes/spinner/watermark.png |
| 153 | |
| 154 | # Disable dh_installinitramfs as we are managing this ourself |
| 155 | override_dh_installinitramfs: |
| 156 | diff --git a/debian/source/include-binaries b/debian/source/include-binaries |
| 157 | index ecfd4f5..d7fbefb 100644 |
| 158 | --- a/debian/source/include-binaries |
| 159 | +++ b/debian/source/include-binaries |
| 160 | @@ -1,5 +1,4 @@ |
| 161 | debian/local/debian-logo.png |
| 162 | -debian/local/ubuntu-logo.png |
| 163 | debian/local/spinner/animation-0001.png |
| 164 | debian/local/spinner/animation-0002.png |
| 165 | debian/local/spinner/animation-0003.png |

Seems Plymouth only has PNG decoding support. But can we auto-generate the latest PNG from the SVG in base-files at build time (or install time)?