View previous topic :: View next topic |
Author |
Message |
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Fri May 25, 2007 7:38 pm Post subject: Tango support |
|
|
I just commited to the svn repository a version of gtkD that compiles with the tango lib
(http://www.dsource.org/projects/tango)
A simple hello world program compiles and runs.
limitations:
- tested on linux only (for now)
- Style methods removed from Widget as they failed to compile
- var arg methods removed from TextBuffer as they failed to compile
to compile link with libtango and the libphobos from tango
and use the version tags "tango" and "Posix"(linux)
next step is to create a tango version of gtkDTests
Ant |
|
Back to top |
|
|
kaarna
Joined: 03 Apr 2006 Posts: 92 Location: Finland
|
Posted: Sat May 26, 2007 5:55 am Post subject: |
|
|
Great great great!
Good that you got this going. I never had the time to make my Tangobos based hack working with automatic code generation...
I'll see what I can do with the gstreamerD side of things... But that will have to wait until friday next week, as I've got one work related thing to do.
I think I'll also add the dsss.conf files then, if you don't oppose to it. They are just small text files, and they'll ease the installation of gtkD alot, I think, atleast for people who use DSSS. And they won't affect the compd stuff either.
Tango support means that my app might have a release coming sometime in the end of next month... Hopefully. |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sat May 26, 2007 9:34 am Post subject: |
|
|
satelliittipupu wrote: | Great great great! |
:)
satelliittipupu wrote: | I think I'll also add the dsss.conf files |
Please do. I just didn't have the time to look at it.
But some work is still to be done - gtkDTest still doesn't compile.
Because the impact of the runtime lib is very small on gtkD the support
for tango on the wrapper is just a few hardcoded imports change...
(It's not that good, just enough)
Ant |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sun May 27, 2007 10:28 pm Post subject: Re: Tango support |
|
|
Ant wrote: | I just commited to the svn repository a version of gtkD that compiles with the tango lib
(http://www.dsource.org/projects/tango)
A simple hello world program compiles and runs.
limitations:
- tested on linux only (for now)
- Style methods removed from Widget as they failed to compile
- var arg methods removed from TextBuffer as they failed to compile
to compile link with libtango and the libphobos from tango
and use the version tags "tango" and "Posix"(linux)
next step is to create a tango version of gtkDTests
Ant |
gtkDTests now compiles and runs with the gtkD tango version.
didn't fix the problems so there is no text on the Gtk+ text demo.
also the thread test does nothing.
(all this on the svn repository only)
Ant |
|
Back to top |
|
|
pmfp
Joined: 25 May 2004 Posts: 7 Location: Sweden
|
Posted: Thu May 31, 2007 11:32 am Post subject: |
|
|
That's great ant! dsss net install gtkd -version=tango -version=Posix works
Just one little thing though, according to the tango docs, the dmd.conf value is -version=Tango, i.e. with a capital T. I suppose it would be good to be consistent with them.
Now you just gotta fix the signaling.
Seriously, this looks good. Am going to play with it now... |
|
Back to top |
|
|
GrahamStJack
Joined: 04 Jun 2007 Posts: 4 Location: Australia
|
Posted: Wed Jun 06, 2007 7:30 pm Post subject: |
|
|
Hi - I have been hanging out to use gtkD for a while, and with these recent changes I am up and running at last! The minefield of installation tricks was too much for me before.
Thanks to everyone! |
|
Back to top |
|
|
kaarna
Joined: 03 Apr 2006 Posts: 92 Location: Finland
|
Posted: Fri Jun 08, 2007 4:10 pm Post subject: |
|
|
pmfp wrote: |
-version=Tango, i.e. with a capital T. I suppose it would be good to be consistent with them.
|
Yes. I too think it should be changed to capital T. For example dsss will automatically work if it's version(Tango). (I guess it might take it from dmd.conf, but hey, I don't know much about compiling... )
Also, I'm puzzled at how the dsss net install works?? I thought it required a dsss.conf file. I guess it's a bit more magical than I thought. (Never used dsss net install.)
I'm trying to get it compile now. |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Fri Jun 08, 2007 4:52 pm Post subject: |
|
|
satelliittipupu wrote: | pmfp wrote: |
-version=Tango, i.e. with a capital T. I suppose it would be good to be consistent with them.
|
Yes. I too think it should be changed to capital T.
...
|
Ok, I'll change it later today.
(where is the standard on the Tango pages?)
Ant |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sat Jun 09, 2007 12:20 am Post subject: |
|
|
Ant wrote: | satelliittipupu wrote: | pmfp wrote: |
-version=Tango, i.e. with a capital T. I suppose it would be good to be consistent with them.
|
Yes. I too think it should be changed to capital T.
...
|
Ok, I'll change it later today.
(where is the standard on the Tango pages?)
Ant |
ok, tomorrow... :oops: |
|
Back to top |
|
|
kaarna
Joined: 03 Apr 2006 Posts: 92 Location: Finland
|
|
Back to top |
|
|
|