[Top][All Lists]

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

[gpsd-dev] New 'minimal' scons option

From: Eric S. Raymond
Subject: [gpsd-dev] New 'minimal' scons option
Date: Sat, 6 Sep 2014 07:09:00 -0400 (EDT)

In recent mail, Samuel Cuella wrote:

> scons -j3 prefix=/usr libdir=$prefix/lib udevdir=/lib/udev
> chrpath=False gpsd_user=gpsd gpsd_group=uucp strip=False
> python=False bluez=0 libgpsmm=0 clientdebug=0 dbus_export=0 ipv6=0
> timing=0 ncurses=0 ntpshm=0 pps=0 shm_export=0 socket_export=1
> systemd=0 libQgpsmm=0 usb=0 aivdm=0 ashtech=0 earthmate=0 evermore=0
> fury=0 fv18=0 garmin=0 garmintxt=0 geostar=0 gpsclock=0 itrax=0
> mtk3301=0 navcom=0 nmea=1 nmea2000=0 ntrip=0 oceanserver=0 oncore=0
> rtcm104v2=0 rtcm104v3=0 sirf=1 superstar2=0 tnt=0 tripmate=0 tsip=0
> ubx=0 manbuild=0

and I replied "That is *nasty*."

There is now a 'minimal' option that sets all boolean feature options
defaulted to True to False instead.  You can srill set them True from
the command line. Thus, the above monstrosity is directly replaced by

scons minimal=yes nmea0183=yes sirf=yes socket_export=yes
              control_socket=True ipv6=True reconfigure=True
              shm_export=True usb=True bluez=True ntpshm=True pps=True
              clientdebug=True oldstyle=True netfeed=True
              passthrough=True cheapfloats=True python=True
              nanbuild-True leapfetch=True shared=True

which I'm guessing Samuel could actually trim to this:

scons minimal=yes nmea0183=yes sirf=yes socket_export=yes
              control_socket=True ipv6=True reconfigure=True
              cheapfloats=True shared=True

(Yes, I changed 'nmea' to 'nmea0183, because of NMEA2000.  I also
inverted 'strip; to 'nostrip' so that normally won't need to be specified.)

Hmmm...maybe cheapfloats needs to be inverted so it can default on.

Samuel, please test. I want to capture your actual build line in build.txt
                <a href="";>Eric S. Raymond</a>

Where rights secured by the Constitution are involved, there can be no
rule making or legislation which would abrogate them.
        -- Miranda vs. Arizona, 384 US 436 p. 491

reply via email to

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