Commit Graph

266 Commits

Author SHA1 Message Date
Nedko Arnaudov c0e7f12e4b wscript: fix git version generation for tarballs (again) 2023-11-17 23:06:58 +02:00
Nedko Arnaudov 109b5372ea wscript: fix git version generation for tarballs 2023-11-17 23:02:32 +02:00
Nedko Arnaudov 3cd263b030 Bump jackdbus version to 2.23.0 2023-11-07 21:20:53 +02:00
Nedko Arnaudov 8947e5659a wscript: add --devmode option; use -std=gnu99 by default; adjust --debug 2023-11-07 21:06:43 +02:00
Nedko Arnaudov 72b81b8fcb Remove traces of jackaudio/jack2 macos and windows support in jackdbus codebase 2023-11-07 20:46:42 +02:00
Nedko Arnaudov ed167c1fa1 wsript: C++ compiler is not used, drop checks and options 2023-11-07 20:41:38 +02:00
Nedko Arnaudov a750039aa9 Use WafToolchainFlags from git submodule 2023-11-07 20:24:09 +02:00
Nedko Arnaudov 994086cfd9 Replace sigsegv.c with siginfo.c and build it only when explicitly enabled
siginfo is disabled by default so building on new CPU
architectures does not require adjusting of siginfo.c anymore.

When needed, --siginfo can be used as option to ./waf configure
to enable the functionality
2023-11-07 02:51:33 +02:00
Nedko Arnaudov 07085ef095 wscript: switch to WafToolchainFlags 2023-05-06 21:09:29 +03:00
Nedko Arnaudov 4263a92024 wscript: WafToolchainFlags 2023-05-06 21:09:04 +03:00
Nedko Arnaudov 005535b799 Restore display of source sha-1 in jackdbus log
This commit changes build info to display info about jackdbus itself,
along with libjackserver.so provided build info

Fixes https://github.com/LADI/jackdbus/issues/1
2023-04-18 21:43:20 +03:00
Nedko Arnaudov 3f04377896 Merge commit v1.9.22 into jackdbus 2023-02-02 20:03:23 +02:00
Nedko Arnaudov b75e75db77 Adjust my copyleft lines in wscripts
See https://github.com/jackaudio/jack2/pull/319
2022-09-10 16:16:17 +03:00
Karl Linden c4d0565898 License the project clearly
This adds a LICENSE file that describes which licenses this project is
licensed under. This is very important, as the project is licensed under
three licenses.

Also added are copyright notices to the wscript files. I added myself as
copyright holder to them, but there are other people who have
contributed to these files which should have their name in the copyright
header. Clearly stating the license of the wscript files should have
been done long ago.
2022-09-10 16:15:51 +03:00
Nedko Arnaudov b0f8d64ed1 wscript: disable broken autooption stuff (for now) 2022-08-28 00:08:12 +03:00
Nedko Arnaudov aeffa508d7 Upgrade waf to 2.0.24 2022-08-27 22:05:10 +03:00
Nedko Arnaudov b28b97ee1b Cleanup jackdbus 2022-08-27 21:35:48 +03:00
Nedko Arnaudov e8ab33123f Default autostart to "none"
Unless overriden during configure stage, autostart now defaults to
none.

This is safer approach for packagers wanting to provide both
jackdbus and jackd executables (via two distinct packages).

See also commit 35f4101850
2022-08-14 20:39:18 +03:00
Nedko Arnaudov 58d33170b2 Merge branch 'stable' into jackdbus-split 2022-08-14 19:46:02 +03:00
Nedko Arnaudov 6beaff285e LADI JACK2: Switch to 2.minor versioning scheme 2022-08-14 17:31:53 +03:00
Nedko Arnaudov 35f4101850 wscript: Default to jackdbus, enable dbus autolaunching
When 14 years ago --dbus configure option was added to wscript,
I was affraid that deployments of builds configured with defaults will
get broken, so I kept jackd daemon enabled by default.

Since then the mixed jackd+jackdbus deployments had happened -
a bunch of distro packagers ignored the upstream configure time
warning and the JACK2 project suggested packaging approach that
strongly discouraged such deployments.

