Re: [wxhaskell-devel] trying to build on Maverick

2013-12-21 Thread Eric Kow
Hi Andrew,

Well I'm a bit further along, but not by much.
It *builds* for me with a hand-installed wxWidgets 2.9.5 (in stow) and
the current Git wxHaskell (2f065e53), but when I try to build a sample
program, I get this linker error

ghc -package-db
../../.cabal-sandbox/x86_64-osx-ghc-7.6.3-packages.conf.d -package wx
-o BouncingBalls BouncingBalls.hs
Linking BouncingBalls ...
Undefined symbols for architecture x86_64:
  _CPSSignalAppReady, referenced from:
  _s7vsd_info in libHSwxcore-0.90.1.0.a(GHCiSupport.o)
ld: symbol(s) not found for architecture x86_64

If I comment out the GHCiSupport code in wxcore, I can link, but
running the program I get this:

dyld: Symbol not found: __ZThn912_N12wxHtmlWindow13GetHTMLWindowEv
  Referenced from:
/Users/kowey/ETC/haskell/wxHaskell/.cabal-sandbox/lib/x86_64-osx-ghc-7.6.3/wxc-0.90.1.0/libwxc.dylib
  Expected in: flat namespace
 in 
/Users/kowey/ETC/haskell/wxHaskell/.cabal-sandbox/lib/x86_64-osx-ghc-7.6.3/wxc-0.90.1.0/libwxc.dylib
Trace/BPT trap: 5



On 18 December 2013 15:30, Andrew Butterfield
andrew.butterfi...@scss.tcd.ie wrote:
 Hi all,
   first apologies - my last post here was to say I would try and build on
 Windows 7 and give feedback to improve
 the build instructions - that was over a year ago, and then I got hit by a
 work tsunami…

 I’m back now, and with a Macbook Pro available as build experiment machine,
 trying to see if I can install it here
  It tried the approach on  http://www.haskell.org/haskellwiki/WxHaskell/Mac

 It failed with
 ——
 src/cpp/eljgrid.cpp:61:65: error: too few arguments to function call,
 expected
   3, have 2
 self-PaintBackground(wxRect(x, y, w, h), (wxGridCellAttr*)attr);
 ~  ^
 ———
 Checking messages suggest I go to the github repo and use that,
 so on to Attempt 2.

 Attempt 2 -
 Mac OS X : 10.9.1
 GHC: 7.6.2 (Platform 2013.2.0.0)
 Xcode 5.0.2
 :- which gcc
 /usr/bin/gcc
 :- which cpp
 /usr/bin/cpp
 :- which clang
 /usr/bin/clang


 Cloned from https://github.com/wxHaskell/wxHaskell
 :
 bin/mk-devel  fails
 I see from the log that both gcc and clang get used at different places in
 the build.
 Is this the clang issue that requires the workaround posted recently?

 Or is there something different going on ?

 Log file attached


 Regards

 Andrew Butterfield






 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 wxhaskell-devel mailing list
 wxhaskell-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel




-- 
Eric Kow http://erickow.com

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Is wxHaskell tested on Linux, OS X?

2013-12-21 Thread Eric Kow
With apologies for breaking the thread, I've started commenting my
progress on http://thread.gmane.org/gmane.comp.lang.haskell.wxhaskell.devel/993

which is specific to the current version of MacOS X which I am using
(10.9), had recently upgraded.


On 5 December 2013 22:58, Henk-Jan van Tuyl hjgt...@chello.nl wrote:
 On Thu, 05 Dec 2013 14:24:44 +0100, Eric Kow eric@gmail.com wrote:

 I have Ubuntu 12.04 users with hand-compiled wxWidgets 2.9.5 using
 current wxHaskell HEAD (2f065e5348343ab95ad3f1465af2619d31bcdf37)

 I was using something similar on MacOSX 10.7 (Lion), but now that I've
 upgraded to 10.9, I do seem to have some breakage.  Part of it is
 confusing though because I also figured I'd try building against
 wxWidgets 3.0 (with some tweaks to wxHaskell src to allow for this).

 So on 10.7 OK, on 10.9 still having runtime linker error


 I have experienced problems with wxWidget 3.0 as well; it seems that some
 extra updates are necessary. Could you test wxHaskell with wxWidgets 2.9.5
 on OS X? If that works, we can release wxHaskell for wxWidgets 2.9 and start
 working on a new release for wxWidgets 2.9 + 3.0


 Regards,
 Henk-Jan van Tuyl


 --
 Folding@home
 What if you could share your unused computer power to help find a cure? In
 just 5 minutes you can join the world's biggest networked computer and get
 us closer sooner. Watch the video.
 http://folding.stanford.edu/


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



-- 
Eric Kow http://erickow.com

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Is wxHaskell tested on Linux, OS X?

2013-12-05 Thread Eric Kow
I have Ubuntu 12.04 users with hand-compiled wxWidgets 2.9.5 using
current wxHaskell HEAD (2f065e5348343ab95ad3f1465af2619d31bcdf37)

I was using something similar on MacOSX 10.7 (Lion), but now that I've
upgraded to 10.9, I do seem to have some breakage.  Part of it is
confusing though because I also figured I'd try building against
wxWidgets 3.0 (with some tweaks to wxHaskell src to allow for this).

So on 10.7 OK, on 10.9 still having runtime linker error


On 5 December 2013 13:05, Henk-Jan van Tuyl hjgt...@chello.nl wrote:

 L.S.,

 Did anyone test the most recent version of wxHaskell on Linux and OS X?

 Regards,
 Henk-Jan van Tuyl


 --
 Folding@home
 What if you could share your unused computer power to help find a cure? In
 just 5 minutes you can join the world's biggest networked computer and get
 us closer sooner. Watch the video.
 http://folding.stanford.edu/


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

 --
 Sponsored by Intel(R) XDK
 Develop, test and display web and hybrid apps with a single code base.
 Download it for free now!
 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
 ___
 wxhaskell-devel mailing list
 wxhaskell-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel



-- 
Eric Kow http://erickow.com

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] New Stable Major wxWidgets 3.0.0 Release

2013-11-16 Thread Eric Kow
Great! So hopefully all the work targeting 2.9.x pays off now, and it's just a 
matter of bumping a few version numbers in the build files?

How far do you reckon wxHaskell is from its next release?

Thanks! :-)

On 14 November 2013 at 20:27:25, Henk-Jan van Tuyl (hjgt...@chello.nl) wrote:
There is a new major release of wxWidgets, see
http://www.wxwidgets.org/



-- 
http://erickow.com

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] wxHaskell vs GHCi

2013-10-06 Thread Eric Kow
Hi wxHaskell devs,

Just thought I might call your attention to this thread:
http://www.haskell.org/pipermail/haskell-cafe/2013-September/109022.html

GHCi support seems like something that might be worth bubbling up the agenda?

Cheers,

-- 
Eric Kow http://erickow.com

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] wxHaskell vs GHCi

2013-10-06 Thread Eric Kow
I couldn't find a relevant bug on the wxHaskell tracker (all were closed)
Perhaps it'd be worthwhile creating a new ticket for the problems
Conal was facing? (they are very old problems, if I remember
correctly).

Do we even know what the issue is about?

On 6 October 2013 20:54, Henk-Jan van Tuyl hjgt...@chello.nl wrote:
 On Sun, 06 Oct 2013 20:08:16 +0200, Eric Kow eric@gmail.com wrote:

 Just thought I might call your attention to this thread:
 http://www.haskell.org/pipermail/haskell-cafe/2013-September/109022.html

 GHCi support seems like something that might be worth bubbling up the
 agenda?


 Shouldn't GHCi support be all right with the next GHC release? Did someone
 try a nightly build of GHC to test this? There are no nightly builds for
 Windows, and I can't get GHC compiled, so I cannot test this.

 Regards,
 Henk-Jan van Tuyl


 --
 Folding@home
 What if you could share your unused computer power to help find a cure? In
 just 5 minutes you can join the world's biggest networked computer and get
 us closer sooner. Watch the video.
 http://folding.stanford.edu/


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



