xorg-proto/2022.2

This package provides the headers and specification documents defining the core protocol and (many) extensions for the X Window System.
Recipe info
X11
2023-10-10

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
xorg-proto/2022.2

Using xorg-proto

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
xorg-proto/2022.2
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("xorg-proto/2022.2")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): xorg-proto
  • CMake target name(s): xorg-proto::xorg-proto
  • xproto => xorg-proto::xproto
    glproto => xorg-proto::glproto
    kbproto => xorg-proto::kbproto
    dmxproto => xorg-proto::dmxproto
    dpmsproto => xorg-proto::dpmsproto
    dri2proto => xorg-proto::dri2proto
    dri3proto => xorg-proto::dri3proto
    xextproto => xorg-proto::xextproto
    fixesproto => xorg-proto::fixesproto
    fontsproto => xorg-proto::fontsproto
    inputproto => xorg-proto::inputproto
    randrproto => xorg-proto::randrproto
    videoproto => xorg-proto::videoproto
    damageproto => xorg-proto::damageproto
    recordproto => xorg-proto::recordproto
    renderproto => xorg-proto::renderproto
    xcmiscproto => xorg-proto::xcmiscproto
    applewmproto => xorg-proto::applewmproto
    bigreqsproto => xorg-proto::bigreqsproto
    presentproto => xorg-proto::presentproto
    xf86dgaproto => xorg-proto::xf86dgaproto
    xf86driproto => xorg-proto::xf86driproto
    resourceproto => xorg-proto::resourceproto
    xineramaproto => xorg-proto::xineramaproto
    xwaylandproto => xorg-proto::xwaylandproto
    compositeproto => xorg-proto::compositeproto
    scrnsaverproto => xorg-proto::scrnsaverproto
    xf86bigfontproto => xorg-proto::xf86bigfontproto
    xf86vidmodeproto => xorg-proto::xf86vidmodeproto
    
  • pkg-config file name(s): xorg-proto.pc
  • xproto => xproto.pc
    glproto => glproto.pc
    kbproto => kbproto.pc
    dmxproto => dmxproto.pc
    dpmsproto => dpmsproto.pc
    dri2proto => dri2proto.pc
    dri3proto => dri3proto.pc
    xextproto => xextproto.pc
    fixesproto => fixesproto.pc
    fontsproto => fontsproto.pc
    inputproto => inputproto.pc
    randrproto => randrproto.pc
    videoproto => videoproto.pc
    damageproto => damageproto.pc
    recordproto => recordproto.pc
    renderproto => renderproto.pc
    xcmiscproto => xcmiscproto.pc
    applewmproto => applewmproto.pc
    bigreqsproto => bigreqsproto.pc
    presentproto => presentproto.pc
    xf86dgaproto => xf86dgaproto.pc
    xf86driproto => xf86driproto.pc
    resourceproto => resourceproto.pc
    xineramaproto => xineramaproto.pc
    xwaylandproto => xwaylandproto.pc
    compositeproto => compositeproto.pc
    scrnsaverproto => scrnsaverproto.pc
    xf86bigfontproto => xf86bigfontproto.pc
    xf86vidmodeproto => xf86vidmodeproto.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(xorg-proto REQUIRED)
# ...
target_link_libraries(YOUR_TARGET xorg-proto::xorg-proto)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the xorg-proto homepage listed above:

