Package Details: ocaml-otk 0.7.1-1

Git Clone URL: https://aur.archlinux.org/ocaml-otk.git (read-only)
Package Base: ocaml-otk
Description: A bleeding edge fork of lablTk to implement new features of Tk.
Upstream URL: http://forge.ocamlcore.org/projects/otk
Licenses: LGPL
Submitter: Myshkin
Maintainer: bidulock
Last Packager: bidulock
Votes: 1
Popularity: 0.000000
First Submitted: 2014-06-07 07:49
Last Updated: 2015-09-23 02:12

Latest Comments

Myshkin commented on 2015-04-18 07:22

@oriba: Thanks for the input

This new version adds ocamlbrowser and should fix examples/tetris.

Most of this is in the README, but for convenience sake, I'll answer it here.

Bleeding edge because:
1. It's my first attempt at releasing a package so there will be some rough edges.
2. More importantly, I'm trying to implement the latest features of Tk: PanedWindow, Spinbox, Labelframe, tk_chooseDirectory, and especially ttk widgets (themed), and I'm not an expert with OCaml or Tk. I may have to make signficant non-backward compatible changes to the API at times.
3. Some things simply may not work correctly. I haven't tested everything. Consider it alpha.

Like lablTk, the documentation is accessed through ocamlbrowser which used to be distributed with OCaml. Run it and add a path to /usr/lib/ocaml/otk.

Myshkin commented on 2015-04-18 07:17

@oriba: Thanks for the input.

Added ocamlbrowser and fixed examples/tetris.

Myshkin commented on 2015-04-18 05:02

Most of this is in the README, but for convenience sake, I'll answer it here.

Bleeding edge because:
1. It's my first attempt at releasing a package so there will be some rough edges.
2. More importantly, I'm trying to implement the latest features of Tk, PanedWindow, Spinbox, Labelframe, tk_chooseDirectory, and especially ttk widgets (themed), and I'm not an expert with OCaml or Tk. I may have to make signficant non-backward compatible changes to the API at times.
3. Some things simply may not work correctly. I haven't tested everything. Consider it alpha.

Most of the examples should compile. Again, I see that 4.02 broke some of them, mainly those using Array.create instead of Array.make. They should still run with the otk interpreter since it is just a warning. They would probably compile if you remove the "-w" flag in the Makefile but I leave it in to remind me to remove deprecated code.

Like lablTk, the documentation is accessed through ocamlbrowser which used to be distributed with OCaml. Converting it may be over my head and I didn't want to try if I'm the only one using otk.

oriba commented on 2015-04-14 18:35

Thanks for fast updating it.
Package cn be build.
But the examples do not compile.
Also I would like to know, whe it's called "bleeding edge fork" of LablTk.
Whats the difference? Where are docs, explaining it?

Myshkin commented on 2015-04-13 05:59

I think ocaml 4.02 broke this and I was postponing making a decision to either make changes that would require ocaml >= 4.0 or try to keep it backwards compatible with 3.12 which is still widely used. I guess I was waiting for a squeak before greasing it. :D

oriba commented on 2015-04-12 20:37

Download-URL is:
http://forge.ocamlcore.org/frs/download.php/1417/otk-0.4.4.tar.gz

But even then building the package does not work.

oriba commented on 2015-04-12 20:32

Looks like the download-url for otk-sources is not valid.