gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] cmake:


From: Bernd Zeimetz
Subject: Re: [gpsd-dev] cmake:
Date: Sun, 25 Jan 2015 12:13:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Icedove/34.0

On 01/23/2015 09:36 AM, Matt wrote:
> At risk of adding fuel to the flames, use of scons is also a problem when 
> trying
> to compile for mingw, as porting scons and all of its dependencies to mingw
> appears to be a mammoth task, from which I'd never return to work on gpsd.
> 
> In the past I just wrote a Makefile.mingw . It worked fine, it ended up being
> clean and simple, and it was much, much easier than any other way I can see to
> create a mingw executable.
> 
> Bernd, why couldn't you just create a Makefile and use it instead of scons if
> you wanted to?

Sure, but even that would be more work to maintain than to use cmake (and maybe
move things around so it would be easier to handle all bits and pieces).
Although at the end I could imagine that it would be less complicated than that
scons thing.

% wc -l SConstruct
1997 SConstruct

Nobody can tell me that debugging and enhancing this thing is still possible in
a useful way.


> If it's OK to modify upstream source before packaging and distributing the
> resultant binaries, surely it's even more OK to change the build system.
> Does your choice of build system have to be the same as upstream's for some 
> reason?

You can do whatever you think is the right thing to do, as long as your
debian/rules file (which is a plain makefile) follows some rules (there are some
required targets including a list of things they need to do).

> Please forgive me if I am ignorant of Debian policy on this matter.

no worries :)


> On 15/01/15 01:34, Eric S. Raymond wrote:
>> Bernd Zeimetz <address@hidden>:
>> Separately, I wish I had only wasted hours of my life on autotools
>> since 1991.  It has to have run into *weeks* of my life by now.  That
>> felt like months.
>>
>> I'm sorry you had a bad initial experience with scons. Can you identify
>> specific design decisions or missing features that give you problems?
> 

I'd not call it an initial experience, I'd call it my last experience.
If I find the time I'll look trough the irc history and mails to remember the
things I stumbled upon. No proper support for building libraries is the first of
all issues. http://scons.tigris.org/issues/show_bug.cgi?id=2869 is still open...

-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F



reply via email to

[Prev in Thread] Current Thread [Next in Thread]