#include "GL/glxint.h"
#include "GL/glxmd.h"
#include "GL/glxproto.h"
#include "GL/glxtokens.h"
#include "GL/internal/glcore.h"
#include "X11/DECkeysym.h"
#include "X11/HPkeysym.h"
#include "X11/Sunkeysym.h"
#include "X11/X.h"
#include "X11/XF86keysym.h"
#include "X11/XWDFile.h"
#include "X11/Xalloca.h"
#include "X11/Xarch.h"
#include "X11/Xatom.h"
#include "X11/Xdefs.h"
#include "X11/Xfuncproto.h"
#include "X11/Xfuncs.h"
#include "X11/Xmd.h"
#include "X11/Xos.h"
#include "X11/Xos_r.h"
#include "X11/Xosdefs.h"
#include "X11/Xpoll.h"
#include "X11/Xproto.h"
#include "X11/Xprotostr.h"
#include "X11/Xthreads.h"
#include "X11/Xw32defs.h"
#include "X11/Xwindows.h"
#include "X11/Xwinsock.h"
#include "X11/ap_keysym.h"
#include "X11/dri/xf86dri.h"
#include "X11/dri/xf86driproto.h"
#include "X11/dri/xf86dristr.h"
#include "X11/extensions/EVI.h"
#include "X11/extensions/EVIproto.h"
#include "X11/extensions/XI.h"
#include "X11/extensions/XI2.h"
#include "X11/extensions/XI2proto.h"
#include "X11/extensions/XIproto.h"
#include "X11/extensions/XKB.h"
#include "X11/extensions/XKBproto.h"
#include "X11/extensions/XKBsrv.h"
#include "X11/extensions/XKBstr.h"
#include "X11/extensions/XResproto.h"
#include "X11/extensions/Xv.h"
#include "X11/extensions/XvMC.h"
#include "X11/extensions/XvMCproto.h"
#include "X11/extensions/Xvproto.h"
#include "X11/extensions/ag.h"
#include "X11/extensions/agproto.h"
#include "X11/extensions/applewmconst.h"
#include "X11/extensions/applewmproto.h"
#include "X11/extensions/bigreqsproto.h"
#include "X11/extensions/bigreqstr.h"
#include "X11/extensions/composite.h"
#include "X11/extensions/compositeproto.h"
#include "X11/extensions/cup.h"
#include "X11/extensions/cupproto.h"
#include "X11/extensions/damageproto.h"
#include "X11/extensions/damagewire.h"
#include "X11/extensions/dbe.h"
#include "X11/extensions/dbeproto.h"
#include "X11/extensions/dmx.h"
#include "X11/extensions/dmxproto.h"
#include "X11/extensions/dpmsconst.h"
#include "X11/extensions/dpmsproto.h"
#include "X11/extensions/dri2proto.h"
#include "X11/extensions/dri2tokens.h"
#include "X11/extensions/dri3proto.h"
#include "X11/extensions/ge.h"
#include "X11/extensions/geproto.h"
#include "X11/extensions/lbx.h"
#include "X11/extensions/lbxproto.h"
#include "X11/extensions/mitmiscconst.h"
#include "X11/extensions/mitmiscproto.h"
#include "X11/extensions/multibufconst.h"
#include "X11/extensions/multibufproto.h"
#include "X11/extensions/panoramiXproto.h"
#include "X11/extensions/presentproto.h"
#include "X11/extensions/presenttokens.h"
#include "X11/extensions/randr.h"
#include "X11/extensions/randrproto.h"
#include "X11/extensions/recordconst.h"
#include "X11/extensions/recordproto.h"
#include "X11/extensions/recordstr.h"
#include "X11/extensions/render.h"
#include "X11/extensions/renderproto.h"
#include "X11/extensions/saver.h"
#include "X11/extensions/saverproto.h"
#include "X11/extensions/secur.h"
#include "X11/extensions/securproto.h"
#include "X11/extensions/shapeconst.h"
#include "X11/extensions/shapeproto.h"
#include "X11/extensions/shapestr.h"
#include "X11/extensions/shm.h"
#include "X11/extensions/shmproto.h"
#include "X11/extensions/shmstr.h"
#include "X11/extensions/syncconst.h"
#include "X11/extensions/syncproto.h"
#include "X11/extensions/syncstr.h"
#include "X11/extensions/xcmiscproto.h"
#include "X11/extensions/xcmiscstr.h"
#include "X11/extensions/xf86bigfont.h"
#include "X11/extensions/xf86bigfproto.h"
#include "X11/extensions/xf86bigfstr.h"
#include "X11/extensions/xf86dga.h"
#include "X11/extensions/xf86dga1const.h"
#include "X11/extensions/xf86dga1proto.h"
#include "X11/extensions/xf86dga1str.h"
#include "X11/extensions/xf86dgaconst.h"
#include "X11/extensions/xf86dgaproto.h"
#include "X11/extensions/xf86dgastr.h"
#include "X11/extensions/xf86vm.h"
#include "X11/extensions/xf86vmproto.h"
#include "X11/extensions/xf86vmstr.h"
#include "X11/extensions/xfixesproto.h"
#include "X11/extensions/xfixeswire.h"
#include "X11/extensions/xtestconst.h"
#include "X11/extensions/xtestext1const.h"
#include "X11/extensions/xtestext1proto.h"
#include "X11/extensions/xtestproto.h"
#include "X11/extensions/xwaylandproto.h"
#include "X11/fonts/FS.h"
#include "X11/fonts/FSproto.h"
#include "X11/fonts/font.h"
#include "X11/fonts/fontproto.h"
#include "X11/fonts/fontstruct.h"
#include "X11/fonts/fsmasks.h"
#include "X11/keysym.h"
#include "X11/keysymdef.h"