[lsb-discuss] Motif....

Robert Schweikert rschweikert at novell.com
Wed Mar 11 12:42:07 PDT 2009


Here is the information I collected to shed some light on openMotif
dependencies.

Jeff, I think this should go on the wiki for the F2F to help us
facilitate the discussion.

There are some questions to be answered.


Base info:
- Built openMotif on openSuSE 11.1
- Sources from openMotif download page version 2.3.0
(openmotif-2.3.0.tar.gz)
- Libraries produced
    - libMrm.so.4.0.0
    - libUil.so.4.0.0
    - libXm.so.4.0.0

Library dependencies
    - libMrm.so.4.0.0 dependencies:
        - libXm.so.4
        - libXt.so.6
        - libSM.so.6
        - libICE.so.6
        - libXft.so.2
        - libXrender.so.1
        - libfontconfig.so.1
        - libfreetype.so.6
        - libz.so.1
        - libX11.so.6
        - libpng12.so.0
        - libc.so.6

    - libUil.so.4.0.0 dependencies:
        - libMrm.so.4
        - libXm.so.4
        - libXft.so.2
        - libXrender.so.1
        - libfontconfig.so.1
        - libfreetype.so.6
        - libz.so.1
        - libX11.so.6
        - libpng12.so.0
        - libc.so.6

    - libXm.so.4.0.0 dependencies:
        - libXmu.so.6
        - libXt.so.6
        - libXext.so.6
        - libXp.so.6
        - libXft.so.2
        - libXrender.so.1
        - libfontconfig.so.1
        - libfreetype.so.6
        - libz.so.1
        - libX11.so.6
        - libpng12.so.0
        - libc.so.6

LSB compliance:

- libMrm.so.4.0.0 - is LSB compliant
- libUil.so.4.0.0 - is LSB compliant

- libXm.so.4.0.0 used libraries not in LSB
    - libXmu.so
    - libXp.so

- libXm.so.4.0.0 used interfaces not in LSB
    - Interfaces from XPrint
      - XpQueryExtension
      - XpGetPageDimensions
      - XpGetPdmStartParams
      - XpGetOneAttribute
      - XpSelectInput
      - XpGetDocumentData
      - XpGetContext
      - XpEndPage
      - XpStartPage
      - XpEndJob
      - XpGetScreenOfContext
      - XpSetImageResolution

    - Symbols starting with _ may or may not be OK, these are in libXmu
      - _XEditResGet8
      - _XEditResGetSigned16
      - _XEditResGetWidgetInfo
      - _XEditResPut16
      - _XEditResGet16
      - _XEditResGetString8
      - _XEditResPutWidgetInfo
      - _XEditResPut8
      - _XEditResPut32
      - _XEditResResetStream
      - _XEditResPutString8
      - _XEditResGet32

    - Interfaces in libXt (library in LSB) and not in LSB
      - applicationShellClassRec
      - colorConvertArgs

    - Interfaces in libXmu (library in LSB) and not in LSB
      - XmuNCopyISOLatin1Lowered

    - Interfaces in libX11 (library in LSB) and not in LSB
      - Xutf8DrawImageString
      - Xutf8TextExtents
      - Xutf8DrawString
      - Xutf8TextEscapement

Questions:

Do we only need to concentrate on libXm or are libUri and libMrm
relevant for
LSB compliance?

Should the _* symbols be considered for LSB, if not is there a none
replacement API?

Does CUPS replace the interfaces from Xp?

Comments:

I think the non _ symbols in Xt, Xmu, and X11 should be added to the
LSB. Some
of these symbols are also used by other apps.

I am not aware of alternative interfaces to libXmu, thus we should probably
consider this library for inclusion in the LSB. All distributions known in
navigator ship the library and many applications depend on it.


Robert

-- 
Robert Schweikert                           MAY THE SOURCE BE WITH YOU
Software Engineer Consultant                          LINUX
rschweikert at novell.com
781-464-8147

Novell
Making IT Work As One


More information about the lsb-discuss mailing list