<html><body><div><br>On Aug 24, 2015, at 05:20 AM, Pavel Pisa <pisa@cmp.felk.cvut.cz> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span class="body-text-content">Hello Qiao and Joel,<br><br>I have rerun testing of actual RSB mainline testing<br>on RPi B device. Generally works well.<br><br>Used instructions included for archival there<br><br> git clone <a href="git://git.rtems.org/rtems-source-builder.git" data-mce-href="git://git.rtems.org/rtems-source-builder.git">git://git.rtems.org/rtems-source-builder.git</a><br> cd rtems<br> ../source-builder/sb-set-builder \<br> --prefix=/opt/rtems4.11 \<br> --rtems-bsp=arm/raspberrypi \<br> --log=graphic-build-log.txt \<br> --with-rtems-bsp=raspberrypi \<br> --pkg-tar-files \<br> 4.11/graphics/freetype2.bset \<br> 4.11/graphics/libjpeg.bset \<br> 4.11/graphics/libpng.bset \<br> 4.11/graphics/libtiff.bset \<br> 4.11/graphics/t1lib.bset \<br> 4.11/graphics/microwindows.bset<br><br><br>There are minor problems with t1lib patch and libpng version changes<br><br>diff --git a/rtems/config/4.11/graphics/libpng.bset b/rtems/config/4.11/graphics/libpng.bset<br>index 4df0e03..b858081 100644<br>--- a/rtems/config/4.11/graphics/libpng.bset<br>+++ b/rtems/config/4.11/graphics/libpng.bset<br>@@ -17,4 +17,4 @@<br> #<br> # Build libpng.<br> #<br>-graphics/libpng-1.5.22-1.cfg<br>+graphics/libpng-1.5.23-1.cfg<br>diff --git a/source-builder/config/t1lib-1.cfg b/source-builder/config/t1lib-1.cfg<br>index 38c3530..b11e1eb 100644<br>--- a/source-builder/config/t1lib-1.cfg<br>+++ b/source-builder/config/t1lib-1.cfg<br>@@ -20,7 +20,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)<br> #<br> %source set t1lib <a href="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/t1lib-%" data-mce-href="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/t1lib-%">ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/t1lib-%</a>{t1lib_version}.tar.gz<br> %patch add t1lib <a href="https://raw.githubusercontent.com/yangqiao/rtems-tools/graphics/tools/4.11/t1lib/t1lib-5.1.2.diff" data-mce-href="https://raw.githubusercontent.com/yangqiao/rtems-tools/graphics/tools/4.11/t1lib/t1lib-5.1.2.diff">https://raw.githubusercontent.com/yangqiao/rtems-tools/graphics/tools/4.11/t1lib/t1lib-5.1.2.diff</a><br>-%hash md5 t1lib-5.1.2.diff 196b0e39e36cab5afc6c5c280dcbe9bc<br>+%hash md5 t1lib-5.1.2.diff 98eeed85780227adf8525deab3679877</span></div></div></blockquote><span> </span><br>The t1lib pache isn't accepted into rtems-tools. <br><br>Since the md5 might changed (due to spaces, line breaks etc... That happened to microwindows patch accepted into rtems-tool ),  so I would like to see the t1lib pach commited first and I send the patch for rsb later to fix the patch url and also add the graphics-all.bset. I've already prepared these patches.<br><br>Here is the patch for t1lib to commit into rtems-tool:<br><br>---<br> tools/4.11/t1lib/t1lib-5.1.2.diff | 75 +++++++++++++++++++++++++++++++++++++++<br> 1 file changed, 75 insertions(+)<br> create mode 100644 tools/4.11/t1lib/t1lib-5.1.2.diff<br><br>diff --git a/tools/4.11/t1lib/t1lib-5.1.2.diff b/tools/4.11/t1lib/t1lib-5.1.2.diff<br>new file mode 100644<br>index 0000000..532cd54<br>--- /dev/null<br>+++ b/tools/4.11/t1lib/t1lib-5.1.2.diff<br>@@ -0,0 +1,75 @@<br>+diff -ruN t1lib-5.1.2/configure t1lib-5.1.2-new/configure<br>+--- t1lib-5.1.2/configure    2007-12-23 16:49:43.000000000 +0100<br>++++ t1lib-5.1.2-new/configure    2015-08-14 10:32:37.985381959 +0200<br>+@@ -24758,11 +24758,7 @@<br>+   echo $ECHO_N "(cached) $ECHO_C" >&6<br>+ else<br>+   if test "$cross_compiling" = yes; then<br>+-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling<br>+-See \`config.log' for more details." >&5<br>+-echo "$as_me: error: cannot run test program while cross compiling<br>+-See \`config.log' for more details." >&2;}<br>+-   { (exit 1); exit 1; }; }<br>++  ac_64bit_type="<none>"<br>+ else<br>+   cat >conftest.$ac_ext <<_ACEOF<br>+ /* confdefs.h.  */<br>+diff -ruN t1lib-5.1.2/configure.in t1lib-5.1.2-new/configure.in<br>+--- t1lib-5.1.2/configure.in    2007-12-23 16:49:43.000000000 +0100<br>++++ t1lib-5.1.2-new/configure.in    2015-08-14 10:33:39.805379339 +0200<br>+@@ -225,14 +225,52 @@<br>+ <br>+ dnl **** Check which ANSI integer type is 64 bit <br>+ <br>+-AC_CACHE_CHECK( "which ANSI integer type is 64 bit", ac_64bit_type,<br>+-        AC_TRY_RUN([<br>++echo $ECHO_N "checking \"which ANSI integer type is 64 bit\"... $ECHO_C" >&6<br>++if test "${ac_64bit_type+set}" = set; then<br>++  echo $ECHO_N "(cached) $ECHO_C" >&6<br>++else<br>++  if test "$cross_compiling" = yes; then<br>++  ac_64bit_type="<none>"<br>++else<br>++  cat >conftest.$ac_ext <<_ACEOF<br>++/* confdefs.h.  */<br>++_ACEOF<br>++cat confdefs.h >>conftest.$ac_ext<br>++cat >>conftest.$ac_ext <<_ACEOF<br>++/* end confdefs.h.  */<br>++<br>+ int main(void) {<br>+   if (sizeof(long)==8)<br>+     return(0);<br>+   else<br>+     return(1);<br>+-}], ac_64bit_type="long", ac_64bit_type="<none>"))<br>++}<br>++_ACEOF<br>++rm -f conftest$ac_exeext<br>++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5<br>++  (eval $ac_link) 2>&5<br>++  ac_status=$?<br>++  echo "$as_me:$LINENO: \$? = $ac_status" >&5<br>++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'<br>++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5<br>++  (eval $ac_try) 2>&5<br>++  ac_status=$?<br>++  echo "$as_me:$LINENO: \$? = $ac_status" >&5<br>++  (exit $ac_status); }; }; then<br>++  ac_64bit_type="long"<br>++else<br>++  echo "$as_me: program exited with status $ac_status" >&5<br>++echo "$as_me: failed program was:" >&5<br>++sed 's/^/| /' conftest.$ac_ext >&5<br>++<br>++( exit $ac_status )<br>++ac_64bit_type="<none>"<br>++fi<br>++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext<br>++fi<br>++fi<br>++echo "$as_me:$LINENO: result: $ac_64bit_type" >&5<br>++echo "${ECHO_T}$ac_64bit_type" >&6<br>+ if test "$ac_64bit_type" = "long"<br>+ then<br>+   T1_AA_TYPE64="-DT1_AA_TYPE64=long"<br>-- <br>2.1.0<br><br><br><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span class="body-text-content"><br><br> #<br> # Prepare the source code.<br><br>We should get rid of microwindows patches or at least limit them<br>to the configuration file only<br> microwindows-0.93-dev.diff<br> microwindows-0.93-dev-without-keyboard.diff<br><br>I have some changes already included in my repo branch for RTEMS.<br>I.e. keyboard patch<br><br> <a href="https://github.com/ppisa/microwindows/commit/57b3eb772dc4175bf356736fe239331c8e125721" data-mce-href="https://github.com/ppisa/microwindows/commit/57b3eb772dc4175bf356736fe239331c8e125721">https://github.com/ppisa/microwindows/commit/57b3eb772dc4175bf356736fe239331c8e125721</a><br><br>I have there configuration file based override of graphic driver<br>even for RTEMS<br><br> <a href="https://github.com/ppisa/microwindows/commit/a85ee935e4ff0f569455004d9a71cc3d218a7ca6" data-mce-href="https://github.com/ppisa/microwindows/commit/a85ee935e4ff0f569455004d9a71cc3d218a7ca6">https://github.com/ppisa/microwindows/commit/a85ee935e4ff0f569455004d9a71cc3d218a7ca6</a><br><br>and even null KBD handling should land there.<br><br>I hope to find some spare time for that in reasonable time.<br><br>As of the 4.11/graphics/nxlib.bset, it does not build for RPi because<br>keyboard mapping is missing for that platform.<br><br>arm-rtems4.11-gcc --pipe -B/opt/rtems4.11/arm-rtems4.11/raspberrypi/lib/ -specs <br>bsp_specs -qrtems -DDEBUG=1 -g -Wall -I/opt/rtems4.11/arm-rtems4.11/raspberrypi/lib/<br>include/ -I. -DX11_FONT_DIR1=\"\" -DX11_FONT_DIR2=\"\" -DX11_FONT_DIR3=\"\" -DX11_RGBTXT=\"fonts/rgb.txt\" -O3 -I. -o StrKeysym.o -c <br>StrKeysym.c<br>StrKeysym.c:20:30: fatal error: rtems/keyboard.h: No such file or directory<br> #include <rtems/keyboard.h><br> ^<br>I do not see that as big problem because NXlib is mainly for remote<br>graphic (i.e. X like protocol) and if I see well the NXlib is absorbed<br>now in Microwindows directly<br><br>See Gregory Haerr actual repo<br><br> <a href="https://github.com/ghaerr/microwindows/tree/master/src" data-mce-href="https://github.com/ghaerr/microwindows/tree/master/src">https://github.com/ghaerr/microwindows/tree/master/src</a><br><br>Generally, it is great that the RTEMS graphic support build<br>is included in official RSB repo now and runs on target.<br><br>Best wishes,<br><br> Pavel<br><br></span></div></div></blockquote></div></div></body></html>