Package: usplash-theme-debian
Version: 4
Severity: important
Tags: patch

When i try to boot in 1280x800 resolution with quiet splash grub option
usplash print to stdout :
        usplash: No usable theme found for 12800x800
        script init failed
So themesetup.sh init script doesn't detect 1280x800 as 16:9 ratio 
(normally 16:10) but to 4:3.
If you refer to libusplash.c in usplash-0.5.2-3 Line 491 :
        if (theme->pixmap->height <= yres
                    && theme->pixmap->width <= xres
                    && theme->pixmap->height *
                    theme->pixmap->width > maxarea
                    && theme->ratio == ratio)
==> theme->ratio != ratio 
Finally htheme refers to NULL pointer and theme too (line 503)
that's why i created an small patch to fix it , it's work ! :)
please find path here : 
http://romain.perier.free.fr/debian/usplash-theme-debian_fix_ratio.diff


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages usplash-theme-debian depends on:
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries

usplash-theme-debian recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to