Wykres commitów

60 Commity (master)

Autor SHA1 Wiadomość Data
Mike Black W9MDB f5d6be3b3e Fix a dependency check for bindings 2024-02-08 09:59:52 -06:00
Mike Black W9MDB 5446b2c99d Fix dependency for ignore.swg 2023-07-30 16:01:35 -05:00
orbea 4fa9a211ad bindings: Fix tcl build with slibtool 2022-05-06 22:12:18 -07:00
Mike Black W9MDB c774a05be4 Revert "Merge pull request #1022 from orbea/tcl"
This merge breaks the default tcl build as it can't find the
This reverts commit 4d919ec454, reversing
changes made to 279bc84dfe.
This patch breaks the default tcl build as it can't find Tcl pkgconfig
configure: error: Unable to find Tcl pkgconfig
2022-05-06 23:08:47 -05:00
orbea 9dfbd235af bindings: Fix tcl build with slibtool 2022-05-06 17:13:39 -07:00
Mike Black W9MDB 06f471d5c8 Add AM_CFLAGS to bindings/Makefile.am to pick up debug flags 2021-09-03 17:31:33 -05:00
Michael Black W9MDB fd0c8cba7c Another attempt to get MacOS python2 binding working
https://github.com/Hamlib/Hamlib/issues/477
2021-03-10 23:45:38 -06:00
Michael Black W9MDB 8a2a51b221 Possible fix for MacOS python2 binding build
https://github.com/Hamlib/Hamlib/issues/477
2021-03-09 10:09:22 -06:00
Michael Black W9MDB 0f0705d014 Fix python binding for future deprecation of distutils.sysconfig
Hopefully works on MacOS
Also hopefully works on python2
https://github.com/Hamlib/Hamlib/issues/477
2021-03-08 23:26:44 -06:00
Michael Black W9MDB 741499c260 Add amplifier.swg to Makefile.am
https://github.com/Hamlib/Hamlib/issues/367
2020-09-07 09:59:32 -05:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Nate Bargmann 762ca51cba
Remove backticks from bindings/Makefile.am 2020-05-30 13:14:33 -05:00
Michael Black 209ce2c8a1 Change CXXFLAGS for swig compilation to avoid warnings which we can't do anything about 2020-04-10 08:36:51 -05:00
Michael Black 40ab38e757 Fix bindings for VOXDELAY 2020-03-29 23:57:28 -05:00
Michael Black b040803765 Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black 8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Nate Bargmann f1c0267867 Apply silent rules to LUA
Use $(LUA) to run luatest.lua.
2017-07-27 16:48:03 -05:00
Nate Bargmann 2ef6d5ce0e Apply silent rules to Perl to the extent possible
Run the perltest.pl script for the check-perl test.
2017-07-27 15:54:57 -05:00
Nate Bargmann 7f76171259 Apply silent rule variables to Python 2017-07-27 15:08:22 -05:00
Nate Bargmann 21a86f429e Fix TCL script test target--check-tcl
Found that when nothing was installed that check-tcl failed with a
failure of tclsh not being able to load the shared library.  Thanks to
assistance from comp.lang.tcl, copying pkgIndex.tcl to $(builddir)/.libs
prior to loading the test script allows the script to load the shared
library immediately after 'make' and before 'make install'.

Prefixed various TCL section target commands with either $(AM_V_GEN) or
$(AM_V_at) to conditionally silence the output of 'make'.
2017-07-27 14:44:40 -05:00
Nate Bargmann 4f9085f8f5 Bindings tweaks for Python and TCL
Remove execute bits for all test scripts and install them into
doc/examples.

Make sure check-py and check-tcl targets work.

Set a conditional for Python3 or Python2 and install/test the correct
script file.

Use Makefile variables instead of configure substitutions wherever
possible.

Generate tcltest.tcl at make time to insert installation library path
into the script so that tests pass.
2017-07-26 06:33:42 -05:00
Nate Bargmann a2a873bbc9 Update ax_python_devel.m4 macro
Also reorder its call in configure.ac which now allows the PYTHON_VERSION
environment variable to be recognized and processed correctly by the
build system.

Correctly add PYTHON_LIBS (correct ouput variable of AX_PYTHON_DEVEL) to the
Makefile for the Python bindings.

Update README.python for use of PYTHON_VERSION.
2017-07-23 10:52:16 -05:00
Nate Bargmann 6e3b79fc69 Initial Python3 build steps and test script
The increasing popularity of Python3 requires that Hamlib provide a
means of instruction for building and installing its module concurrent
with the Python2 module.  README.python outlines the required steps.
py3test.py is a reworking of the pytest.py script for Python3 syntax.
2017-07-19 21:17:34 -05:00
Ervin Hegedus 2b657e7c9d Added Lua binding and demo script 2016-12-13 16:28:41 -06:00
Richard Shaw c2337d9597 Fix location of custom Python bindings.
I have a small patch to correct the install location of the python
bindings.

