aboutsummaryrefslogtreecommitdiff
path: root/Readme.md
blob: e0fa966632d49061f6299dcc9e8994c0476fc140 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ObjectIO examples

[ObjectIO][objectio] is a [Clean][clean] library "to create Clean programs that have a Graphical User Interface (GUI)". There is [a tutorial][objectio_tut] available. Unfortunately, support is limited to Windows and Mac for the moment. In the [complete sources of Clean 2.4][clean_download], however, a start has been made to support Linux as well using [GTK+ 2][gtk2]. The code in that download is buggy and unusable, especially on 64 bit systems.

That linux library was very buggy. The [camilstaps/ObjectIO][my_objectio] repository is an attempt to fix that library. This repository contains example programs, most of which are from [the tutorial][objectio_tut].

# Setting up

    $ git clone https://github.com/camilstaps/ObjectIO-examples
    $ cd ObjectIO-examples

Change the `CLEANHOME`, `CLEANLIB` and `OBJECTIO` variables to match your setup.

    $ make

After this, you may run examples with `make`:

    $ make drawingframe run

# Legal

The ObjectIO library and the example programs from [the tutorial][objectio_tut] are subject to the [Clean License Conditions][clean_license], which means they are available under the LGPL and a commercial license.

This project however is licensed under the GPL 3.0 license. For more information, see the LICENSE file.

[objectio]: http://clean.cs.ru.nl/Object_I/O
[objectio_tut]: http://clean.cs.ru.nl/download/supported/ObjectIO.1.2/doc/tutorial.pdf
[clean]: http://clean.cs.ru.nl/Clean
[clean_download]: http://clean.cs.ru.nl/Download_Clean
[clean_license]: http://clean.cs.ru.nl/Clean_license_conditions

[gtk2]: https://developer.gnome.org/gtk2

[my_objectio]: https://github.com/camilstaps/ObjectIO