Linux Standard Base (LSB)

Noyau de base normalisé Linux (LSB)

General Information

Status
Published
Current Stage
Ref Project

RELATIONS

Buy Standard

Draft
ISO/IEC PRF 23360-1-3 - Linux Standard Base (LSB)
English language
2940 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (sample)

INTERNATIONAL ISO/IEC
STANDARD 23360-1-3
First edition
2021-08
Linux Standard Base (LSB) —
Part 1-3:
Desktop specification generic part
Reference number
ISO/IEC 23360-1-3:2021(E)
ISO/IEC 2021
---------------------- Page: 1 ----------------------
ISO/IEC 23360-1-3:2021(E)
COPYRIGHT PROTECTED DOCUMENT
© ISO/IEC 2021

All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may

be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting

on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address

below or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii © ISO/IEC 2021 – All rights reserved
---------------------- Page: 2 ----------------------
ISO/IEC 23360-1-3:2021(E)
Foreword

ISO (the International Organization for Standardization) and IEC (the International Electrotechnical

Commission) form the specialized system for worldwide standardization. National bodies that are

members of ISO or IEC participate in the development of International Standards through technical

committees established by the respective organization to deal with particular fields of technical activity.

ISO and IEC technical committees collaborate in fields of mutual interest. Other international

organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the

work.

The procedures used to develop this document and those intended for its further maintenance are

described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the

different types of document should be noted (see www.iso.org/directives or
www.iec.ch/members_experts/refdocs).

Attention is drawn to the possibility that some of the elements of this document may be the subject of

patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. Details

of any patent rights identified during the development of the document will be in the Introduction and/or

on the ISO list of patent declarations received (see www.iso.org/patents) or the IEC list of patent

declarations received (see patents.iec.ch).

Any trade name used in this document is information given for the convenience of users and does not

constitute an endorsement.

For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and

expressions related to conformity assessment, as well as information about ISO's adherence to the World

Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT),

see www.iso.org/iso/foreword.html. In the IEC, see www.iec.ch/understanding-standards.

This document was prepared by the Linux Foundation [as Linux Standard Base (LSB): Desktop

specification generic part] and drafted in accordance with its editorial rules. It was assigned to Joint

Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 22, Programming

languages, their environments and system software interfaces, and adopted by National Bodies.

This first edition of ISO/IEC 23360-1-3 cancels and replaces ISO/IEC 23360-1:2006, which has been

technically revised.

A list of all parts in the ISO/IEC 23660 series can be found on the ISO and IEC websites.

Any feedback or questions on this document should be directed to the user’s national standards body. A

complete listing of these bodies can be found at www.iso.org/members.html and www.iec.ch/national-

committees.
© ISO/IEC 2021 – All rights reserved iii
---------------------- Page: 3 ----------------------
ISO/IEC 23360-1-3:2021(E)
Contents

Foreword ...................................................................................................................................................... iii

Introduction ...............................................................................................................................................viii

I Introductory Elements ............................................................................................................................. 1

1 Scope ................................................................................................................................................................ 2

2 References ...................................................................................................................................................... 3

2.1 Normative References ........................................................................................................................ 3

2.2 Informative References/Bibliography......................................................................................... 6

3 Requirements ............................................................................................................................................... 7

3.1 Relevant Libraries ................................................................................................................................ 7

4 Terms and Definitions .............................................................................................................................. 9

5 Documentation Conventions ............................................................................................................... 11

II Graphic Libraries ................................................................................................................................... 12

6 Libraries ........................................................................................................................................................ 13

6.1 Interfaces for libX11 .......................................................................................................................... 13

6.2 Data Definitions for libX11 ............................................................................................................. 23

6.3 Interface Definitions for libX11 ................................................................................................. 180

6.4 Interfaces for libSM......................................................................................................................... 180

6.5 Data Definitions for libSM............................................................................................................ 181

6.6 Interfaces for libICE ........................................................................................................................ 185

6.7 Data Definitions for libICE ........................................................................................................... 187

6.8 Interface Definitions for libICE .................................................................................................. 194

6.9 Interfaces for libXt........................................................................................................................... 196

6.10 Data Definitions for libXt ........................................................................................................... 201

6.11 Interface Definitions for libXt .................................................................................................. 235

6.12 Interfaces for libXext ................................................................................................................... 236

6.13 Data Definitions for libXext ...................................................................................................... 239

6.14 Interface Definitions for libXext ............................................................................................. 257

6.15 Interfaces for libXi ........................................................................................................................ 257

6.16 Data Definitions for libXi ........................................................................................................... 258

6.17 Interfaces for libXtst .................................................................................................................... 288

6.18 Data Definitions for libXtst ....................................................................................................... 289

6.19 Interfaces for libxcb ..................................................................................................................... 290

6.20 Data Definitions for libxcb ........................................................................................................ 298

6.21 Interface Definitions for libxcb ............................................................................................... 373

