Bug 6302 - Request for roadmap, a FAST gps mapping/tracking package
Summary: Request for roadmap, a FAST gps mapping/tracking package
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 2
Hardware: i586 Linux
Priority: Normal enhancement
Target Milestone: Mageia 3
Assignee: Johnny A. Solbu
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-03 04:36 CEST by Greg McGee
Modified: 2012-11-11 00:10 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Greg McGee 2012-06-03 04:36:52 CEST
Description of problem:
Roadmap is not part of Mageia.(any version)
The MDV2010 RPM works fine installed with a --force.

Roadmap 1.21 works FINE with gpsd3x, in spite of the (old) documentation.
The RPM package from mdv 2010.0 obviously complains about missing deps, but the binaries work fine, indicating that it really only needs a fresh build with updated deps.

The current svn is ~1.53, and also builds/works fine with no weird dependencies.
(typed make, needed to install expat-devel+ its deps)

As either version uses gpslib, the version of gpsd is seamless.
(gpsd is up to v3.5 fwiw, current version 3.2.37 in repos is a little long in the tooth)

Version-Release number of selected component (if applicable):

1.21 works.
latest svn also works, and has many years of bugfixes.
(I downloaded the trunck tarball while browsing the svn repo, the proper svn command on sf baffled me ;-) )

Needs to have it's own compiled US maps available easily, these are (IIRC) PD, derived from census mapping data.

This is MUCH faster than foxtrotgps, esp on a slow machine with limited graphics... all the maps are meant to be stored locally. You do not have to unpack the ones you do not need, and no network connection is required.

(example-- I unzip TX,OK, and LA maps, the rest stay gzipped in case they are ever needed)

flite should be a required.(for voice announcements)

Thank you!
Comment 1 Greg McGee 2012-06-03 06:36:32 CEST
Minor detail missed on my part, I had libgpsd1.8 installed as well as the roadmap RPM from 2010.0.

The 2010.0 RPM binary could still talk to gpsd3x via the older library.
(would need recompiled to use libgpsd2)

The svn version builds out of the box as is on Mageia 2, so I'm probably nuking rubble, but figured I'd mention it.
Comment 2 Greg McGee 2012-06-04 14:28:44 CEST
I eventually managed to cobble a working RPM package together using the old Mandriva specfile etc as a template.

Generated additional patch only changing the default preferences to use gpsd3://localhost to (match current Mageia 2 gpsd), and updating the copyright line to current year, still includes the Mandriva patch to fix the paths, which have not changed.

Works well on my system, still trying to get to researching how to submit, dotting all the "i"s etc. (followed the fine how-to)

The debug target seems to be trying to pull in 2 local files from the devs harddrive, it builds but is not quite right.

It's currently the (default) GTK2 build, but QT4 another of the many current targets... I have yet to quite grok how to build qt4 target correctly, still working it as time permits, the build seems to lose track of where to look for the gtk.h include when building for QT4, seems odd that it even cares.

I also need to figure out how to generate a data RPM.. The maps are pretty large, even gzipped, and should probably best be kept on the users home partition, and linked to one of the many default locations allowed by the code. Curious if that is allowed?

They can also be kept in the users ~roadmap directory, on a single user system that is fine, but also not known if that is allowed (or even easily done) as an install location.
Comment 3 Johnny A. Solbu 2012-07-20 14:40:19 CEST
It would seem you have done some work to package it for mga2. If you're not a packager yourself, attach the src.rpm or link to it, and I'll look at it and submit it to Cauldron, possibly with some modifications.

Status: NEW => ASSIGNED
CC: (none) => johnny
Assignee: bugsquad => johnny

Comment 4 Greg McGee 2012-07-20 16:38:40 CEST
I'll check today if the git repo has been updated and rebuild, will send you the SRPM if your email can deal w/large attachments, if not I have some free webspace.
Comment 5 Greg McGee 2012-07-20 16:39:54 CEST
The maps also need to be packaged, doing that from scratch baffles me.
Comment 6 Johnny A. Solbu 2012-07-20 16:45:23 CEST
My mail server have a 2MB limit on how large email's can be, so please link to it.
Comment 7 Greg McGee 2012-07-20 19:06:04 CEST
SRPM at http://myweb.cableone.net/gjmcgee/roadmap-1.2.1+svn20120603-1.mga2.src.rpm

There is a QT4 build target, but i couldn't get it to play, so the build is for the default gtk target.

This does not include the map files, which are ~huge.
Comment 8 Johnny A. Solbu 2012-07-20 23:58:03 CEST
I see you've done almost the same on the svn version, as I've done on the stable 1.2.1 version. So I'm cherry picking your patch to use gpsd3:// and not gpsd2://. The svn-version doesn't build here yet. as we need to import txt2tags first, which I'll do later tonight.

So unless there are some serious bugs that are fixed in the git/svn version, we'll stay on the stable release for now, which I'll submit to Cauldron later tonight.
Comment 9 Johnny A. Solbu 2012-07-21 01:17:12 CEST
Pushed to Cauldron.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED
Target Milestone: --- => Mageia 3

Comment 10 Greg McGee 2012-11-10 08:34:37 CET
Installed Mageia3-rc2 recently, just tried the package, roadmap from this build  does not recognise gpsd3://localhost (the gpsd3 is the issue) and pops up an error saying so on initialization.

Dragged back the src rpm i posted previously and it builds fine on mga3 ...need to add flite and libgpsd as and a few other packages as build deps, txt2tags is now in the repos.

Also works peachy, so a patch related to grokking gpsd3 got missed somewhere.

Should I file as a bug against cauldron or kick this?

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 11 Johnny A. Solbu 2012-11-10 08:51:38 CET
File a bug, since it's a Cauldron specific bug.
Comment 12 Johnny A. Solbu 2012-11-10 08:52:36 CET
And assign the bug to me. :-)=
Comment 13 Greg McGee 2012-11-10 10:16:27 CET
Installed Mageia3-rc2 recently, just tried the package, roadmap from this build  does not recognise gpsd3://localhost (the gpsd3 is the issue) and pops up an error saying so on initialization.

Dragged back the src rpm i posted previously and it builds fine on mga3 ...need to add flite and libgpsd as and a few other packages as build deps, txt2tags is now in the repos.

Also works peachy, so a patch related to grokking gpsd3 got missed somewhere.

Should I file as a bug against cauldron or kick this?
Comment 14 Greg McGee 2012-11-10 10:17:18 CET
OOps. Ignore repeat, should have hit refresh.

You're fast ;-)
Comment 15 Manuel Hiebel 2012-11-11 00:10:06 CET
reclose

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.