[oe-commits] org.oe.dev merge of '2bfc7617553093cf49cd0c4c7e294436a43b2bee'
oe commit
openembedded-commits at lists.openembedded.org
Thu Dec 6 13:11:59 UTC 2007
merge of '2bfc7617553093cf49cd0c4c7e294436a43b2bee'
and '5cf78fdb2dc10cb020c2a329af096264e3c0f224'
Author: oe at openembedded.org
Branch: org.openembedded.dev
Revision: bb6c4a865ce1530f60907a25c88a3be023054e5b
ViewMTN: http://monotone.openembedded.org/revision/info/bb6c4a865ce1530f60907a25c88a3be023054e5b
Files:
1
packages/psplash/files/configurability.patch
packages/psplash/psplash_svn.bb
Diffs:
#
# mt diff -r2bfc7617553093cf49cd0c4c7e294436a43b2bee -rbb6c4a865ce1530f60907a25c88a3be023054e5b
#
#
#
# patch "packages/psplash/files/configurability.patch"
# from [62ed2328f8bd83a1609058709ddf254ee396d33d]
# to [e7accf68bfb32354a51e199c9960e40cf655d9ae]
#
# patch "packages/psplash/psplash_svn.bb"
# from [5f388d9f92a2d8c405d7d667d3c6c45c288c82bb]
# to [4e90d427d5ad257ee0faf49f0e087779364df998]
#
============================================================
--- packages/psplash/files/configurability.patch 62ed2328f8bd83a1609058709ddf254ee396d33d
+++ packages/psplash/files/configurability.patch e7accf68bfb32354a51e199c9960e40cf655d9ae
@@ -1,8 +1,8 @@ Index: psplash/psplash.c
Index: psplash/psplash.c
===================================================================
---- psplash.orig/psplash.c
-+++ psplash/psplash.c
-@@ -44,17 +44,17 @@ psplash_draw_msg (PSplashFB *fb, const c
+--- psplash.orig/psplash.c 2007-12-06 11:14:23.000000000 +0000
++++ psplash/psplash.c 2007-12-06 11:19:12.000000000 +0000
+@@ -44,17 +44,17 @@
/* Clear */
@@ -27,7 +27,7 @@ Index: psplash/psplash.c
&radeon_font,
msg);
}
-@@ -66,36 +66,36 @@ psplash_draw_progress (PSplashFB *fb, in
+@@ -66,36 +66,36 @@
/* 4 pix border */
x = ((fb->width - BAR_IMG_WIDTH)/2) + 4 ;
@@ -75,7 +75,7 @@ Index: psplash/psplash.c
{
char *command;
int parsed=0;
-@@ -103,21 +103,21 @@ parse_command (PSplashFB *fb, char *stri
+@@ -103,21 +103,21 @@
parsed = strlen(string)+1;
DBG("got cmd %s", string);
@@ -103,7 +103,7 @@ Index: psplash/psplash.c
{
return 1;
}
-@@ -125,8 +125,8 @@ parse_command (PSplashFB *fb, char *stri
+@@ -125,8 +125,8 @@
return 0;
}
@@ -114,7 +114,7 @@ Index: psplash/psplash.c
{
int err;
ssize_t length = 0;
-@@ -143,14 +143,14 @@ psplash_main (PSplashFB *fb, int pipe_fd
+@@ -143,14 +143,14 @@
end = command;
@@ -133,7 +133,7 @@ Index: psplash/psplash.c
{
/*
if (errno == EINTR)
-@@ -158,29 +158,29 @@ psplash_main (PSplashFB *fb, int pipe_fd
+@@ -158,29 +158,29 @@
*/
return;
}
@@ -171,7 +171,7 @@ Index: psplash/psplash.c
FD_ZERO(&descriptors);
FD_SET(pipe_fd,&descriptors);
}
-@@ -188,14 +188,14 @@ psplash_main (PSplashFB *fb, int pipe_fd
+@@ -188,14 +188,14 @@
return;
}
@@ -189,7 +189,7 @@ Index: psplash/psplash.c
signal(SIGHUP, psplash_exit);
signal(SIGINT, psplash_exit);
signal(SIGQUIT, psplash_exit);
-@@ -214,10 +214,10 @@ main (int argc, char** argv)
+@@ -214,10 +214,10 @@
angle = atoi(argv[i]);
continue;
}
@@ -203,7 +203,7 @@ Index: psplash/psplash.c
argv[0]);
exit(-1);
}
-@@ -231,7 +231,7 @@ main (int argc, char** argv)
+@@ -231,7 +231,7 @@
if (mkfifo(PSPLASH_FIFO, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP))
{
@@ -212,7 +212,7 @@ Index: psplash/psplash.c
{
perror("mkfifo");
exit(-1);
-@@ -239,8 +239,8 @@ main (int argc, char** argv)
+@@ -239,8 +239,8 @@
}
pipe_fd = open (PSPLASH_FIFO,O_RDONLY|O_NONBLOCK);
@@ -223,22 +223,20 @@ Index: psplash/psplash.c
{
perror("pipe open");
exit(-2);
-@@ -252,30 +252,30 @@ main (int argc, char** argv)
- if ((fb = psplash_fb_new(angle)) == NULL)
+@@ -253,29 +253,29 @@
exit(-1);
-- /* Clear the background with #ecece1 */
+ /* Clear the background with #ecece1 */
- psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height, 0xec, 0xec, 0xe1);
-+ /* Clear the background */
+ psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height, PSPLASH_BACKGROUND_COLOR_R, PSPLASH_BACKGROUND_COLOR_G, PSPLASH_BACKGROUND_COLOR_B);
/* Draw the OH logo */
- psplash_fb_draw_image (fb,
- (fb->width - HAND_IMG_WIDTH)/2,
-- (fb->height - HAND_IMG_HEIGHT)/2,
+- ((fb->height * 5) / 6 - HAND_IMG_HEIGHT)/2,
+ psplash_fb_draw_image (fb,
-+ (fb->width - HAND_IMG_WIDTH)/2,
-+ (fb->height - HAND_IMG_HEIGHT)/2,
++ (fb->width - HAND_IMG_WIDTH)/2,
++ (fb->height - HAND_IMG_HEIGHT)/2,
HAND_IMG_WIDTH,
HAND_IMG_HEIGHT,
HAND_IMG_BYTES_PER_PIXEL,
@@ -249,8 +247,8 @@ Index: psplash/psplash.c
- (fb->width - BAR_IMG_WIDTH)/2,
- fb->height - (fb->height/6),
+ psplash_fb_draw_image (fb,
-+ (fb->width - BAR_IMG_WIDTH)/2,
-+ fb->height - (fb->height/PSPLASH_PROGRESS_DIVIDER),
++ (fb->width - BAR_IMG_WIDTH)/2,
++ fb->height - (fb->height/PSPLASH_PROGRESS_DIVIDER),
BAR_IMG_WIDTH,
BAR_IMG_HEIGHT,
BAR_IMG_BYTES_PER_PIXEL,
@@ -266,9 +264,9 @@ Index: psplash/psplash.h
Index: psplash/psplash.h
===================================================================
---- psplash.orig/psplash.h
-+++ psplash/psplash.h
-@@ -54,6 +54,21 @@ typedef int bool;
+--- psplash.orig/psplash.h 2007-12-06 11:15:35.000000000 +0000
++++ psplash/psplash.h 2007-12-06 11:15:45.000000000 +0000
+@@ -54,6 +54,21 @@
#define TRUE 1
#endif
============================================================
--- packages/psplash/psplash_svn.bb 5f388d9f92a2d8c405d7d667d3c6c45c288c82bb
+++ packages/psplash/psplash_svn.bb 4e90d427d5ad257ee0faf49f0e087779364df998
@@ -1,9 +1,9 @@ PV = "0.0+svnr${SRCREV}"
DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
HOMEPAGE = "http://projects.o-hand.com/psplash"
SECTION = "base"
LICENSE = "GPL"
PV = "0.0+svnr${SRCREV}"
-PR = "r10"
+PR = "r11"
# You can create your own pslash-hand-img.h by doing
# ./make-image-header.sh <file>.png HAND
#
# mt diff -r5cf78fdb2dc10cb020c2a329af096264e3c0f224 -rbb6c4a865ce1530f60907a25c88a3be023054e5b
#
#
# no changes
#
More information about the Openembedded-commits
mailing list