gtk2hs / glade

GNU Lesser General Public License v2.1
2 stars 3 forks source link

Relax lower version boundaries imposed on glib, gtk #6

Open ivanperez-keera opened 7 years ago

ivanperez-keera commented 7 years ago

As explained in #4 , the version requirements imposed on gtk and glib seem too strict.

The latest Ubuntu LTS only provides libghc-gtk-dev (0.13.9-3build1) and libghc-glib-dev (0.13.2.1-4build1), and that presumably won't change until the next LTS to be released April 2018. Unfortunately, libghc-glade-dev is not provided, so it is necessary to grab it from hackage or github.

I relaxed the requirements on gtk and glib, and glade installs fine. I tried it with a small app (https://launchpad.net/~keera-studios/+archive/ubuntu/haskell-reactive/+packages) and it works, but I have not tried it with larger applications.

Are any features available only in glib >= 0.13.4 or gtk >= 0.14.5 required by glade?

cmaeder commented 7 years ago

It should be fine to relax the bounds. The actual code never changed for quite a while. (I do not know why I imposed the strict bounds, probably because I've only tested those.)

cmaeder commented 7 years ago

gtk >= 014.3 first required Cabal-Version: >= 1.24, though