III OpenGL Libraries ............................................................................................................................... 374

7 Libraries ..................................................................................................................................................... 375

7.1 Interfaces for libGL ......................................................................................................................... 375

7.2 Data Definitions for libGL ............................................................................................................ 384

7.3 Interfaces for libGLU ...................................................................................................................... 438

7.4 Data Definitions for libGLU ......................................................................................................... 439

IV PNG12 library ..................................................................................................................................... 445

8 Libraries ..................................................................................................................................................... 446

8.1 Interfaces for libpng12 .................................................................................................................. 446

8.2 Data Definitions for libpng12 ..................................................................................................... 448

8.3 Interface Definitions for libpng12 ............................................................................................ 462

V JPEG library ........................................................................................................................................... 527

9 Libraries ..................................................................................................................................................... 528

9.1 Interfaces for libjpeg ...................................................................................................................... 528

iv © 2021 ISO/IEC – All rights reserved
---------------------- Page: 4 ----------------------
ISO/IEC 23360-1-3:2021(E)

9.2 Data Definitions for libjpeg ......................................................................................................... 529

9.3 Interface Definitions for libjpeg ................................................................................................ 539

VI Fontconfig library .............................................................................................................................. 561

10 Libraries ..................................................................................................................................................... 562

10.1 Interfaces for libfontconfig ....................................................................................................... 562

10.2 Data Definitions for libfontconfig .......................................................................................... 565

11 Commands and Utilities ...................................................................................................................... 574

11.1 Commands and Utilities ............................................................................................................. 574

11.2 Command Behavior ..................................................................................................................... 574

VII Freetype library ................................................................................................................................ 577

12 Libraries ..................................................................................................................................................... 578

12.1 Interfaces for libfreetype ........................................................................................................... 578

12.2 Data Definitions for libfreetype .............................................................................................. 580

12.3 Interface Definitions for libfreetype ..................................................................................... 610

VIII Xft library .......................................................................................................................................... 612

13 Libraries ..................................................................................................................................................... 613

13.1 Interfaces for libXft ...................................................................................................................... 613

13.2 Data Definitions for libXft ......................................................................................................... 614

13.3 Interface Definitions for libXft ................................................................................................ 619

IX Xrender library ................................................................................................................................... 620

14 Libraries ..................................................................................................................................................... 621

14.1 Interfaces for libXrender ........................................................................................................... 621

14.2 Data Definitions for libXrender .............................................................................................. 622

14.3 Interface Definitions for libXrender ..................................................................................... 629

X Cairo Vector Graphics library ......................................................................................................... 630

15 Libraries ..................................................................................................................................................... 631

15.1 Interfaces for libcairo .................................................................................................................. 631

15.2 Data Definitions for libcairo ..................................................................................................... 638

15.3 Interface Definitions for libcairo ............................................................................................ 665

XI tiff library ............................................................................................................................................. 666

16 Libraries ..................................................................................................................................................... 667

16.1 Interfaces for libtiff ...................................................................................................................... 667

16.2 Data Definitions for libtiff ......................................................................................................... 669

XII GTK+ Stack Libraries ...................................................................................................................... 683

17 Libraries ..................................................................................................................................................... 684

17.1 Introduction .................................................................................................................................... 684

17.2 Interfaces for libglib-2.0 ............................................................................................................ 685

17.3 Data Definitions for libglib-2.0 ............................................................................................... 726

17.4 Interface Definitions for libglib-2.0 ...................................................................................... 795

17.5 Interfaces for libgmodule-2.0 .................................................................................................. 796

17.6 Data Definitions for libgmodule-2.0 ..................................................................................... 796

17.7 Interfaces for libgobject-2.0 ..................................................................................................... 797

17.8 Data Definitions for libgobject-2.0 ........................................................................................ 810

17.9 Interface Definitions for libgobject-2.0 ............................................................................... 848

17.10 Interfaces for libgthread-2.0 ................................................................................................. 849

17.11 Interfaces for libgio-2.0 ........................................................................................................... 850

17.12 Data Definitions for libgio-2.0 .............................................................................................. 887

17.13 Interface Definitions for libgio-2.0 .................................................................................. 1048

17.14 Interfaces for libatk-1.0 ........................................................................................................ 1048

17.15 Data Definitions for libatk-1.0 ........................................................................................... 1054

© 2021 ISO/IEC – All rights reserved v
---------------------- Page: 5 ----------------------
ISO/IEC 23360-1-3:2021(E)

17.16 Interface Definitions for libatk-1.0 .................................................................................. 1079

17.17 Interfaces for libpango-1.0 .................................................................................................. 1079

17.18 Data Definitions for libpango-1.0 ..................................................................................... 1088

17.19 Interfaces for libpangocairo-1.0 ....................................................................................... 1111

17.20 Data Definitions for libpangocairo-1.0 .......................................................................... 1113

17.21 Interfaces for libpangoxft-1.0 ............................................................................................ 1114