-- 
Eric Kow http://erickow.com

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Architecture (32 vs. 64 bit) of the dynamic libraries

2013-10-05 Thread Eric Kow
64-bit OS X

/usr/local/lib$ file libwx_baseu-2.9.dylib
libwx_baseu-2.9.dylib: Mach-O 64-bit dynamically linked shared library x86_64

On 5 October 2013 13:02, Henk-Jan van Tuyl hjgt...@chello.nl wrote:

 L.S.,

 I am trying to implement a check if the architecture (32 vs. 64 bit) of
 the dynamic libraries of wxWidgets matches the architecture that wxHaskell
 is being built with. See Feature Request #8 [0]. Therefore, I need to see
 the output of the file command for one of those libraries.

 So far, I have on this one:
C:\wxWidgets-2.9.5\lib\gcc_dllfile wxbase295u_gcc_custom.dll
wxbase295u_gcc_custom.dll: PE executable for MS Windows (DLL) (console)
 Intel 80386 32-bit

 Could someone provide me with the results from Mac OS X and Linux
 (preferably for both 32 and 64 bit)?

 Regards,
 Henk-Jan van Tuyl


 [0] http://sourceforge.net/p/wxhaskell/feature-requests/8/


 --
 Folding@home
 What if you could share your unused computer power to help find a cure? In
 just 5 minutes you can join the world's biggest networked computer and get
 us closer sooner. Watch the video.
 http://folding.stanford.edu/


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

 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
 ___
 wxhaskell-devel mailing list
 wxhaskell-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel



-- 
Eric Kow http://erickow.com

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] More packages for the wxHaskell repository, and maintenance of these packages

2013-09-22 Thread Eric Kow
Just a quick note that the xtc package (which Gebop etc may depend on)
is on hackage.

http://hackage.haskell.org/package/xtc

Looks like Alan Zimmerman took it over (for which thanks)
http://github.com/alanz/xtc

BTW, very heartening to see all the wxHaskell activity lately.
Hopefully one day it won't be so sacrifice-a-chicken-ish to install

On 21 September 2013 08:33, Atze Dijkstra a...@uu.nl wrote:
 Hi Henk-Jan,

 sure, go ahead, is fine with me!

 Atze

 On  20 Sep, 2013, at 22:59 , Henk-Jan van Tuyl hjgt...@chello.nl wrote:


 L.S.,

 Some time ago, I have put the packages wxAsteroids and GeBoP on Hackage,
 to promote wxHaskell. I would like to create GitHub repositories for
 these, next to the official wxHaskell repository, at
 https://github.com/wxHaskell/ and specify, as maintainer, the wxHaskell
 developer mailing list. If this is OK with you, I will do this a week from
 now.

 Regards,
 Henk-Jan van Tuyl


 --
 Folding@home
 What if you could share your unused computer power to help find a cure? In
 just 5 minutes you can join the world's biggest networked computer and get
 us closer sooner. Watch the video.
 http://folding.stanford.edu/


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

 --
 LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack 
 includes
 Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
 http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
 ___
 wxhaskell-devel mailing list
 wxhaskell-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


 - Atze -

 Atze Dijkstra, Department of Information and Computing Sciences. /|\
 Utrecht University, PO Box 80089, 3508 TB Utrecht, Netherlands. / | \
 Tel.: +31-30-2534118/1454 | WWW  : http://www.cs.uu.nl/~atze . /--|  \
 Fax : +31-30-2513971  | Email: a...@uu.nl ... /   |___\




 --
 LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
 Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
 http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
 ___
 wxhaskell-devel mailing list
 wxhaskell-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel



-- 
Eric Kow http://erickow.com

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] OSX Build Failure

2013-09-18 Thread Eric Kow
I'll also add that I've just recently released a new version of
cabal-macosx this afternoon (which builds app bundles for your OS X
GUI apps)

The Git wxHaskell does build with haskell-platform 2013.2.0.0 on Mac
OS X (Lion though)…

On 17 September 2013 22:56, Henk-Jan van Tuyl hjgt...@chello.nl wrote:
 On Tue, 17 Sep 2013 22:34:28 +0200, James Laver ja...@trustrobots.com
 wrote:

 wxcore fails heroically with rather a lot of output (attached)

 The wxHaskell packages on Hackage are not adapted to the latest version of
 GHC yet; you can install the GitHub version with
git clone https://github.com/wxHaskell/wxHaskell
 or download the zip file from the web page with the same address.

 Then install the packages from disk in the following order:
wxdirect wxc wxcore wx

 Regards,
 Henk-Jan van Tuyl


 --
 Folding@home
 What if you could share your unused computer power to help find a cure? In
 just 5 minutes you can join the world's biggest networked computer and get
 us closer sooner. Watch the video.
 http://folding.stanford.edu/


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

 --
 LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
 Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
 http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
 ___
 wxhaskell-devel mailing list
 wxhaskell-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel



-- 
Eric Kow http://erickow.com

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Project ownership and Hackage upload

2013-08-02 Thread Eric Kow
On 2 August 2013 07:56, Atze Dijkstra a...@uu.nl wrote:

 I'd prefer to have a maintainer independent project repo, but github does
 not seem to have such a thing,


It's well possible.
You have to create an organisation somehow

GitHub users can be added to orgs

I don't know how to go about it exactly, but I'm in a couple of orgs
myself, so I know it's possible

-- 
Eric Kow http://erickow.com
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Compile problems

2013-06-16 Thread Eric Kow
Hmm, apparently somebody's been down a similar path

http://www.haskell.org/haskellwiki/WxHaskell/Windows

(search uuid.dll - not sure where it comes from though)

On 16 June 2013 15:01, harry volderm...@hotmail.com wrote:
 Charles the Hawk charlesthehawk@... writes:

 I can compile wx now, but linking it into an application gives

 Loading package wxc-0.90.0.4 ... ghc.exe: uuid: The specified module could
 not be found.
 command line: can't load .so/.DLL for: uuid.dll (addDLL: could not load DLL)

 Any idea what it wants?


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 wxhaskell-devel mailing list
 wxhaskell-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel



-- 
Eric Kow http://erickow.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] CPP to FFI

2013-06-14 Thread Eric Kow
Seems like something the author would be very interested in testing on.
I think the wxHaskell paper talks about how it's done here
http://research.microsoft.com/pubs/66810/wxhaskell.pdf

On 13 June 2013 20:43, Blair Archibald mrblairarchib...@gmail.com wrote:
 Hi guys,

 Did anyone see this new C++ foreign function generator mentioned in the
 haskell weekly news.

 http://ianwookim.org/fficxx/

 At the moment the lack of documentation puts me off, but something like this
 could be the end of some of our generation problems. In my mind it's great
 that people are working on this sorta thing!

 I might look into this deeper at the weekend and see if I could use it to
 generate wx bindings.

 Many thanks,
 Blair




 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 wxhaskell-devel mailing list
 wxhaskell-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel




-- 
Eric Kow http://erickow.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Build

2013-05-31 Thread Eric Kow
On 31 May 2013 06:34, harry volderm...@hotmail.com wrote:
 The first problem is that wxdirect installs both executables and a library -
 why is that necessary, and is there another way to do it?

Could you elaborate on this? I'm not 100% sure I follow.

Is the issue something related to the wxdirect executable not being
available in the sandbox environment?

One issue is that wxdirect is used in the build process of the wxcore Setup.hs

