www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - The new build script written in D

reply kntroh <knt.roh gmail.com> writes:
I thought, ruby is should be no need to building of DWT2.
So I ported DWT2 rakefile and some of functions of the rake to D script.
I have tested this script at Windows 7 and Ubuntu, it seems to be working well.
https://github.com/kntroh/dwt/tree/newBuildScript

But, this script doesn't work on D1 with Tango.

If there is no problem, I will send a pull request.
Aug 31 2012
parent reply Jacob Carlborg <doob me.com> writes:
On 2012-08-31 15:19, kntroh wrote:
 I thought, ruby is should be no need to building of DWT2.
 So I ported DWT2 rakefile and some of functions of the rake to D script.
 I have tested this script at Windows 7 and Ubuntu, it seems to be working well.
 https://github.com/kntroh/dwt/tree/newBuildScript

 But, this script doesn't work on D1 with Tango.

 If there is no problem, I will send a pull request.
Cool. But I see no reason why we can't keep the rakefile and moving the rake specific instructions to a D1 section in the documentation. I would really like to keep it working on D1 until I can merge the Mac OS X port. -- /Jacob Carlborg
Aug 31 2012
parent reply kntroh <knt.roh gmail.com> writes:
I understand. I was premature.
I will recover D1 section in the documentation and rakefile.

When will Mac porting be?
I haven't Mac. So I can't help to that work.
Aug 31 2012
parent reply Jacob Carlborg <doob me.com> writes:
On 2012-08-31 16:09, kntroh wrote:
 I understand. I was premature.
 I will recover D1 section in the documentation and rakefile.

 When will Mac porting be?
 I haven't Mac. So I can't help to that work.
I'm working on it currently. It's just a lot of work. -- /Jacob Carlborg
Aug 31 2012
parent reply kntroh <knt.roh gmail.com> writes:
== Quote from Jacob Carlborg (doob me.com)'s article
 On 2012-08-31 16:09, kntroh wrote:
 I understand. I was premature.
 I will recover D1 section in the documentation and rakefile.

 When will Mac porting be?
 I haven't Mac. So I can't help to that work.
I'm working on it currently. It's just a lot of work.
I regret that it can't help. I recovered D1 section and rakefile. Will send pull request later.
Aug 31 2012
next sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2012-08-31 16:35, kntroh wrote:

 I regret that it can't help.
What about a virtual machine?
 I recovered D1 section and rakefile.
 Will send pull request later.
Thanks. I merged it now. In general I see no point breaking the D1 support on purpose. So this is the plan I have: I'm going to finish the port in the current (local) repository I have. This is still only D1. Then I'm going to integrate it with the repositories we have at github. After that is working (still only D1) I'm going to port it to D2. At this stage we can drop the support for D1. We can just put it in a new branch and leave it there. Again, thanks for your contributions. -- /Jacob Carlborg
Aug 31 2012
parent reply kntroh <knt.roh gmail.com> writes:
== Quote from Jacob Carlborg (doob me.com)'s article
 On 2012-08-31 16:35, kntroh wrote:
 I regret that it can't help.
What about a virtual machine?
It is possible to specify the Windows as guest OS in MacOS. But, seems it can't reversal. There is a problem on an user agreement of MacOS. We can't install MacOS to non-Macintosh machine.
 I recovered D1 section and rakefile.
 Will send pull request later.
Thanks. I merged it now. In general I see no point breaking the D1 support on purpose. So this is the plan I have: I'm going to finish the port in the current (local) repository I have. This is still only D1. Then I'm going to integrate it with the repositories we have at github. After that is working (still only D1) I'm going to port it to D2. At this stage we can drop the support for D1. We can just put it in a new branch and leave it there. Again, thanks for your contributions.
I understand. I'm very grateful to your work.
Aug 31 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-09-01 06:47, kntroh wrote:

 It is possible to specify the Windows as guest OS in MacOS.
 But, seems it can't reversal. There is a problem on an user agreement of MacOS.
 We can't install MacOS to non-Macintosh machine.
