Skip to content
The building scripts for MiniGUI 4.0
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
3rd-party fetch chipmunk and harfbuzz from github repository Apr 6, 2019
LICENSE Initial commit Apr 6, 2019
README.md fix typos Apr 16, 2019
build-all.sh add mg-tools Apr 12, 2019
build-deps.sh initial commit Apr 6, 2019
clean-build-all.sh add minigui-res Apr 22, 2019
fetch-all.sh initial commit Apr 6, 2019
make_tarballs.sh tune Apr 11, 2019
update-all.sh initial commit Apr 6, 2019

README.md

Build MiniGUI 4.0

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

Building

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

Prerequisites

You should run apt install <package_name> to install the following packages on your Ubuntu Linux.

  • Building tools:
    • git
    • gcc/g++
    • binutils
    • autoconf/automake
    • libtool
    • make
    • cmake
    • pkg-config
  • Dependent libraries:
    • libgtk2.0-dev
    • libjpeg-dev
    • libpng12-dev (libpng-dev on Ubuntu Linux 18.04 instead)
    • libfreetype6-dev
    • libsqlite3-dev
    • libxml2-dev
    • libssl1.0-dev

If you are using Ubuntu Linux 18.04, please install libpng-dev. Ubuntu 18.04 does not provide support for libpng12-dev.

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. Run build-deps.sh to build and install gvfb, chipmunk, and harfbuzz:

     $ ./build-deps.sh
    
  3. Run build-all.sh to build all:

     $ ./build-all.sh
    
  4. 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.

Commands to build dependencies

  1. Make and install gvfb:

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

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

     $ cd 3rd-party/harfbuzz
     $ ./autogen.sh
     $ ./config-extern.sh
     $ make; sudo make install
     $ cd ../..
    

ChangeLog

Currently, this repo just includes some scripts to build MiniGUI 4.0.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/>.

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.

You can’t perform that action at this time.