r/haskell•
deech

[ANN]: New Version Of FLTKHS, Pretty Close To One-Click Install On All Platforms!

Happy to announce version 0.5.1.6 of FLTKHS the binding to FLTK that allows building cross-platform native GUI apps in Haskell.

If you're unfamiliar with this project, please see the high-level description and motivation for more information.

This release makes FLTKHS the quickest way from zero to a Haskell GUI app native or web (even on Windows). The underlying GUI library is now bundled so getting started on all platforms is down to cloning the starter app, ensuring make and autoconf are available and running stack install --flag fltkhs:bundled.

As always issues are open.

Enjoy!

Posted May 21, 2017, 7:09 PM UTC · edited

7113
rainbyte•

Thanks for your work on getting a GUI toolkit more accessible from Haskell!

I think this effort is an inspiration to get people involved (myself included)

8
haskell_caveman•

Congrats and thanks!

6
bitonico•

Thanks a lot for the hard work on this! It's my go-to library when I need to do a GUI in Haskell.

3
carstenm•

I like the frequent releases, deech!

Have you considered not bundling the tarball in order to not blow up git repo size with tarball binaries? Depend on release tarball (git tag) of an fltk git mirror?

3
deechOP•

FLTK does not release on Github unfortunately. If a bigger repo is a problem I can add something to Setup.hs that downloads it first via wget.

2
carstenm•

It's no problem for hackage users, but it will unnecessarily blow up the repo size with each tarball commit.

You can create a new repo on gitlab.com which is just a read-only mirror from svn (https://docs.gitlab.com/ce/workflow/importing/migrating_from_svn.html). No manual work required afterwards. I suppose github has the same feature.

1
stolarj•

It's great to see that work is being done in this area!

1
deechOP•

Update: unfortunately bundling is broken on Windows. I'm working on a fix. Sorry, inadequate testing. I'll update the issue and reply here when it's fixed. For now the old way of installing on Windows is equivalent and still works well but it's more cumbersome.

1
deechOP•

This is fixed (I hope). Following the Quick Install instructions should just work. Please let me know if it doesn't.

1
conal•

Cool! Does FLTKHS work with OpenGL?

1
deechOP•

It does and there are a few C++ examples in the GUIs source tree and translation should be relatively mechanical but I haven't ported any over to Haskell yet.

1
GitHubPermalinkBot•

I tried to turn your GitHub links into permanent links (press "y" to do this yourself):


^(Shoot me a PM if you think I'm doing something wrong.)^( To delete this, click) [^here](https://www.reddit.com/message/compose/?to=GitHubPermalinkBot&subject=deletion&message=Delete reply di1n8fn.)^.

1
SustainAndAbstain•

Any info regarding local (cross) compiling with GHC 8.x + FLTK on (for) a Rasperry Pi 3?

1