From: Jeremy Kerr Date: Thu, 5 Apr 2007 01:39:21 +0000 (+1000) Subject: Use compressed cursor X-Git-Tag: v0.0.1~19 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=457341fd01e3796f908dd1c428bf1b23eabee704 Use compressed cursor Twin can support compressed cursors, so save a little space here. Signed-off-by: Jeremy Kerr --- diff --git a/Makefile b/Makefile index 870fb14..ff7d446 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ LDFLAGS = CFLAGS = -O0 -ggdb -Wall '-DPREFIX="$(PREFIX)"' PARSERS = native yaboot kboot -ARTWORK = background.jpg cdrom.png hdd.png usbpen.png cursor +ARTWORK = background.jpg cdrom.png hdd.png usbpen.png cursor.gz all: petitboot udev-helper diff --git a/artwork/cursor b/artwork/cursor deleted file mode 100644 index fac3b0c..0000000 Binary files a/artwork/cursor and /dev/null differ diff --git a/artwork/cursor.gz b/artwork/cursor.gz new file mode 100644 index 0000000..b73b72f Binary files /dev/null and b/artwork/cursor.gz differ diff --git a/petitboot.c b/petitboot.c index b76a718..ea7dc57 100644 --- a/petitboot.c +++ b/petitboot.c @@ -1082,7 +1082,7 @@ int main(int argc, char **argv) twin_linux_mouse_create(NULL, pboot_screen); if (pboot_fbdev != NULL) { - char *cursor_path = artwork_pathname("cursor"); + char *cursor_path = artwork_pathname("cursor.gz"); pboot_cursor = twin_load_X_cursor(cursor_path, 2, &pboot_cursor_hx, &pboot_cursor_hy);