Re: [Planner Dev] Planner Win32 - Cygwin edition
- From: Jani Tiainen <redetin luukku com>
- To: planner-dev lists imendio com
- Subject: Re: [Planner Dev] Planner Win32 - Cygwin edition
- Date: Wed, 01 Dec 2004 10:04:51 +0200
Richard Hult kirjoitti:
Jani Tiainen wrote:
Jani Tiainen kirjoitti:
Well, finally got it working!
Nice! :)
The patch looks pretty nice, I was expecting more makefile hacks and
#ifdefs to get things working.
I have a few comments/questions:
It would be nice if we could put the win32 egg-recent parts in a
separate file just to make it easier to sync it (we copy and paste it
from libegg when there are changes).
Well in theory yes, but I didn't see the point since it's only one (or
was it two?) function that needed to be replaced and follows way it is
done in other cygwin ports.
The added dependencies in the makefile, shouldn't libtool be able to
figure that out itself? The dependency on the executable of course not,
but maybe the dependency on the convenience libraries?
Well it does not in windoze platform, which has restriction to resolve
all symbols at linking stage. You can't do things which are normal in
*nix - you could have bunch of symbols already loaded in local symbol
table and just load another module that resolves symbols from local
table. Windoze doesn't have this feature - every directly needed library
must be explicit defined for Windoze and it's PITA when porting *nix stuff.
Being lazy, I only added "general" variable to have all possibly needed
libs/flags etc in win32_*
Needs Cygwin, Cygwin/X and loads of patience.
This is the weak point I guess. It would be really great to get rid of
the X dependency and use the win32 backend for GTK+ instead. I don't
think we should commit this on HEAD since having to use an X server
reduces the use pretty much in my opinion. We could put it in a branch
to keep track of the patch and make it easier to work on it.
Do you have any idea if it's possible to do a mix and match here and use
cygwin for some parts but not have to use X?
Well yes, but again, there isn't non-X version of GTK package (which is
the key here) in official cygwin NET release. It can be compiled tough
without need of X.... (I've done it once =)
More or less another bitch thing is that Cygwin uses strict GPL license,
that means I can't really create nice setup package to have only needed
libs without distributing all dependant sources - and that's something
what I don't want to do.
I still think that long-term it's more worthwhile to continue working on
abstracting the parts in Planner that depend on X or unix style
environments and use the Windows equivalence instead on Windows (like
the gconf abstraction Micke did for example).
Well there is very little abstraction needed... More problems is to have
tools to build planner without all *nix stylish stuff...
--
Jani Tiainen
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]