Browse Source

[svn-inject] Applying Debian modifications to trunk

git-svn-id: https://ssl.recluse.de/svn/debian/trunk/packages/trunk/gpsd@262 9c2cd6cd-4e54-406b-9ece-f07a8ab7d216
tags/debian/2.37-6
bzed 13 years ago
parent
commit
a8c7609d3a
43 changed files with 2208 additions and 0 deletions
  1. +344
    -0
      debian/changelog
  2. +1
    -0
      debian/compat
  3. +51
    -0
      debian/control
  4. +49
    -0
      debian/copyright
  5. +3
    -0
      debian/gpsd-clients.dirs
  6. +2
    -0
      debian/gpsd-clients.docs
  7. +4
    -0
      debian/gpsd-clients.menu
  8. +40
    -0
      debian/gpsd.README.Debian
  9. +34
    -0
      debian/gpsd.config
  10. +4
    -0
      debian/gpsd.dirs
  11. +4
    -0
      debian/gpsd.docs
  12. +9
    -0
      debian/gpsd.hotplug.wrapper
  13. +75
    -0
      debian/gpsd.init
  14. +6
    -0
      debian/gpsd.lintian-overrides
  15. +39
    -0
      debian/gpsd.postinst
  16. +31
    -0
      debian/gpsd.postrm
  17. +36
    -0
      debian/gpsd.preinst
  18. +18
    -0
      debian/gpsd.rules
  19. +21
    -0
      debian/gpsd.templates
  20. +9
    -0
      debian/patches/00list
  21. +35
    -0
      debian/patches/04_python_noexec.dpatch
  22. +29
    -0
      debian/patches/08_default_units.dpatch
  23. +206
    -0
      debian/patches/17_gpsd_manpage_section.dpatch
  24. +19
    -0
      debian/patches/18_gpsd.hotplug_location.dpatch
  25. +19
    -0
      debian/patches/19_gpsfake_fuser.dpatch
  26. +19
    -0
      debian/patches/20_gpsfake_manpage.dpatch
  27. +19
    -0
      debian/patches/21_autobaud_delay.dpatch
  28. +40
    -0
      debian/patches/22_manpage_linebreak.dpatch
  29. +76
    -0
      debian/patches/23_hotplug_racecond.dpatch
  30. +1
    -0
      debian/po/POTFILES.in
  31. +75
    -0
      debian/po/ca.po
  32. +80
    -0
      debian/po/cs.po
  33. +73
    -0
      debian/po/de.po
  34. +79
    -0
      debian/po/fr.po
  35. +72
    -0
      debian/po/gl.po
  36. +99
    -0
      debian/po/nb.po
  37. +1
    -0
      debian/po/output
  38. +73
    -0
      debian/po/pt.po
  39. +80
    -0
      debian/po/sv.po
  40. +74
    -0
      debian/po/templates.pot
  41. +93
    -0
      debian/po/vi.po
  42. +7
    -0
      debian/remove_rpath.sh
  43. +159
    -0
      debian/rules

+ 344
- 0
debian/changelog View File

@@ -0,0 +1,344 @@
gpsd (2.33-5) unstable; urgency=low

* debian/control:
- add build-dependency on autotools-dev