One thing which I think might help matters is if we had a way for the
custom Setup.hs in wxcore to depend on wxdirect.  Now one option would
be for us to just swallow wxdirect directly into wxcore, making it
part of the setup script.  There's no particular reason it has to be
run as an executable.

If not feasible, then we may need something like
https://github.com/haskell/cabal/issues/948

--
Eric Kow http://erickow.com

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Maintenance

2013-05-27 Thread Eric Kow
Maybe you could review the current pull requests?
https://github.com/jodonoghue/wxHaskell/pulls

It might not feel very entry level, but it could be a way to get
sucked into the infrastructure.

As for maintenance, I think the current maintainer is Jeremy
O'Donoghue, who we haven't heard from in a while (but I see he's
merged a pull request).  Apologies if I'm mistaken; have been out of
the loop for some years. There are jobs that folks might usually leave
to a dev team or maintainer, but I think the community may want to
pick up and try to do.  Anybody available to step in a sort of interim
maintainer?

wxHaskell did see a nice uptick of activity in 2012 with a good
cleanup of the infrastructure and layering of the packages.  It'd be
great to see this progress built upon.


On 27 May 2013 09:07, Blair Archibald mrblairarchib...@gmail.com wrote:
 Hi,

 It was mentioned on the Haskell beginners mailing list that wxHaskell was
 looking for volunteers.

 I was wondering if anyone knew of any entry level tasks which need
 performed so I can get a feel for the codebase etc.

 I have an intermediate knowledge of Haskell (less than a year but still
 learning). I also don't mind working in C/C++ which makes this project good
 fit in my mind.

 I realise there was a mailing list post a while ago debating the maintenance
 of wxHaskell but I couldn't figure out who the lead maintainer currently is?

 Many thanks,
 Blair

 --
 Try New Relic Now  We'll Send You this Cool Shirt
 New Relic is the only SaaS-based application performance monitoring service
 that delivers powerful full stack analytics. Optimize and monitor your
 browser, app,  servers with just a few lines of code. Try New Relic
 and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
 ___
 wxhaskell-devel mailing list
 wxhaskell-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel




-- 
Eric Kow http://erickow.com

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] GitHub repo?

2012-04-18 Thread Eric Kow
Hi!

I guess I'd better weigh in as a darcs developer here (though speaking for 
myself only).  Generally, I like to encourage Darcs users to give Git a chance 
and explore GitHub so they understand first hand what they might be missing out 
on if they do not already.

I don't mean to chase people away, of course! Naturally, my encouraging people 
to use Git conflicts with my desire for Darcs to have a supporting base for the 
Darcs agenda of building a better version control system.  The reason is simply 
that a feeling that it would irresponsible for me to let my desire override 
your best interests.  If the Git model works better for you, or if Darcs cannot 
yet scale to your team size, or if GitHub enhances collaboration in a way that 
a version control system cannot on its own, or if you simply feel that the 
network effects of everybody else being on GitHub are too important to pass up; 
by all means, switch.

I wouldn't want people to be using Darcs either out of Haskell brand loyalty 
(we are way beyond/before that), or out of unfamiliarity with Git.  Basically, 
the kind of users I would want us to have are those that know what they are 
getting into, that know Darcs both for its simplicity and its flaws.

Finally, about Darcs Bridge:

 One option might be to use wxHaskell as a test case for darcs-bridge, in 
 which case we could allow commits to darcs or Github, but I'll leave it to 
 Eric to decide whether darcs bridge is ready for such a use case.

It's worth considering for the future.  I think right now you're best off 
focusing on one and then maybe re-enabling the bridge later on.

Anyway, by all means, do give it a try!  You can always come back later.

Eric

PS. Darcs users should know that git add -p somewhat approximates darcs 
interactive record; often it's all that people miss

-- 
Eric Kow http://erickow.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Darcs repo versions

2012-02-12 Thread Eric Kow
Hi Jeremy,

On 12 Feb 2012, at 19:03, Jeremy O'Donoghue wrote:
 
 Becuse Darcsden uses the darcs 2.0 repo format (not the hashed format), I 
 cannot push patches from my local copy of Dave's Darcsden to my local c.h.o 
 (which is using the hashed repo format).

That's interesting.  Are you sure it actually converts it?

darcs show repo shows that http://darcsden.com/jodonoghue/wxhaskell-wx29-jod
is a hashed repo.  Do I have the right URI?
  
 Recreating the patches and their comments by hand would be inexpressibly 
 tedious, so I wanted to know if there is any reason not to upgrade the c.h.o 
 repo to the 2.0 format. If I understand things correctly, this has been the 
 Darcs default since 2008, and it would let us
  
 Any suggestions, advice or warnings before I start along this path?

See http://wiki.darcs.net/FAQ#upgrading-to-darcs-2

I tend to advise people to stick to darcs 1 (hashed) if they have a 
pre-existing repo.
New repos, sure.  But old repos, maybe best for now to just stick with what you 
know

-- 
Eric Kow http://erickow.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] API graphics

2012-01-14 Thread Eric Kow
I think our haddocks should include pictures.  If not possible due to technical 
constraints, they should include links to pictures hosted on the wiki or 
perhaps somewhere more stable like a darcs repository.

-- 
Eric Kow http://erickow.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] API graphics

2012-01-14 Thread Eric Kow

On 14 Jan 2012, at 23:01, Eric Kow wrote:
 I think our haddocks should include pictures.  If not possible due to 
 technical constraints, they should include links to pictures hosted on the 
 wiki or perhaps somewhere more stable like a darcs repository.


Or maybe from a different direction, we should create

http://www.haskell.org/haskellwiki/WxHaskell/Widgets

With pictures pointing to the relevant haddocks

-- 
Eric Kow http://erickow.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] [wxhaskell-users] adapt layout after changing 'visible' state

2011-12-09 Thread Eric Kow
I'd go ahead and record/send that.

Thanks! This sort of distributed doc effort helps :-)

On 8 Dec 2011, at 18:49, Henning Thielemann wrote:
 Here is my proposed patch:
 
 wxhaskell/wx$ darcs2 diff --unified src/Graphics/UI/WX/Classes.hs
 --- old-wxhaskell/wx/src/Graphics/UI/WX/Classes.hs  2011-12-08 
 19:45:56.0 +0100
 +++ new-wxhaskell/wx/src/Graphics/UI/WX/Classes.hs  2011-12-08 
 19:45:56.0 +0100
 @@ -173,6 +173,19 @@
  -- | Visible widgets.
  class Visible w where
-- | Is the widget visible?
 +  --
 +  -- If you hide a widget, its space will not immediately
 +  -- be filled by other widgets.
 +  -- Vice versa if you make a widget visible
 +  -- it will not have space to be rendered into.
 +  -- That is, when changing the visibility state
 +  -- it is advised to update the layout
 +  -- using 'Graphics.UI.WX.Layout.windowReFit'.
 +  --
 +  -- Example:
 +  --
 +  --  do set w [ visible := False ]
 +  -- windowReFit w



-- 
Eric Kow http://erickow.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] wxcore: No more Eiffel patch and wxSTC_MASK_FOLDERS

2011-11-17 Thread Eric Kow
Overflow?

Cold be related to 32 bit vs 64 bit


On 18 Nov 2011, at 06:42, Dave Tapley duked...@gmail.com wrote:

 Everything looked good until I noticed this:
 In yours, you have:
 wxSTC_MASK_FOLDERS = 4261412864
 
 But in mine, I have:
 wxSTC_MASK_FOLDERS = (-33554432)
 
 Curious, no?
 If you Google wxSTC_MASK_FOLDERS it seems that other people
 (primarily those wrapping wxWidgets in other languages) are reporting
 a similar 'issue'.
 
 Dave

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] liberal commit access?

2011-11-12 Thread Eric Kow
I suggest a trusting-by-default policy for gaining push access to main repo on 
cho:

