Commit graph

135 commits

Author SHA1 Message Date
Vladimir Druzenko
e01ecc1420 audio/jack: remove SOSSO option accidentally added to DEFAULT
PR:		280611
Approved by:	Florian Walpen <dev@submerge.ch> (maintainer)
Fixes:		183213847e (Option for new OSS driver backend)
2024-08-06 20:44:07 +03:00
Florian Walpen
183213847e audio/jack: Option for new OSS driver backend
Add a non-default option to build the new OSS driver backend coming in
the next JACK release. The backend is a complete rewrite based on the
sosso library, with improved stability and low latency capabilities. Let
users preview and test the new backend before it becomes default.
Builds with default options are not affected, thus no PORTREVISION bump.

While here, cleanup two checks in the RC service script, one of them
deprecated, the other was ineffective by mistake.

PR:	280611
2024-08-06 17:53:06 +03:00
Gleb Popov
eeb340d30a audio/jack: Mark TESTING_UNSAFE 2024-03-06 22:19:08 +03:00
Florian Walpen
100a9852dd audio/jack: Remove obsolete realtime hack for RC service, with checks
PR:		276607
2024-02-11 09:03:42 -08:00
Rene Ladan
3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00
Christian Weisgerber
feb1fa34f5 audio/opus: bump consumers after update to 1.4 2023-04-25 17:17:15 +02:00
Florian Walpen
5104085525 audio/jack: Update to 1.9.22 release.
ChangeLog: https://github.com/jackaudio/jack2/releases/tag/v1.9.22

 * 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

PR:		269413
Reported by:	dev@submerge.ch (maintainer)
2023-02-10 11:30:48 +01:00
Dima Panov
ce7206b2c3 audio/jack: unbreak build with Python 3.11 (+)
'U' is default and deprecated since python-3.3, becomes a failure in 3.11.

See also:	https://github.com/jackaudio/jack2/issues/898
Obtained from:	Gentoo
Approved by:	portmgr blanket (trivial fix build)
2022-11-11 18:49:32 +03:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Florian Walpen
7ed9659bab audio/jack: Update 1.9.20 -> 1.9.21
PR:		263344
2022-04-17 13:04:51 -07:00
Piotr Kubaj
ba0ed97e07 audio/jack: switch back to clang on powerpc*
Builds fine now.
2022-02-10 00:06:24 +00:00
Mikael Urankar
22c0c4f2a6 audio/jack: Fix alignas() on non-packed architectures
Unbreak the build with Clang on architectures where JACK uses non-packed
data structures, like arm64 or powerpc. The alignment errors are exposed
there because:
 * The non-packed data structures require 8 byte alignment.
 * alignas() is not allowed to weaken alignment requirements to 4 bytes.
 * Clang enforces this according to standard, GCC ignores it.

Use an additional alignas() specifier to let the compiler choose between
minimum alignment (packed) and "natural" alignment (non-packed). This is
both standard c++11 and compatible with older GCC, which does not
propagate alignment requirements of packed substructures properly.

