[Xastir-dev] [Patch] Fix for gpsman shapefile output
Tom Russo
russo at bogodyn.org
Mon Nov 5 16:35:56 EST 2007
On Thu, Oct 25, 2007 at 06:33:46AM -0500, we recorded a bogon-computron collision of the <joe at lightningflash.net> flavor, containing:
> J. Lance Cotton wrote:
>> I found after updating to Ubuntu 7.10 (gutsy-gibbon) that the gpsman
>> didn't
>> use the same output format for shapefiles. Attached is a patch.
>> I haven't tested to see if this command structure applies to older
>> versions
>> of gpsman.
>
> The patch sent earlier required gpsman >= 6.1, according to the gpsman
> author.
I find that my newly upgraded BSD system has the same issue --- it uses
gpsman 6.3.2
Fortunately, gpsman does have a command line option to print the version string:
gpsman show version
Unfortunately, like gv, using that option requires one to have an X display
running, and worse, it pops up a window for a second while it's running. The
end result, though, is that if you run that command it prints out the version
number to stdout. But only if you can open X client windows from your command
line.
We have some hacks in configure.ac and its macros to deal with that annoyance
for gv, so we could kludge something for gpsman, too. We could then set a
compiler macro in an analogous manner.
I have NO time to do xastir work this month (maybe not even the rest of the
year), so I can't fix configure to do this any time soon. If someone were to
have time, the place to look for the way to solve this problem would be to
look at how gv is handled in configure.ac and acinclude.m4, then do something
similar.
Otherwise, one just has to apply the patch by hand if one has gpsman version
>= 6.1
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all you get is
one trick, rational thinking, but when you're good and crazy, oooh, oooh,
oooh, the sky is the limit!" --- The Tick
More information about the Xastir-dev
mailing list