xlib is a library for the low-level C language interface to the X Window System protocol. See documentation
- The Core Planners: chef-core-planners@chef.io
Library package
Library packages can be set as runtime or build time dependencies, however they are typically used as buildtime dependencies. See Defining your dependencies for more information.
To add core/xlib as a dependency, you can add one of the following to your plan file.
pkg_build_deps=(core/xlib)
pkg_deps=(core/xlib)
To install this plan, run the following command:
hab pkg install core/xlib
hab pkg install core/xlib
» Installing core/xlib
☁ Determining latest version of core/xlib in the 'stable' channel
→ Found newer installed version (core/xlib/1.6.5/20200928120759) than remote version (core/xlib/1.6.5/20200404200238)
→ Using core/xlib/1.6.5/20200928120759
★ Install of core/xlib/1.6.5/20200928120759 complete with 0 new packages installed.
To view the library files first get the habitat installation directory
hab pkg path core/xlib
/hab/pkgs/core/xlib/1.6.5/20200928120759
Then list the libraries, for example:
find $(hab pkg path core/xlib)/include -type f
include/X11/XKBlib.h
include/X11/Xlibint.h
include/X11/cursorfont.h
include/X11/Xresource.h
include/X11/XlibConf.h
include/X11/Xutil.h
include/X11/ImUtil.h
include/X11/Xlocale.h
include/X11/Xlib-xcb.h
include/X11/Xlib.h
include/X11/Xregion.h
include/X11/Xcms.h