diff options
| author | Nathan Angelacos <nangel@alpinelinux.org> | 2020-02-06 15:18:39 -0500 |
|---|---|---|
| committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2020-02-11 05:50:18 +0000 |
| commit | 34198498da2fe687920f402176902ef6d9bb08f9 (patch) | |
| tree | 1cba4fa4a26173189ee36bef0d736785aff22c31 /main/gpsd/0001-workaround-for-scons-using-python2.patch | |
| parent | 95ea8f056febe7294ad9b9a936f4b5731775dc95 (diff) | |
| download | aports-34198498da2fe687920f402176902ef6d9bb08f9.tar.bz2 aports-34198498da2fe687920f402176902ef6d9bb08f9.tar.xz | |
main/gpsd: upgrade to 3.20
Specifically disable dbus and systemd options
Diffstat (limited to 'main/gpsd/0001-workaround-for-scons-using-python2.patch')
| -rw-r--r-- | main/gpsd/0001-workaround-for-scons-using-python2.patch | 145 |
1 files changed, 62 insertions, 83 deletions
diff --git a/main/gpsd/0001-workaround-for-scons-using-python2.patch b/main/gpsd/0001-workaround-for-scons-using-python2.patch index 887d10a641..5e8e1f0976 100644 --- a/main/gpsd/0001-workaround-for-scons-using-python2.patch +++ b/main/gpsd/0001-workaround-for-scons-using-python2.patch @@ -1,55 +1,15 @@ -diff --git a/gpscat b/gpscat -index 26c9acf..6cf4765 100755 ---- a/gpscat -+++ b/gpscat -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - # - "Display GPS output. Hexify it if necessary." - -diff --git a/gpsfake b/gpsfake -index e02d64a..ec10974 100755 ---- a/gpsfake -+++ b/gpsfake -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - # - ''' - gpsfake -- test harness for gpsd -diff --git a/ubxtool b/ubxtool -index 6bdb0ba..82f5b2e 100755 ---- a/ubxtool -+++ b/ubxtool -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - # -*- coding: UTF-8 - ''' - ubxtool -- u-blox configurator and packet decoder -diff --git a/zerk b/zerk -index 745c765..2e1b73a 100755 ---- a/zerk -+++ b/zerk -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - # -*- coding: UTF-8 - ''' - zerk -- GREIS configurator and packet decoder - diff --git a/contrib/ntpshmviz b/contrib/ntpshmviz -index 5aa0016..371fd70 100755 +diff --git a/contrib/ntpshmviz b/contrib/ntpshmviz +index a7ae44f..5627d3a 100755 --- a/contrib/ntpshmviz +++ b/contrib/ntpshmviz @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 - ''' - ntpshmviz - graph the drift of NTP servers - Written by Keane Wolter <daemoneye2@gmail.com> + # + # This file is Copyright (c) 2010-2018 by the GPSD project + # SPDX-License-Identifier: BSD-2-clause diff --git a/contrib/skyview2svg b/contrib/skyview2svg -index 7fdc327..3ed04c3 100644 +index 9c79b25..6b80d4b 100644 --- a/contrib/skyview2svg +++ b/contrib/skyview2svg @@ -1,4 +1,4 @@ @@ -59,7 +19,7 @@ index 7fdc327..3ed04c3 100644 """ skyview2svg -- Create an SVG image of GPS satellites sky view. diff --git a/contrib/webgps.py b/contrib/webgps.py -index 99a70c6..a1bcbd2 100755 +index 902c162..942dcbb 100755 --- a/contrib/webgps.py +++ b/contrib/webgps.py @@ -1,4 +1,4 @@ @@ -79,7 +39,7 @@ index f269433..531a4c7 100755 # A Python AIVDM/AIVDO decoder # diff --git a/devtools/aivdmtable b/devtools/aivdmtable -index c572070..89f9e0d 100755 +index 13c1e5f..51c4146 100755 --- a/devtools/aivdmtable +++ b/devtools/aivdmtable @@ -1,4 +1,4 @@ @@ -89,7 +49,7 @@ index c572070..89f9e0d 100755 # Generate an asciidoc table of the six-bit encoding used in AIVDM packets. # diff --git a/devtools/cycle_analyzer b/devtools/cycle_analyzer -index 53ddd51..6992c10 100755 +index aac4c6c..0aa20c2 100755 --- a/devtools/cycle_analyzer +++ b/devtools/cycle_analyzer @@ -1,4 +1,4 @@ @@ -119,17 +79,17 @@ index ec10a84..480a3fb 100755 # This code runs compatibly under Python 2 and 3.x for x >= 2. # Preserve this property! diff --git a/devtools/regress-builder b/devtools/regress-builder -index 67df358..1ea75fd 100755 +index 3266768..ef44506 100755 --- a/devtools/regress-builder +++ b/devtools/regress-builder @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # - # This file is Copyright (c) 2010 by the GPSD project + # This file is Copyright (c) 2010-2019 by the GPSD project # BSD terms apply: see the file COPYING in the distribution root for details. diff --git a/devtools/regressdiff b/devtools/regressdiff -index fa658c1..0f85a72 100755 +index 6188687..24d5f42 100755 --- a/devtools/regressdiff +++ b/devtools/regressdiff @@ -1,4 +1,4 @@ @@ -139,7 +99,7 @@ index fa658c1..0f85a72 100755 # Walk through a pair of textfiles looking for where they begin to differ. # May be useful for comparing logs when regression tests break. diff --git a/devtools/sizes b/devtools/sizes -index b8afa6e..11e39ab 100755 +index f6459cf..05a5fb7 100755 --- a/devtools/sizes +++ b/devtools/sizes @@ -1,4 +1,4 @@ @@ -149,7 +109,7 @@ index b8afa6e..11e39ab 100755 # sizes -- explore the sizes of static gpsd binaries # diff --git a/devtools/striplog b/devtools/striplog -index 5c63dda..70d41ad 100755 +index e81a2c8..4ba3cbd 100755 --- a/devtools/striplog +++ b/devtools/striplog @@ -1,4 +1,4 @@ @@ -189,7 +149,7 @@ index e78d412..916fbab 100755 # This code runs compatibly under Python 2 and 3.x for x >= 2. # Preserve this property! diff --git a/gegps b/gegps -index 51af633..945e730 100755 +index 8672e7e..0c1b53e 100755 --- a/gegps +++ b/gegps @@ -1,4 +1,4 @@ @@ -199,7 +159,7 @@ index 51af633..945e730 100755 ''' usage: gegps [-i] [-d kmldir] diff --git a/gps/gps.py b/gps/gps.py -index 7835c5e..f0ed6f4 100644 +index c3f4a03..5956eec 100644 --- a/gps/gps.py +++ b/gps/gps.py @@ -1,4 +1,4 @@ @@ -208,8 +168,28 @@ index 7835c5e..f0ed6f4 100644 # -*- coding: utf-8 -*- '''gps.py -- Python interface to GPSD. +diff --git a/gpscat b/gpscat +index c04dc72..0035316 100755 +--- a/gpscat ++++ b/gpscat +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # + "Display GPS output. Hexify it if necessary." + +diff --git a/gpsfake b/gpsfake +index 6bae262..485fea6 100755 +--- a/gpsfake ++++ b/gpsfake +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # + ''' + gpsfake -- test harness for gpsd diff --git a/gpsprof b/gpsprof -index 2f0c60e..a8715b3 100755 +index 9bd665c..3989627 100755 --- a/gpsprof +++ b/gpsprof @@ -1,4 +1,4 @@ @@ -219,7 +199,7 @@ index 2f0c60e..a8715b3 100755 ''' Collect and plot latency-profiling data from a running gpsd. diff --git a/jsongen.py b/jsongen.py -index db4b871..ed0fde7 100755 +index e27eeb6..4788458 100755 --- a/jsongen.py +++ b/jsongen.py @@ -1,4 +1,4 @@ @@ -228,18 +208,8 @@ index db4b871..ed0fde7 100755 # # This file is Copyright (c) 2010 by the GPSD project # SPDX-License-Identifier: BSD-2-clause -diff --git a/leapsecond.py b/leapsecond.py -index aa5a80c..5fc657e 100755 ---- a/leapsecond.py -+++ b/leapsecond.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - """ - - Usage: leapsecond.py [-v] { [-h] | [-f filename] | [-g filename] diff --git a/maskaudit.py b/maskaudit.py -index d5cdff9..bcdaeed 100755 +index 00d1275..2029494 100755 --- a/maskaudit.py +++ b/maskaudit.py @@ -1,4 +1,4 @@ @@ -248,18 +218,8 @@ index d5cdff9..bcdaeed 100755 # # This file is Copyright (c) 2010 by the GPSD project # SPDX-License-Identifier: BSD-2-clause -diff --git a/test_maidenhead.py b/test_maidenhead.py -index 665fd49..54804c0 100755 ---- a/test_maidenhead.py -+++ b/test_maidenhead.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - # - # Test grid locator conversion. - # diff --git a/test_misc.py b/test_misc.py -index 111d8e0..d630771 100755 +index eb79c10..7a81957 100755 --- a/test_misc.py +++ b/test_misc.py @@ -1,4 +1,4 @@ @@ -278,6 +238,16 @@ index cb9448e..e1f5301 100755 """Test imports needed by X11-based tools.""" from __future__ import print_function +diff --git a/ubxtool b/ubxtool +index 7e4a042..bab887e 100755 +--- a/ubxtool ++++ b/ubxtool +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # -*- coding: UTF-8 + ''' + ubxtool -- u-blox configurator and packet decoder diff --git a/valgrind-audit.py b/valgrind-audit.py index 749b2fa..30a1817 100755 --- a/valgrind-audit.py @@ -289,7 +259,7 @@ index 749b2fa..30a1817 100755 # This is a valgrind torture test for the gpsd daemon. # It's not really expected to spot anything as long as we aren't using diff --git a/xgps b/xgps -index af36225..d231ee5 100755 +index 89d96d1..3edfa6a 100755 --- a/xgps +++ b/xgps @@ -1,4 +1,4 @@ @@ -299,7 +269,7 @@ index af36225..d231ee5 100755 ''' xgps -- test client for gpsd diff --git a/xgpsspeed b/xgpsspeed -index baada44..a4b0ad4 100755 +index b532fe5..4ce3beb 100755 --- a/xgpsspeed +++ b/xgpsspeed @@ -1,4 +1,4 @@ @@ -308,4 +278,13 @@ index baada44..a4b0ad4 100755 # # by # Robin Wittler <real@the-real.org> (speedometer mode) - +diff --git a/zerk b/zerk +index 4186042..f0257e6 100755 +--- a/zerk ++++ b/zerk +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # -*- coding: UTF-8 + ''' + zerk -- GREIS configurator and packet decoder |
