Commit graph

124 commits

Author SHA1 Message Date
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
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Juergen Lock
712e0fe006 - Switch USE_BDB from 48 to 48+ .
- Bump PORTREVISION.

PR:		195001
Submitted by:	turutani@scphys.kyoto-u.ac.jp
2014-11-28 19:35:48 +00:00
Juergen Lock
524ca4f824 - Update to 0.124.1 .
- Add patch to fix handling of signals during read/write operations.

PR:		194545
Submitted by:	hselasky
2014-10-27 19:31:53 +00:00
Baptiste Daroussin
329f250389 Cleanup plist 2014-09-22 09:50:53 +00:00
Antoine Brodin
a3f1ec2398 Update devel/doxygen to 1.8.7
Update dependent ports to build with it

Most of work by:	pi@
Exp-run:	self
PR:		ports/190943
2014-08-09 19:39:09 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Dmitry Marakasov
912ff3db1e - Add missing USES=libtool
Approved by:	portmgr blanket
2014-06-11 09:13:05 +00:00
William Grzybowski
34d2963f97 audio/jack: fix readline depend and allow staging
- Fix readline depend [1] (based on)
- Allow staging
- Use options helpers

PR:		ports/170517 [1]
Submitted by:	A.J. Kehoe IV <g5ypsazo nanoman.ca> [1]
2013-10-31 15:51:08 +00:00
Baptiste Daroussin
183c2ed74f Add NO_STAGE all over the place in preparation for the staging support (cat: audio) 2013-09-20 14:36:35 +00:00
Baptiste Daroussin
a9ebd86b87 Add an explicit dependency on pkgconf 2013-08-30 02:04:52 +00:00
Alexey Dokuchaev
8f0c8ba97b - Trim Makefile header per new guidelines
- Tighten COMMENT text
- Drop shlib ABI versions from LIB_DEPENDS
- Rename DOCS option to DOXYGEN to reflect its evil nature, and disable
  it by default (of course)
- Clean up Makefile while here, reformat port description
2013-03-28 12:19:44 +00:00