ANN: wxHaskell 0.13.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ANN: wxHaskell 0.13.2

Jeremy O'Donoghue
Hi Lists,
 
I am please to announce that wxHaskell 0.13.2 has just been uploaded to Hackage.
 
This is mainly a bugfix release, although it brings a few useful changes:
  • Changes to support build under Haskell Platform 2011.4.0.0
  • OpenGL support if your wxWidgets build is configured with it (reinstated functionality)
  • StyledTextControl support if your wxWidgets build is configured with it (reinstated functionality)
This is intended to be the final wxHaskell release supporting wxWidgets 2.8.x.
 
Provided that you have a suitable Unicode wxWidgets 2.8 install configured on your machine, you should be able to install with. cabal install wx
 
In the near future, we will be committing an updated wxHaskell release supporting wxWidgets 2.9, but this implies a number of breaking API changes, and the size of team supporting wxHaskell is not large enough to cover both. As such, this release is recommended to those who will not be able to move to wxWidgets 2.9 and later.
 
The next release has more significant improvements planned, including wrapping several additional wxWIdgets libraries and restoring correct operation in GHCi. We do not have a formal timeline as yet, but the code is working in test repositories, and mainly needs work to make it cross-platform clean.
 
This release has been tested on the following platforms:
  • Windows 7 / Haskell Platform 2011.4.0.0 / wxPack 2.8.12 (Unicode, Release)
    • OpenGL is not enabled on the test platform, so OpenGL samples do not work.
    • StyledTextControl is not enabled on the test platform, so STC samples do not work.
    • All other sample code compiles, links and runs, but has only been tested for Unicode wxWidgets builds.
  • Ubuntu 10.0.4 LTS (32 bit) / GHC 6.12 / wxWidgets 2.8.10
    • Repo packages: wx2.8-headers, libwxgtk2.8-0, libwxgtk2.8-dev, libglitz1, libglitz-gl1, libgl1-mesa-dri, libglu1-mesa, libglu1-mesa-dev, mesa-common-dev, libgl1-mesa-dev, libgl1-mesa-glx, ghc6
    • Cabal packages: strict, stm, OpenGL, cabal-install
    • OpenGL is enabled on the test platform, and the samples compile and run.
    • StyledTextControl is not enabled on the test platform, so STC samples do not work.
    • All other sample code compiles, links and runs, but has only been tested for Unicode wxWidgets.
I do not have access to an OS X platform for test, so would appreciate feedback on any issues found by OS X users. There are known to be issues on 64 bit OS X builds, which will be addressed in the next release.
 
The source repository at code.haskell.org has not yet been updated with the patches. This will happen in the next day or so.
 
Best regards
Jeremy

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: ANN: wxHaskell 0.13.2

Peter Simons
Hi guys,

 > I am please to announce that wxHaskell 0.13.2 has just been uploaded
 > to Hackage.

when I try to build the latest version on Linux/x86_64 running NixOS, I
get the following error at configure time:

    Setup: Missing dependency on a foreign library:
    * Missing C library: wx_gtk2u_media-2.8

I searched my hard disk for that library, and apparently my installed
copy of wxGTK-2.8.12 doesn't have it. There are plenty of libwx_gtk2u_*
libraries, but none of them is called "media".

Does anyone know how wxGtk must be built in order to make sure that
library exists? Is there some special configure flag, maybe?

Take care,
Peter


_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: ANN: wxHaskell 0.13.2

Jeremy O'Donoghue
In reply to this post by Jeremy O'Donoghue
On 5 January 2012 17:44, Jeremy O'Donoghue <[hidden email]> wrote:
 
The source repository at code.haskell.org has not yet been updated with the patches. This will happen in the next day or so.
 
 
The source repository at code.haskell.org has now been updated with wxHaskell 0.13.2 plus the two patches (add IOExtra to wxdirect and remove old-time from wxcore) from Shelarcy.
 
I suggest a period of one more week (i.e. until 15th Jan 2012) for any further issues or fixes on the 0.13.2 series. After that, Dave, Eric and others will start to upload the changes needed to support wxWidgets 2.9.x.
 
These changes will not work against wxWidgets 2.8.x installations, and are pretty significant in places. Please expect the main repo to unstable for a while after next Sunday.
 
Best regards
Jeremy

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe