Package: tuxonice-userui / 1.1+dfsg1.gc3bdd83-4

Metadata

Package Version Patches format
tuxonice-userui 1.1+dfsg1.gc3bdd83-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix alignment warning about progress_text by removin.patch | (download)

fbsplash/userui_fbsplash_core.c | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 fix alignment warning about progress_text by removing the redundant
 definition

userui_fbsplash.o link command yields "/usr/bin/ld: Warning: alignment 8 of
symbol `progress_text' in common.o is smaller than 16 in userui_fbsplash_core.o"
while progress_text should be defined only in common.c.

Bug: https://github.com/NigelCunningham/Tuxonice-Userui/issues/1

0002 Fix includes for recent freetype versions.patch | (download)

fbsplash/ttf.c | 5 0 + 5 - 0 !
fbsplash/ttf.h | 3 1 + 2 - 0 !
2 files changed, 1 insertion(+), 7 deletions(-)

 fix #includes for recent freetype versions


0003 Fix corrupted display of PNG.patch | (download)

fbsplash/common.c | 1 0 + 1 - 0 !
fbsplash/image.c | 3 1 + 2 - 0 !
fbsplash/parse.c | 1 0 + 1 - 0 !
3 files changed, 1 insertion(+), 4 deletions(-)

 fix corrupted display of png

This is broken since commit 3ac7e257510dfd4a6d92cabd1cd2dcff381bcf96,
which does more than simply applying original Debian patch.

0004 New option to change VT.patch | (download)

fbsplash/cmd.c | 11 6 + 5 - 0 !
fbsplash/common.c | 1 0 + 1 - 0 !
fbsplash/splash.h | 1 0 + 1 - 0 !
fbsplash/userui_fbsplash_core.c | 22 0 + 22 - 0 !
userui.h | 1 1 + 0 - 0 !
userui_core.c | 56 51 + 5 - 0 !
userui_text.c | 2 0 + 2 - 0 !
7 files changed, 58 insertions(+), 36 deletions(-)

 new option to change vt

When invoked with -vN (or --chvt=N) option, userui makes /dev/ttyN the
foreground terminal before doing anything else, and restore previous VT at exit.
If /dev/ttyN is already the foreground terminal, the new option does nothing.
There's also no change in behaviour if this new option is not passed.

TOI UI needs its own VT and without such option, it would be required
to work around this in every power management hibernation.

0005 Fix include of libmng.h.patch | (download)

fbsplash/mng_callbacks.c | 1 1 + 0 - 0 !
fbsplash/mng_render.c | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 fix include of <libmng.h>

<libmng.h> does not include <stdio.h> anymore but <jpeglib.h> requires this.
It's unclear if this is an issue in libmng or libjpeg, but for the moment
we need to include it ourselves.

Bug-Debian: https://bugs.debian.org/759856

0006 Fix link failure with GCC 5.patch | (download)

fbsplash/render.c | 2 1 + 1 - 0 !
fbsplash/splash.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix link failure with gcc 5

'inline' keyword is useless here and with C99 inline semantics, 'put_pixel'
was not externally visible anymore.

Bug-Debian: https://bugs.debian.org/778151