PR:		261508
Submitted by:	Florian Walpen <dev@submerge.ch>
2022-02-09 17:19:35 +01:00
Piotr Kubaj
0e3bf07e2c audio/jack: fix build on powerpc64le
Same issue as on powerpc and powerpc64.
2022-01-26 00:05:55 +00:00
Piotr Kubaj
159b44b2fb audio/jack: fix build on powerpc and powerpc64
Use GCC:
09:13:58 runner ['c++', '-O2', '-pipe', '-fPIC', '-fstack-protector-strong', '-fno-strict-aliasing', '-Wall', '-Wno-invalid-offsetof', '-std=gnu++11', '-fPIC', '-Ifreebsd', '-I../freebsd', '-Iposix', '-I../posix', '-Icommon', '-I../common', '-Icommon/jack', '-I../common/jack', '-I.', '-I..', '-I../compat/alloca', '-I/usr/local/include/opus', '-I/usr/local/include', '-I/usr/local/include/dbus-1.0', '-I/usr/local/lib/dbus-1.0/include', '-DEXECINFO=1', '-DHAVE_LIBSYSINFO=1', '-DHAVE_DOXYGEN=0', '-DHAVE_ALSA=0', '-DHAVE_FIREWIRE=0', '-DHAVE_IIO=0', '-DHAVE_PORTAUDIO=0', '-DHAVE_WINMME=0', '-DHAVE_CELT=0', '-DHAVE_EXAMPLE_TOOLS=0', '-DHAVE_OPUS_OPUS_CUSTOM_H=1', '-DHAVE_OPUS_PKG=1', '-DHAVE_OPUS=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_SNDFILE=0', '-DHAVE_READLINE=0', '-DHAVE_SYSTEMD=0', '-DHAVE_DB_H=1', '-DHAVE_DB=0', '-DHAVE_ZALSA=0', '-DHAVE_PPOLL=1', '-DHAVE_EXECINFO_H=1', '-DJACK_VERSION="[]"', '-DHAVE_DBUS_1=1', '-DHAVE_EXPAT=1', '-DUSE_LIBDBUS_AUTOLAUNCH=1', '-DCLIENT_NUM=256', '-DPORT_NUM_FOR_CLIENT=2048', '-DADDON_DIR="/usr/local/lib/jack"', '-DJACK_LOCATION="/usr/local/bin"', '-DUSE_POSIX_SHM=1', '-DJACKMP=1', '-DJACK_DBUS=1', '-DHAVE_CONFIG_H', '-DSERVER_SIDE', '../common/JackDebugClient.cpp', '-c', '-o/wrkdirs/usr/ports/audio/jack/work/jack2-1.9.20/build/common/JackDebugClient.cpp.2.o', '-I/usr/local/include']
In file included from ../common/JackDebugClient.cpp:21:
../common/JackEngineControl.h:67:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackTransportEngine'
    alignas(UInt32) JackTransportEngine fTransport;
    ^
../common/JackEngineControl.h:89:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackFrameTimer'
    alignas(UInt32) JackFrameTimer fFrameTimer;
    ^
2 errors generated.
2022-01-26 00:05:53 +00:00
Hans Petter Selasky
93344cda77 audio/jack: Update to 1.9.20 release.
The FreeBSD specific changes have been upstreamed, we can fetch the original
sources again. Development of the client examples and tools has been split
from the JACK server, move them to the new port jack-example-tools.

This also includes a fix for missing library symbols, see bug #257696.

Take maintainership of audio/jack and audio/jack-example-tools .

PR: 257696
PR: 261256

Submitted by:   Florian Walpen <dev@submerge.ch>
Approved by:	pi (implicit)
2022-01-19 11:44:09 +01:00
Thomas Zander
7c4da31084
audio/jack: Remove celt support (deprecated upstream).
PR:		258658
Reported by:	diizzy
2021-10-09 09:29:51 +02:00
Yuri Victorovich
5708ae4005 audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.

PR:		251125
Submitted by:	Florian Walpen <dev@submerge.ch> (original version)
2021-08-02 09:03:15 -07:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Dima Panov
2ec10e7dd9 devel/doxygen: Update to 1.9.0
- regen patches by 'make makepatch'
- adjust consumers which affected by new doxygen styles
- take maintainersip

Changelog: https://www.doxygen.nl/manual/changelog.html#log_1_9_0

PR:		242347
Submitted by:	fluffy
Reported by:	Naram Qashat (ex-maintainer)
Exp-run by:	antoine
2021-01-08 07:47:02 +00:00
Thomas Zander
8337fc6d5f Chase libsndfile 1.0.30 update.
Details:
- Missing symbol sf_version_string, not auto-resolved by pkg + rebuild.
- Bump PORTREVISION for consumers.
2020-10-01 08:56:20 +00:00
Tobias Kortkamp
a167bf51dd audio/sndio: Update to 1.7.0 2020-07-12 09:30:28 +00:00
Dmitry Marakasov
021d08bde0 - Update WWW
Approved by:	portmgr blanket
2019-11-18 09:39:56 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Baptiste Daroussin
19a38d2261 Only print the message during the first installation,
not at each upgrades
2019-06-04 06:17:58 +00:00
Sunpoet Po-Chuan Hsieh
40c9c7f7eb Update devel/readline to 8.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
2019-04-09 14:04:49 +00:00
Thomas Zander
8c858f27ae Fix SIGBUS with 24 bit content over OSS output
PR:		234574
Submitted by:	dev@submerge.ch
MFH:		2019Q1
2019-01-03 20:24:30 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Thomas Zander
d9e160a809 Fix build on powerpc64
PR:		231834
Submitted by:	pkubaj@anongoth.pl
MFH:		2018Q4 (build fix blanket)
2018-10-13 15:53:56 +00:00
Mark Linimon
c7df1277c6 Mark these ports broken on mips64 and/or mips.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-07-01 09:17:45 +00:00
Thomas Zander
a1df13d85f Fix startup script for FreeBSD 10: -o option is unknown
PR:		228266
Submitted by:	takefu@airport.fm
MFH:		2018Q2
2018-06-10 17:11:05 +00:00
Mark Linimon
638cbfc651 Mark as broken on powerpc64.
Approved by:	portmgr (tier-2 blanket)
2018-06-03 11:08:25 +00:00
Jan Beich
a14c28de3d audio/jack: libuuid is completely unused after r440260
libuuid was used for a some time between 0.121.3 and 0.124 releases
but didn't propagate into any except for stray <uuid/uuid.h> include.

