summaryrefslogtreecommitdiff
path: root/SConstruct
Commit message (Collapse)AuthorAgeFilesLines
* Removed variable length arrays, added -Wvla compiler option.vla-removalIan Bruene2018-11-261-1/+1
|
* SConstruct: fix test for xsltproc, fix xmlto output.Gary E. Miller2018-11-231-5/+4
| | | | More fallout from moving man pages to man/
* SConstruct: fix xsltproc making man pages.Gary E. Miller2018-11-231-2/+6
| | | | | xsltproc never output on stdout. So the redirect did nothing, and was overwritten by the output of xsltproc.
* test_mktime: Fix build on platforms needing librt.Fred Wright2018-11-201-1/+1
| | | | | | | | | | On some older plaforms, clock_gettime() is contained in librt, thus requiring linking with it. A mechanism already exists for doing this where needed, but it was missing from the recipe for test_mktime. TESTED: On a BeagleBone running Debian 7, test_mktime now builds successfully. It still needs another fix for platforms with a 32-bit time_t.
* SConstruct: Clean out old shared libraries.Gary E. Miller2018-11-191-2/+4
|
* man: Move man pages, source and result, into main/Gary E. Miller2018-11-191-35/+38
| | | | part of cleaning up the root directory.
* www: change .txt to .adoc.Gary E. Miller2018-11-191-5/+5
| | | | To make it clear these are asciidoc files, not plain text.
* Adds missing dependencies on compiled Python extensions.Fred Wright2018-11-171-0/+9
| | | | | | | | | | | The programs using the compiled Python extensions weren't specifying the extensions as dependencies. This sometimes caused flaky failures due to (parallel) build timing, and also caused "scons python-versions" from scratch to fail consistently. Since the dependencies aren't discovered automatically, they need to be added explicitly. TESTED: "scons python-versions" now succeeds when run from a clean state.
* Make sure 'python-versions' uses the right Python.Fred Wright2018-11-171-1/+1
| | | | | | | | | | | | | | | | | Although in-tree testing is sometimes able to find the Python libraries via program-relative addressing, later Python versions name compiled extensions in a version-dependent manner. This means that programs need to run with the specific version of Python that the extensions were compiled for. This change invokes the "target_python" explicitly for the version checks, rather than using the system-default Python. This is the same approach that is taken by all other Python-based tests. TESTED: The 'python-versions' test now passes with "target_python=python3.7", while the system-default Python is 2.7. This is after already building the extensions; another commit will add the missing dependencies.
* gpsrinex: Add a man page.Gary E. Miller2018-11-091-0/+1
|
* test_gpsmm: Fix to build in new tests/ directory.Gary E. Miller2018-11-091-2/+4
|
* gpsrinex: A new tool to create RINEX 3 obs files.Gary E. Miller2018-11-091-1/+12
|
* test_misc.py: This test was not running during check.Gary E. Miller2018-11-081-1/+8
|
* tests: move most tests into tests/Gary E. Miller2018-11-081-21/+37
| | | | Cuts the clutter a bit in the top level directory.
* SConstruct: improve the error message when Python detection fails.Gary E. Miller2018-11-011-3/+4
|
* SConstruct: Do not crash when not building python man pages.Gary E. Miller2018-11-011-4/+9
|
* rawdata_t: Change data structure.Gary E. Miller2018-10-241-1/+1
| | | | | | The rawdata_t structure was written into, but never read from. So a change to it is low impact. Reorder it to simplify pointer arithmetic. In preparation for more changes.
* Update version to 3.19-dev. back to dev cycle.dev-3.19aGary E. Miller2018-10-191-1/+1
|
* Chnage version to 3.18.1release-3.18.1Gary E. Miller2018-10-191-1/+1
|
* SConstruct: 2nd try at checking scons and python versions.Gary E. Miller2018-10-091-2/+4
|
* SConstruct: fix check_compile part of 'scons check'Gary E. Miller2018-10-091-9/+26
| | | | Never did anything. Now it test compiles python bits.
* SConstruct: whitespace tweak for pep8Gary E. Miller2018-10-081-0/+1
|
* SConstruct: Pull some python bit together. No functional change.Gary E. Miller2018-10-081-91/+84
|
* SConstruct: gpsd needs at least Python 2.6.Gary E. Miller2018-10-081-1/+2
|
* SConstruct: Fix running "scons check" as non-root.Gary E. Miller2018-10-081-6/+7
| | | | | The python-versions check was checking the installed versions, not the version in the source.
* SConstruct: remove SourceCode()Gary E. Miller2018-10-081-3/+0
| | | | | | | | Scons says: "warning: SourceCode() has been deprecated and there is no replacement." Did not seem important, a minor speed-up is lost.
* SConstruct: Only install ubxtool and zerk if pyserial found.Gary E. Miller2018-10-041-16/+19
| | | | Ditto their man pages.
* SConstruct: Add warning about missing pyserial.Gary E. Miller2018-10-021-6/+14
|
* 3.19!dev: Change revisions for 3.19~dev cycle.Gary E. Miller2018-10-021-1/+1
|
* www/gpsdctl.html: Add untracked html page.dev-3.19Gary E. Miller2018-10-021-1/+1
|
* Version bump to 3.18 for release.release-3.18Gary E. Miller2018-10-021-1/+1
|
* Versions in C and Python were out of sync.Gary E. Miller2018-10-011-0/+1
| | | | Add notes as reminder for next change.
* SConstruct; fix creating revision.h with Python 3Gary E. Miller2018-10-011-1/+3
| | | | polystr() to the rescue.
* SConstruct: fix pycodestyle nits.Gary E. Miller2018-09-291-4/+2
|
* Fixes possible X11 launch in python-versions test.Fred Wright2018-09-291-5/+8
| | | | | | | | | | | Some of the Gtk imports may have the side effect of launching an X11 server if one isn't currently available (at least on the Mac). This can be suppressed by clearing the DISPLAY environment variable prior to those imports. This fix arranges to apply that to the environment used by the python-versions test. TESTED: Ran "scons python-versions" on OSX, and observed no X11 launch.
* Revert "Disables xgps[speed] -V in python-versions check."Gary E. Miller2018-09-271-7/+1
| | | | | | This reverts commit 8364908d0a3b922643c2f64bfeed3a26ed3a9552. This breaks new regression tests.
* Includes xgps deps test in test list.Fred Wright2018-09-271-0/+1
| | | | | | | | | | | | | This adds test-xgps-deps to the test-nondaemon list (and hence to the overall 'check' list). Since the Travis setup doesn't include the necessary prerequisites, it forces xgps=no for Travis. At the time this code was originally tested, Travis was still working. TESTED: Verified that the test is run, and that the test series fails iff one of the dependencies is broken.
* Adds test for xgps dependencies.Fred Wright2018-09-271-0/+10
| | | | | | | | | | | This adds a new test_xgps_deps.py, which duplicates the imports needed by xgps and xgpsspeed, as a quick way to verify that the proper prerequisites are in place. It avoids the imports that require (and connect to) an available X11 server. TESTED: Ran successfully with proper dependencies, and verified failure with either cairo or gobject3 removed.
* Disables xgps[speed] -V in python-versions check.Fred Wright2018-09-271-1/+7
| | | | | | | | | | | | | | | | | | | Some of the Gtk imports used by xgps and xgpsspeed aren't merely imports, but also actually establish a connection to the X11 server. Not only does this require that a usable X11 server be available (in some cases launching one), but it may also take significant time even when it works. It would be best to fix xgps and xgpsspeed to avoid those imports for options such as -V and -h, but in the meantime it's undesirable to include those programs in the version check. This fix replaces their invocations with a comment. The change that introduced the version checks almost certainly would have failed Bernd's Travis CI checks, if that mechanism hadn't died 166 commits ago. TESTED: Both "scons python-versions" and "scons check" now produce the expected results without launching an X11 server or delaying.
* SConstruct: Shutup more dumb pylint messages.Gary E. Miller2018-09-251-2/+3
|
* SConstruct: bump shared library version 23->24.Gary E. Miller2018-09-251-1/+1
|
* ubxtool/zerk: install these two programs by default.Gary E. Miller2018-09-241-1/+1
|
* zerk/ubxtool: Install new man pages by default.Gary E. Miller2018-09-241-0/+2
|
* SConstruct: Convert tabs to spaces.Gary E. Miller2018-09-211-19/+19
|
* SConstruct: check for pygobject (gi) for xgps and xgpsspeedGary E. Miller2018-09-211-8/+18
|
* SConstruct: do not build xgps and xgpsspeed if pycairo not found.Gary E. Miller2018-09-211-0/+11
| | | | | Used to not be a problem, but now 'scons check' tests the python programs, and those two fail without pycairo.
* SContruct: check nows runs each python program to check version.Gary E. Miller2018-09-211-1/+12
| | | | This ensures each program can actually run. A basic first test.
* SConstruct: pep8 cleanup, no functional change.Gary E. Miller2018-09-211-69/+68
|
* SConstruct: pep8 is now pycodestyle.Gary E. Miller2018-09-211-3/+1
| | | | Use the new name.
* AIS: Rebuild regressions tests for new precision.Gary E. Miller2018-09-211-0/+1
| | | | scons check needs to complain when AIS regression tests fail.