Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380883 - sci-geosciences/gpsd-3.3: version bump
Summary: sci-geosciences/gpsd-3.3: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 367571
  Show dependency tree
 
Reported: 2011-08-27 19:49 UTC by Andreas K. Hüttel
Modified: 2011-11-20 06:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gpsd-2.96-r1_to_3.1.diff (gpsd-2.96-r1_to_3.1.diff,2.65 KB, patch)
2011-09-09 16:42 UTC, Ed Wildgoose
Details | Diff
gpsd-3.1.ebuild (gpsd-3.1.ebuild,2.45 KB, text/plain)
2011-09-09 16:43 UTC, Ed Wildgoose
Details
gpsd-3.2.ebuild (gpsd-3.2.ebuild.sent_upstream,2.36 KB, text/plain)
2011-10-26 16:37 UTC, Ed Wildgoose
Details
gpsd-3.3.ebuild (gpsd-3.3.ebuild,2.58 KB, text/plain)
2011-11-18 05:00 UTC, SpanKY
Details
gpsd-3.3.tar (gpsd-3.3.tar,3.42 KB, application/octet-stream)
2011-11-19 00:38 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2011-08-27 19:49:52 UTC
gpsd-3.0 is out (and the fun thing is they migrated the build system to scons)
cheers, andreas
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2011-08-31 20:26:54 UTC
meanwhile they released 3.1 :)
Comment 2 Ed Wildgoose 2011-09-08 16:16:11 UTC
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?
Comment 3 Ed Wildgoose 2011-09-09 16:42:55 UTC
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
Comment 4 Ed Wildgoose 2011-09-09 16:43:54 UTC
Created attachment 285987 [details]
gpsd-3.1.ebuild

Full ebuild
Comment 5 Andreas Sturmlechner gentoo-dev 2011-10-23 20:12:44 UTC
thx, built successfully.
Comment 6 Ed Wildgoose 2011-10-26 16:37:17 UTC
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.
Comment 7 SpanKY gentoo-dev 2011-11-18 05:00:11 UTC
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
Comment 8 SpanKY gentoo-dev 2011-11-19 00:38:08 UTC
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.
Comment 9 SpanKY gentoo-dev 2011-11-20 06:58:49 UTC
now in the tree.  if you guys hit issues, file new bugs please.