Since it's not a pure python extension is belongs in pyexecdir instead
of pythondir, which for multilib systems like Fedora will get installed
into /usr/lib64/python{ver}/site-packages on 64bit systems.

This is consistent with the automake documentation:

http://www.gnu.org/software/automake/manual/html_node/Python.html

(Patch adjusted by n0nb for Hamlib 3.0 bindings/Makefile.am)

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2014-09-08 20:48:38 -05:00
Nate Bargmann 44d99a61cd Build system fixes for the Perl/Python/TCL bindings
Various fixes for building the bindings properly.

Install TCL binding to $(libdir)/tcl/Hamlib, arbitrarily chosen since
there seems to be no standard installation location.  When install
location is changed, tcltest.tcl documents the needed change to a TCL
script.

In the Perl and Python test scripts, improved the QRA examples.  In all
scripts used tabs to line up printed values nicely.

Updated INSTALL and NEWS for recent updates.  Better documented bindings
installation and uninstallation in INSTALL.
2012-11-28 17:11:41 -06:00
Nate Bargmann aa504fe024 bindings/Makefile.am: Group variables and targets 2012-11-19 14:30:48 -06:00
Nate Bargmann a62d40647e bindings/Makefile.am: Fix 'make dist'
'make dist' was broken by the previous patch.  Now tell Automake not to
build or distribute Hamlib.py.
2012-11-19 12:10:25 -06:00
Nate Bargmann 00aaaf4c50 configure.ac: Clean up the binding builds a bit.
A Perl file was being compile whether Perl binding was enabled or not.
Fixed that and configured an AM_CONDITIONAL for Perl so its components
will not be built when it is not enabled.
2012-11-17 08:45:16 -06:00
Nate Bargmann 33f25820ac Fix bindings build by replacing *all* INCLUDES! 2012-02-04 07:51:25 -06:00
Nate Bargmann a5f13e0056 Set AC_PREREQ to 2.67, enable Automake warnings
Deprecate the use of the INCLUDES variable in favor of the AM_CPPFLAGS
variable per Automake warnings and documentation.
2012-02-03 22:09:45 -06:00
Stéphane Fillod, F8CFE a02cf50c71 fix simple make dist
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2906 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-04 22:18:11 +00:00
Stéphane Fillod, F8CFE 3de1b6918d fix build when tcl binding selected but not python
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2903 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-02 21:55:00 +00:00
Thomas Beierlein, DL1JBE 28eb7c00b0 Fix for python install path. Goes now to .../site-packages where it belongs.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2855 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-14 15:01:09 +00:00
Stéphane Fillod, F8CFE 9b363f9c96 Make building tcl-bindings optional
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2684 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-23 22:49:45 +00:00
Thomas Beierlein, DL1JBE bd65eb907e fix for gcc warnings: dereferencing type-punned pointer will break strict-aliasing rules"
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2369 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-06-26 15:23:06 +00:00
Stéphane Fillod, F8CFE 1cba659924 allow perl binding to find libhamlib in src, but nuke LD_RUN_PATH, hence preventing any rpath backdoor
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2360 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-17 16:36:54 +00:00
Stéphane Fillod, F8CFE 24e179a397 partly fix dependencies
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2350 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:36:33 +00:00
Joop Stakenborg, PG4I 6486540e36 no need to link to python
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2259 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-27 19:55:19 +00:00
Nate Bargmann, N0NB dcefad2213 Revert change in bindings/Makefile.am that broke autogen.sh
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2175 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-01-27 02:14:00 +00:00
Diane Bruce, VA3DB 456b899b2b - first cut at fixing configure to recognise --without-tcl-binding
and --without-python-binding options


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2173 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-12-27 04:41:39 +00:00
Nate Bargmann, N0NB fcf1546fdd 20061108:
Update:
		Commented out the commands to the uninstall-perl target
		as it's broken and causes a make error and failure.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2161 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-09 04:32:35 +00:00
Nate Bargmann, N0NB d7e04abffd 20061106:
Update:
		Fix distclean bug in bindings Makefile


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2158 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-07 04:28:26 +00:00
Joop Stakenborg, PG4I 00610b3321 remove rpath backdoor
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2102 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-04-10 17:27:42 +00:00
Stéphane Fillod, F8CFE 1a47b54ec9 fix problem: build bindings libs as real LT libs and not convenience libs(ar format) with some automake/libtool
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2060 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-01-15 14:22:00 +00:00
Stéphane Fillod, F8CFE 2f18531e26 check for Python presence
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2012 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-13 18:56:19 +00:00
Stéphane Fillod, F8CFE 81d9a7b369 allow to select indivial bindings to build, patch by Hargobind S. Khalsa
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1960 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 17:06:37 +00:00
Stéphane Fillod, F8CFE 7f7b2c6dd6 VB script
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1774 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-01 21:18:23 +00:00
Stéphane Fillod, F8CFE 0972851aaf new install methods
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1675 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-08 17:52:59 +00:00
Stéphane Fillod, F8CFE 2da3150ecb gr_swig.m4 macro
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1598 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 22:09:38 +00:00