17.22 Data Definitions for libpangoxft-1.0 ............................................................................... 1115

17.23 Interfaces for libpangoft2-1.0 ............................................................................................ 1117

17.24 Data Definitions for libpangoft2-1.0 ............................................................................... 1119

17.25 Interfaces for libgdk_pixbuf-2.0 ........................................................................................ 1121

17.26 Data Definitions for libgdk_pixbuf-2.0 ........................................................................... 1125

17.27 Interfaces for libgdk_pixbuf_xlib-2.0 .............................................................................. 1133

17.28 Data Definitions for libgdk_pixbuf_xlib-2.0 ................................................................. 1134

17.29 Interfaces for libgdk-x11-2.0 .............................................................................................. 1136

17.30 Data Definitions for libgdk-x11-2.0 ................................................................................. 1149

17.31 Interfaces for libgtk-x11-2.0 ............................................................................................... 1210

17.32 Data Definitions for libgtk-x11-2.0 .................................................................................. 1272

17.33 Interface Definitions for libgtk-x11-2.0 ......................................................................... 1479

XIII Qt Libraries ..................................................................................................................................... 1482

18 Libraries .................................................................................................................................................. 1483

18.1 Introduction ................................................................................................................................. 1483

18.2 Interfaces for libQtCore ........................................................................................................... 1484

18.3 Data Definitions for libQtCore .............................................................................................. 1578

18.4 Interface Definitions for libQtCore ..................................................................................... 1620

18.5 Interfaces for libQtGui ............................................................................................................. 1628

18.6 Data Definitions for libQtGui ................................................................................................ 2163

18.7 Interface Definitions for libQtGui ....................................................................................... 2209

18.8 Interfaces for libQtXml ............................................................................................................ 2267

18.9 Data Definitions for libQtXml ............................................................................................... 2288

18.10 Interfaces for libQtOpenGL ................................................................................................. 2289

18.11 Data Definitions for libQtOpenGL .................................................................................... 2300

18.12 Interface Definitions for libQtOpenGL ........................................................................... 2301

18.13 Interfaces for libQtSql ........................................................................................................... 2302

18.14 Data Definitions for libQtSql .............................................................................................. 2325

18.15 Interface Definitions for libQtSql ..................................................................................... 2327

18.16 Interfaces for libQtSvg........................................................................................................... 2328

18.17 Data Definitions for libQtSvg.............................................................................................. 2334

18.18 Interfaces for libQtNetwork ............................................................................................... 2335

18.19 Data Definitions for libQtNetwork .................................................................................. 2356

18.20 Interface Definitions for libQtNetwork ......................................................................... 2360

XIV ALSA sound library ....................................................................................................................... 2362

19 Libraries .................................................................................................................................................. 2363

19.1 Interfaces for libasound .......................................................................................................... 2363

19.2 Data Definitions for libasound ............................................................................................. 2386

XV Desktop Environment ................................................................................................................... 2429

20 Desktop Environment ....................................................................................................................... 2430

20.1 Desktop Base Directory........................................................................................................... 2430

20.2 Desktop Entries .......................................................................................................................... 2430

20.3 Desktop Menu Specification .................................................................................................. 2430

20.4 Icon Theme Specification ....................................................................................................... 2430

vi © 2021 ISO/IEC – All rights reserved
---------------------- Page: 6 ----------------------
ISO/IEC 23360-1-3:2021(E)

21 Desktop Commands ........................................................................................................................... 2431

21.1 Xdg-utils ......................................................................................................................................... 2431

XVI Package Format and Installation ............................................................................................ 2432

22 Software Installation ......................................................................................................................... 2433

22.1 Package Dependencies ............................................................................................................ 2433

Annex A Alphabetical Listing of Interfaces by Library ............................................................ 2434

A.1 libGL ............................................................................................................................................................. 2434

A.2 libGLU .......................................................................................................................................................... 2444

A.3 libICE ........................................................................................................................................................... 2445

A.4 libSM ............................................................................................................................................................ 2446

A.5 libX11 .......................................................................................................................................................... 2447

A.6 libXext ......................................................................................................................................................... 2458

A.7 libXft ............................................................................................................................................................ 2460

A.8 libXi .............................................................................................................................................................. 2461

A.9 libXrender ................................................................................................................................................. 2462

A.10 libXt ........................................................................................................................................................... 2463

A.11 libXtst........................................................................................................................................................ 2468

A.12 libcairo ..................................................................................................................................................... 2468

A.13 libcairo-gobject .................................................................................................................................... 2475

A.14 libcairo-script-interpreter ............................................................................................................... 2476

A.15 libfontconfig........................................................................................................................................... 2476

A.16 libfreetype .............................................................................................................................................. 2479

A.17 libjpeg ....................................................................................................................................................... 2481

A.18 libpng12 .................................................................................................................................................. 2482

A.19 libtiff .......................................................................................................................................................... 2485

A.20 libxcb ...............................................................................................................................................

...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.