- anybody who has contributed accepted patches to wxhaskell
- and who requests it (or says yes to a would you like commit access)

The basic rule for using this access is

- use good judgement: only push if you have some confidence in what's going in

Using a DVCS means we can afford to relax a little.  The worst case is a reset 
and a message to wxhaskell mailing lists asking folks to reset their own 
branches

Darcsden/Patch-tag forks are great, but it may help for synchronisation to have 
a single focal point that moves forward quickly.

Review is great, but it be more effective to make it a social norm than a 
technical stumbling block.

Comments?

-- 
Eric Kow http://erickow.com


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Eric Kow
Whoops, forgot to record.
Take this one too



rudimentary-replacement-for-wx_config_.dpatch
Description: Binary data


On 3 Nov 2011, at 05:55, Eric Kow wrote



 Nice, thanks for the Homebrew formula
 
 I have a fix for that one, but it doesn't generalise very well (ie. outside 
 of Mac + wx2.9)
 
 It won't get you all the way.  I'm stuck just like you are
 wxeventtype-is-an-extern-type-in-wxwidgets-2_9_2.dpatch.gz
 
 gunzip and darcs apply -i the file
 
 On 3 Nov 2011, at 03:56, Alessandro Vermeulen wrote:
 
 I got the head version of the repository tonight and I tried to build it, 
 which gave me the following error:
 
 Configuring wxcore-0.13.1...
 setup: Missing dependencies on foreign libraries:
 * Missing C libraries: wx_baseu-2.9, wx_baseu_net-2.9, wx_baseu_xml-2.9,
 wx_osx_cocoau_core-2.9, wx_osx_cocoau_adv-2.9, wx_osx_cocoau_qa-2.9,
 wx_osx_cocoau_html-2.9, wx_osx_cocoau_xrc-2.9
 
 -- 
 Eric Kow http://erickow.com
 

-- 
Eric Kow http://erickow.com

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Eric Kow
On 3 Nov 2011, at 06:53, Alessandro Vermeulen wrote:

 I've applied your patches, and I though it build… however, it get's stuck 
 further on, is there where you are stuck too?

Yup.  If I understand correctly, we're trying to use a constructor for 
wxDragImage that has been deprecated for a *long* time (was marked deprecated 
even in wxWidgets 2.4.x).  I guess they finally removed it in 2.9.  Now the 
question is if we can ditch the wxPoint argument, ignore it, find a use for it, 
and if we should change the Haskell API to go with this

 src/cpp/dragimage.cpp:11:0:
  error: no matching function for call to 
 ‘wxGenericDragImage::wxGenericDragImage(wxBitmap, wxCursor, wxPoint)’
 
 /usr/local/Cellar/wxmac2.9/2.9.2/include/wx-2.9/wx/generic/dragimgg.h:268:0:
  note: candidates are: wxGenericDragImage::wxGenericDragImage(const 
 wxGenericDragImage)

...

-- 
Eric Kow http://erickow.com


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Eric Kow
 Also how should I create a new patch of my changes? I've included the whole 
 source file for now.

First, have a look at http://wiki.darcs.net/Msmtp unless you've already got an 
MTA configured

Then

darcs record
darcs send

Thanks,

-- 
Eric Kow http://erickow.com


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] Modified example ImageViewer.hs

2011-09-21 Thread Eric Kow
On Wed, Sep 21, 2011 at 20:20:27 +0200, David Virebayre wrote:
 2011/9/21 Eric Y. Kow eric@gmail.com:
 
  I'd split the cleanup patches (like adding a type signature to existing
  stuff) from the new feature patches, but you can send them all in one
  bundle
 
 Ok so this is where I don't know how to do it.

 Let's say I take the time to learn how to re-record it cleanly, what
 do I do next ?

Are you talking about sending the patches?

You want to use the darcs send command.

- You need a working sendmail command. 
- You use it like you would use darcs push.
- You can send patches to any darcs repository URL or filepath

Try in order:

- darcs help send
- the manual
- http://wiki.darcs.net/Using/Send for some practical supplementary tips

Let me know if you need any specific help

-- 
Eric Kow http://erickow.com


pgpIecgV69uWA.pgp
Description: PGP signature
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] recent work

2009-08-14 Thread Eric Kow
On Thu, Aug 13, 2009 at 17:22:05 -0500, Brian Lewis wrote:
 On Thursday, 13.08.09 at 22:59, Eric Y. Kow wrote:
  First: wxcore doesn't compile against the default wxWidgets on MacOS
  X, which is fine because I've gotten used to building my own
  wxWidgets.
 
 I don't think I have a mac I can work on. Please send me the errors
 and/or investigate?

I'll send you the errors first.  I think it's just that when compiling
my software GenI, GHC isn't getting the -L flags it needs to find my
wxWidgets (say -L /custom/wxWidgets-2.8/lib).  We know what these flags
are since we can compile wxcore; we just need to save them to the
package description 


  Second: the old wxHaskell had a convention where if a wx-config lives in
  /usr/local/wxhaskell/bin that we would use it. This would make it a bit
  more straightforward to cabal install wxcore, i.e. without having to do
  something like PATH=/usr/local/wxhaskell/bin:$PATH cabal install wxcore.
  Can you think of a good/simple mechanism to let people use their own
  wxWidgets??
 
 I can look into it, but I don't understand. Is it related to installing
 wxWidgets yourself? Are you saying that /usr/bin/wx-config and
 /usr/local/wxhaskell/bin/wx-config disagree? That seems bad.

It is related to installing wxWidgets myself (*)

MacOS X ships with its own wxWidgets, which /usr/bin/wx-config points
to.  I just need to make sure I'm running the wx-config that goes with
my wxWidgets instead.

Perhaps a simple solution is just for us to ship docs that remind people
to edit their bashrc files and put their wxWidgets bin in the PATH.  No
silly mechanisms.

* A regrettable necessity on Macs for some reason; too bad too, because
  I was pretty psyched about MacOS X shipping with wxWidgets by default.
  Actually, for some odd reason I can't get wxHaskell to work with
  Ubuntu 9.04's wxGTK either and had to install my own as well.

-- 
Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
PGP Key ID: 08AC04F9


signature.asc
Description: Digital signature
--
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] 0.11.0 Release Schedule

2008-12-22 Thread Eric Kow
My two cents as a user:

On Mon, Dec 22, 2008 at 08:42:42 +0900, shelarcy wrote:
 I know we have a few problems. But we can't solve their problems
 soonly.

Any problems we can't resolve we should document clearly and propose
workarounds for.

 And darcs version's some bug fixes are useful and important
 for users (in particular, Windows user that can't install wxHaskell
 from HackageDB). So, I proposed to release 0.11.0.

Note: I'm quite pleased that I can now install wxcore in the user
directory (although I forget how I did this; was it ./configure --user ;
make; make install I did?).  It might be nice if we mentioned that
LD_LIBRARY_PATH must be set (for Linux users at least), as the
~/.cabal/... path is not likely to be in people's LD_LIBRARY_PATH

In general, it would be nice to see the wiki updated with the latest
instructions for how to install wxhaskell, especially for people who use
hackage packages that depend on wx.

I think a nice way would be something like

  1. whatever is needed to install wxcore
  2. cabal install wx

Thanks!

-- 
Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
PGP Key ID: 08AC04F9


signature.asc
Description: Digital signature
--
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] darcs patch: Use latest version of packages in GHC database

2008-12-09 Thread Eric Kow
Warning: this may break if you're trying to do a global install,
but it seems to help for my case where I have bytestring 0.9.1.3
installed for my user, but the default bytestring 0.9.1.2 shipping
with GHC

Tue Dec  9 22:47:02 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Use latest version of packages in GHC database


New patches:

