gpsd-3.0 is out (and the fun thing is they migrated the build system to scons) cheers, andreas
meanwhile they released 3.1 :)
iinherit scons-utils and change the instances of use_enable to use_scons. Rename src_configure into src_compile and add something like "escons $myopts". This gets you roughly most of the way there. However, I'm having problems trying to figure out how to get it to install into a prefix directory? Adding "prefix=${D}" on the make install appears to do the right thing, but there is a sandbox violation - unsure if this is a problem with the upstream build environment at this point?
Created attachment 285985 [details, diff] gpsd-2.96-r1_to_3.1.diff Perhaps someone could test this ebuild out. I will repost it as a single file also, unsure if it's best to post a diff or full ebuild? The changes are mainly to use the new scons build system and I have used the scons-utils eclass to do most of the heavy lifting. I haven't tested corner cases with all the eflags for various device options, someone please let me know if I have excess/mis-spelled flags? Also there are a couple of bugs in gpsd3.1, these should get knocked out in the next release, and I have put appropriate pieces into the ebuild that it should work before and after. In particular: - Strip is currently hacked to stop it stripping, but next release should support strip option (and ebuild already sets that). - Some complaints about "implicit declaration" are already fixed in upstream - insecure rpaths complaint is being discussed on the mailing list
Created attachment 285987 [details] gpsd-3.1.ebuild Full ebuild
thx, built successfully.
Created attachment 290899 [details] gpsd-3.2.ebuild New ebuild for gpsd3.2. Fixes: build needing strip Requires: chrpath (but still causes Q&A warnings...) Note new download URLs. All old gpsd ebuilds will need updating.
Created attachment 292965 [details] gpsd-3.3.ebuild i took Ed's work and cleaned it up/expanded things for 3.3 this is missing proper python.eclass integration though ... we should be using the eclass rather than letting the scons code attempt to build stuff for us
Created attachment 293051 [details] gpsd-3.3.tar this should support USE=python now (among other things). if people could test it out, that'd be great.
now in the tree. if you guys hit issues, file new bugs please.