Re: [wxhaskell-devel] [wxhaskell-users] ANN: wxHaskell 0.13.2

2012-01-06 Thread shelarcy
On Sat, 07 Jan 2012 01:02:44 +0900, Dave Tapley  wrote:
>
>> This version has two installing problem.
>>
>> 2. It seems that wxcore depends on Eric's wx-config implicitly at least
>> Windows environment. "cabal install" fail with wx-config-win binary,
>>
>
> Can you remember how this failed, or send some output from the failure, and
> also let us know what version of wxWidgets you have?
> I'm hoping you say you have wx-2.9.x, in which case it could be this issue:
> http://code.google.com/p/wx-config-win/issues/detail?id=21

I used wxWidgets 2.8.12 (wxPack v2.8.12.01) to install wxcore. I can install
previous version with wx-config(-win).


C:\home\working> cabal install wx-0.12.1.6 wxcore-0.12.1.7
(snip)
Registering wxcore-0.12.1.7...
Installing library in
C:\Users\shelarcy\AppData\Roaming\cabal\wxcore-0.12.1.7\ghc-7.0.4
Registering wxcore-0.12.1.7...
Configuring wx-0.12.1.6...
Preprocessing library wx-0.12.1.6...
Building wx-0.12.1.6...
(snip)
Registering wx-0.12.1.6...
Installing library in
C:\Users\shelarcy\AppData\Roaming\cabal\wx-0.12.1.6\ghc-7.0.4
Registering wx-0.12.1.6...


But ... I can't install current version with wx-config(-win).

Here's the output.


C:\home\working>wx-config -v
wx-config revision 21 2006-10-19

C:\home\working>cabal install wxcore
Resolving dependencies...
[1 of 1] Compiling Main ( C:\Users\shelarcy\AppData\Local\Temp\wxcor
e-0.13.27884\wxcore-0.13.2\Setup.hs, C:\Users\shelarcy\AppData\Local\Temp\wxcore
-0.13.27884\wxcore-0.13.2\dist\setup\Main.o )
Linking C:\Users\shelarcy\AppData\Local\Temp\wxcore-0.13.27884\wxcore-0.13.2\dis
t\setup\setup.exe ...
generating: src/haskell/Graphics/UI/WXCore/WxcClassTypes.hs
reading class definitions:
parsing: src/include/wxc.h
parsing: src/include/wxc_types.h
parsing: src/include/wxc_glue.h
parsing: src/include/dragimage.h
parsing: src/include/graphicscontext.h
parsing: src/include/glcanvas.h
parsing: src/include/sound.h
parsing: src/include/managed.h
parsing: src/include/mediactrl.h
parsing: src/include/previewframe.h
parsing: src/include/printout.h
parsing: src/include/textstream.h
parsing: src/include/stc.h
parsing: src/include/stc_gen.h
generated 535 class definitions.
ok.
generating: src/haskell/Graphics/UI/WXCore/WxcClassInfo.hs
reading class definitions:
parsing: src/include/wxc.h
parsing: src/include/wxc_types.h
parsing: src/include/wxc_glue.h
parsing: src/include/dragimage.h
parsing: src/include/graphicscontext.h
parsing: src/include/glcanvas.h
parsing: src/include/sound.h
parsing: src/include/managed.h
parsing: src/include/mediactrl.h
parsing: src/include/previewframe.h
parsing: src/include/printout.h
parsing: src/include/textstream.h
parsing: src/include/stc.h
parsing: src/include/stc_gen.h
generated 382 class info definitions
ok.
parsing: src/include/wxc.h
parsing: src/include/wxc_types.h
parsing: src/include/wxc_glue.h
parsing: src/include/dragimage.h
parsing: src/include/graphicscontext.h
parsing: src/include/glcanvas.h
parsing: src/include/sound.h
parsing: src/include/managed.h
parsing: src/include/mediactrl.h
parsing: src/include/previewframe.h
parsing: src/include/printout.h
parsing: src/include/textstream.h
parsing: src/include/stc.h
parsing: src/include/stc_gen.h
generating: src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs
reading class definitions:
parsing: src/include/wxc.h
parsing: src/include/wxc_types.h
parsing: src/include/wxc_glue.h
parsing: src/include/dragimage.h
parsing: src/include/graphicscontext.h
parsing: src/include/glcanvas.h
parsing: src/include/sound.h
parsing: src/include/managed.h
parsing: src/include/mediactrl.h
parsing: src/include/previewframe.h
parsing: src/include/printout.h
parsing: src/include/textstream.h
parsing: src/include/stc.h
parsing: src/include/stc_gen.h
generated 1468 methods for 116 classes.
generating: src/haskell/Graphics/UI/WXCore/WxcClassesMZ.hs
generated 2320 methods for 123 classes.
generating: src/haskell/Graphics/UI/WXCore/WxcClasses.hs
generated 3788 total methods for 239 total classes.
ok.
parsing: src/eiffel/wxc_defs.e
parsing: src/eiffel/wx_defs.e
parsing: src/eiffel/stc.e
generating: src/haskell/Graphics/UI/WXCore/WxcDefs.hs
generated 2454 constant definitions
ok.
Usage: wx-config [options]
Options:
   --prefix[=DIR]  Path of the wxWidgets installation (ie. 
C:\wxWidge
ts2.6.3)
   --wxcfg[=DIR]   Relative path of the build.cfg file (ie. 
gcc_dll\m
swud)
   --cflagsOutputs all pre-processor and compiler flags.
   --cxxflags  Same as --cflags but for C++.
   --rcflags   Outputs all resource compiler flags. [UNTESTED]
   --libs  Outputs all linker flags.

   --debug[=yes|no]Uses a debug configuration if found.
   --unicode[=yes|no]  Uses an unicode configuration if found.
   --static[=yes|no]   Uses a static configuration if found.
   --universal[=yes|no]Uses an universal configuration if found.
   --easymode[=yes|no] Outputs w