[Use latest version of packages in GHC database
Eric Kow [EMAIL PROTECTED]**20081209224702] {
hunk ./configure 691
 # Test if we can include the bytestring package explicitly
 $hcpkg describe bytestring  /dev/null 2 /dev/null
 case $? in
-  0) bytestringpkgversion=`ghc-pkg field bytestring version | tail -n 1 | sed 's/.* //'`
- pkgbytestring=-package bytestring-$bytestringpkgversion;;
+  0) bytestringpkgversion=`ghc-pkg latest bytestring`
+ pkgbytestring=-package $bytestringpkgversion;;
   *) pkgbytestring=;;
 esac
 
hunk ./configure 699
 # Test if we can include the containers package explicitly
 $hcpkg describe containers  /dev/null 2 /dev/null
 case $? in
-  0) containerspkgversion=`ghc-pkg field containers version | tail -n 1 | sed 's/.* //'`
- pkgcontainers=-package containers-$containerspkgversion;;
+  0) containerspkgversion=`ghc-pkg latest containers`
+ pkgcontainers=-package $containerspkgversion;;
   *) pkgcontainers=;;
 esac
 
hunk ./configure 707
 # Test if we can include the parsec package explicitly
 $hcpkg describe parsec  /dev/null 2 /dev/null
 case $? in
-  0) pkgversion=`ghc-pkg field parsec version | tail -n 1 | sed 's/.* //'`
- pkgparsec=-package parsec-$pkgversion;;
+  0) pkgversion=`ghc-pkg latest parsec`
+ pkgparsec=-package $pkgversion;;
   *) pkgparsec=;;
 esac
 
hunk ./configure 715
 # Test if we can include the time package explicitly
 $hcpkg describe time  /dev/null 2 /dev/null
 case $? in
-  0) pkgversion=`ghc-pkg field time version | tail -n 1 | sed 's/.* //'`
- pkgtime=-package time-$pkgversion;;
+  0) pkgversion=`ghc-pkg latest time`
+ pkgtime=-package $pkgversion;;
   *) pkgtime=;;
 esac
 
hunk ./configure 723
 # Test if we can include the stm package explicitly
 $hcpkg describe stm  /dev/null 2 /dev/null
 case $? in
-  0) stmpkgversion=`ghc-pkg field stm version | tail -n 1 | sed 's/.* //'`
- pkgstm=-package stm-$stmpkgversion;;
+  0) stmpkgversion=`ghc-pkg latest stm`
+ pkgstm=-package $stmpkgversion;;
   *) pkgstm=;;
 esac
 
hunk ./configure 1028
 
 # behave like Cabal's configuration.
 if test $pkgcontainers; then
-  wxcoredepends=base-$basepkgversion, containers-$containerspkgversion
+  wxcoredepends=base-$basepkgversion, $containerspkgversion
 else
   wxcoredepends=base-$basepkgversion
 fi
hunk ./configure 1069
 	Graphics.UI.WXCore.WxcClassesMZ
 hs-libraries:wxcore,wxcore0,wxcore1,wxcore2
 extra-libraries:${wxclibname}-${binversion}
-depends: ${wxcoredepends}, haskell98-$haskell98pkgversion, bytestring-$bytestringpkgversion, stm-$stmpkgversion
+depends: ${wxcoredepends}, haskell98-$haskell98pkgversion, $bytestringpkgversion, $stmpkgversion
 extra-ld-opts:$extraldopts
 EOF
 cp -f config/wxcore-partial.pkg config/wxcore.pkg
}

Context:

[When use --user option, wxhaskell should install .cabal location.
shelarcy [EMAIL PROTECTED]**20081128133122] 
[TAG 0.11.0rc1_2
shelarcy [EMAIL PROTECTED]**20081128044152] 
Patch bundle hash:
4f54c12c07a30755284975976b82a884b78b7b86
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] patch applied (wxhaskell): Update links to homepage itself to point to Haskell wiki.

2008-08-08 Thread Eric Kow
Tue Aug  5 14:20:31 EDT 2008  Eric Kow [EMAIL PROTECTED]
  * Update links to homepage itself to point to Haskell wiki.

M ./homepage/applications.html -1 +1
M ./homepage/building-cygwin.html -1 +1
M ./homepage/building-macosx.html -1 +1
M ./homepage/building-msc.html -1 +1
M ./homepage/building.html -1 +1
M ./homepage/contribute.html -1 +1
M ./homepage/dev-download.html -1 +1
M ./homepage/development.html -1 +1
M ./homepage/documentation.html -1 +1
M ./homepage/download.html -1 +1
M ./homepage/faq.html -1 +1
M ./homepage/index.html -1 +1
M ./homepage/license.html -1 +1
M ./homepage/menu.html -1 +1
M ./homepage/quickstart.html -1 +1
M ./homepage/samples.html -1 +1
M ./homepage/screenshots.html -1 +1

View patch online:

  
http://code.haskell.org/maybench/_darcs/patches/20080805182031-db91e-9cd1b5ace78dd3fa7299e4b9a2da6a9a8747e090.gz

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] wxWidgets 2.8 support

2008-03-25 Thread Eric Kow
  I think we need to have a general discussion on whether it's acceptable
  to break wxWidgets 2.4 compatibility. I think it is, and that we should
  just direct those needing this feature to the 0.10.3 release.

I think Conal might be a bit unhappy about ghci not working (if I
understand correctly, Windows users can only really use ghci with
wxWidgets 2.4?), but I don't see how we have a choice otherwise.

Let's go ahead and break it, I'd say.  We've got to keep moving
forward because trying to distribute wxWidgets on our own would
probably be more trouble than it's worth.

-- 
Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
PGP Key ID: 08AC04F9

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] RC2 packages for Debian

2008-03-17 Thread Eric Kow
  Unless anyone disagree, I will upload it as RC2 ?

Hang on a second, I might not have pushed in my latest bug fix patches
yet.  Do you think you could apply those [if they seem sane, of
course!]?

I'd be willing to upload a MacIntel version tonight.

We could then aim for this weekend as a final release.

-- 
Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
PGP Key ID: 08AC04F9

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] darcs patch: Set release to rc1 in Makefile. (and 1 more)

2008-03-10 Thread Eric Kow
Mon Mar 10 09:19:41 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Set release to rc1 in Makefile.

Mon Mar 10 09:19:51 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Tar the srcdist (as well as zipping it).
  For Gentoo, with love.


New patches:

[Set release to rc1 in Makefile.
Eric Kow [EMAIL PROTECTED]**20080310091941] hunk ./configure 16
 # Versioning
 #
 version=0.10.3
-release=0
+release=rc1
 
 #
 # Variables
[Tar the srcdist (as well as zipping it).
Eric Kow [EMAIL PROTECTED]**20080310091951
 For Gentoo, with love.
] hunk ./makefile 355
 	@$(call cp-srcdist, $(SAMPLE-SOURCES))
 	@echo zipping: $(DIST-SRC)
 	@$(CD) $(SRCDIST-OUTDIR)  $(call zip-add-rec,$(DIST-SRC),$(WXHASKELLVER))
+	@$(CD) $(SRCDIST-OUTDIR)  $(call tgz-add-rec,$(basename $(DIST-SRC)).tar.gz,$(WXHASKELLVER))
+
 
 srcdist-clean:
 	[EMAIL PROTECTED](call full-remove-dir,$(SRCDIST-OUTDIR))

Context:

