[PATCH 5/5] build: doesn't install wayland-scanner files if the configuration doesn't allow

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain for cross compile the installation of wayland-scanner and other files has to be done by hand. --- Makefile.am |2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index ddf39d1..a56bb48 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,9 @@ SUBDI

[PATCH 4/5] build: use EXEEXT_FOR_BUILD instead EXEEXT for wayland-scanner

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain AX_CC_FOR_BUILD set the EXEEXT_FOR_BUILD variable to define the application extention of build platform. --- src/Makefile.am |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index de5b23a..4b6e1dd 100644 --- a/src/Ma

[PATCH 3/5] build: use ax_cc_for_build.m4 script

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain CC_FOR_BUILD could be defined by the ax_cc_for_build.m4 file. This file comes from : http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4 --- configure.ac|1 + src/Makefile.am |2 +- 2 files changed, 2 insertions(+), 1 deleti

[PATCH 2/5] build: cross compile wayland-scanner

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain the wayland-scanner files are build with CC_FOR_BUILD instead CC like the other files. CC_FOR_BUILD could be initialize by autotool but here it's still hard coded to "gcc" --- src/Makefile.am | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src

[PATCH 1/5] build: break the dependecy between wayland-scanner and libwayland-util.la

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain libwayland-util.la is used by other wayland libraries and it contains more functions useless for wayland-scanner. To build wayland-scanner without dependency with wayland libraries, the wayland-util.c is only linked to wayland-scanner. Autotool doesn't allow to compile a file twi

[PATCH 0/5] build: cross compile wayland

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
In cross compile, the "host" running the libraries, is different to the "build" machine running the compiler. In this case wayland-scanner is a part of the "build" tools and not a part of the "host" tools. Autotool and "configure" provide the "--host", "--target" and "--build" options. When the

[PATCH 5/5] build: doesn't install wayland-scanner files if the configuration doesn't allow

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain for cross compile the installation of wayland-scanner and other files has to be done by hand. --- Makefile.am |2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index ddf39d1..a56bb48 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,9 @@ SUBDI

[PATCH 4/5] build: use EXEEXT_FOR_BUILD instead EXEEXT for wayland-scanner

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain AX_CC_FOR_BUILD set the EXEEXT_FOR_BUILD variable to define the application extention of build platform. --- src/Makefile.am |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index de5b23a..4b6e1dd 100644 --- a/src/Ma

[PATCH 3/5] build: use ax_cc_for_build.m4 script

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain CC_FOR_BUILD could be defined by the ax_cc_for_build.m4 file. This file comes from : http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4 --- configure.ac|1 + src/Makefile.am |2 +- 2 files changed, 2 insertions(+), 1 deleti

[PATCH 2/5] build: cross compile wayland-scanner

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain the wayland-scanner files are build with CC_FOR_BUILD instead CC like the other files. CC_FOR_BUILD could be initialize by autotool but here it's still hard coded to "gcc" --- src/Makefile.am | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src

[PATCH 1/5] build: break the dependecy between wayland-scanner and libwayland-util.la

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain libwayland-util.la is used by other wayland libraries and it contains more functions useless for wayland-scanner. To build wayland-scanner without dependency with wayland libraries, the wayland-util.c is only linked to wayland-scanner. Autotool doesn't allow to compile a file twi

[PATCH 4/5] build: use ax_cc_for_build.m4 script

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain CC_FOR_BUILD could be defined by the ax_cc_for_build.m4 file. This file comes from : http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4 --- configure.ac |1 + m4/ax_cc_for_build.m4 | 77 ++

[PATCH 5/5] build: use EXEEXT_FOR_BUILD instead EXEEXT for wayland-scanner

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain AX_CC_FOR_BUILD set the EXEEXT_FOR_BUILD variable to define the application extention of build platform. --- src/Makefile.am |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 2921041..4b6e1dd 100644 --- a/src/

[PATCH 3/5] build: cross compile wayland-scanner

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain the wayland-scanner files are build with CC_FOR_BUILD instead CC like the other files. CC_FOR_BUILD could be initialize by autotool but here it's still hard coded to "gcc" --- src/Makefile.am | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src

[PATCH 2/5] build: break the dependecy between wayland-scanner and libwayland-util.la

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain libwayland-util.la is used by other wayland libraries and it contains more functions useless for wayland-scanner. To build wayland-scanner without dependency with wayland libraries, the wayland-util.c is only linked to wayland-scanner. Autotool doesn't allow to compile a file twi

