<html><body>---<br> rtems/config/4.11/graphics/microwindows.bset      | 20 +++++++<br> rtems/config/graphics/microwindows-0.93-dev-1.cfg | 19 ++++++<br> source-builder/config/microwindows-1.cfg          | 71 +++++++++++++++++++++++<br> 3 files changed, 110 insertions(+)<br> create mode 100644 rtems/config/4.11/graphics/microwindows.bset<br> create mode 100644 rtems/config/graphics/microwindows-0.93-dev-1.cfg<br> create mode 100644 source-builder/config/microwindows-1.cfg<br><br>diff --git a/rtems/config/4.11/graphics/microwindows.bset b/rtems/config/4.11/graphics/microwindows.bset<br>new file mode 100644<br>index 0000000..edae6d7<br>--- /dev/null<br>+++ b/rtems/config/4.11/graphics/microwindows.bset<br>@@ -0,0 +1,20 @@<br>+#<br>+# Build set for Nano-X Window System<br>+#<br>+<br>+%define release 1<br>+<br>+#<br>+# RTEMS Version<br>+#<br>+%define rtems_version 4.11<br>+<br>+#<br>+# The RTEMS URL paths.<br>+#<br>+%include rtems-urls.bset<br>+<br>+#<br>+# Build microwindows.<br>+#<br>+graphics/microwindows-0.93-dev-1.cfg<br>diff --git a/rtems/config/graphics/microwindows-0.93-dev-1.cfg b/rtems/config/graphics/microwindows-0.93-dev-1.cfg<br>new file mode 100644<br>index 0000000..c0cdc86<br>--- /dev/null<br>+++ b/rtems/config/graphics/microwindows-0.93-dev-1.cfg<br>@@ -0,0 +1,19 @@<br>+#<br>+# microwindows 0.92<br>+#<br>+<br>+%if %{release} == %{nil}<br>+ %define release 1<br>+%endif<br>+<br>+%include %{_configdir}/rtems-bsp.cfg<br>+<br>+#<br>+# microwindows Version<br>+#<br>+%define microwindows_version 0.93-dev<br>+<br>+#<br>+# microwindows Build configuration<br>+#<br>+%include %{_configdir}/microwindows-1.cfg<br>diff --git a/source-builder/config/microwindows-1.cfg b/source-builder/config/microwindows-1.cfg<br>new file mode 100644<br>index 0000000..b1944f3<br>--- /dev/null<br>+++ b/source-builder/config/microwindows-1.cfg<br>@@ -0,0 +1,71 @@<br>+#<br>+# microwindows<br>+#<br>+# This configuration file configure's, make's and install's microwindows.<br>+#<br>+<br>+%if %{release} == %{nil}<br>+%define release 1<br>+%endif<br>+<br>+Name:      microwindows-v%{microwindows_version}-%{_host}-%{release}<br>+Summary:   microwindows is an Open Source Window System<br>+Version:   %{microwindows_version}<br>+Release:   %{release}<br>+URL:     http://www.microwindows.org/<br>+BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)<br>+<br>+#<br>+# microwindows Source<br>+#<br>+%source set microwindows git://github.com/alex-sever-h/microwin.git<br>+%patch add microwindows https://raw.githubusercontent.com/yangqiao/rtems-tools/graphics/tools/4.11/microwindows/microwindows-0.93-dev.diff<br>+%hash md5 microwindows-0.93-dev.diff aea54ac45389ca06c956215bad32c24c<br>+%patch add microwindows https://raw.githubusercontent.com/yangqiao/rtems-tools/graphics/tools/4.11/microwindows/microwindows-0.93-dev-without-keyboard.diff<br>+%hash md5 microwindows-0.93-dev-without-keyboard.diff c78aacc33e9b346d5ac78b2b35f17809<br>+<br>+#<br>+# Prepare the source code.<br>+#<br>+%prep<br>+  build_top=$(pwd)<br>+<br>+  source_dir_microwindows="microwin"<br>+  %source setup microwindows -q -n microwin<br>+  %patch setup microwindows -p1<br>+<br>+  cd ${build_top}<br>+<br>+#<br>+# Build the source code. <br>+# The configure should be run in the source dir<br>+#<br>+%build<br>+  build_top=$(pwd)<br>+<br>+  %{build_directory}<br>+<br>+  mkdir -p ${build_dir}/src<br>+  cd ${build_dir}/src<br>+  cp -r ${build_top}/${source_dir_microwindows}/src/* .<br>+<br>+  #%{host_build_flags}<br>+<br>+  export RTEMS_MAKEFILE_PATH=%{_exec_prefix}<br>+<br>+  make -f Makefile.rtems CONFIG=`pwd`/Configs/config.rtems -k all<br>+<br>+  cd ${build_top}<br>+<br>+%install<br>+  build_top=$(pwd)<br>+<br>+  %{__rmdir} $SB_BUILD_ROOT<br>+<br>+  cd ${build_dir}/src<br>+  mkdir -p $SB_BUILD_ROOT/%{_includedir}<br>+  mkdir -p $SB_BUILD_ROOT/%{_libdir}<br>+  mkdir -p $SB_BUILD_ROOT/%{_bindir}<br>+  cp -r include/* $SB_BUILD_ROOT/%{_includedir}<br>+  cp -r lib/*.a $SB_BUILD_ROOT/%{_libdir}<br>+  cp -r bin/* $SB_BUILD_ROOT/%{_bindir}<br>-- <br>2.1.0<br><br><div><br></div><pre style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; white-space: pre-wrap; word-wrap: break-word;" data-mce-style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; white-space: pre-wrap; word-wrap: break-word;"></pre></body></html>