PR:		221314
Submitted by:	tobik
Reviewed by:	hselasky
2017-10-06 21:04:01 +00:00
Thomas Zander
8befac40da Enable COOKEDMODE for more versatile soundcard support; use GitHub
Detailed log:
* Add COOKEDMODE option that turns on SNDCTL_DSP_COOKEDMODE.
  Without the cooked mode Jack's OSS driver currently fails for some
  soundcards (it chooses wrong sample rate). It's better to have
  COOKEDMODE=on by default since it often appears broken otherwise.
  Professionals probably want COOKEDMODE=off, after they make sure their
  soundcard works with jack.
* Switch to github for fetching the sources.
* Include the merged upstream pull request #60 to enable the realtime
  mode (-R).
* Add USES=autoreconf (github source doesn't include a configure script)
* Install more manpages.

PR:		220785
Submitted by:	yuri@rawbw.com
MFH:		2017Q3
2017-08-12 08:26:24 +00:00
Sunpoet Po-Chuan Hsieh
cb037d3c98 Update devel/readline to 7.0 patch 3
- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
2017-06-27 13:46:53 +00:00
Thomas Zander
d9c6b86d6d Update to upstream version 0.125.0, add SNDIO option
PR:		218338
Submitted by:	tobik
2017-05-06 12:58:55 +00:00
Thomas Zander
726788f263 Added rc.d script to start jackd
PR:		215889
Submitted by:	yuri@rawbw.com
2017-01-21 15:51:08 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Mathieu Arnold
f037e39601 USE_BDB cleanup.
- USE_BDB=4x+ -> USES=bdb.
- USE_BDB=yes -> USES=bdb.
- USE_BDB=xx  -> USES=bdb:xx.

Other modernisations when I see them.

PR:		209183
Sponsored by:	Absolight
2016-08-08 13:46:50 +00:00
Mathieu Arnold
9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
John Marino
49ea334866 audio/jack: properly specify readline dep (detected by Synth)
No portrevision bump necessary as this change does not alter the
package contents.  It just fixes the deps specification.
2016-02-09 09:59:05 +00:00
Mathieu Arnold
bb271f0bf7 Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3412?
2015-08-19 13:29:59 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Koop Mast
8186b0c180 Drop :keepla from the libtool USES.
PR:		202048
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
2015-08-03 06:53:03 +00:00
Thomas Zander
7fa927df12 Fix support for 24-bit and 32-bit resolution
While on it:
- Pet portlint

PR:		199558
Submitted by:	hselasky@FreeBSD.org
2015-06-14 15:05:09 +00:00
Baptiste Daroussin
f60f88fd55 Remove dependency on portaudio
This drops a circular dependency between portaudio and jack. Given jack supports
OSS there is no real point in using portaudio as a backend
2015-05-30 14:13:04 +00:00
Pawel Pekala
72fd8dd06a Fix detection of libportaudio libraries
PR:		196427
Submitted by:	myself
Approved by:	hselasky, stephen, marcus, maintainer timeout from others
2015-01-25 00:46:11 +00:00
Koop Mast
e7321600cd Allow jack to be upgraded when already installed. [1]
Move doxygen depend and docs out of DOCS option. [2]

PR:		195533 [1], 195573 [2]
Submitted by:	Mikhail T. <mi@ALDAN.algebra.com> [1], amdmi3@ [2]
2014-12-16 08:58:40 +00:00