All Projects → swaywm → wlroots-ocaml

swaywm / wlroots-ocaml

Licence: LGPL-2.1 license
OCaml bindings to wlroots [experimental]

Programming Languages

ocaml
1615 projects
Makefile
30231 projects

Projects that are alternatives of or similar to wlroots-ocaml

cl-wlroots
Common lisp bindings for wlroots, a library for writing Wayland compositors
Stars: ✭ 32 (+33.33%)
Mutual labels:  bindings, wlroots
go-wlroots
Go binding for wlroots
Stars: ✭ 92 (+283.33%)
Mutual labels:  bindings, wlroots
Xamarin-iOS
PSPDFKit for iOS wrapper for the Xamarin platform.
Stars: ✭ 14 (-41.67%)
Mutual labels:  bindings
ripeatlas
Go bindings for RIPE Atlas API
Stars: ✭ 12 (-50%)
Mutual labels:  bindings
OpenGL.NET
This repository contains low-level bindings for OpenGL and OpenGLES used in Evergine.
Stars: ✭ 29 (+20.83%)
Mutual labels:  bindings
bindingsrx
A 2 way binding system for unity using unirx
Stars: ✭ 109 (+354.17%)
Mutual labels:  bindings
simdjson-rust
Rust bindings for the simdjson project.
Stars: ✭ 59 (+145.83%)
Mutual labels:  bindings
mltools
MLDB Unity Editor Bindings
Stars: ✭ 22 (-8.33%)
Mutual labels:  bindings
libandroidjni
Android JNI bindings library
Stars: ✭ 66 (+175%)
Mutual labels:  bindings
x264-rs
x264 bindings
Stars: ✭ 32 (+33.33%)
Mutual labels:  bindings
vsphere-automation-sdk-.net
[DEPRECATED] Please see README. C# samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API
Stars: ✭ 67 (+179.17%)
Mutual labels:  bindings
webgl-raub
WebGL bindings to desktop OpenGL
Stars: ✭ 66 (+175%)
Mutual labels:  bindings
crystal-autobind
Automatic C bindings generator for Crystal
Stars: ✭ 15 (-37.5%)
Mutual labels:  bindings
japokwm
A wlroots and dwl based tiling wayland compositor based around creating layouts
Stars: ✭ 99 (+312.5%)
Mutual labels:  wlroots
cl-liballegro
Common Lisp bindings and interface to the Allegro 5 game programming library
Stars: ✭ 44 (+83.33%)
Mutual labels:  bindings
fltk-rs
Rust bindings for the FLTK GUI library.
Stars: ✭ 929 (+3770.83%)
Mutual labels:  bindings
scala-native-bindgen
Scala Native Binding Generator
Stars: ✭ 29 (+20.83%)
Mutual labels:  bindings
sn-bindgen
Scala 3 native binding generator + libclang facade
Stars: ✭ 29 (+20.83%)
Mutual labels:  bindings
kdb nim
Nim Kdb type-safe bindings
Stars: ✭ 13 (-45.83%)
Mutual labels:  bindings
kindaVim.theapp
Ultimate Vim Mode for macOS
Stars: ✭ 372 (+1450%)
Mutual labels:  bindings

wlroots-ocaml - OCaml bindings to wlroots

NOTE: This is an early, very work in progress set of bindings. There are guaranteed to be bugs and rough edges along with lots of missing documentation. These bindings are an occasional nights and weekends project done for fun.

The goal of the library is to provide "thin bindings" that follow the C API as closely as possible (while being type-safe). Only a fraction of the C API is currently covered, but adding new functions and structures to the bindings should be mostly a mechanical process.

Building

To compile wlroots-ocaml, you need the following (assuming you have opam):

  • wlroots (the C library), from the git master branch. wlroots-ocaml uses pkg-config to know where the library and headers are.
  • OCaml bindings to xkbcommon: opam pin add xkbcommon https://github.com/Armael/ocaml-xkbcommon.git

Then, to directly install wlroots-ocaml with opam, use:

  opam pin add wlroots https://github.com/swaywm/wlroots-ocaml.git

If you want to hack on the library instead, clone the repository, and install its dependencies with:

opam install -t --deps-only .

Then, you can use make to build the library, and make examples to build the example programs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].