GithubHelp home page GithubHelp logo

rtems / rtems-graphics-toolkit Goto Github PK

View Code? Open in Web Editor NEW
13.0 7.0 9.0 18.49 MB

Graphics toolkit.

Home Page: http://git.rtems.org/rtems-graphics-toolkit/

Shell 6.00% C++ 19.62% C 70.41% Objective-C 0.19% Makefile 1.05% TeX 1.17% CSS 0.05% Objective-C++ 0.50% Awk 0.13% Python 0.66% SAS 0.05% Smalltalk 0.01% Assembly 0.14% Pascal 0.01% Perl 0.01%

rtems-graphics-toolkit's Introduction

#
# $Id$
#

This is the RTEMS Graphics Toolkit. It is a collection of free software
packages that are suitable for use in building graphical interfaces for
RTEMS-based embedded systems.

You should have RTEMS installed and configured for your BSP.  The
RTEMS configuration should meet the following requirements:

+ TCP/IP enabled 
  - not required at run-time but has endian swapping routines
+ POSIX enabled

Additionally, your BSP should have a framebuffer and pointing device
(e.g. mouse, touch screen, etc).  This is an area where RTEMS and
this kit needs improvement on configuration but the basics are in place.
Also, to work with current version of Microwindows/nano-X, 
the framebuffer driver must be initialized in packed pixel mode

Populate the git submodules:
    $ git submodule init
    $ git submodule update

This will fetch the microwin and nxlib repositories

The ./do_it script has the following parameters:

    do_it [options]
      -A - build and install all libraries
      -a - build all libraries
      -j - build JPEG support (default=no)
      -p - build PNG support (default=no)
      -t - build TIFF support (default=no)
      -1 - build Adobe Type 1 font support (default=no)
      -T - build Truetype font support (default=no)
      -n - build Microwindows/Nano-X support (default=no)
      -x - build Microwindows/Nano-X NXLib support (default=no)
      -f - build FLTK support (default=no)
      -c - clean after building (default=no)
      -b - build only, do not install libraries (default=no)
      -s - use sudo for make install (default=no)
      -v - verbose

    NOTES:
      + Use of each option toggles the setting.  For example, \"-v -v -A -1\"
        results in verbose=no and all steps done except Type 1 fonts and build only.
      + RTEMS_MAKEFILE_PATH must be set
      + By default, nothing is built.

Below is an invocation for the pc386 BSP which should build all of the
supported libraries and install them for the pc386 BSP which is installed
into your ${HOME}.  RTEMS was configured with --prefix set to:
${HOME}/rtems-4.10-work/bsp-install/

RTEMS_MAKEFILE_PATH=${HOME}/rtems-4.10-work/bsp-install/i386-rtems4.10/pc386/ \
    ./do_it -A -v

The CFLAGS and target information are automatically gathered from the
install Makefile information.  This is used to properly configure
and install the desired graphics support libraries.
This command also builds Microwin/Nano-X and NXLib which must be fetched from 
external repository.

To be able tu build tests for FLTK package, users must not clean microwindows,
as it uses for initializations the object files from the aformentioned package.

After installing this, you can proceed to building Microwin/Nano-X. 
It is expected that this will be integrated into a future revision of the
Graphics Toolkit.  We hope to add other libraries like SVGAlib in the future.  
This is definitely an area in which users can contribute.

--joel

Usage Notes:

Adobe Type 1 Library
====================
+ This needs .t1librc and an override on the location of t1 fonts.
  Then we need to put some T1 fonts in the rootfs filesystem.
  This works now by setting the environment variable.  See rtems_init.c
  in the microwin source.

FLTK
====
* As of December 2013, fltk does not build.
  TODO: Fix the build / re-port fltk
  Note: Upstream has switched to cmake while this is still using the old
  autoconf system

Libraries used:
===============

libjpeg      - (v8d)    http://www.ijg.org/
libtiff      - (v4.0.2) http://www.libtiff.org/
libpng       - (1.5.12) http://www.libpng.org/pub/png/libpng.html
libfreetype  - (2.4.10) http://freetype.sourceforge.net/index2.html
libt1        - (5.1.2)  http://www.t1lib.org/
svgalib      - (1.4.3)  http://svgalib.org/
fltk         - (1.3.0)  http://www.fltk.org

Microwindows/Nano-X
Upstream:
    git://microwindows.org/microwin
    git clone git://microwindows.org/nxlib

Forked for RTEMS at:
    git://github.com/alex-sever-h/microwin.git
    git://github.com/alex-sever-h/nxlib.git

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.