https://github.com/filipeom/ocaml-xlib
OCaml bindings for the Xlib library.
https://github.com/filipeom/ocaml-xlib
Last synced: 4 months ago
JSON representation
OCaml bindings for the Xlib library.
- Host: GitHub
- URL: https://github.com/filipeom/ocaml-xlib
- Owner: filipeom
- License: mit
- Created: 2024-04-27T19:44:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-20T19:44:30.000Z (about 1 year ago)
- Last Synced: 2024-12-27T06:41:40.262Z (5 months ago)
- Language: OCaml
- Homepage:
- Size: 456 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# OCaml Xlib bindings
OCaml bindings for the Xlib library.
## Installation
### OPAM
- Install [opam](https://opam.ocaml.org/doc/Install.html).
- Bootstrap the OCaml compiler:```sh
opam init
opam switch create 5.1.0 5.1.0
``````sh
opam install ... # Not yet available
```### Build from source
- Install the library dependencies:
```sh
git clone https://github.com/filipeom/ocaml-xlib.git
cd ocaml-xlib
opam install . --deps-only
```- Build and test:
```sh
dune build
dune runtest
```- Install `ocaml-xlib` on your switch by running:
```sh
dune install
```## Depandants
Projects currently using `ocaml-xlib`:
- [filipeom/dwmstatusml](https://github.com/filipeom/dwmstatusml): A status bar
for dwm written in OCaml.## About
This project started as a fork of the original project by Florent Monnier, which can
be found here: [fccm/ocaml-xlib](https://github.com/fccm/ocaml-xlib) and
[docs](http://decapode314.free.fr/ocaml/Xlib/), but has since been rewritten from scratch.