Re: [wxhaskell-devel] Windows

2009-11-13 Thread Brian Lewis
On Friday, 13.11.09 at 23:32, Jeremy O'Donoghue wrote:
> It works - after a bump to version 0.12.1.2.

This is great.

> Someone brave should probably try:
> cabal update
> WXWIN= WXCFG=gcc_dll/mswu cabal install wx

Worked! No problems.

> I guess we should announce to the world :-)

Good announcement. Thanks!

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] patch applied (wxhaskell): Bump version to 0.12.1.2 (Cabal requires new version no), add stc_gen.cpp to extra-source-files and remove old build files.

2009-11-13 Thread Jeremy O'Donoghue
Fri Nov 13 17:58:56 EST 2009  jeremy.odonog...@gmail.com
  * Bump version to 0.12.1.2 (Cabal requires new version no), add stc_gen.cpp 
to extra-source-files and remove old build files.
  Ignore-this: a3475df1f76b2ddeaff99a4864bf092d

R ./Setup.lhs
R ./makefile
R ./makefile.lib
M ./wx/wx.cabal -3 +3
M ./wxcore/wxcore.cabal -1 +2

View patch online:

  
http://code.haskell.org/wxhaskell/_darcs/patches/20091113225856-75908-d4f712224a9a0e2bf458e49df000d9e81a6b17aa.gz

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Windows

2009-11-13 Thread Jeremy O'Donoghue
Hi all,

It works - after a bump to version 0.12.1.2.

I'll update darcs shortly, but in the meantime, you should be able to
do the following (assuming you have wxWidgets installed - must be
compiled with MSys if you are on Windows)

cabal update
cabal install wxdirect
WXWIN= WXCFG=gcc_dll/mswu cabal install wxcore
cabal install wx

Someone brave should probably try:

cabal update
WXWIN= WXCFG=gcc_dll/mswu cabal install wx

I guess we should announce to the world :-)

Regards
Jeremy

2009/11/13 Jeremy O'Donoghue :
> The problem, of course, being that stc.cpp includes stc_gen.cpp. For
> now I'm going to put it into extra-source-files.
>
> Didn't spot that before upload, and the cabal verifier obviously
> couldn't. We should try to find a better way to do this, but for now
> this should be OK.
>
> Jeremy
>
> 2009/11/13 Jeremy O'Donoghue :
>> Hi Brian,
>>
>> 2009/11/13 Brian Lewis :
>>> For me, wxcore 0.12.1.1 on hackage fails to build for lack of
>>> stc_gen.cpp. It seems to be in darcs, though.
>>>
>>
>> Working on the problem now. Will let you all know when I have
>> something which works - believe I am fairly close now, although it's
>> late here :-(
>>
>> Jeremy
>>
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Windows

2009-11-13 Thread Jeremy O'Donoghue
The problem, of course, being that stc.cpp includes stc_gen.cpp. For
now I'm going to put it into extra-source-files.

Didn't spot that before upload, and the cabal verifier obviously
couldn't. We should try to find a better way to do this, but for now
this should be OK.

Jeremy

2009/11/13 Jeremy O'Donoghue :
> Hi Brian,
>
> 2009/11/13 Brian Lewis :
>> For me, wxcore 0.12.1.1 on hackage fails to build for lack of
>> stc_gen.cpp. It seems to be in darcs, though.
>>
>
> Working on the problem now. Will let you all know when I have
> something which works - believe I am fairly close now, although it's
> late here :-(
>
> Jeremy
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Windows

2009-11-13 Thread Jeremy O'Donoghue
Hi Brian,

2009/11/13 Brian Lewis :
> For me, wxcore 0.12.1.1 on hackage fails to build for lack of
> stc_gen.cpp. It seems to be in darcs, though.
>

Working on the problem now. Will let you all know when I have
something which works - believe I am fairly close now, although it's
late here :-(

Jeremy

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Windows

2009-11-13 Thread Brian Lewis
For me, wxcore 0.12.1.1 on hackage fails to build for lack of
stc_gen.cpp. It seems to be in darcs, though.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] patch applied (wxhaskell): Enable cabal upload to complete successfully.

2009-11-13 Thread Jeremy O'Donoghue
Fri Nov 13 12:39:00 EST 2009  jeremy.odonog...@gmail.com
  * Enable cabal upload to complete successfully.
  Ignore-this: 6d6c1450099889787f06582e77fae6f5

M ./wx/wx.cabal -2 +6
M ./wxcore/Setup.hs -4 +3
M ./wxcore/wxcore.cabal -2 +24

View patch online:

  
http://code.haskell.org/wxhaskell/_darcs/patches/20091113173900-75908-65a1432f77d8bf076bfe8f5f3ff6d02e48c9bb37.gz

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Windows

2009-11-13 Thread Jeremy O'Donoghue
Hi Brian,

On Thu, 12 Nov 2009 11:54 -0600, "Brian Lewis"  wrote:
> WxcClassInfo is in the exported modules list, but its source is
> generated by wxdirect into dist/build/autogen. I added
> dist/build/autogen to hs-source-dirs and I think it's working.
> 
> Please add that line or pull my repo and try again.

This fails as well.

The error message this time is:

ERROR: wxcore-0.12.1.1.tar.gz: 400 Error in upload
400 Error in upload
'hs-source-dirs: dist/build/autogen' points inside the 'dist' directory.
This
is not reliable because the location of this directory is configurable
by the
user (or package manager). In addition the layout of the 'dist'
directory is
subject to change in future versions of Cabal.

I think I'll try putting the autogens in src. This should make things
work while we try to find a better way of approaching this.

Jeremy
-- 
  Jeremy O'Donoghue
  jeremy.odonog...@gmail.com


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel