Add some build instructions

This commit is contained in:
R. Tyler Croy 2016-07-03 14:46:16 -07:00
parent 211819a7b8
commit 6939b402df
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 22 additions and 15 deletions

22
README.adoc Normal file
View File

@ -0,0 +1,22 @@
= TinyWM in Ada
This project is an evening experiment to port
Nick Welch's http://incise.org/tinywm.html[tinywm] from C to Ada. Like the original, it
uses Xlib as its underlying library.
Also like the original, this code can be considered public domain.
Most of the time spent was creating the proper bindings to Xlib in Ada, which
was no fun.
image::http://strongspace.com/rtyler/public/tinywm_ada_vimprobable.png[A useless screenshot]
== Building
. Get a GNAT toolchain
. `git submodule update --init`
. `make`
. Run link:https://en.wikipedia.org/wiki/Xephyr[Xephyr]: `Xephyr :1`
. Execute the tinywm: `DISPLAY=:1 ./obj/debug/tinywm`
. Run something in that window manager: `DISPLAY=:1 xeyes`

View File

@ -1,15 +0,0 @@
TinyWM in Ada
-------------
This project is an evening experiment to port
Nick Welch's [tinywm](http://incise.org/tinywm.html) from C to Ada. Like the original, it
uses Xlib as its underlying library.
Also like the original, this code can be considered public domain.
Most of the time spent was creating the proper bindings to Xlib in Ada, which
was no fun.
![A useless screenshot](http://strongspace.com/rtyler/public/tinywm_ada_vimprobable.png)