Re: [wxhaskell-users] preview: wx-config in Haskell

2011-07-21 Thread Eric Y. Kow
> - making wx cabal Setups dependent on this library instead of the
> command line wx-config sounds like a very good idea
> - one of the reasons it currently fails to work with official
> wxHaskell darcs tip might be its usage of --version flag in
> wxcore/Setup.hs, which I mentioned in a post to wxhaskell-devel a
> couple of weeks back

Well, right now this wx-config ignores all flags.  It's also a tiny
bit hard coded to 2.8 (one of the libs it wants is msw2.8), but that's
easy to parameterise

> Are you coming to CamHac in three weeks' time? I'd love to get
> wxHaskell tip to buildable state in my environment, looks like your
> help could be invaluable. In the mean time I'll see if I can build
> from your branch.

I'll be there, hanging out with the darcs crowd.  Grab me.

-- 
Eric Kow 


pgptBU9GkexEu.pgp
Description: PGP signature
--
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] preview: wx-config in Haskell

2011-07-20 Thread maciek . makowski
Good to see something moving in wxHaskell on Windows space. Some random remarks:

- making wx cabal Setups dependent on this library instead of the
command line wx-config sounds like a very good idea
- one of the reasons it currently fails to work with official
wxHaskell darcs tip might be its usage of --version flag in
wxcore/Setup.hs, which I mentioned in a post to wxhaskell-devel a
couple of weeks back

Are you coming to CamHac in three weeks' time? I'd love to get
wxHaskell tip to buildable state in my environment, looks like your
help could be invaluable. In the mean time I'll see if I can build
from your branch.

Regards,
Maciek

On Wed, Jul 20, 2011 at 3:37 PM, Eric Y. Kow  wrote:
> Hi everybody,
>
> I'm trying to simplify the process of installing wxHaskell on Windows.
>
> My wxhaskell branch at
>
>   http://darcsden.com/kowey/wxhaskell
>
> contains a Haskell implementation of wx-config.
>
> It seems to work for me as a drop-in replacement for wx-config on Windows,
> at least as far as wxHaskell is concerned.  Note that it offers none of
> the features of the real wx-config.
>
> Good news
> -
> - no need to set WXCFG
> - setting WXWIN is optional if you put wxWidgets in a path
>  this wx-config will think to look at (eg. C:\wxWidgets-2.8)
> - can be used as a Haskell library
> - can be depended on as a Cabal dependency
>
> Bad news
> 
> - has not been tested with wxWidgets 2.9
> - broken with HEAD wxHaskell (seems to work for the latest released one)
> - no maintainer: I don't think I have the resources to actually maintain it
>  or extend it with new features. I'm mainly hoping to break inertia by
>  starting with something that sort of works while hoping that somebody
>  else can take over.
> - none of the features/safety of the real wx-config. In fact, it's little
>  more than a glorified putStrLn of the "wx-config --cppflags --libs"
>  output.  Crucially, this may break other wxFoo bindings that use
>  wx-config (this is easy for us to work around, eg. only use it as a
>  library, and don't install a wx-config executable)
>
> What do you think?
>
> --
> Eric Kow 
>
> --
> 10 Tips for Better Web Security
> Learn 10 ways to better secure your business today. Topics covered include:
> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
> security Microsoft Exchange, secure Instant Messaging, and much more.
> http://www.accelacomm.com/jaw/sfnl/114/51426210/
> ___
> wxhaskell-users mailing list
> wxhaskell-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>
>

--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] preview: wx-config in Haskell

2011-07-20 Thread Henk-Jan van Tuyl
On Wed, 20 Jul 2011 16:37:20 +0200, Eric Y. Kow  wrote:

> What do you think?
>

I was just about to start an almost one-to-one conversion of the C  
program. I can use some of your ideas.

Regards,
Henk-Jan van Tuyl


-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--

--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


[wxhaskell-users] preview: wx-config in Haskell

2011-07-20 Thread Eric Y. Kow
Hi everybody,

I'm trying to simplify the process of installing wxHaskell on Windows.

My wxhaskell branch at

   http://darcsden.com/kowey/wxhaskell

contains a Haskell implementation of wx-config.

It seems to work for me as a drop-in replacement for wx-config on Windows,
at least as far as wxHaskell is concerned.  Note that it offers none of
the features of the real wx-config.

Good news
-
- no need to set WXCFG
- setting WXWIN is optional if you put wxWidgets in a path
  this wx-config will think to look at (eg. C:\wxWidgets-2.8)
- can be used as a Haskell library
- can be depended on as a Cabal dependency

Bad news

- has not been tested with wxWidgets 2.9
- broken with HEAD wxHaskell (seems to work for the latest released one)
- no maintainer: I don't think I have the resources to actually maintain it
  or extend it with new features. I'm mainly hoping to break inertia by
  starting with something that sort of works while hoping that somebody
  else can take over.
- none of the features/safety of the real wx-config. In fact, it's little
  more than a glorified putStrLn of the "wx-config --cppflags --libs"
  output.  Crucially, this may break other wxFoo bindings that use
  wx-config (this is easy for us to work around, eg. only use it as a
  library, and don't install a wx-config executable)

What do you think?

-- 
Eric Kow 


pgpGGEopCv58y.pgp
Description: PGP signature
--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users