Re: [wxhaskell-devel] [wxhaskell-users] ANN: wxHaskell 0.13.2

2012-01-06 Thread Dave Tapley
2012/1/6 shelarcy 

> Hello,
>
> This version has two installing problem.
>
> 1. wxdirect's sdist dropped IOExtra module, so I can't install this
> version.
> I uploaded newer version for fixing this problem, and attached a patch
> for fixing same problem in Dave's wxhaskell-dev branch.
>

Good catch, thanks, I've pushed to the -dev branch.


>
> 2. It seems that wxcore depends on Eric's wx-config implicitly at least
> Windows environment. "cabal install" fail with wx-config-win binary,
>

Can you remember how this failed, or send some output from the failure, and
also let us know what version of wxWidgets you have?
I'm hoping you say you have wx-2.9.x, in which case it could be this issue:
http://code.google.com/p/wx-config-win/issues/detail?id=21

 and "cabal install" success with Eric's one. If wxcore depends on
> wx-config package in only Windows environment, I think we should upload
> Eric's wx-config package, and modify wxcore to denped on wx-config package
> on  Windows environment for workaround.
>
> if os(windows)
>   Build-Depends: wx-config
>
> wx-config package isn't uploaded yet. So, I don't upload newer version,
> nor attach patch for fixing this problem.
>

We're still making a decision on whether to continue using wx-config(-win),
or to adopt Eric's one.
I'm going to see if I can get a conversation going with the wxWidgets
people and then I'll send out another mail.

Cheers,


>
>
> Best Regards,
>
>
>
> On Fri, 06 Jan 2012 02:44:24 +0900, Jeremy O'Donoghue <
> jeremy.odonog...@gmail.com> wrote:
>
>> 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.
>>
>
> --
> shelarcy 
> http://page.freett.com/**shelarcy/ 
>
> --
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> ___
> wx

Re: [wxhaskell-devel] [wxhaskell-users] ANN: wxHaskell 0.13.2

2012-01-06 Thread shelarcy

Hello,

This version has two installing problem.

1. wxdirect's sdist dropped IOExtra module, so I can't install this version.
I uploaded newer version for fixing this problem, and attached a patch
for fixing same problem in Dave's wxhaskell-dev branch.

2. It seems that wxcore depends on Eric's wx-config implicitly at least
Windows environment. "cabal install" fail with wx-config-win binary,
and "cabal install" success with Eric's one. If wxcore depends on
wx-config package in only Windows environment, I think we should upload
Eric's wx-config package, and modify wxcore to denped on wx-config package
on  Windows environment for workaround.

if os(windows)
   Build-Depends: wx-config

wx-config package isn't uploaded yet. So, I don't upload newer version,
nor attach patch for fixing this problem.


Best Regards,


On Fri, 06 Jan 2012 02:44:24 +0900, Jeremy O'Donoghue 
 wrote:

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.


--
shelarcy 
http://page.freett.com/shelarcy/

missing.dpatch
Description: Binary data
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel