Home

Awesome

Build MiniGUI 3.2

This repo contains some scripts and dependencies to build MiniGUI 3.2.x

Building

This instruction assumes that you are using Ubuntu Linux 16.04 LTS.

Prerequisites

You can run apt install <package_name> to install the software on Ubuntu Linux.

Steps

Please make sure that you can visit GitHub via SSH and you can do sudo on your Linux box.

  1. Run fetch-all.sh to fetch all source from GitHub:

     $ ./fetch-all.sh
    
  2. Make and install gvfb:

     $ cd gvfb
     $ cmake .
     $ make; sudo make install
     $ cd ..
    
  3. Make and install chipmunk library (DO NOT use the chipmunk-dev package which is provided by Ubuntu):

     $ cd 3rd-party/chipmunk-5.3.1
     $ cmake .
     $ make; sudo make install
     $ cd ../..
    
  4. Install MiniGUI resources:

     $ cd minigui-res
     $ ./augen.sh
     $ ./configure
     $ sudo make install
     $ cd ..
    
  5. Run build-all.sh to build all:

     $ ./build-all.sh
    
  6. Run mguxdemo:

     $ cd /usr/local/bin
     $ ./mguxdemo
    

When there were some updates in the remote repos, you can run update-all.sh to update them. You can run clean-build-all.sh to uninstall, clean, and re-install them.

Note that you might need to run ldconfig to refresh the shared libraries cache when running mguxdemo.

ChangeLog

2019-06-06

Introduce config.sh and mg-demos.

2018-07-07

Fix some bugs.

2018-07-06

Change repo name to scripts-build-minigui-all

2018-01-30

Add Building section.

2018-01-29

Add chipmunk-5.3.1 in 3rd-party/.

2018-01-23

Currently, this repo just includes some scripts to build MiniGUI 3.2.x core, components, and demonstration apps.

Copying

Copyright (C) 2019, Beijing FMSoft Technologies Co., Ltd.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Special Statement

The above open source or free software license does not apply to any entity in the Exception List published by Beijing FMSoft Technologies Co., Ltd.

If you are or the entity you represent is listed in the Exception List, the above open source or free software license does not apply to you or the entity you represent. Regardless of the purpose, you should not use the software in any way whatsoever, including but not limited to downloading, viewing, copying, distributing, compiling, and running. If you have already downloaded it, you MUST destroy all of its copies.

The Exception List is published by FMSoft and may be updated from time to time. For more information, please see https://www.fmsoft.cn/exception-list.

Other Notes

Note that the software in 3rd-party/ may use different licenses. Please refer to the LICENSE or COPYING files in the source trees for more information.

Note that the software fetched from remote repositories may use different licenses. Please refer to the LICENSE or COPYING files in the sorce trees for more information.