Yeah, that might be a problem. Just for the record, it's technically possible. -- /Jacob Carlborg
Sep 01 2012
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2012-08-31 16:35, kntroh wrote:

 I regret that it can't help.
Actually, I think it should be possible to work on the Mac OS X port until link time. Although I don't know how fun that will be. Let me know what you think and I can upload the repository I have and help you get started. -- /Jacob Carlborg
Sep 02 2012
parent reply kntroh <knt.roh gmail.com> writes:
== Quote from Jacob Carlborg (doob me.com)'s article
 On 2012-08-31 16:35, kntroh wrote:
 I regret that it can't help.
Actually, I think it should be possible to work on the Mac OS X port until link time. Although I don't know how fun that will be. Let me know what you think and I can upload the repository I have and help you get started.
I think it's nice idea. I may be able to do work for DWT2-Mac, and we may be get help of somebody has a Mac. I guess, many D users want a GUI Library for Mac.
Sep 03 2012
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2012-09-03 13:00, kntroh wrote:

 I think it's nice idea. I may be able to do work for DWT2-Mac, and we may be
get
 help of somebody has a Mac.
 I guess, many D users want a GUI Library for Mac.
I'll upload the repository to night and write down some instructions to get started with. I do have a Mac :) -- /Jacob Carlborg
Sep 03 2012
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2012-09-03 13:00, kntroh wrote:

 I think it's nice idea. I may be able to do work for DWT2-Mac, and we may be
get
 help of somebody has a Mac.
 I guess, many D users want a GUI Library for Mac.
I've uploaded a new repository for DWT Mac OS X: https://github.com/d-widget-toolkit/dwt-mac There are some instructions and porting info in the readme. Remember that is should only be D1, to begin with. I think we should use DMD 1.072, I know that version is working with Tango. You can easily install it with DVM, if you're not already using it: https://bitbucket.org/doob/dvm The progress I've done so far is I've manually looked through all modules, in lexical order, up until and including dwt.internal.image. I skipped all browser related packages. I have not started to compile yet. I have previously worked on this so you'll find that most files are already somewhat ported. But now I'm looking through all the files again. How about you starting in the other end, with the "widgets" package? Let me know if you have any questions or need any help. -- /Jacob Carlborg
Sep 03 2012
parent reply kntroh <knt.roh gmail.com> writes:
== Quote from Jacob Carlborg (doob me.com)'s article
 On 2012-09-03 13:00, kntroh wrote:
 I think it's nice idea. I may be able to do work for DWT2-Mac, and we may be
get
 help of somebody has a Mac.
 I guess, many D users want a GUI Library for Mac.
I've uploaded a new repository for DWT Mac OS X: https://github.com/d-widget-toolkit/dwt-mac
Thanks. I forked it. I consider what kind of work can be performed, after this. Link is rightly impossible, but fortunately `version(darwin)` is few in DWT-Mac, so compile may be possible in my Win and Linux environment. After decide to kind of work, I'll write code and send a pull request.
 Let me know if you have any questions or need any help.
The first goal is to be able to use the DWT-Mac by dmd 1.072 with Tango (in trunk)?
Sep 04 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-09-04 12:49, kntroh wrote:

 Thanks. I forked it.
 I consider what kind of work can be performed, after this.
 Link is rightly impossible, but fortunately `version(darwin)` is few in
DWT-Mac,
 so compile may be possible in my Win and Linux environment.
 After decide to kind of work, I'll write code and send a pull request.
I don't remember if there are any "version(darwin)" at all in DWT-Mac. I don't know which platform you prefer but I would guess you will have most luck with Linux. It's possible that DWT-Mac imports some Posix modules from Tango.
 Let me know if you have any questions or need any help.
The first goal is to be able to use the DWT-Mac by dmd 1.072 with Tango (in trunk)?
Yes, exactly. -- /Jacob Carlborg
Sep 04 2012