[PATCH 1/5] build: add EXEEXT missing on wayland-scanner

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
From: mchalain Autotool manages different platforms and use $(EXEEXT) to suffix an application. --- src/Makefile.am |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 4226f63..85006a3 100644 --- a/src/Makefile.am +++ b/src/Makef

[PATCH 0/5] build: wayland cross-compile support

2013-09-05 Thread mchalain [marc.chal...@gmail.com]
wayland-scanner is a source code generator and has to run on the build system. The cross compile of wayland is broken because wayland libraries and wayland-scanner has to use two different compilers. This patches break the dependencies between wayland libraries and wayland-scanner and change the

[PATCH] fbdev: Support of TrueColor and Directcolor of video hardware

2013-09-03 Thread mchalain [marc.chal...@gmail.com]
From: mchalain backend check the type of the framebuffer and accept DirectColor and TrueColor I use a "switch case" to implement other cases in the future. --- src/compositor-fbdev.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/compositor-fbdev.c b/src/co

[PATCH] build: Add Android.mk script to build wayland libraries as external library of Android

2013-07-15 Thread mchalain [marc.chal...@gmail.com]
From: mchalain The Wayland directory has to be inside "external" directory of Android tree. On some old Android bionic version wayland needs an extra support for timerfd_create and signalfd. To pass this problem, I develop a "libglibcpatches" which implement this syscalls. You will can find thi

[PATCH] build: disabling the mtdev library support

2013-06-25 Thread mchalain [marc.chal...@gmail.com]
From: mchalain This patch creates the --enable-mtdev configure's option with "auto" as default value. If mtdv library is not available the mtdev functions are replaced by empty macros. To simplify the Makefile.am evdev source files are placed inside a static library. The other reason of this modi

[PATCH] build: disabling the mtdev library support

2013-06-25 Thread mchalain [marc.chal...@gmail.com]
From: mchalain This patch creates the --enable-mtdev configure's option with "auto" as default value. If mtdv library is not available the mtdev functions are replaced by empty macros. To simplify the Makefile.am evdev source files are placed inside a static library. The other reason of this modi

[PATCH] fbdev: initialization of varinfo reorder and storage

2013-06-25 Thread mchalain [marc.chal...@gmail.com]
From: mchalain Currently the frame buffer initalization is uncomplete and the reenable uses different values as the startup. To set the frame buffer with values and to be sure of the configuration's result, this patch reorder the initialization sequence. The new order is: - read the weston.ini t

[PATCH V2] fbdev: initialize yoffset of varinfo

2013-06-21 Thread mchalain [marc.chal...@gmail.com]
From: mchalain it initializes varinfo.yoffset. varinfo.yoffset has to point on the beginning of the video memory. The card uses this value to push on the screen a part of the video memory when this one is larger than the screen. --- weston/src/compositor-fbdev.c |6 ++ 1 file changed

[PATCH] compositor: "idle-time" option inside "core" section

2013-06-21 Thread mchalain [marc.chal...@gmail.com]
From: mchalain it reads the value of "idle-time" inside weston.ini to set the compositor->idle_time. This value continues to be updated by --idle-time argument. The manpage of weston.ini explains the use of this option --- weston/man/weston.ini.man |4 +++- weston/src/compositor.c |

[PATCH] fbdev: accept DIRECTCOLOR devices

2013-06-21 Thread mchalain [marc.chal...@gmail.com]
From: mchalain This patch allows TRUECOLOR and DIRECTCOLOR devices By default the color map is not set --- weston/src/compositor-fbdev.c | 40 +++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/weston/src/compositor-fbdev.c b/weston/src/co

[PATCH 05/18] fbdev: initialize yoffset of varinfo

2013-06-21 Thread mchalain [marc.chal...@gmail.com]
From: mchalain it initializes varinfo.yoffset. varinfo.yoffset has to point on the beginning of the video memory. The card uses this value to push on the screen a part of the video memory when this one is larger than the screen. --- weston/src/compositor-fbdev.c |6 ++ 1 file change

[PATCH 03/18] evdev: automatic configuration of mtdev library support

2013-06-21 Thread mchalain [marc.chal...@gmail.com]
From: mchalain it allows the --disable-mtdev option at configuration. evdev.c creates empty macros for mtdev functions not availlables --- weston/configure.ac | 17 ++--- weston/src/evdev.c | 11 --- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/west