Jump to content

Porting X Window System programs: Difference between revisions

From EDM2
Prokushev (talk | contribs)
No edit summary
Ak120 (talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This section will cover the basic steps for porting programs written for the Unix and X Window platforms.
This section will cover the basic steps for porting programs written for X Window System.


If you are working on a GUI program, consider using the EverBlue Project (http://everblue.netlabs.org) or XFree86/2 project.
==Libraries==
*Xlib - protocol client library
*Xt (X Toolkit Intrinsics) - support for creating and using graphical control elements
**Xaw (X Athena Widgets) - widget set
**Xaw3d - widget set with Motif look and feel
**Xaw-Xpm
**Xm Motif
***CDE
**OLIT (OPEN LOOK Intrinsics Toolkit)


* [[Porting using XFree86/2]]
==Using an OS/2-based X Library==
* [[Porting using Everblue]]
===XFree86/2===
* [[Everblue 2|Everblue internals]]
#Installation of EMX development environment
#Installation of XFree86/2
#:Instead of XFree86 provided X servers, which will run in full screen mode, it should be possible to use a PM-based X11 server product (Exceed, HOBLink X11 or IBM PMX) or a Java-based X11 server.
 
Building an Xlib program:
%xmkmf
%imake
 
==Using the OS/2 Presentation Manager API==
Network transparency features of the X11 protocol will be lost.
 
==Publications==
 
==Links==
* http://x.org
 
[[Category:Porting Articles]]

Latest revision as of 21:01, 11 November 2016

This section will cover the basic steps for porting programs written for X Window System.

Libraries

  • Xlib - protocol client library
  • Xt (X Toolkit Intrinsics) - support for creating and using graphical control elements
    • Xaw (X Athena Widgets) - widget set
    • Xaw3d - widget set with Motif look and feel
    • Xaw-Xpm
    • Xm Motif
      • CDE
    • OLIT (OPEN LOOK Intrinsics Toolkit)

Using an OS/2-based X Library

XFree86/2

  1. Installation of EMX development environment
  2. Installation of XFree86/2
    Instead of XFree86 provided X servers, which will run in full screen mode, it should be possible to use a PM-based X11 server product (Exceed, HOBLink X11 or IBM PMX) or a Java-based X11 server.

Building an Xlib program:

%xmkmf
%imake

Using the OS/2 Presentation Manager API

Network transparency features of the X11 protocol will be lost.

Publications

Links