Another issue that has proven problematic is the configuration of
autolaunching capabilities. For the sake of robust jackdbus
deployments, I'm also enabling dbus autolaunching. This will ensure
that jackdbus daemon will work as designed and expected to behave.

This commit is first of several that will remove the jackd code
from the source tree. Then, jackdbus will be buildabe from
dedicated repo+branch for jackdbus source code only, to be built
against jack2 (with jackdbus stuff removed), installed system-wide and
libjackserver accessible through pkg-config.
2022-08-14 16:04:26 +03:00
falkTX 9267f9c61f
Bump version and update changelog
Signed-off-by: falkTX <falktx@falktx.com>
2022-05-04 11:26:57 +01:00
falkTX a0b3e3e4dd
Remove readline as dependency
Signed-off-by: falkTX <falktx@falktx.com>
2022-05-04 11:23:31 +01:00
falkTX fb5da39783
Remove zita dependencies
Signed-off-by: falkTX <falktx@falktx.com>
2022-05-04 11:21:33 +01:00
falkTX c69d6097c2
sndfile is no longer a dependency
Signed-off-by: falkTX <falktx@falktx.com>
2022-05-04 11:20:37 +01:00
falkTX 564c710eef
Remove example-clients and tools
Signed-off-by: falkTX <falktx@falktx.com>
2022-05-04 11:19:06 +01:00
falkTX 88102ec4a7
Bump version to 1.9.21
Signed-off-by: falkTX <falktx@falktx.com>
2022-04-13 19:02:09 +01:00
David Runge aa27576236
Fix wscripts syntax (#826)
* Add flake8 configuration

.flake8:
Add flake8 configuration that limits the line length to 120 chars and
outputs to flake8.txt

* Add flake8.txt to gitignore

.gitignore:
Add flake8.txt (flake8 output file) to ignore.

* Syntax fixes and cleanup for top-level wscript

wscript:
Fix syntax of wscript according to pep8 (but do not break long lines).
Remove unused imports and move all module level imports to the top of
the file.
Fix broken build target of IIO driver (source argument to
`create_driver_obj()` supplied an uninitialized variable).
Break lines at 120 chars.

* Fix common/wscript syntax

common/wscript:
Fix syntax problems, unneeded imports and break lines at 120 chars.

* Fix compat/alloca/wscript syntax

compat/alloca/wscript:
Fix compat/alloca/wscript syntax

* Fix compat/wscript syntax

compat/wscript:
Fix compat/wscript syntax

* Fix dbus/wscript syntax

dbus/wscript:
Fix syntax and break lintes at 120 chars.

* Fix example-clients/wscript syntax

example-clients/wscript:
Fix syntax and remove commented code.

* Fix tests/wscript syntax

tests/wscript:
Fix syntax and commented code.

* Fix tools/wscript syntax

tools/wscript:
Fix tools/wscript syntax.

* Add github workflow for linting wscripts

.github/workflows/lint.yml:
Add github workflow for linting wscripts using findutils and flake8.

* Fix project version extraction in CI

.github/workflows/build.yml:
Adapt the project version extraction in CI to the syntax changes in
the top-level wscript.
2022-04-13 18:29:29 +01:00
falkTX c9d8173d27
Make example-tools off by default
Signed-off-by: falkTX <falktx@falktx.com>
2022-04-13 17:24:02 +01:00
David Runge e8c0be1ce9 Fix build of jack-example-tools with waf autooptions
wscript:
In 61a708f2c6873881ae36fa2f01b38a15bfc3f681 a regression has been
introduced, that always leads to not building the jack-example-tools
(even if selected).
This has been introduced due to the use of the wrong configuration
environment `HAVE_JACK_EXAMPLE_TOOLS`, whereas it should have been
`BUILD_JACK_EXAMPLE_TOOLS`.
2022-01-15 15:09:56 +00:00
David Runge 3d6fd78701 Remove use of svnversion_regenerate.sh
dbus/jackdbus.c:
Rely on the `JACK_VERSION` define instead of `SVN_VERSION` (included
from svnversion.h).

dbus/wscript:
Add the `JACK_VERSION` define based on `JACK_VERSION` configuration.

wscript:
Remove all code related to the use of `svnversion.h` and
`svnversion_regenerate.sh`.
2022-01-15 15:09:56 +00:00
David Runge 508d95a97e Allow optional build of jack-example-tools
wscript:
Add option `--example-tools` to allow optional build of executables and
libraries provided by jack-example-tools (defaults to True).
It can be used as `--example-tools=yes|no` or `--no-example-tools` or
plain `--example-tools`.
Based on the new option, set the configuration environment variable
`HAVE_JACK_EXAMPLE_TOOLS` which is used throughout the configuration
and build steps to include the `example-clients`, `tools` and `tests`
subdirectories.

man/wscript:
Provide the `HAVE_JACK_EXAMPLE_TOOLS` build environment variable to the
`fill_template` script as second argument.
Remove unused imports.

man/fill_template:
Change the behavior of the script to only create all man pages if the
second argument to the script is `True` (the jack-example-tools are
being built), else only create the man page for jackd.
2022-01-15 15:09:56 +00:00
Florian Walpen b6f93234ef FreeBSD: Specific FreeBSD OSS driver.
Start with an unchanged copy of the Solaris OSS driver.
2022-01-15 15:09:55 +00:00
Greg V 5f9e108e16 Fix missing CELT use for net driver 2022-01-15 15:09:55 +00:00
Goran Mekić 5c667d5282 Add FreeBSD support 2022-01-15 15:09:55 +00:00
falkTX 03f474c611 Start of v1.9.20
Signed-off-by: falkTX <falktx@falktx.com>
2022-01-15 15:09:55 +00:00
falkTX 66f9bdb386 Better handling of optional asio
Signed-off-by: falkTX <falktx@falktx.com>
2022-01-15 15:09:55 +00:00
falkTX fd562bdf13 Fix custom win32 detection, fixes missing HAVE_ASIO macro
Signed-off-by: falkTX <falktx@falktx.com>
2022-01-15 15:09:55 +00:00
falkTX 0ac09f7e3d
Silence invalid offsetof warning, only used in static_assert
Signed-off-by: falkTX <falktx@falktx.com>
2021-07-05 20:34:03 +01:00
falkTX dd1d70c8ff
Start of 1.9.19
Signed-off-by: falkTX <falktx@falktx.com>
2021-04-29 16:59:52 +01:00
falkTX 5a1c0f98d5 Add zalsa configure flag, enabled by default if possible
Signed-off-by: falkTX <falktx@falktx.com>
2021-04-14 16:15:01 +01:00
falkTX 1dea3e2c01 Start v1.9.18
Signed-off-by: falkTX <falktx@falktx.com>
2021-04-13 10:16:49 +01:00
falkTX b04b61622e
Prepare for future things 2021-01-05 00:52:13 +00:00
falkTX a938d7aef3
Revert "Bump JACK_API_VERSION to match jack1 (1.0.0)"
This reverts commit ede4621675.
2020-10-17 21:19:17 +01:00
falkTX ede4621675 Bump JACK_API_VERSION to match jack1 (1.0.0) 2020-10-17 07:36:39 +01:00
falkTX db76dd6bb8
1.9.16 release
Signed-off-by: falkTX <falktx@falktx.com>
2020-10-16 20:10:20 +01:00
falkTX ef0f3c0931
Preparations for 1.9.15 release
Signed-off-by: falkTX <falktx@falktx.com>
2020-10-12 18:23:00 +01:00
falkTX 34da6cce6e
Special tricks for static win64 mixed build
Signed-off-by: falkTX <falktx@falktx.com>
2020-09-20 02:39:17 +01:00
falkTX b19c12ba56
Split example-clients and tools, as done for jack1
Signed-off-by: falkTX <falktx@falktx.com>
2020-09-20 01:11:13 +01:00
falkTX 5a9a7c50cc
Add --static configure flag, used for official windows builds
Signed-off-by: falkTX <falktx@falktx.com>
2020-09-13 04:17:26 +01:00