[Add txt suffix to Windows' README file for more user friendly.
shelarcy [EMAIL PROTECTED]**20080309005641] 
[Delete DataTimeTest.hs file after DataTime test
Mads Lindstroem [EMAIL PROTECTED]**20080308195318] 
[Initial support for Debian DEB files
Mads Lindstroem [EMAIL PROTECTED]**20080308194942
 
 This is only initial support. No doubt some tweaking will be needed
 before it is finished.
 
] 
[Add architecture to macdist (as pointed out by shelarcy).
Eric Kow [EMAIL PROTECTED]**20080308131459] 
[List up changes since 0.9.4-1 in changes.txt.
shelarcy [EMAIL PROTECTED]**20080308060351] 
[Fix: haddock2 support doesn't work on Windows.
shelarcy [EMAIL PROTECTED]**20080308043834] 
[TAG 0.10.3rc1
Eric Kow [EMAIL PROTECTED]**20080308130252] 
[Add a README file for Windows.
Eric Kow [EMAIL PROTECTED]**20080308130228] 
[Replace wx-main dependency with wx-only.
Eric Kow [EMAIL PROTECTED]**20080308123500
 As pointed out by Mads.
] 
[Restart Camels game at same level if you lose.
Eric Kow [EMAIL PROTECTED]**20080307174035] 
[Some tweaks to macdist makefile target.
Eric Kow [EMAIL PROTECTED]**20080308000240] 
[Get the MacOS X installer to guess some possible GHC locations.
Eric Kow [EMAIL PROTECTED]**20080308000234
 This seems kinda ugly, but I don't know what else to do.
   ghc-pkg from path
   ghc-pkg in /usr/local/bin
   ghc-pkg in /opt/local/bin
   ghc-pkg in /sw/bin
] 
[Detect haddock version.
Eric Kow [EMAIL PROTECTED]**20080307230034] 
[Add some instructions to the BouncingBalls sample.
Eric Kow [EMAIL PROTECTED]**20080307135913] 
[Adjust size of navigation boxes (homepage).
Eric Kow [EMAIL PROTECTED]**20080306141406] 
[Withdraw more support for ghcold ( 6.4)
Eric Kow [EMAIL PROTECTED]**20080306141339] 
[Fix dist path in wxhaskell.spec
Eric Kow [EMAIL PROTECTED]**20080305184035] 
[Update building instructions (homepage).
Eric Kow [EMAIL PROTECTED]**20080305175004] 
[Add some instructions to the wxcore's BouncingBalls sample, too.
shelarcy [EMAIL PROTECTED]**20080307172125] 
[Data.Time package now only used when available
Mads Lindstroem [EMAIL PROTECTED]**20080307211643
 
 Added test to see if Data.Time package is available. If not we use the
 old System.Time package in stead.
] 
[Describe older make use in documentation for cygwin
[EMAIL PROTECTED] 
[Sync Visual Studio's wxc library version to 0.10.3.
shelarcy [EMAIL PROTECTED]**20080306001813] 
[Fix mispelling of Mads's family name.
Eric Kow [EMAIL PROTECTED]**20080305173825
 Sorry!
] 
[Don't call wxcore-clean when building wx.
Eric Kow [EMAIL PROTECTED]**20080305173555
 Also, build wxcore in its own directory, so we don't get overlapping with wx.
 (I'm guessing that the overlap is why we called wxcore-clean)
] 
[More portable haddocking for Windows.
Eric Kow [EMAIL PROTECTED]**20080305172200
 As suggested by shelarcy.
] 
[Last modified (homepage).
Eric Kow [EMAIL PROTECTED]**20080305142057] 
[Add XRC as a wishlist task (homepage).
Eric Kow [EMAIL PROTECTED]**20080305141841] 
[Add bugs to the dist files.
Eric Kow [EMAIL PROTECTED]**20080305141806
 
 We want people to know we're aware of them, and we want them
 to get the idea of writing bug reports with demonstrators.
] 
[Remove scintilla from wishlist (homepage).
Eric Kow [EMAIL PROTECTED]**20080305135436
 Already implemented as far as I know.
] 
[Update repository info (now using darcs, not CVS). (homepage)
Eric Kow [EMAIL PROTECTED]**20080305135227] 
[Update list of developers (homepage).
Eric Kow [EMAIL PROTECTED]**20080305135206] 
[Update hdocbases to work with haddock2 and ghc 6.8.2
Eric Kow [EMAIL PROTECTED]**20080305134826
 I'm not sure which, but this makes it compile on my end.
] 
[Also take advantage of -split-objs for wx.
Eric Kow [EMAIL PROTECTED]**20080305113837] 
[(configure/haddock) Set normdocroot on non-Cygwin.
Eric Kow [EMAIL PROTECTED]**20080305112720] 
[Update URL for haddock interface files.
Eric Kow [EMAIL PROTECTED]**20080305112639] 
[Withdraw haddock support for GHC  6.2.
Eric Kow [EMAIL

[wxhaskell-devel] darcs patch: Update building instructions (homepage). (and 4 more)

2008-03-07 Thread Eric Kow
Wed Mar  5 17:50:04 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Update building instructions (homepage).

Wed Mar  5 18:40:35 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Fix dist path in wxhaskell.spec

Thu Mar  6 14:13:39 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Withdraw more support for ghcold ( 6.4)

Thu Mar  6 14:14:06 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Adjust size of navigation boxes (homepage).

Fri Mar  7 13:59:13 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Add some instructions to the BouncingBalls sample.


New patches:

[Update building instructions (homepage).
Eric Kow [EMAIL PROTECTED]**20080305175004] {
hunk ./homepage/building.html 146
 pregt; cd $wxwin
 gt; mkdir mybuild
 gt; cd mybuild
-gt; ../configure --enable-unicode --disable-shared
+gt; ../configure --enable-unicode
 gt; make
 gt; make install
 gt; cd contrib/src
hunk ./homepage/building.html 157
 Notes:
 ul class=notes
 liAdd the following flags to codeconfigure/code, to enable certain advanced features of wxHaskell:
-ullicode--enable-unicode/code to build a unicode library (recommended for latest darcs repository version)./li
-licode--disable-shared/code to build a static library (recommended for wxHaskell version gt;= 0.7)./li
+ullicode--enable-unicode/code to build a unicode library (required for 0.10 and up)./li
 licode--with-odbc/code to enable a href=http://wxhaskell.sourceforge.net/doc/Graphics.UI.WXCore.Db.html;database access/a./li
 licode--with-opengl/code to enable the a href=http://wxhaskell.sourceforge.net/doc/Graphics.UI.WXCore.OpenGL.html;openGL canvas/a./li
 licode--enable-sound/code to enable playback of wave audio files. (code--enable-wave/code on
hunk ./homepage/building.html 208
 
 pre
 gt; cd $wxhaskell
-gt; ./configure
+gt; ./configure --enable-split-objs --hcprof
 /pre
 
 Notes:
hunk ./homepage/building.html 287
 /div
 
 div class=status
-a style=float: right href=#bodytop/alast update: Aug  18 2007.
+a style=float: right href=#bodytop/alast update: 5 March 2008.
 /div
 
 /div
}
[Fix dist path in wxhaskell.spec
Eric Kow [EMAIL PROTECTED]**20080305184035] hunk ./configure 1115
 echo %define wxtoolkit$wxtoolkit		 config/wxhaskell.spec.temp
 echo %define wxToolkit$wxToolkit		 config/wxhaskell.spec.temp
 echo %define wxversion$wxversion		 config/wxhaskell.spec.temp
-echo %define sourceroot   $topdir/out/ config/wxhaskell.spec.temp
+echo %define sourceroot   $topdir/dist/config/wxhaskell.spec.temp
 echo %define configflags  $arguments_exp	 config/wxhaskell.spec.temp
 echo 		 config/wxhaskell.spec.temp
 cat config/wxhaskell.spec.temp bin/wxhaskell-spec-template  config/wxhaskell.spec
[Withdraw more support for ghcold ( 6.4)
Eric Kow [EMAIL PROTECTED]**20080306141339] {
hunk ./configure 915
 
 #echo  package descriptions
 echo  config/wxcore.pkg
-if test $ghcold != yes; then
 # ghc 6.4+, the partial packages are only used for the windows installer
 cat  config/wxcore-partial.pkg  EOF
 name:wxcore
hunk ./configure 985
 echo import-dirs:\${wxhlibdir}/imports  config/wx.pkg
 echo library-dirs:\${wxhlibdir}	  config/wx.pkg
 
-else
-# pre ghc 6.4
-cat  config/wxcore.pkg  EOF
-Package
-  { name=wxcore
-  , import_dirs=[\${wxhlibdir}/imports]
-  , library_dirs=[\${wxhlibdir}]
-  , hs_libraries=[wxcore,wxcore0,wxcore1,wxcore2]
-  , extra_libraries=[${wxclibname}-${binversion}]
-  , package_deps = [base,lang,haskell98,concurrent]
-  , extra_ld_opts=[$extraldopts]
-  }
-EOF
-
-echo  config/wx.pkg
-cat  config/wx.pkg  EOF
-Package
-  { name=wx
-  , import_dirs=[\${wxhlibdir}]
-  , library_dirs=[\${wxhlibdir}]
-  , hs_libraries=[wx]
-  , package_deps=[wxcore]
-  }
-EOF
-fi
-
 
 # set version in msc project file
 updateversion () {
hunk ./configure 1006
 # generate windows installer files.
 echo  config/wxhaskell-register.bat
 echo @SET wxclibname=${wxclibname}-${binversion}	  config/wxhaskell-register-temp
-if test $ghcold = yes; then
-  cat config/wxhaskell-register-temp bin/wxhaskell-register-template.bat | sed -e s|\${hcregister}|ghc-pkg -u -i|g -e s|\$|\\r|g  config/wxhaskell-register.bat
-else
-  echo @SET generate=yes  config/wxhaskell-register-temp
-  cat config/wxhaskell-register-temp bin/wxhaskell-register-template.bat | sed -e s|\${hcregister}|ghc-pkg update|g -e s|\$|\\r|g  config/wxhaskell-register.bat
-fi
+echo @SET generate=yes  config/wxhaskell-register-temp
+cat config/wxhaskell-register-temp bin/wxhaskell-register-template.bat | sed -e s|\${hcregister}|ghc-pkg update|g -e s|\$|\\r|g  config/wxhaskell-register.bat
 rm -f config/wxhaskell-register-temp
 
 echo  config/wxhaskell-unregister.bat
hunk ./configure 1012
 echo @SET wxclibname=${wxclibname}-${binversion}	  config/wxhaskell-unregister-temp
-if test $ghcold = yes; then
-  cat config/wxhaskell-unregister-temp bin/wxhaskell-unregister-template.bat | sed -e s|\${hcunregister}|ghc-pkg -r|g -e s|\$|\\r|g  config/wxhaskell-unregister.bat
-else
-  cat config/wxhaskell-unregister-temp bin/wxhaskell-unregister-template.bat

Re: [wxhaskell-devel] darcs patch: Bump to 0.10.3. (and 14 more)

2008-03-05 Thread Eric Kow
Hi,

 It seems that your patch break bindist.

Argh :-)

  ifdef ENABLE-PROF
  wx: wx-main-only wx-prof
  else
  wx: wx-main-only
  endif

  wx-main-only: wxcore-clean wx-main

Huh.  So that's why it kept recompiling wxcore.  Is there a good
reason for wx to be calling wxcore-clean?

  $docroot isn't in share directory on Windows platform.
  How about change following in this part?

  if test $cygpathfound; then
   docroot=$ghcroot/doc/libraries
  else
   docroot=$ghcroot/share/doc/ghc/libraries
  fi
  ;;

Fair enough.

By the way, I just noticed why you originally suggested waiting for
wxWidgets 2.8 support (because 2.6 can't build on Leopard).  Not sure
what to do about it.  Some online forums suggest compiling it with the
10.4 SDK

-- 
Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
PGP Key ID: 08AC04F9

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] darcs patch: Bump to 0.10.3. (and 17 more)

2008-03-05 Thread Eric Kow
Tue Mar  4 22:43:27 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Bump to 0.10.3.

Wed Mar  5 10:32:28 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Add vim modeline for makefile.lib.
  It's really irritating otherwise; vim thinks it's COBOL.

Wed Mar  5 11:14:15 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Don't do wildcard expansion in cp-echo.
  It seems to expand non-wildcard strings like into the empty string.
  Not sure if this breaks anything else, though.

Wed Mar  5 11:23:24 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Fix dep: wx-bindist requires wx

Wed Mar  5 11:24:01 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Withdraw haddock support for GHC  6.2.
  Portability is nice and all, but this is getting hard to maintain.

Wed Mar  5 11:26:39 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Update URL for haddock interface files.

Wed Mar  5 11:27:20 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * (configure/haddock) Set normdocroot on non-Cygwin.

Wed Mar  5 11:38:37 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Also take advantage of -split-objs for wx.

Wed Mar  5 13:48:26 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Update hdocbases to work with haddock2 and ghc 6.8.2
  I'm not sure which, but this makes it compile on my end.

Wed Mar  5 13:52:06 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Update list of developers (homepage).

Wed Mar  5 13:52:27 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Update repository info (now using darcs, not CVS). (homepage)

Wed Mar  5 13:54:36 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Remove scintilla from wishlist (homepage).
  Already implemented as far as I know.

Wed Mar  5 14:18:06 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Add bugs to the dist files.
  
  We want people to know we're aware of them, and we want them
  to get the idea of writing bug reports with demonstrators.

Wed Mar  5 14:18:41 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Add XRC as a wishlist task (homepage).

Wed Mar  5 14:20:57 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Last modified (homepage).

Wed Mar  5 17:22:00 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * More portable haddocking for Windows.
  As suggested by shelarcy.

Wed Mar  5 17:35:55 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Don't call wxcore-clean when building wx.
  Also, build wxcore in its own directory, so we don't get overlapping with wx.
  (I'm guessing that the overlap is why we called wxcore-clean)

Wed Mar  5 17:38:25 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Fix mispelling of Mads's family name.
  Sorry!


New patches:

[Bump to 0.10.3.
Eric Kow [EMAIL PROTECTED]**20080304224327] {
hunk ./configure 15
 #
 # Versioning
 #
-version=0.10.2
+version=0.10.3
 release=0
 
 #
hunk ./wx/wx.cabal 2
 Name:   wx
-Version:0.10.2
+Version:0.10.3
 License:LGPL
 License-file:   license.txt
 Author: Daan Leijen
hunk ./wxcore.cabal 2
 Name:   wxcore
-Version:0.10.2
+Version:0.10.3
 License:LGPL
 License-file:   license.txt
 Author: Daan Leijen
}
[Add vim modeline for makefile.lib.
Eric Kow [EMAIL PROTECTED]**20080305103228
 It's really irritating otherwise; vim thinks it's COBOL.
] hunk ./makefile.lib 1
+# vim:syntax=make:indentexpr=GetMakeIndent():
 #---
 #  Copyright (c) 2003 2004 Daan Leijen.
 #  This file is distributed under the wxWindows library license.
[Don't do wildcard expansion in cp-echo.
Eric Kow [EMAIL PROTECTED]**20080305111415
 It seems to expand non-wildcard strings like into the empty string.
 Not sure if this breaks anything else, though.
] hunk ./makefile.lib 215
 # use -R switch to copy symbolic links literally instead of following the links.
 # use -p to preserve file dates to avoid linker bug on macosX with .a files.
 cp-echox	=echo  copy $(1) to $(2)  $(CP) -p -R $(1) $(2)  :
-cp-echo =$(foreach file,$(wildcard $(1)),$(call cp-echox,$(file),$(2)))
+cp-echo =$(foreach file,$(1),$(call cp-echox,$(file),$(2)))
 cp-fromto	=$(call ensure-dirs-of-files,$(call relative-fromto,$(1),$(2),$(3)))  \
 		 $(foreach file,$(3),$(call cp-echo,$(file),$(dir $(call relative-fromto,$(1),$(2),$(file  ) :
 cp-bindist	=$(call cp-fromto,$(patsubst %/,%,$(1)),$(patsubst %/,%,$(2)),$(3))
[Fix dep: wx-bindist requires wx
Eric Kow [EMAIL PROTECTED]**20080305112324] hunk ./makefile 698
 	@$(call cp-srcdist, $^)
 
 # bindist
-wx-bindist: 
+wx-bindist: wx
 	@$(call cp-bindist,$(WX-OUTDIR),$(BINDIST-LIBDIR),$(WX-BINS))
 ifdef ENABLE-PROF
 	@$(call cp-bindist,$(WX-OUTDIR),$(BINDIST-LIBDIR),$(WX-PROF-BINS))
[Withdraw haddock support for GHC  6.2.
Eric Kow [EMAIL PROTECTED]**20080305112401
 Portability is nice and all, but this is getting hard to maintain.
] hunk ./configure 688
   normdocroot=`cygpath -w $docroot | sed -e 's||/|g

Re: [wxhaskell-devel] Compiling the sources with ghc-6.6.3

2008-03-05 Thread Eric Kow
  The problem is that the module imports Data.Time, which do not exist in
  GHC 6.3.3. If I uncommit the patch everything compiles. And the examples
  in samples/wx runs - the two I tried anyway.

Would it be fair to ask people to install the time package?
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/time-1.1.2.0

If not, we could conceivably have a ghc-6.6 branch without the patch.

I think 6.6 is pretty common (Ubuntu Gutsy uses it), although I
personally have given up on using the GHC that comes with my system,
and have just gone with whatever packages the GHC folks themselves
provide.

-- 
Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
PGP Key ID: 08AC04F9

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] darcs patch: Bump to 0.10.3.

2008-03-04 Thread Eric Kow
Folks,

With the recent --enable-split-objs patch, I think we have met our criteria for
releasing 0.10.x (assuming it actually works).

Shall we try to prepare some binaries for this weekend?  Volunteers for your
respective platforms?  What would also be interesting is updates to the
webpage, documentation, etc, generally tidying up.

I propose we call the next set of binaries 0.10.3rc1

 [On a side note, I think 1.0 should come after (maybe right after)
  0.11, basically, after the dust settles a bit]

Tue Mar  4 22:43:27 GMT 2008  Eric Kow [EMAIL PROTECTED]
  * Bump to 0.10.3.


New patches:

[Bump to 0.10.3.
Eric Kow [EMAIL PROTECTED]**20080304224327] {
hunk ./configure 15
 #
 # Versioning
 #
-version=0.10.2
+version=0.10.3
 release=0
 
 #
hunk ./wx/wx.cabal 2
 Name:   wx
-Version:0.10.2
+Version:0.10.3
 License:LGPL
 License-file:   license.txt
 Author: Daan Leijen
hunk ./wxcore.cabal 2
 Name:   wxcore
-Version:0.10.2
+Version:0.10.3
 License:LGPL
 License-file:   license.txt
 Author: Daan Leijen
}

Context:

[Added testcase for FontFixed problem (1906476)
Mads Lindstroem [EMAIL PROTECTED]**20080304060118] 
[Remove List Control test case (bug 1742979 is already fixed on darcs).
shelarcy [EMAIL PROTECTED]**20080228081614] 
[Fix: bugs/makefile's make clean doesn't clean Windows things.
shelarcy [EMAIL PROTECTED]**20080228082649] 
[Remove parasite configure change.
Eric Kow [EMAIL PROTECTED]**20080227134757
 Move around some variables to make more sense.
] 
[Add wx-prof target for Windows binary distribution.
shelarcy [EMAIL PROTECTED]**20080227035051] 
[Fix bugs in enable wxcore profiling.
shelarcy [EMAIL PROTECTED]**20080227034845] 
[Specify what OS BoxedCombinator bug fails on.
Eric Kow [EMAIL PROTECTED]**20080227135140] 
[Fix bugs makefile under Linux
Eric Kow [EMAIL PROTECTED]**20080227134848] 
[Add a configure option to enable wxcore profiling.
Eric Kow [EMAIL PROTECTED]**20080226215155] 
[Fix some bugs pointed out by shelarcy on wxcore-prof.
Eric Kow [EMAIL PROTECTED]**20080226211227] 
[Add wxcore-prof target for compiling profiling versions of wxcore.
Eric Kow [EMAIL PROTECTED]**20080225231635] 
[Remove support for GHC prior to 6.4.
Eric Kow [EMAIL PROTECTED]**20080225223554] 
[Change samples/contrib/Camels.hs encoding to UTF-8.
shelarcy [EMAIL PROTECTED]**20080225142551] 
[Fix: docdist and bindist's wx documents don't link wxcore documents.
shelarcy [EMAIL PROTECTED]**20080225141105] 
[Fix: configure doesn't find GHC's Haddock document directory on GHC 6.8.x or higher.
shelarcy [EMAIL PROTECTED]**20080225135754] 
[Fix bug pointed out by shelarcy in --enable-mediactrl flag.
Eric Kow [EMAIL PROTECTED]**20080225110340
 It was setting the opengl flag instead.
] 
[Maintainer is wxhaskell-devel not wxhaskell-users.
Eric Kow [EMAIL PROTECTED]**20080225003139] 
[Add a test case for start  start (1610984)
Eric Kow [EMAIL PROTECTED]**20080225001328] 
[Implement an --enable-mediactrl configure flag.
Eric Kow [EMAIL PROTECTED]**20080225000109
 with mediactrl disabled by default.
] 
[Add a diagram of wxhaskell components.
Eric Kow [EMAIL PROTECTED]**20080224185557] 
[Eliminate mandatory --with-opengl on Linux.
Eric Kow [EMAIL PROTECTED]**20080219171912
 
 If wxWidgets is compiled with opengl, its header files
  #define wxUSE_GLCANVAS 1
 
 (See, for example, /usr/lib/wx/include/gtk2-unicode-release-2.6/wx/setup.h on
 Ubuntu Gutsy Gibbon), which causes us to compile glcanvas as if we were going
 to link against the wxWidgets opengl library.  But since we are not linking
 against that, the user gets errors compiling their applications.
 
 Here we introduce an extra preprocessor flag to really insist that no, despite
 what wxWidgets says, we don't want to use GLCANVAS.
] 
[Fix: wxPrint**, wxPreviveFrame** and other function causes link error by undefined reference on Windows (Visual Studio).
shelarcy [EMAIL PROTECTED]**20080219034144] 
[(OS X) Skip intermediate step of compiling master.o (revisited!)
Eric Kow [EMAIL PROTECTED]**20080218225200
 
 I'm going to quote some mails from Malcolm Wallace on wxhaskel-users in early
 2008-02.
 
 First message:
  I'm attempting to install wxHaskell from the darcs repo at
  darcs.haskell.org, under ghc-6.6. on MacOS 10.4.11, with
  wxMac-2.6.4.
 
  The compilation of wxHaskell seems to proceed OK until the link
  stage:
 
  g++ -r -keep_private_externs -nostdlib -o out/wxc/master.o 
 
  which failed because there is no -lstdc++-static on my machine.  I
  found the place in the makefile to replace -lstdc++-static with
  the dynamic -lstdc++, and compilation proceeds further, but not
  much:
 
   g++ -dynamiclib -install_name\
  /usr/local/wxhaskell/lib/libwxc-mac2.6.4-0.10.1.dylib