Re: [Bug 1592405] Re: plymouth hook in initramfs needs font but doesn't Depend on it

2018-04-01 Thread Steve Langasek
On Mon, Apr 02, 2018 at 01:47:17AM -, Dimitri John Ledkov wrote:
> Which is correct! We still do need a serif font

We do?

$ grep -ri serif plymouth-0.9.3/
plymouth-0.9.3/debian/changelog:  * Make the Ubuntu font the default sans-serif 
& mono fonts. LP: #1592405
plymouth-0.9.3/debian/changelog:  * In the ubuntu-logo theme fallback to 
sans-serif font, if Ubuntu font
plymouth-0.9.3/debian/local/plymouth.hook:  cp -a 
/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf 
"${DESTDIR}/usr/share/fonts/truetype/dejavu"
plymouth-0.9.3/debian/local/plymouth.hook:  # Make Ubuntu the 
default sans-serif, and mono fonts
plymouth-0.9.3/debian/patches/ubuntu-logo.patch:+ubuntufont = "Ubuntu, 
sans-serif 11";
plymouth-0.9.3/themes/ubuntu-logo/ubuntu-logo.script:ubuntufont = "Ubuntu, 
sans-serif 11";
$

> and a fallback font for languages not covered by the ubuntu font.

The plymouth initramfs hook has no l10n support.

> Are you implying DejaVu font is not shipped by default on Lubuntu at
all?

Probably.  Even if it was, it would still be a bug for the plymouth hook to
require it without a dependency.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592405

Title:
  plymouth hook in initramfs needs font but doesn't Depend on it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1592405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1592405] Re: plymouth hook in initramfs needs font but doesn't Depend on it

2018-04-01 Thread Dimitri John Ledkov
On 2 April 2018 at 02:27, Steve Langasek  wrote:
> $ dpkg -S /usr/share/initramfs-tools/hooks/plymouth
> plymouth: /usr/share/initramfs-tools/hooks/plymouth
> $ apt policy plymouth | grep Installed
>   Installed: 0.9.3-1ubuntu4
> $ grep -i dejavu /usr/share/initramfs-tools/hooks/plymouth
> mkdir -p "${DESTDIR}/usr/share/fonts/truetype/dejavu"
> cp -a /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf 
> "${DESTDIR}/usr/share/fonts/truetype/dejavu"
> sed 's|\(DejaVu 
> Sans\)|Ubuntu\1|;s|\(DejaVu Sans 
> Mono\)|Ubuntu Mono\1|;' \
> cp -a /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf  
> "${DESTDIR}/usr/share/fonts/truetype/dejavu"
> $
>
> The hook is still trying to copy dejavu fonts into the initramfs.
>

Which is correct! We still do need a serif font and a fallback
font for languages not covered by the ubuntu font. Are you implying
DejaVu font is not shipped by default on Lubuntu at all?

-- 
Regards,

Dimitri.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592405

Title:
  plymouth hook in initramfs needs font but doesn't Depend on it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1592405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1592405] Re: plymouth hook in initramfs needs font but doesn't Depend on it

2018-04-01 Thread Dimitri John Ledkov
On 1 April 2018 at 22:35, Jb  wrote:
> I retested bionic lubuntu alternate 20180401.  This iso includes
> "plymouth 0.9.3-1ubutu4".  Note: this version of plymouth ends in ".4"
> and not the ".3" version mentioned in comment #11.
>
> When I reviewed the syslog from the install there are still errors with
> the update-initramfs due to the missing font file.
>

Can you please attach said syslog?

> I think .4 is an upstream merge from Debian?:
> http://changelogs.ubuntu.com/changelogs/pool/main/p/plymouth/plymouth_0.9.3-1ubuntu4/changelog
>
> Did version .4 undo the fixes in the .3 version?
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1592405
>
> Title:
>   plymouth hook in initramfs needs font but doesn't Depend on it
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1592405/+subscriptions


-- 
Regards,

Dimitri.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592405

Title:
  plymouth hook in initramfs needs font but doesn't Depend on it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1592405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1592405] Re: plymouth hook in initramfs needs font but doesn't Depend on it

2018-03-03 Thread Steve Langasek
On Sat, Mar 03, 2018 at 10:20:22PM -, Jb wrote:
> fonts-dejavu is still a "recommended" but not installed package.

Making it a dependency is NOT the correct solution for this bug.  The
correct solution is to fix the initramfs script to use the Ubuntu fonts
instead, which is what we had prior to the Debian merge.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592405

Title:
  plymouth hook in initramfs needs font but doesn't Depend on it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1592405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs