Commit Graph

55 Commits

Author SHA1 Message Date
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Thomas Perrot
3b448edbf3
jack: apply some improvements
- Remove the do_install append because jack_control no longer
  builds when the dbus pkgconfig is disabled.
- Add python3-core to the runtime dependencies when D-Bus is
  enabled, because jack_control requires /usr/bin/python3.
- Use PACKAGE_BEFORE_PN to enable additional packages.
- Remove the HTML documentation because it no longer builds.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-27 17:05:46 -07:00
Richard Purdie
eac1f5b9c0
recipes: Fix variable assignment whitespace
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-20 08:46:56 -07:00
David Sands
608f9aab51
jack-example-tools: add new recipe
This commit adds a package that provides jack-utils (along with jack example clients) that are broken out from the main jack repo since jack v1.9.22

Signed-off-by: David Sands <david.sands3@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-19 16:59:11 -08:00
David Sands
e8ad9b41dd
jack: remove jack-utils
This commit removes jack-utils from the jack recipe as it has been broken out into it's own repo from jack v1.9.22 onwards.

Signed-off-by: David Sands <david.sands3@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-19 16:59:10 -08:00
Martin Jansa
2c6caea18f
jack: fix build with python3 on host
* first backport from waflib fixes:
| DEBUG: Executing shell function do_configure
| Traceback (most recent call last):
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/./waf", line 166, in <module>
|     from waflib import Scripting
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Scripting.py", line 10, in <module>
|     from waflib import Utils, Configure, Logs, Options, ConfigSet, Context, Errors, Build, Node
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Configure.py", line 16, in <module>
|     from waflib import ConfigSet, Utils, Options, Logs, Context, Build, Errors
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Options.py", line 14, in <module>
|     from waflib import Logs, Utils, Context, Errors
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Context.py", line 9, in <module>
|     import os, re, imp, sys
| ModuleNotFoundError: No module named 'imp'

  the 2nd one avoids SyntaxWarning from waf --version which causes
  waf_preconfigure to fail, because SyntaxWarning ends in
    waf_preconfigure to fail, because SyntaxWarning ends in bb.utils.vercmp_string_op:

jack/1.9.22/git $ python3 waf --version
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Context.py:617: SyntaxWarning: invalid escape sequence '\_'
  """
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Build.py:107: SyntaxWarning: invalid escape sequence '\*'
  """List of targets to build (default: \*)"""
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Task.py:1047: SyntaxWarning: invalid escape sequence '\w'
  re_cond = re.compile('(?P<var>\w+)|(?P<or>\|)|(?P<and>&)')
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/TaskGen.py:730: SyntaxWarning: invalid escape sequence '\w'
  re_m4 = re.compile('@(\w+)@', re.M)
waf 2.0.12 (54841218840ffa34fddf834680a5a17db69caa12)

As reported in
https://lists.openembedded.org/g/openembedded-core/message/194348

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-27 09:48:32 -08:00
Peter Kjellerstedt
3b942172ba jack: Revert to 1.9.22
There is no version "2". The tag "jack2-control-api-relicense-nedko"
incorrectly triggered AUH to identify it as version "2". Additionally,
the previous recipe version "1.19.22" was also incorrect. It should
actually have been "1.9.22".

License-Update: Update the licenses based on analysis of the code
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-07 19:59:58 -08:00
Khem Raj
41c848d001 jack: upgrade 1.19.22 -> 2
License-Update: Update license field to reflect missing AFL-2.1 and MIT licenses

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:26:30 -08:00
Richard Purdie
9962d57f7c meta-oe: Drop broken BBCLASSEXTEND variants
The command "bitbake universe -c fetch" currently throws a ton of warnings
as there are many 'impossible' dependencies.

In some cases these variants may never have worked and were just added by copy
and paste of recipes. In some cases they once clearly did work but became
broken somewhere along the way. Users may also be carrying local bbappend files
which add further BBCLASSEXTEND.

Having universe fetch work without warnings is desireable so clean up the broken
variants. Anyone actually needing something dropped here can propose adding it
and the correct functional dependencies back quite easily. This also then
ensures we're not carrying or fixing things nobody uses.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-24 09:08:45 -07:00
Kirk Hays
4bacc11b3a jack: Drop dependency on readline
Since Jack version 1.19.22, "readline" is no longer used [1]

[1] https://jackaudio.org/news/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-17 16:54:40 -07:00
Wang Mingyu
bcf592303c jack: upgrade 1.19.21 -> 1.19.22
0001-Remove-usage-of-U-mode-bit-for-opening-files-in-pyth.patch
removed since it's included in 1.19.22.

Changelog:
==========
The waf autooption --example-tools has been removed.
The example clients and tools are no longer part of the jack2 project.
Drop dependencies that were only used for example clients and tools (readline, sndfile and zita libs)
Fix build with python3.11+
Fix compatibility with macOS 12+
Fix ringbuffer thread safety on ARM

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 13:19:36 -08:00
Martin Jansa
c157c78b84 jack: fix compatibility with python-3.11
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-11 08:21:44 -07:00
Khem Raj
c1a04594cb jack: Upgrade to 1.19.21
Release Notes: https://github.com/jackaudio/jack2/releases/tag/v1.9.21

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-17 01:09:18 -07:00
Markus Volk
4d682a88e3 jack: allow to build native/nativesdk
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-24 08:39:45 -07:00
Andreas Müller
423a01e9ef jack: upgrade 1.19.19 -> 1.19.20
* Patch to fix simdtests.cpp was merged
* guess who initially wrote simdtests.cpp :)

Changes
* Add waf autooption --example-tools to allow optional build of executables, libraries and man pages provided by jack-example-tools (the files are built by default).
* Building and installing the additional files can be disabled by using --example-tools=no or --no-example-tools.
* Fix 32-bit support in ALSA driver
* Fix incomplete ASIO support on Windows
* Fix metadata usage with multiple users
* Fix netsource tool missing on Windows
* Fix semaphore usage on macOS
* Official FreeBSD support

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-06 20:25:34 -04:00
Khem Raj
dc989053c7 a2jmidid: Fix build on ppc/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-26 18:15:11 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Andreas Müller
3d198001a2 jack: upgrade 1.19.18 -> 1.19.19
Changes:

* Add jack_position_t::tick_double, and flags around it
* Add zalsa "-w" argument to wait for soundcard to be available
* Bump internal protocol version to 9 (due to struct alignment)
* Fix alignment of fields for atomic accesses
* Fix build for platforms needing __STDC_FORMAT_MACROS
* Fix compilation of documentation

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-27 09:52:23 -07:00
Andreas Müller
89cd15c7de jack: upgrade 1.19.17 -> 1.19.18
Changes:
* Add zalsa_in/out as internal client (based on zita-a2j/j2a and jack1 code)
* Fix jack_midi_dump deadlock on close after the jack server is restarted
* Fix interrupt signal for linux futex waits
* Log error message when cleaning previous DB (macOS and Windows)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-30 18:44:59 -07:00
Andreas Müller
2e5414c838 jack: upgrade 1.19.16 -> 1.19.17
removed patch was merged

1.9.17

    Fix jack_control stopping after first command iteration
    Fix library compat/current version under macOS
    Fix return codes of jackd on success
    Ignore DB_VERSION_MISMATCH error on windows, it is expected
    Remove old workaround for asio4all, as it breaks with jack-router

External changes, related to macOS/Windows installer:

    Add jack-router to Windows installer, opt-in
    Fix registry keys for Windows, add 32bit compat ones on 64bit
    Support for arm64 macOS builds
    Show welcome and license pages on windows installer
    Update QjackCtl used in macOS/Windows installers to v0.9.0, with some commits cherry-picked from develop branch

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-21 17:50:42 -08:00
Khem Raj
2eedfe5001 jack: Upgrade to 1.19.16
Update the jack_simdtests patch to latest submission upstream
Fix build on RISCV32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-16 12:34:55 -08:00
Khem Raj
55553fde2d jack: Use c++ compiler for programs which use c++ source files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-15 23:17:40 -08:00
Khem Raj
324dec2a55 a2jmidid: Upgrade to release 9
- Switch to using git for SRC_URI, since 9 is not available in original location
- Drop upstreamed aarch64 support patch
- Drop waf patch as it uses meson now
- Disable lto for now, meson needs to pass full CC to LTO plugin otherwise
  we get linking errors since LTO objects are not compiled with right ABI
  especially on arm ( mixing hard/soft float)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 20:07:16 -08:00
Ross Burton
d77753342f jack: upgrade to 1.19.14
Notable because it uses Python 3 for the Waf scripts.

Delete jack_control if DBus isn't enabled, as this tool uses DBus to communicate
with the server and shouldn't be installed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 20:07:16 -08:00
Khem Raj
7b5e19ba4d a2jmidid: Fix build on risv
Fixes
../a2jmidid-8/sigsegv.c:102:39: error: no member named 'gregs' in 'struct mcontext_t'
|                 ucontext->uc_mcontext.gregs[i]
|                 ~~~~~~~~~~~~~~~~~~~~~ ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-10 21:58:10 -07:00
Andreas Müller
f11bc988d7 jack: upgrade 1.9.12 -> 1.9.13
This release contains various fixes / enhancements - from release announcement:

* Meta-data API implementation. (and a few tools updated with support for it)
* Correct GPL licence to LGPL for files needed to build libjack.
* Remove FreeBoB backend (superseded by FFADO).
* define JACK_LIB_EXPORT, useful for internal clients.
* Mark jack_midi_reset_buffer as deprecated.
* Add example systemd unit file
* Signal to systemd when jackd is ready.
* Set "seq" alsa midi driver to maximum resolution possible.
* Fix loading internal clients from another internal client.
* Code cleanup and various fixes. (too many to mention here, see git log for details)

Backported patches can go.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-09 23:27:15 -07:00
Andreas Müller
cce95f6869 jack: Add packageconfig for dbus add files generated to jack-server package
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:45:53 -08:00
Khem Raj
fe08cf3545 jack: Fix build when using libc++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 13:34:49 -08:00
Khem Raj
04df72ad37 a2jmidid: Define own do_configure
waf script here does not support -o switch so define own which can
be run in B

Secondly, ensure to use python2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-04 10:00:48 -08:00
Khem Raj
c637d4c64f jack: Fix build with python 3.7+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 08:04:22 -07:00
Andreas Müller
cd388605bf jack: Update 1.9.12
gcc7 build was fixed upstream [1]

[1] f7bccdca65

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-22 19:40:02 -08:00
Khem Raj
567e48cc76 a2jmidid: Link with libexecinfo on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:58:50 +02:00
Khem Raj
1d7d2dbfc8 jack2: Fix build errors found with gcc7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:29 +02:00
Andreas Müller
8b0da4671f jack: update to latest git-revision
NEON patches are upstream

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-04-18 14:21:42 +02:00
Florian Wickert
dcd6d5b240 jack: remove (non-existing) package jack from dependencies of jack-dev
jack-dev depends on jack, which does not exist. This patch removes this dependency.

Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:39 +02:00
Khem Raj
073fc4e476 a2jmidid: Fix build on aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:43 +01:00
Andreas Müller
4a3ab8a7da a2jmidid: add pkgconfig to inherit and unblacklist
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:56 +01:00
Martin Jansa
b7f480cc4c python-edbus exquisite elementary libeweather unionfs-fuse xfsprogs gmtk devilspie2 gnome-backgrounds gnome-desktop gnome-mime-data gtk-engines gtksourceview2 libgnomekbd libidl-native onboard libgpewidget ubi-utils-klibc kexec-tools-klibc gupnp-igd gupnp-tools dvb-apps gstreamer mpd crda netcat-openbsd wireshark gnokii libmbim mosh networkmanager-openvpn libtelepathy dbus-daemon-proxy libdbus-c++ php vala-dbus-binding-tool collectd libgxim pywbem gtkhtml2 fbida fontforge libsexy wayland-fits xstdcmap xf86-video-glamo font-adobe-100dpi font-adobe-utopia-100dpi font-bh-100dpi font-bh-lucidatypewriter-100dpi font-misc-misc crash a2jmidid libsdl2-mixer libsdl-mixer minidlna sylpheed libsdl2-ttf libsdl-ttf ode pidgin postgresql syslog-ng usb-modeswitch xdg-user-dirs gateone python3-cryptography-vectors python3-ndg-httpsclient python-cryptography-vectors python-pbr bundler netdata menulibre openzone xfce4-verve-plugin iperf terminus-font xf86-video-nouveau ipmiutil klibc-utils pmbw multipath-tools gparted, gnome-system-monitor, php, vala-dbus-binding-tool, gtkmathview, lmsensors, postgresql: Blacklist
* fails repeatedly as reported in:
  http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:44:34 +01:00
Andreas Müller
d307c4f59d jack: add ARM NEON support for sample conversions
Add a test application checking accurracy and performance win of accelerated
code.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:23 +01:00
Andreas Müller
55493cb33b jack: add a PACKAGECONFIG for opus - disabled by default
It was broken before  libopus/--enable-custom-modes patch anyway and netjack2
is an enhanced feature not necessary by default.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 16:00:02 +01:00
Andreas Müller
65bb47c88d jack: fix PACKAGECONFIG for alsa
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 16:00:01 +01:00
Andreas Müller
3221d42525 jack: update to git master
I am interested in dither random generator fix [1]

[1] 0279a2d65a

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 16:00:01 +01:00
Andreas Müller
2846999f6c a2jmidid: initial add v8
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-21 18:20:44 +02:00
Andreas Müller
d6cd37b495 jack: remove portaudio PACKAGECONFIG
portaudio backend is only available for windows builds - see README

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-21 18:20:44 +02:00
Andreas Müller
0f8f1973e2 jack: swap to jack2
* works out of the box without modificatins to /etc/security/limits.conf neccessary
* neon support was introduced
* on RaspberryPi2 buffer sizes can be set to smallest accepted value without XRUN
  -> reduced latency

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-21 18:20:43 +02:00
Andreas Müller
c1a6b86579 jack: update to 0.125.0rc1
* put neccessary sources together
* add PACKAGECONFIGs for alsa and portaudio
* remove magic and unknown EXTRA_OEMAKE - have no idea what it was for
* remove TWL4030 specific patch - this is somthing a bsp layer should do
* replace patch for checking if already installed by config --enable-force-install

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:11 +02:00
Richard Purdie
36d57b9234 recipes: add missing pkgconfig class inherits
* These recipes all use pkg-config in some way but were missing
  dependencies on the tool, this patch adds them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 13:06:13 +02:00
Koen Kooi
0ffd1ba9ab jack: move to git
The subversion repository has been closed down.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:47:02 +02:00