[ Christian Perrier ]
* debconf templates:
- all PO files converted to UTF-8
- add German translation, thanks to Alwin Meschede (closes: #400511)
- add Catalan translation, thanks to Jorda Polo (closes: #410213)
- add Galician translation, thanks to Jacobo Tarrio (closes: #412241)
- add Portuguese translation, thanks to Miguel Figueiredo (closes: #412257)

-- Tilman Koschnick <til@subnetz.org> Sun, 25 Feb 2007 21:18:11 +0100

gpsd (2.33-4) unstable; urgency=low

* debian/patches/:
- add 23_hotplug_racecond.dpatch (closes: #321421)
* /etc/init.d/gpsd:
- order run levels in LSB headers

* Upload sponsored by Petter Reinholdtsen

-- Tilman Koschnick <til@subnetz.org> Sat, 7 Oct 2006 21:41:37 +0200

gpsd (2.33-3) unstable; urgency=low

* Acknowledging previous NMU, thanks to Kai Hendry (closes: #377773)
* remove rpath from binaries (required on amd64, ?)
* /etc/init.d/gpsd:
- require /etc/default/gpsd
- add Short-Description to LSB section
- use LSB logging functions
- remove 'S' from Default-Stop LSB header
* use python-support to install python modules
* debian/control:
- improve package description
- drop alternative build dependency on libxaw6-dev
- add build dependency on docbook-xsl (>= 1.71.0.dfsg.1-1), allowing to:
* debian/patches/:
- preserve <screen> environments in 22_manpage_linebreak.dpatch

* Upload sponsored by Petter Reinholdtsen

-- Tilman Koschnick <til@subnetz.org> Sat, 7 Oct 2006 11:14:43 +0200

gpsd (2.33-2.1) unstable; urgency=low

* Non-maintainer upload.
* lesstif1 -> lesstif2 migration (Closes: #377773)

-- Kai Hendry <hendry@iki.fi> Wed, 19 Jul 2006 09:38:34 +0900

gpsd (2.33-2) unstable; urgency=low

* debian/gpsd.dirs:
- add /etc/udev/rules.d (closes: #377016)
* debian/gpsd.postrm:
- fix removal of /etc/udev/rules.d/025_gpsd.rules on purge

* Upload sponsored by Petter Reinholdtsen

-- Tilman Koschnick <til@subnetz.org> Thu, 6 Jul 2006 10:03:58 +0200

gpsd (2.33-1) unstable; urgency=low

* New upstream release
* debian/copyright:
- update author list
* debian/control:
- bump Standards-Version to 3.7.2 (no changes required)
* debian/patches/:
- rm 16_fix_manpages.dpatch (obsolete)
- add 19_gpsfake_fuser.dpatch
- add 20_gpsfake_manpage.dpatch (closes: #335480)
- add 21_autobaud_delay.dpatch: make connecting to Garmin eTrex more
reliable (closes: #303548, #321423)
- add 22_manpage_linebreak.dpatch
* /etc/init.d/gpsd:
- stop gracefully if gpsd is not running (closes: #374658)
* update lintian-overrides

* Upload sponsored by Petter Reinholdtsen

-- Tilman Koschnick <til@subnetz.org> Mon, 26 Jun 2006 16:28:36 +0200

gpsd (2.32-2) unstable; urgency=low

* switch from obsolete hotplug to udev interface, thanks to Marco d'Itri
(closes: #338745)
* debian/patches/:
- add 17_gpsd_manpage_section.dpatch
* debian/gpsd.postinst:
- always source /usr/share/debconf/confmodule
* debian/rules:
- add -I/usr/X11R6/include to CFLAGS until xorg migration is complete
- add -fno-strict-aliasing to CFLAGS to satisfy gcc 4.1

-- Tilman Koschnick <til@subnetz.org> Sat, 29 Apr 2006 16:02:40 +0200

gpsd (2.32-1) unstable; urgency=low

* New upstream release
- new program: cgpxlogger
* debian/copyright: update author list
* debian/control:
- drop optional dbus build dependencies for stable
(closes: #348318, #362565)
- drop optional build dependency on xlibs-dev to make lintian happy
* debian/patches/:
- rm 13_include_xm_fix.dpatch (included upstream)
- rm 15_link_lm_fix.dpatch (included upstream)
- add 16_fix_manpages.dpatch
* install gps.1.gz as xgps.1.gz to avoid conflict with gps package
* link gpxlogger.1.gz to xgps.1.gz
* drop debian/watch (doesn't work with BerliOS download page)
* fix Homepage line in description

-- Tilman Koschnick <til@subnetz.org> Sun, 16 Apr 2006 20:54:34 +0200

gpsd (2.30-2) unstable; urgency=low

* /etc/init.d/gpsd:
- add LSB formatted dependency info, thanks to Petter Reinholdtsen
(closes: #335347)
- do not chown $PIDFILE, thanks to Elmar Hoffmann (closes: #343733)
* debian/patches/:
- add 15_link_lm_fix.dpatch (closes: #340081)

-- Tilman Koschnick <til@subnetz.org> Sun, 20 Nov 2005 14:11:28 +0100

gpsd (2.30-1) unstable; urgency=low

* New upstream release
* debian/copyright: update author list
* debian/patches/:
- add 13_include_xm_fix.dpatch
* debconf templates:
- add Swedish translation, thanks to Daniel Nylander (closes: #333676)

-- Tilman Koschnick <til@subnetz.org> Sat, 12 Nov 2005 22:40:18 +0100

gpsd (2.29-1) unstable; urgency=low

* New upstream release
- new programs: cgps, gpsflash, gpspipe, gpxlogger, rtcmdecode
* move sirfmon to gpsd-clients package
* debian/patches/:
- rm 12_send_dbus_fix.dpatch (included upstream)
* update lintian-overrides

-- Tilman Koschnick <til@subnetz.org> Fri, 19 Aug 2005 18:41:56 +0200

gpsd (2.28-2) unstable; urgency=low

* recompile against libstdc++6

-- Tilman Koschnick <til@subnetz.org> Fri, 8 Jul 2005 01:42:27 +0200

gpsd (2.28-1) unstable; urgency=low

* New upstream release
* debian/patches/:
- rm 10_dbus_fix.dpatch (included upstream)
- rm 11_hotplug_fix.dpatch (obsolete)
- add 12_send_dbus_fix.dpatch
* update lintian-overrides

-- Tilman Koschnick <til@subnetz.org> Wed, 6 Jul 2005 19:32:27 +0200

gpsd (2.26-1) unstable; urgency=low

* New upstream release
- bugfix: gps.h refers to missing gpsutils.h (closes: #314998)
* compile with dbus support
* debian/patches/:
- rm 09_gpsdrive_fix.dpatch (obsolete)
- add 10_dbus_fix.dpatch
- add 11_hotplug_fix.dpatch
* update lintian-overrides
* debconf templates:
- update French translation, thanks to Jean-Luc Coulon (closes: #315364)
* bump Standards-Version to 3.6.2 (no changes required)

-- Tilman Koschnick <til@subnetz.org> Fri, 24 Jun 2005 13:20:40 +0200

gpsd (2.25-1) unstable; urgency=low

* New upstream release (closes: #301469)
- license change from GPL to BSD
- gpsd now starts as root and drops privileges afterwards; this is
required for the interface to ntpd, see README.Debian for details
- no default device /dev/gps anymore (closes: #303174)
- bugfix: libgps leaks socket fd when setsockopt or connect fails
(closes: #299427)
- hotplug support added
- new sirfmon program
- gpsprobe removed
* add dependency on netbase (closes: #299286)
* prefere build dependency on lesstif2 over lesstif
* debian/patches/:
- rm 03_documentation.dpatch
- rm 07_unit_options.dpatch (not accepted upstream, superseded by
less intrusive 08_default_units.dpatch)
- add 08_default_units.dpatch
- add 09_gpsdrive_fix.dpatch
* update lintian-overrides
* revise README.Debian
* debconf templates:
- add Czech translation, thanks to Miroslav Kure (closes: #310466)
- add Vietnamese translation, thanks to Clytie Siddall (closes: #311879)

-- Tilman Koschnick <til@subnetz.org> Sat, 21 May 2005 15:02:25 +0200

gpsd (2.13-1) unstable; urgency=low

* New upstream release
- new gpsfake, gpsprof programs
* add CAN number to previous changelog version
* debian/patches/:
- rm 05_gps_py_typo.dpatch (included upstream)
- rm 06_X11_ad_files.dpatch (included upstream)
- rm 08_maxchannels.dpatch (obsolete)
- rm 09_syslog_formatstring.dpatch (obsolete)
* update lintian-overrides

-- Tilman Koschnick <til@subnetz.org> Tue, 22 Feb 2005 21:03:46 +0100

gpsd (2.7-4) unstable; urgency=high

* setting urgency=high because of RC bugfix
* bugfix: remote security problem with format strings
- CAN-2004-1388
- add debian/patches/09_syslog_formatstring.dpatch
- thanks to Ulf Harnhammar, KF, Petter Reinholdtsen
(closes: #292347, #292370)
* fix lintian warnings
- change description of gpsd-clients
- add /usr/share/lintian/overrides/gpsd
(ignoring non-dev-pkg-with-shlib-symlink,
description-synopsis-starts-with-a-capital-letter)

-- Tilman Koschnick <til@subnetz.org> Thu, 27 Jan 2005 13:31:03 +0100

gpsd (2.7-3) unstable; urgency=low

* import bugfixes from upstream's SVN
- avoid potential buffer overrun and memory leak
- add debian/patches/08_maxchannels.dpatch

-- Tilman Koschnick <til@subnetz.org> Wed, 19 Jan 2005 19:38:43 +0100

gpsd (2.7-2) unstable; urgency=low

* X11 app-defaults files:
- include xgps*.ad
- add debian/patches/06_X11_ad_files.dpatch
* fix speedunits, altunits options:
- add debian/patches/07_unit_options.dpatch
- rm debian/patches/01_speedunits.dpatch (superseded by 07_unit_options)

-- Tilman Koschnick <til@subnetz.org> Sun, 16 Jan 2005 14:06:26 +0100

gpsd (2.7-1) unstable; urgency=low

* New upstream release
* added -P <pidfile> option
- use option in /etc/init.d/gpsd
- closes: #287737
* debian/patches/:
- upstream renames gps to xgps; rm 02_gps_to_xgps.dpatch (obsolete)
- add 01_speedunits.dpatch: use metric system by default
(closes: #289944)
- add 05_gps_py_typo.dpatch: fix syntax error in gps.py
-- Tilman Koschnick <til@subnetz.org> Fri, 14 Jan 2005 23:31:14 +0100

gpsd (2.6-1) unstable; urgency=low

* New upstream release
* debian/patches/:
- rm 03_python_bindings.dpatch (obsolete)
- simplify documentation patches
* debconf templates:
- add Norwegian Bokmaal (nb) translation, thanks to Petter Reinholdtsen
(closes: #288271)

-- Tilman Koschnick <til@subnetz.org> Sun, 2 Jan 2005 18:03:34 +0100

gpsd (2.5-2) unstable; urgency=low

* debian/control:
- add alternative build-dependency on xlibs-dev
- set versioned build-dependency on debhelper to >= 4.1.25
- recommend python >= 2.3 for gpsd binary package (closes: #287147)
* debconf templates:
- add french translation, thanks to Jean-Luc Coulon (closes: #287265)
* gps.py:
- applied patch from upstream svn repository (r1169)
- bugfix: Python interface unable to handle multiline response, thanks to
Petter Reinholdtsen (closes: #287051)

-- Tilman Koschnick <til@subnetz.org> Fri, 24 Dec 2004 13:38:27 +0100

gpsd (2.5-1) unstable; urgency=low

* New upstream release
- bugfix: FTBFS on amd64/gcc-4.0, thanks to Andreas Jochens
(closes: #286906)
- bugfix: Python binding give AttributeError, thanks to Petter
Reinholdtsen (closes: #286955)
* debian/copyright:
- update list of authors
* python related changes:
- move python modules to /usr/lib/python2.3/site-packages/gpsd
- add /usr/lib/python2.3/site-packages/gpsd.pth
- rm debian/patches/03_python_syspath.dpatch (obsolete)
* debian/rules:
- properly clean sources in clean target, thanks to Petter Reinholdtsen
(closes: #286630)
* debian/control:
- add alternative build-dependency on libxaw6-dev (closes: #286637)
- add build-dependency on libxt-dev
* debian/gpsd-clients.menu
- add menu entries for xgps and xgpsspeed

-- Tilman Koschnick <til@subnetz.org> Tue, 21 Dec 2004 12:19:05 +0100

gpsd (2.4-1) unstable; urgency=low

* New upstream release
* debian/copyright: update list of authors
* rm debian/patches/01_missing_includes.dpatch (obsolete)
* add support for po-debconf
* debian/control: fix homepage URL

-- Tilman Koschnick <til@subnetz.org> Mon, 20 Dec 2004 00:41:57 +0100

gpsd (2.3-1) unstable; urgency=low

* Initial Release. (closes: #276376)

-- Tilman Koschnick <til@subnetz.org> Tue, 23 Nov 2004 00:28:27 +0100

+ 1
- 0
debian/compat View File

@@ -0,0 +1 @@
4

+ 51
- 0
debian/control View File

@@ -0,0 +1,51 @@
Source: gpsd
Section: misc
Priority: optional
Maintainer: Tilman Koschnick <til@subnetz.org>
Build-Depends: debhelper (>= 5), po-debconf, dpatch, autotools-dev, python, python-support (>= 0.4), xmlto, docbook-xsl (>= 1.70.1.dfsg.1-0.1), chrpath, libxt-dev, lesstif2-dev, libxaw7-dev, libncurses-dev, libdbus-1-dev, libglib2.0-dev, libdbus-glib-1-dev
Standards-Version: 3.7.2

Package: gpsd
Architecture: any
Depends: netbase, lsb-base (>= 3.0-6), ${shlibs:Depends}, ${misc:Depends}
Recommends: gpsd-clients, python (>= 2.3)
Suggests: udev
Description: GPS (Global Positioning System) daemon
gpsd is a service daemon that monitors one or more GPSes attached to a host
computer through serial or USB ports, making all data on the location/course/
velocity of the sensors available to be queried on TCP port 2947 of the host
computer.
.
With gpsd, multiple GPS client applications (such as navigational and war-
driving software) can share access to GPSes without contention or loss of
data. Also, gpsd responds to queries with a format that is substantially
easier to parse than the NMEA 0183 emitted by most GPSes.
.
The gpsd distribution includes a linkable C service library and a Python
module that developers of gpsd-aware applications can use to encapsulate
all communication with gpsd.
.
For a couple of clients, install the gpsd-clients package.
.
Homepage: http://gpsd.berlios.de/

Package: gpsd-clients
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
Description: clients for the GPS daemon
gpsd is a service daemon that monitors one or more GPSes attached to a host
computer through serial or USB ports, making all data on the location/course/
velocity of the sensors available to be queried on TCP port 2947 of the host
computer.
.
With gpsd, multiple GPS client applications (such as navigational and war-
driving software) can share access to GPSes without contention or loss of
data. Also, gpsd responds to queries with a format that is substantially
easier to parse than the NMEA 0183 emitted by most GPSes.
.
This package contains auxiliary tools for diagnostic monitoring and profiling
of GPSes and feeding GPS-aware applications specified track data for
diagnostic purposes.
.
Homepage: http://gpsd.berlios.de/


+ 49
- 0
debian/copyright View File

@@ -0,0 +1,49 @@
This package was debianized by Tilman Koschnick <til@subnetz.org> on
Sat, 16 Oct 2004 11:40:01 +0200.

It was downloaded from http://developer.berlios.de/projects/gpsd/.

Upstream Authors:
Remco Treffkorn <remco@rvt.com>
Derrick J. Brashear <shadow@dementia.org>
Russ Nelson <nelson@crynwyr.com>
Eric S. Raymond <esr@thyrsus.com>
Gary E. Miller <gem@rellim.com>
Jeff Francis <jeff@gritch.org>
Amaury Jacquot <sxpert@esitcom.org>
Chris Kuethe <chris.kuethe@gmail.com>
Ville Nuorvala <vnuorval@tcs.hut.fi>

Copyright:
BSD LICENSE

The GPSD code is Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002 by
Remco Treffkorn. Portions of it are also Copyright (c) 2005 by Eric S.
Raymond. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

Neither name of the GPSD project nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 3
- 0
debian/gpsd-clients.dirs View File

@@ -0,0 +1,3 @@
etc/X11/app-defaults
usr/bin
usr/share/man/man1

+ 2
- 0
debian/gpsd-clients.docs View File

@@ -0,0 +1,2 @@
AUTHORS
README

+ 4
- 0
debian/gpsd-clients.menu View File

@@ -0,0 +1,4 @@
?package(gpsd-clients):needs="x11" section="Apps/Tools"\
title="xgps" command="/usr/bin/xgps"
?package(gpsd-clients):needs="x11" section="Apps/Tools"\
title="xgpsspeed" command="/usr/bin/xgpsspeed"

+ 40
- 0
debian/gpsd.README.Debian View File

@@ -0,0 +1,40 @@
gpsd for Debian
---------------

There are three different ways to run gpsd:

- from the command line

Since gpsd expects to be started as root (see below for details), the gpsd
binary is located in /usr/sbin and is most likely not in the search PATH of
normal users.

- through the udev interface

This works with some USB GPS devices, listed in /etc/udev/gpsd.rules.

- as a service

The debian package provides a SysV style init script, /etc/init.d/gpsd, to
start gpsd at boot time. Run 'dpkg-reconfigure gpsd' to configure the
service.


gpsd expects to be started as root. It needs root rights to open a shared
memory segment to communicate with NTPd, and to open a control socket for
device management if you have chosen this option. After startup, gpsd drops
its privileges to the UID of 'nobody' and the GID of the group owning the
first GPS device it is supposed to open. See gpsd(1) for a more detailed
explanation.

If you do not want to interface gpsd with ntpd, and not use a device control
socket, there is no downside to starting gpsd as a unprivileged user/group.
Make this user/group has r/w rights on the device the GPS is attached to.


To keep the dependencies small, the client programs have been moved to a
separate package, gpsd-clients. The python module gps.py has been made
non-executable to avoid dependency on python (scripts importing these modules
will depend on python anyway).

-- Tilman Koschnick <til@subnetz.org>, Sat, 21 May 2005 11:40:01 +0200

+ 34
- 0
debian/gpsd.config View File

@@ -0,0 +1,34 @@
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

if [ -s /etc/default/gpsd ] ; then
. /etc/default/gpsd
if [ -n "$START_DAEMON" ] ; then
db_set gpsd/start_daemon "$START_DAEMON"
fi
if [ -n "$DAEMON_OPTS" ] ; then
db_set gpsd/daemon_options "$DAEMON_OPTS"
fi
if [ -n "$DEVICES" ] ; then
db_set gpsd/device "$DEVICES"
fi
fi

db_input medium gpsd/start_daemon || true
db_go

db_get gpsd/start_daemon
START=$RET

if [ "x$START" = "xtrue" ] ; then

db_input medium gpsd/device || true
db_go

db_input medium gpsd/daemon_options || true
db_go

fi

+ 4
- 0
debian/gpsd.dirs View File

@@ -0,0 +1,4 @@
etc/udev/rules.d
usr/bin
usr/share/doc/gpsd
usr/share/lintian/overrides

+ 4
- 0
debian/gpsd.docs View File

@@ -0,0 +1,4 @@
AUTHORS
HACKING
README
TODO

+ 9
- 0
debian/gpsd.hotplug.wrapper View File

@@ -0,0 +1,9 @@
#! /bin/sh

. /lib/udev/hotplug.functions

# wait for /usr & /var to be mounted
wait_for_file /usr/bin/python && \
wait_for_file /var/run && \
exec /lib/udev/gpsd.hotplug "$ACTION" "$DEVNAME"


+ 75
- 0
debian/gpsd.init View File

@@ -0,0 +1,75 @@
#! /bin/sh
#
# Author: Tilman Koschnick <til@subnetz.org>.
#

### BEGIN INIT INFO
# Provides: gpsd
# Required-Start: $syslog $network
# Required-Stop: $syslog $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start the GPS (Global Positioning System) daemon
### END INIT INFO

set -e

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/gpsd
DESC="GPS (Global Positioning System) daemon"
PIDFILE="/var/run/gpsd.pid"
SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)

test -x $DAEMON || exit 0

. /lib/lsb/init-functions

# include gpsd defaults
if [ -f /etc/default/gpsd ] ; then
. /etc/default/gpsd
else
log_failure_msg "gpsd: error: Cannot find /etc/default/gpsd."
exit 1
fi

case "$1" in
start)
if [ "x$START_DAEMON" = "xtrue" ] ; then
log_daemon_msg "Starting $DESC" "gpsd"
start-stop-daemon --start --quiet \
--exec $DAEMON -- $DAEMON_OPTS -P $PIDFILE $DEVICES \
&& log_end_msg 0 \
|| log_end_msg 1
else
log_warning_msg "gpsd is configured not to start automatically at boot time."
log_warning_msg " To change this, run 'dpkg-reconfigure gpsd'."
fi
;;
stop)
if [ "x$START_DAEMON" = "xtrue" ] ; then
log_daemon_msg "Stopping $DESC" "gpsd"
WARN=$(start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE)
log_end_msg 0
[ -n "$WARN" ] && log_warning_msg "$WARN"
else
log_warning_msg "gpsd is configured not to start automatically at boot time."
log_warning_msg " To change this, run 'dpkg-reconfigure gpsd'."
fi
;;
reload|force-reload)
log_action_msg "gpsd: Resetting connection to GPS device"
WARN=$(start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile $PIDFILE)
[ -n "$WARN" ] && log_warning_msg "$WARN"
;;
restart)
set +e; $SELF stop; set -e
$SELF start
;;
*)
N=/etc/init.d/gpsd
echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
exit 1
;;
esac

exit 0

+ 6
- 0
debian/gpsd.lintian-overrides View File

@@ -0,0 +1,6 @@
# gpsd is (so far) the only package using libgps.so, so we leave it in one package for now
gpsd: non-dev-pkg-with-shlib-symlink usr/lib/libgps.so.15.0.0 usr/lib/libgps.so
gpsd: package-name-doesnt-match-sonames libgps15

# rewrite of templates probably due soon, so we ignore this for now
gpsd: malformed-prompt-in-templates gpsd/device

+ 39
- 0
debian/gpsd.postinst View File

@@ -0,0 +1,39 @@
#! /bin/sh
# postinst script for gpsd

set -e

. /usr/share/debconf/confmodule

if [ "$1" = "configure" ] ; then

# udev: install symlink to gpsd.rules
# udev handling got introduced in 2.32-2 - only create symlink once
# on new package install or when upgrading from an older version
if dpkg --compare-versions "$2" lt "2.32-2" ; then
ln -sf ../gpsd.rules /etc/udev/rules.d/025_gpsd.rules
fi

# generate /etc/default/gpsd
db_get gpsd/device
DEVICES=$RET
db_get gpsd/start_daemon
START=$RET
db_get gpsd/daemon_options
OPTS=$RET
cat <<EOF > /etc/default/gpsd
# Default settings for gpsd. This file is sourced from
# /etc/init.d/gpsd.
START_DAEMON="$START"
DAEMON_OPTS="$OPTS"
DEVICES="$DEVICES"
EOF

fi
#DEBHELPER#

# tell debconf we are done. otherwise, it hangs waiting for the daemon.
db_stop;

exit 0

+ 31
- 0
debian/gpsd.postrm View File

@@ -0,0 +1,31 @@
#! /bin/sh
# postrm script for gpsd

set -e

case "$1" in
remove)
dpkg-divert --package gpsd --remove --rename \
--divert /usr/bin/gpsd.gpsdrive /usr/bin/gpsd
dpkg-divert --package gpsd --remove --rename \
--divert /usr/share/man/man1/gpsd.gpsdrive.1.gz \
/usr/share/man/man1/gpsd.1.gz
;;

purge)
[ -f /etc/default/gpsd ] && rm /etc/default/gpsd
[ -L /etc/udev/rules.d/025_gpsd.rules ] && rm /etc/udev/rules.d/025_gpsd.rules
;;

upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;

*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1

esac

#DEBHELPER#

exit 0

+ 36
- 0
debian/gpsd.preinst View File

@@ -0,0 +1,36 @@
#! /bin/sh
# preinst script for gpsd
#
# see: dh_installdeb(1)

set -e

case "$1" in
install)
dpkg-divert --package gpsd --add --rename \
--divert /usr/bin/gpsd.gpsdrive /usr/bin/gpsd
dpkg-divert --package gpsd --add --rename \
--divert /usr/share/man/man1/gpsd.gpsdrive.1.gz \
/usr/share/man/man1/gpsd.1.gz
;;

upgrade)
;;

abort-upgrade)
;;

*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0



+ 18
- 0
debian/gpsd.rules View File

@@ -0,0 +1,18 @@
# udev rules for gpsd
#
# GPSes don't have their own USB device class. They're serial-over-USB
# devices, so what you see is actually the ID of the serial-over-USB chip.
# Fortunately, just two of these account for over 80% of consumer-grade
# GPS sensors. The gpsdplug script will tell a running gpsd that it should
# look at the device that just went active, because it might be a GPS.

# Prolific Technology, Inc. PL2303 Serial Port
SUBSYSTEM=="tty", SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
# ATEN International Co., Ltd UC-232A Serial Port [pl2303]
SUBSYSTEM=="tty", SYSFS{idVendor}=="0557", SYSFS{idProduct}=="2008", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
# FTDI 8U232AM
SUBSYSTEM=="tty", SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6001", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
# Cypress M8/CY7C64013 (DeLorme uses these)
SUBSYSTEM=="tty", SYSFS{idVendor}=="1163", SYSFS{idProduct}=="0100", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
# PS-360 OEM (Microsoft GPS sold with Street and Trips 2005)
SUBSYSTEM=="tty", SYSFS{idVendor}=="067b", SYSFS{idProduct}=="aaa0", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"

+ 21
- 0
debian/gpsd.templates View File

@@ -0,0 +1,21 @@
Template: gpsd/device
Type: string
_Description: Which device is your GPS receiver attached to?
Enter the device your GPS is attached to; this will probably be something
like /dev/ttyS0 or /dev/ttyUSB0.
.
You can enter several devices, separated by spaces.

Template: gpsd/start_daemon
Type: boolean
Default: false
_Description: Should gpsd start on boot?
If your GPS receiver is permanently attached to your computer, you might
want to start gpsd at boot time. Otherwise, you can run it by calling
gpsd(1) at any time, or you can use the hotplug interface for USB devices.

Template: gpsd/daemon_options
Type: string
_Description: Options to gpsd:
You can give additional arguments when starting gpsd; see gpsd(1) for a
list of options.

+ 9
- 0
debian/patches/00list View File

@@ -0,0 +1,9 @@
04_python_noexec
08_default_units
17_gpsd_manpage_section
18_gpsd.hotplug_location
19_gpsfake_fuser
20_gpsfake_manpage
21_autobaud_delay
22_manpage_linebreak
23_hotplug_racecond

+ 35
- 0
debian/patches/04_python_noexec.dpatch View File

@@ -0,0 +1,35 @@
#! /bin/sh -e
## 04_python_nexec.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Remove sha-bang line of python modules to avoid dependency on python.
## DP: Anything importing these modules will depend on python anyway.

if [ $# -lt 1 ]; then
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1
fi

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"

case "$1" in
-patch) patch -p1 ${patch_opts} < $0;;
-unpatch) patch -R -p1 ${patch_opts} < $0;;
*)
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1;;
esac

exit 0

@DPATCH@
diff -urNad /home/til/debian/gpsd/gpsd/gps.py gpsd/gps.py
--- /home/til/debian/gpsd/gpsd/gps.py 2004-10-16 12:25:55.000000000 +0200
+++ gpsd/gps.py 2004-11-28 23:13:58.589150234 +0100
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-#
# gps.py -- Python interface to GPSD.
#
import time, socket, sys

+ 29
- 0
debian/patches/08_default_units.dpatch View File

@@ -0,0 +1,29 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 08_default_units.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Use metric units by default.

@DPATCH@
diff -urNad gpsd/xgps.ad /tmp/dpep.5dcHWD/gpsd/xgps.ad
--- gpsd/xgps.ad 2005-05-21 17:59:46.354146248 +0200
+++ /tmp/dpep.5dcHWD/gpsd/xgps.ad 2005-05-27 00:43:27.366446337 +0200
@@ -10,5 +10,5 @@
*climb*labelString: Climb
*status*labelString: Status
*quit*labelString: Quit
-*speedunits: mph
-*altunits: feet
+*speedunits: kph
+*altunits: meters
diff -urNad gpsd/xgpsspeed.ad /tmp/dpep.5dcHWD/gpsd/xgpsspeed.ad
--- gpsd/xgpsspeed.ad 2005-02-22 21:03:44.000000000 +0100
+++ /tmp/dpep.5dcHWD/gpsd/xgpsspeed.ad 2005-05-27 00:44:12.316509929 +0200
@@ -15,5 +15,5 @@
*meter*width: 120
*meter*height: 120
*needleColor: salmon1
-*speedunits: mph
-*altunits: feet
+*speedunits: kph
+*altunits: meters

+ 206
- 0
debian/patches/17_gpsd_manpage_section.dpatch View File

@@ -0,0 +1,206 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 17_gpsd_manpage_section.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Move manpage of gpsd to section 1, to reflect its location in /usr/bin.

@DPATCH@
diff -urNad gpsd~/Makefile.am gpsd/Makefile.am
--- gpsd~/Makefile.am 2006-04-16 17:53:16.000000000 +0200
+++ gpsd/Makefile.am 2006-04-29 16:41:55.528384744 +0200
@@ -154,7 +154,7 @@
# Create Manpages
#
man_MANS = \
- gpsd.8 \
+ gpsd.1 \
gps.1 \
libgps.3 \
libgpsmm.3 \
@@ -168,7 +168,7 @@
rtcm-104.5 \
srec.5
-gpsd.8: gpsd.xml
+gpsd.1: gpsd.xml
-$(XMLTO) man gpsd.xml
gps.1 xgpsspeed.1: gps.xml
diff -urNad gpsd~/Makefile.in gpsd/Makefile.in
--- gpsd~/Makefile.in 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/Makefile.in 2006-04-29 16:41:55.529384566 +0200
@@ -470,7 +470,7 @@
# Create Manpages
#
man_MANS = \
- gpsd.8 \
+ gpsd.1 \
gps.1 \
libgps.3 \
libgpsmm.3 \
@@ -1328,7 +1328,7 @@
packet_names.h: packet_states.h
sed -e '/^ *\([A-Z][A-Z0-9_]*\),/s// "\1",/' <packet_states.h >packet_names.h
-gpsd.8: gpsd.xml
+gpsd.1: gpsd.xml
-$(XMLTO) man gpsd.xml
gps.1 xgpsspeed.1: gps.xml
diff -urNad gpsd~/gps.xml gpsd/gps.xml
--- gpsd~/gps.xml 2006-04-29 16:41:55.371412741 +0200
+++ gpsd/gps.xml 2006-04-29 16:41:55.530384388 +0200
@@ -201,7 +201,7 @@
</refsect1>
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gpsprof</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
diff -urNad gpsd~/gpsd.xml gpsd/gpsd.xml
--- gpsd~/gpsd.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/gpsd.xml 2006-04-29 16:42:50.301615907 +0200
@@ -4,10 +4,10 @@
"docbook/docbookx.dtd" [
<!ENTITY gpsdsock "/var/run/gpsd.sock">
]>
-<refentry id='gpsd.8'>
+<refentry id='gpsd.1'>
<refmeta>
<refentrytitle>gpsd</refentrytitle>
-<manvolnum>8</manvolnum>
+<manvolnum>1</manvolnum>
<refmiscinfo class='date'>9 Aug 2004</refmiscinfo>
</refmeta>
<refnamediv id='name'>
diff -urNad gpsd~/gpsfake.xml gpsd/gpsfake.xml
--- gpsd~/gpsfake.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/gpsfake.xml 2006-04-29 16:41:55.530384388 +0200
@@ -115,7 +115,7 @@
</refsect1>
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
diff -urNad gpsd~/gpsflash.xml gpsd/gpsflash.xml
--- gpsd~/gpsflash.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/gpsflash.xml 2006-04-29 16:41:55.531384210 +0200
@@ -89,7 +89,7 @@
</refsect1>
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
diff -urNad gpsd~/gpsprof.xml gpsd/gpsprof.xml
--- gpsd~/gpsprof.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/gpsprof.xml 2006-04-29 16:41:55.531384210 +0200
@@ -164,7 +164,7 @@
</refsect1>
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
diff -urNad gpsd~/libgps.xml gpsd/libgps.xml
--- gpsd~/libgps.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/libgps.xml 2006-04-29 16:41:55.532384031 +0200
@@ -203,7 +203,7 @@
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
<citerefentry><refentrytitle>libgpsmm</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
diff -urNad gpsd~/libgpsd.xml gpsd/libgpsd.xml
--- gpsd~/libgpsd.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/libgpsd.xml 2006-04-29 16:41:55.532384031 +0200
@@ -147,7 +147,7 @@
<para>The low-level functions do not allocate or free any dynamic
storage. They can thus be used in a long-running application (such as
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
itself) with a guarantee that they won't cause memory leaks.</para>
</refsect1>
@@ -161,7 +161,7 @@
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
</para>
diff -urNad gpsd~/libgpsmm.xml gpsd/libgpsmm.xml
--- gpsd~/libgpsmm.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/libgpsmm.xml 2006-04-29 16:41:55.533383853 +0200
@@ -64,7 +64,7 @@
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
</para>
diff -urNad gpsd~/rtcm-104.xml gpsd/rtcm-104.xml
--- gpsd~/rtcm-104.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/rtcm-104.xml 2006-04-29 16:41:55.533383853 +0200
@@ -435,7 +435,7 @@
</refsect1>
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
diff -urNad gpsd~/rtcmdecode.xml gpsd/rtcmdecode.xml
--- gpsd~/rtcmdecode.xml 2006-04-16 17:53:16.000000000 +0200
+++ gpsd/rtcmdecode.xml 2006-04-29 16:41:55.543382070 +0200
@@ -84,7 +84,7 @@
</refsect1>
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
diff -urNad gpsd~/sirfmon.xml gpsd/sirfmon.xml
--- gpsd~/sirfmon.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/sirfmon.xml 2006-04-29 16:41:55.544381891 +0200
@@ -188,7 +188,7 @@
</refsect1>
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
diff -urNad gpsd~/srec.xml gpsd/srec.xml
--- gpsd~/srec.xml 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/srec.xml 2006-04-29 16:41:55.544381891 +0200
@@ -282,7 +282,7 @@
</refsect1>
<refsect1 id='see_also'><title>SEE ALSO</title>
<para>
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

+ 19
- 0
debian/patches/18_gpsd.hotplug_location.dpatch View File

@@ -0,0 +1,19 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 18_gpsd.hotplug_location.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Adjust WHEREAMI variable in gpsd.hotplug.

@DPATCH@
diff -urNad gpsd~/gpsd.hotplug gpsd/gpsd.hotplug
--- gpsd~/gpsd.hotplug 2006-04-16 17:53:15.000000000 +0200
+++ gpsd/gpsd.hotplug 2006-04-30 14:34:19.340091662 +0200
@@ -6,7 +6,7 @@
import sys, time, os, syslog, glob, socket, stat
CONTROL_SOCKET = "/var/run/gpsd.sock"
-WHEREAMI = "/etc/hotplug/usb/gpsd.hotplug"
+WHEREAMI = "/lib/udev/gpsd.hotplug"
def gpsd_control_connect():
"Acquire a connection to the GPSD control socket."

+ 19
- 0
debian/patches/19_gpsfake_fuser.dpatch View File

@@ -0,0 +1,19 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 19_gpsfake_fuser.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Work around a bug in fuser (see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361639>).

@DPATCH@
diff -urNad gpsd~/gpsfake.py gpsd/gpsfake.py
--- gpsd~/gpsfake.py 2006-06-09 17:59:41.000000000 +0200
+++ gpsd/gpsfake.py 2006-06-10 15:07:43.250323520 +0200
@@ -200,7 +200,7 @@
"Is the slave device of this pty opened?"
if self.verbose:
sys.stderr.write("slave_is_open() begins")
- isopen = os.system("fuser -s " + self.slave) == 0
+ isopen = os.system("fuser " + self.slave + " > /dev/null 2>&1") == 0
if self.verbose:
sys.stderr.write("slave_is_open() ends")
return isopen

+ 19
- 0
debian/patches/20_gpsfake_manpage.dpatch View File

@@ -0,0 +1,19 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_gpsfake_manpage.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Mark logfile argument in gpsfake manpage as required.

@DPATCH@
diff -urNad gpsd~/gpsfake.xml gpsd/gpsfake.xml
--- gpsd~/gpsfake.xml 2006-06-11 00:08:26.069419936 +0200
+++ gpsd/gpsfake.xml 2006-06-11 00:08:42.873137668 +0200
@@ -28,7 +28,7 @@
<arg choice='opt'>-r <replaceable>initcmd</replaceable></arg>
<arg choice='opt'>-s <replaceable>speed</replaceable></arg>
<arg choice='opt'>-v</arg>
- <arg choice='opt'><replaceable>logfile</replaceable></arg>
+ <arg choice='plain'><replaceable>logfile</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>

+ 19
- 0
debian/patches/21_autobaud_delay.dpatch View File

@@ -0,0 +1,19 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 21_autobaud_delay.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Introduce delay when changing serial port speed, to allow device to settle.

@DPATCH@
diff -urNad gpsd~/serial.c gpsd/serial.c
--- gpsd~/serial.c 2006-06-11 22:08:13.000000000 +0200
+++ gpsd/serial.c 2006-06-11 22:13:34.088281960 +0200
@@ -98,6 +98,8 @@
if (tcsetattr(session->gpsdata.gps_fd, TCSANOW, &session->ttyset) != 0)
return;
(void)tcflush(session->gpsdata.gps_fd, TCIOFLUSH);
+ (void)usleep(200000);
+ (void)tcflush(session->gpsdata.gps_fd, TCIOFLUSH);
}
gpsd_report(1, "speed %d, %d%c%d\n", speed, 9-stopbits, parity, stopbits);

+ 40
- 0
debian/patches/22_manpage_linebreak.dpatch View File

@@ -0,0 +1,40 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 22_manpage_linebreak.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Trim down manpage lines to avoid overlong lines in small terminals.

@DPATCH@
diff -urNad gpsd~/libgps.xml gpsd/libgps.xml
--- gpsd~/libgps.xml 2006-06-26 16:22:07.813467780 +0200
+++ gpsd/libgps.xml 2006-06-26 16:22:08.106409369 +0200
@@ -35,7 +35,7 @@
<funcprototype>
<funcdef>void <function>gps_set_raw_hook</function></funcdef>
<paramdef>struct gps_data_t *<parameter>gpsdata</parameter></paramdef>
- <paramdef>void (*<parameter>hook</parameter>)(struct gps_data_t *, char *buf)</paramdef>
+ <paramdef>void (*<parameter>hook</parameter>)(struct gps_data_t *, char *)</paramdef>
</funcprototype>
<funcprototype>
<funcdef>int <function>gps_poll</function></funcdef>
@@ -48,7 +48,7 @@
<funcprototype>
<funcdef>void <function>gps_set_callback</function></funcdef>
<paramdef>struct gps_data_t *<parameter>gpsdata</parameter></paramdef>
- <paramdef>void (*<parameter>callback</parameter>)(struct gps_data_t *sentence, char *buf)</paramdef>
+ <paramdef>void (*<parameter>callback</parameter>)(struct gps_data_t *, char *)</paramdef>
<paramdef>pthread_t *<parameter>handler</parameter></paramdef>
</funcprototype>
<funcprototype>
diff -urNad gpsd~/libgpsmm.xml gpsd/libgpsmm.xml
--- gpsd~/libgpsmm.xml 2006-06-26 16:22:07.814467581 +0200
+++ gpsd/libgpsmm.xml 2006-06-26 16:22:08.106409369 +0200
@@ -41,7 +41,7 @@
</funcprototype>
<funcprototype>
<funcdef>int <function>set_callback</function></funcdef>
- <paramdef>void (*<parameter>hook</parameter>)(struct gps_data_t *sentence, char *buf)</paramdef>
+ <paramdef>void (*<parameter>hook</parameter>)(struct gps_data_t *sentnce, char *buf)</paramdef>
</funcprototype>
<funcprototype>
<funcdef>int <function>del_callback</function></funcdef>

+ 76
- 0
debian/patches/23_hotplug_racecond.dpatch View File

@@ -0,0 +1,76 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 23_hotplug_racecond.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix race condition in hotplug script.
## DP: Patch by Robin Johnson, taken from upstream svn revision 3378.

@DPATCH@
diff -urNad gpsd~/gpsd.c gpsd/gpsd.c
--- gpsd~/gpsd.c 2006-06-09 17:59:42.000000000 +0200
+++ gpsd/gpsd.c 2006-10-07 20:27:18.079634794 +0200
@@ -1048,9 +1048,10 @@
(void)write(sfd, "ERROR\n", 6);
} else if (buf[0] == '+') {
p = snarfline(buf+1, &stash);
- if (find_device(stash))
+ if (find_device(stash)) {
gpsd_report(1,"<= control(%d): %s already active \n", sfd, stash);
- else {
+ (void)write(sfd, "ERROR\n", 6);
+ } else {
gpsd_report(1,"<= control(%d): adding %s \n", sfd, stash);
if (open_device(stash))
(void)write(sfd, "OK\n", 3);
diff -urNad gpsd~/gpsd.hotplug gpsd/gpsd.hotplug
--- gpsd~/gpsd.hotplug 2006-10-07 20:27:13.635718194 +0200
+++ gpsd/gpsd.hotplug 2006-10-07 20:27:18.079634794 +0200
@@ -56,7 +56,7 @@
return action
def hotplug(action, devpath):
- #syslog.syslog("ACTION=%s" % action)
+ #syslog.syslog("ACTION=%s DEVPATH=%s" % (action,devpath))
if not devpath:
syslog.syslog("No device")
else:
@@ -88,16 +88,27 @@
return
if __name__ == '__main__':
- syslog.openlog('gpsd.hotplug', 0, syslog.LOG_DAEMON)
- try:
- if len(sys.argv) == 1: # Called as hotplug script
- hotplug(os.getenv("ACTION"), os.getenv("DEVPATH"))
- else: # Called by hand for testing
- gpsd_control(sys.argv[1], sys.argv[2])
- except:
- (exc_type, exc_value, exc_traceback) = sys.exc_info()
- syslog.syslog("gpsd.hotplug: exception %s yields %s" % (exc_type, exc_value))
- raise exc_type, exc_value, exc_traceback
- #syslog.syslog("gpsd.hotplug ends")
- syslog.closelog()
+ # In recent versions of udev, the gpsd script runs in series with
+ # the task that creates the real /dev/ttyUSB0 device
+ # node. Unfortunately, the gpsd script runs BEFORE the creation of
+ # the node, and the node is not created until after you kill the
+ # gpsd script, because the gpsd script waits forever for the node
+ # to appear.
+ #
+ # This is a race condition, and is best fixed by running the
+ # actual wait/hotplug portion in the background.
+ pid = os.fork()
+ if not pid:
+ syslog.openlog('gpsd.hotplug', 0, syslog.LOG_DAEMON)
+ try:
+ if len(sys.argv) == 1: # Called as hotplug script
+ hotplug(os.getenv("ACTION"), os.getenv("DEVPATH"))
+ else: # Called by hand for testing
+ gpsd_control(sys.argv[1], sys.argv[2])
+ except:
+ (exc_type, exc_value, exc_traceback) = sys.exc_info()
+ syslog.syslog("gpsd.hotplug: exception %s yields %s" % (exc_type, exc_value))
+ raise exc_type, exc_value, exc_traceback
+ #syslog.syslog("gpsd.hotplug ends")
+ syslog.closelog()

+ 1
- 0
debian/po/POTFILES.in View File

@@ -0,0 +1 @@
[type: gettext/rfc822deb] gpsd.templates

+ 75
- 0
debian/po/ca.po View File

@@ -0,0 +1,75 @@
#
# Catalan translation for gpsd package.
# Copyright (C) 2007 Tilman Koschnick.
# This file is distributed under the same license as the gpsd package.
#
# Jordà Polo <jorda@ettin.org>, 2007.
#
msgid ""
msgstr ""
"Project-Id-Version: gpsd-2.33\n"
"Report-Msgid-Bugs-To: til@subnetz.org\n"
"POT-Creation-Date: 2006-10-19 00:43+0200\n"
"PO-Revision-Date: 2007-02-04 23:08+0100\n"
"Last-Translator: Jordà Polo <jorda@ettin.org>\n"
"Language-Team: Català <debian-l10n-catalan@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. Type: string
#. Description
#: ../gpsd.templates:1001
msgid "Which device is your GPS receiver attached to?"
msgstr "A quin dispositiu està connectat el receptor GPS?"

#. Type: string
#. Description
#: ../gpsd.templates:1001
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""
"Introduïu el dispositiu al que està connectat el GPS; és probable que sigui "
"quelcom semblant a /dev/ttyS0 o /dev/ttyUSB0."

#. Type: string
#. Description
#: ../gpsd.templates:1001
msgid "You can enter several devices, separated by spaces."
msgstr "Podeu introduir múltiples dispositius, separats per espais en blanc."

#. Type: boolean
#. Description
#: ../gpsd.templates:2001
msgid "Should gpsd start on boot?"
msgstr "S'hauria d'iniciar gpsd en l'arrencada?"

#. Type: boolean
#. Description
#: ../gpsd.templates:2001
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""
"Si el vostre receptor GPS està connectat permanentment a l'ordinador, és "
"possible que us interessi iniciar gpsd durant l'arrencada del sistema. "
"Altrament, podeu iniciar-lo en qualsevol moment executant simplement gpsd"
"(1), o podeu utilitzar la interfície «hotplug» per a dispositius USB."

#. Type: string
#. Description
#: ../gpsd.templates:3001
msgid "Options to gpsd:"
msgstr "Opcions per a gpsd:"

#. Type: string
#. Description
#: ../gpsd.templates:3001
msgid ""
"You can give additional arguments when starting gpsd; see gpsd(1) for a list "
"of options."
msgstr ""
"Podeu indicar arguments addicionals quan inicieu gpsd; vegeu la llista "
"d'opcions a gpsd(1)."

+ 80
- 0
debian/po/cs.po View File

@@ -0,0 +1,80 @@
#
# Translators, if you are not familiar with the PO format, gettext
# documentation is worth reading, especially sections dedicated to
# this format, e.g. by running:
# info -n '(gettext)PO Files'
# info -n '(gettext)Header Entry'
#
# Some information specific to po-debconf are available at
# /usr/share/doc/po-debconf/README-trans
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
#
# Developers do not need to manually edit POT or PO files.
#
msgid ""
msgstr ""
"Project-Id-Version: gpsd\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-05-27 00:33+0200\n"
"PO-Revision-Date: 2005-05-27 19:22+0200\n"
"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "Which device is your GPS receiver attached to?"
msgstr "Ke kterému zařízení je připojen váš GPS přijímač?"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""
"Zadejte zařízení, ke kterému je připojena vaše GPS; pravděpodobně to bude "
"něco jako /dev/ttyS0 nebo /dev/ttyUSB0."

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "You can enter several devices, separated by spaces."
msgstr "Můžete zadat několik zařízení oddělených mezerami."

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid "Should gpsd start on boot?"
msgstr "Má se gpsd spouštět při zavádění systému?"

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""
"Pokud je váš GPS přijímač připojen k počítači trvale, možná budete chtít "
"spouštět gpsd hned při zavádění systému. V opačném případě můžete gpsd(1) "
"kdykoliv spustit ručně, resp. pro USB zařízení můžete využít hotplug."

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid "Options to gpsd:"
msgstr "Volby pro gpsd:"

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid ""
"You can give additional arguments when starting gpsd; see gpsd(1) for a list "
"of options."
msgstr ""
"Nyní můžete zadat parametry, které se mají používat při startu gpsd; Seznam "
"možností naleznete v manuálové stránce gpsd(1)."

+ 73
- 0
debian/po/de.po View File

@@ -0,0 +1,73 @@
# translation of gpsd to german
# Copyright (C) 2006 Alwin Meschede
# This file is distributed under the same license as the gpsd package.
msgid ""
msgstr ""
"Project-Id-Version: gpsd 2.33\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-05-27 00:33+0200\n"
"PO-Revision-Date: 2006-11-26 22:53+0100\n"
"Last-Translator: Alwin Meschede <ameschede@gmx.de>\n"
"Language-Team: german <debian-l10n-german@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "Which device is your GPS receiver attached to?"
msgstr "An welche Geräteschnittstelle ist Ihr GPS-Empfänger angeschlossen?"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""
"Geben Sie das Gerät an, an das Ihr GPS-Empfänger angeschlossen ist; dies "
"wird vermutlich etwas wie /dev/ttyS0 oder /dev/ttyUSB0 sein."

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "You can enter several devices, separated by spaces."
msgstr "Sie können mehrere Geräte angeben, getrennt durch Leerzeichen."

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid "Should gpsd start on boot?"
msgstr "Soll gpsd beim Hochfahren des Rechners gestartet werden?"

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""
"Wenn Ihr GPS-Empfänger ständig an Ihren Computer angeschlossen ist, können "
"Sie gpsd beim booten starten lassen. Andernfalls können Sie das Programm "
"jederzeit durch Aufruf von »gpsd« starten, oder Sie nutzen den Hotplug-"
"Mechanismus für USB-Geräte."

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid "Options to gpsd:"
msgstr "Optionen für gpsd:"

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid ""
"You can give additional arguments when starting gpsd; see gpsd(1) for a list "
"of options."
msgstr ""
"Sie können gpsd beim Start zusätzliche Argumente übergeben. Die man page von "
"gpsd enthält eine Liste der möglichen Optionen."

+ 79
- 0
debian/po/fr.po View File

@@ -0,0 +1,79 @@
# Translators, if you are not familiar with the PO format, gettext
# documentation is worth reading, especially sections dedicated to
# this format, e.g. by running:
# info -n '(gettext)PO Files'
# info -n '(gettext)Header Entry'
# Some information specific to po-debconf are available at
# /usr/share/doc/po-debconf/README-trans
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
# Developers do not need to manually edit POT or PO files.
#
msgid ""
msgstr ""
"Project-Id-Version: gpsd 2.25\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-05-27 00:33+0200\n"
"PO-Revision-Date: 2005-06-20 13:07+0200\n"
"Last-Translator: Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "Which device is your GPS receiver attached to?"
msgstr "Fichier de périphérique utilisé par votre récepteur GPS :"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""
"Veuillez indiquer le fichier de périphérique auquel est connecté votre "
"récepteur GPS ; il s'agit vraisemblablement de /dev/ttyS0 ou /dev/ttyUSB0."

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "You can enter several devices, separated by spaces."
msgstr "Vous pouvez entrer plusieurs périphériques, séparés par des espaces."

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid "Should gpsd start on boot?"
msgstr "Faut-il lancer gpsd au démarrage du système ?"

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""
"Si votre récepteur GPS est connecté en permanence à votre ordinateur, il "
"peut être intéressant de lancer gpsd au démarrage du système. Sinon, vous "
"pourrez le lancer par la commande gpsd(1) à n'importe quel moment ou vous "
"pourrez utiliser l'interface de hotplug pour les périphériques USB."

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid "Options to gpsd:"
msgstr "Options à passer à gpsd :"

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid ""
"You can give additional arguments when starting gpsd; see gpsd(1) for a list "
"of options."
msgstr ""
"Il est possible de préciser des paramètres supplémentaires lors du lancement "
"de gpsd ; veuillez consulter la page de manuel gpsd(1) pour une liste des "
"paramètres disponibles."

+ 72
- 0
debian/po/gl.po View File

@@ -0,0 +1,72 @@
# Galician translation of gpsd's debconf templates
# This file is distributed under the same license as the gpsd package.
# Jacobo Tarrio <jtarrio@debian.org>, 2007.
#
msgid ""
msgstr ""
"Project-Id-Version: gpsd\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-05-27 00:33+0200\n"
"PO-Revision-Date: 2007-02-24 20:15+0100\n"
"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
"Language-Team: Galician <proxecto@trasno.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "Which device is your GPS receiver attached to?"
msgstr "¿A que dispositivo está conectado o seu receptor GPS?"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""
"Introduza o dispositivo ao que está conectado o seu receptor GPS; "
"seguramente sexa algo coma /dev/ttyS0 ou /dev/ttyUSB0."

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "You can enter several devices, separated by spaces."
msgstr "Pode introducir varios dispositivos, separados por espazos."

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid "Should gpsd start on boot?"
msgstr "¿gpsd debería iniciarse co ordenador?"

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""
"Se o seu receptor GPS está conectado permanentemente ao seu ordenador, pode "
"que queira iniciar gpsd co ordenador. Se non, pode inicialo executando gpsd"
"(1) en calquera momento, ou pode empregar a interface de conexión en quente "
"para dispositivos USB."

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid "Options to gpsd:"
msgstr "Opcións para gpsd:"

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid ""
"You can give additional arguments when starting gpsd; see gpsd(1) for a list "
"of options."
msgstr ""
"Pode fornecer argumentos adicionais ao iniciar gpsd; consulte gpsd(1) para "
"unha lista de opcións."

+ 99
- 0
debian/po/nb.po View File

@@ -0,0 +1,99 @@
#
# Translators, if you are not familiar with the PO format, gettext
# documentation is worth reading, especially sections dedicated to
# this format, e.g. by running:
# info -n '(gettext)PO Files'
# info -n '(gettext)Header Entry'# Some information specific to po-debconf are available at
# /usr/share/doc/po-debconf/README-trans
# or http://www.debian.org/intl/l10n/po-debconf/README-trans# Developers do not need to manually edit POT or PO files.
#
msgid ""
msgstr ""
"Project-Id-Version: gpsd\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-05-27 00:33+0200\n"
"PO-Revision-Date: 2005-01-02 20:40MET\n"
"Last-Translator: Petter Reinholdtsen <pere@hungry.com>\n"
"Language-Team: Norwegian Bokmål <i18n-nb@lister.ping.uio.no>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 0.9.5\n"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "Which device is your GPS receiver attached to?"
msgstr "Hvilken enhet er din GPS-mottaker koblet til?"

#. Type: string
#. Description
#: ../gpsd.templates:3
#, fuzzy
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""
"Skriv inn enheten din GPS er tilkoblet. Dette vil sansynligvis være noe "
"ala /dev/ttyS0 eller /dev/ttyUSB0. En symbolsk lenke (/dev/gsp) til denne "
"enheten vil bli opprettet."

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "You can enter several devices, separated by spaces."
msgstr ""

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid "Should gpsd start on boot?"
msgstr "Skal gpsd starte når maskinen booter?"

#. Type: boolean
#. Description
#: ../gpsd.templates:12
#, fuzzy
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""
"Hvis din GPS-mottaker er permanent koblet til maskinen, så ønsker du "
"muligens å starte gpsd ved boot. I motsatt tilfelle, så kan du starte den "
"ved å kjøre gpsd(1) når som helst."

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid "Options to gpsd:"
msgstr "Opsjoner til gpsd:"

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid ""
"You can give additional arguments when starting gpsd; see gpsd(1) for a list "
"of options."
msgstr ""
"Du kan gi ekstra argumenter når gpsd starter. Se gpsd(1) for en lite med "
"tilgjengelige opsjoner."

#~ msgid ""
#~ "You can leave this blank now and set the device with the -p option when "
#~ "invoking gpsd."
#~ msgstr ""
#~ "Du kan la dette feltet være tomt nå, og velge enhet med -p opsjonen når "
#~ "du starter gpsd."

#~ msgid "You need to set the device gpsd is connecting to."
#~ msgstr "Du må oppgi enheten gpsd skal koble seg til."

#~ msgid ""
#~ "You have requested that gpsd should start at boot time, but not given a "
#~ "default device. You need to set a device with the -p option in the next "
#~ "question, or gpsd won't be able to find your GPS."
#~ msgstr ""
#~ "Du har bedt om at gpsd starter ved boot, men ikke oppgitt en default-"
#~ "enhet. Du er nødt til å oppgi enhet ved hjelp av opsjonen -p i neste "
#~ "spørsmål, ellers hvis ille gpsd være i stand til å finne din GPS."

+ 1
- 0
debian/po/output View File

@@ -0,0 +1 @@
2 utf8

+ 73
- 0
debian/po/pt.po View File

@@ -0,0 +1,73 @@
# Portuguese translation for gpsd's debconf messages
# Copyright (C) 2007 Miguel Figueiredo
# This file is distributed under the same license as the gpsd package.
# Miguel Figueiredo <elmig@debianpt.org>, 2007.
#
msgid ""
msgstr ""
"Project-Id-Version: gpsd 2.33-4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-05-27 00:33+0200\n"
"PO-Revision-Date: 2007-02-24 20:16+0000\n"
"Last-Translator: Miguel Figueiredo <elmig@debianpt.org>\n"
"Language-Team: Portuguese <traduz@debianpt.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "Which device is your GPS receiver attached to?"
msgstr "A que dispositivo está ligado o seu receptor de GPS?"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""
"Introduza o dispositivo onde está ligado o seu GPS; o que provavelmente será "
"algo do tipo /dev/ttyS0 ou /dev/ttyUSB0."

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "You can enter several devices, separated by spaces."
msgstr "Pode introduzir vários dispositivos separados por espaços."

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid "Should gpsd start on boot?"
msgstr "Deve o gpsd iniciar no arranque?"

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""
"Se o seu receptor de GPS está permanentemente ligado ao seu computador, você "
"pode querer iniciar o gpsd quando arrancar. Caso contrário, você pode corrê-"
"lo chamando gpsd(1) em qualquer altura, ou pode utilizar o interface hotplug "
"para dispositivos USB."

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid "Options to gpsd:"
msgstr "Opções para o gpsd:"

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid ""
"You can give additional arguments when starting gpsd; see gpsd(1) for a list "
"of options."
msgstr ""
"Você pode passar argumentos adicionais quando iniciar; para uma lista de "
"opções veja gpsd(1)."

+ 80
- 0
debian/po/sv.po View File

@@ -0,0 +1,80 @@
# Translators, if you are not familiar with the PO format, gettext
# documentation is worth reading, especially sections dedicated to
# this format, e.g. by running:
# info -n '(gettext)PO Files'
# info -n '(gettext)Header Entry'
# Some information specific to po-debconf are available at
# /usr/share/doc/po-debconf/README-trans
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
# Developers do not need to manually edit POT or PO files.
# , fuzzy
#
#
msgid ""
msgstr ""
"Project-Id-Version: gpsd 2.28-2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-05-27 00:33+0200\n"
"PO-Revision-Date: 2005-10-14 09:51+0200\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <sv@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "Which device is your GPS receiver attached to?"
msgstr "Vilken enhet är din GPD-mottagare inkopplad på?"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""
"Ange enheten som din GPS är inkopplad på, detta är antagligen någon "
"liknande /dev/ttyS0 eller /dev/ttyUSB0."

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "You can enter several devices, separated by spaces."
msgstr "Du kan ange flera enheter, separera med mellanslag."

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid "Should gpsd start on boot?"
msgstr "Ska gpsd startas vid systemets uppstart?"

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""
"Om din GPD-mottagare är permanent inkopplad på din dator kanske du vill "
"starta gpsd vid systemets uppstart. Annars kan du köra den genom att starta "
"gpsd(1) när som helst eller så kan du använda hotplugs gränssnitt för USB-"
"enheter."

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid "Options to gpsd:"
msgstr "Inställningar till gpsd:"

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid ""
"You can give additional arguments when starting gpsd; see gpsd(1) for a list "
"of options."
msgstr ""
"Du kan ange ytterligare argument när du startar gpsd, se gpsd(1) för en "
"lista av inställningar."

+ 74
- 0
debian/po/templates.pot View File

@@ -0,0 +1,74 @@
#
# Translators, if you are not familiar with the PO format, gettext
# documentation is worth reading, especially sections dedicated to
# this format, e.g. by running:
# info -n '(gettext)PO Files'
# info -n '(gettext)Header Entry'
#
# Some information specific to po-debconf are available at
# /usr/share/doc/po-debconf/README-trans
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
#
# Developers do not need to manually edit POT or PO files.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-05-27 00:33+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "Which device is your GPS receiver attached to?"
msgstr ""

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "You can enter several devices, separated by spaces."
msgstr ""

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid "Should gpsd start on boot?"
msgstr ""

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid "Options to gpsd:"
msgstr ""

#. Type: string
#. Description
#: ../gpsd.templates:19
msgid ""
"You can give additional arguments when starting gpsd; see gpsd(1) for a list "
"of options."
msgstr ""

+ 93
- 0
debian/po/vi.po View File

@@ -0,0 +1,93 @@
# Vietnamese Translation for gpsd.
# Copyright © 2005 Free Software Foundation, Inc.
# Clytie Siddall <clytie@riverland.net.au>, 2005.
#
msgid ""
msgstr ""
"Project-Id-Version: gpsd 2.25-1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-05-27 00:33+0200\n"
"PO-Revision-Date: 2005-06-06 11:39+0930\n"
"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0\n"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "Which device is your GPS receiver attached to?"
msgstr "Máy nhận tín hiệu GPS của bạn có kết nối đến thiết bị nào?"

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid ""
"Enter the device your GPS is attached to; this will probably be something "
"like /dev/ttyS0 or /dev/ttyUSB0."
msgstr ""
"Hãy nhập thiết bị đến mà máy nhận tín hiệu GPS của bạn có kết nối. Rất có "
"thể là nó giống như «/dev/ttyS0» hay «/dev/ttyUSB0». "

#. Type: string
#. Description
#: ../gpsd.templates:3
msgid "You can enter several devices, separated by spaces."
msgstr "Bạn có thể nhập nhiều thiết bị, định giới bằng một dấu cách."

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid "Should gpsd start on boot?"
msgstr "Trình nền gpsd nên khởi chạy khi khởi động hệ thống không?"

#. Type: boolean
#. Description
#: ../gpsd.templates:12
msgid ""
"If your GPS receiver is permanently attached to your computer, you might "
"want to start gpsd at boot time. Otherwise, you can run it by calling gpsd"
"(1) at any time, or you can use the hotplug interface for USB devices."
msgstr ""
"Nếu máy nhận GPS bạn có kết nối vĩnh viễn đến máy tính bạn, thì bạn có lẽ sẽ "
"muốn khởi chạy trình này khi khởi động hệ thống. Nếu không, thì bạn có thể "
"chạy trình này bằng cách gọi gpsd(1) vào bất cứ lúc nào, hoặc bạn có thể sử "
"dụng giao diện cầm phít nóng cho thiết bị USB."

#. Type: string