multimedia/gst123: Fix build with ncurses 6.6
Apply the upstream patch to fix the build.
Update USE_GSTREAMER and USE_XORG.
Since it has been a while since the version was updated, remove the
pkg-message for migration.
In file included from gst123.cc:33:
./terminal.h:31:30: error: field has incomplete type 'struct termios'
31 | struct termios tio_orig;
| ^
./terminal.h:31:10: note: forward declaration of 'termios'
31 | struct termios tio_orig;
| ^
PR: 292500
Approved by: fluffy (mentor)
japanese/proxy2ch: Update to 20260306-snapshot
The domain for 5Channel has changed from 5ch.net to 5ch.io.
Since data acquisition is no longer possible in the release version,
update to a snapshot.
The proxy2ch_flags in rc.d/proxy2ch wasn't working, so change it to
proxy2ch_args.
Changelog (japanese):
https://codeberg.org/NanashiNoGombe/proxy2ch/releases/tag/v20260306-snapshot
PR: 294108
Approved by: fluffy (mentor)
acpi_spmc: Improve device description
"Low Power S0 Idle" doesn't mean that much. "System Power Management
Controller" is what "SPMC" stands for in the first place.
Sponsored by: The FreeBSD Foundation
sound: Address some XXX comments regarding AC'97 IDs
These seem harmless to address. Not sure why the original author did not
just assign the appropriate names if he knew they were wrong.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D56044
(cherry picked from commit edad981e1e8673b6dd14656fe75b9f239fb777ce)
sound: Retire unused emu10k1-mkalsa.sh
It is a legacy script which is no longer used. Its utility is also
unknown.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D56043
(cherry picked from commit 71c46c8c901be2a6e0708c912f0d766d49e5b335)
sound: Retire CHN_SETVOLUME() and use chn_setvolume_matrix()
CHN_SETVOLUME() is just a wrapped around chn_setvolume_matrix() anyway,
so use it directly.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55992
(cherry picked from commit 127aa056fea0714116952efb7664956e0f2b69cd)
sound: Retire CHN_GETMUTE() and use chn_getmute_matrix()
chn_getmute_matrix() does what CHN_GETMUTE() does, but with a few
additional checks.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55993
(cherry picked from commit d171d5b8b5acb145efb41a57a2a8f3cded59a484)
sound: Retire CHN_GETVOLUME() and use chn_getvolume_matrix()
CHN_GETVOLUME() is just a wrapped around chn_getvolume_matrix() anyway,
so use it directly.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55991
(cherry picked from commit f190fad18c385c184cb3600b7e24a362858a1911)
sound: Retire SND_MULTICHANNEL
SND_MULTICHANNEL is always defined, so SND_CHN_MAX will also always be
8. Apart from the fact that there is no other place in the code that
touches SND_MULTICHANNEL, there is also no good reason nowadays to set
SND_CHN_MAX to 2.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55934
(cherry picked from commit 712bd9b2750a71ad7f8b6bebc5177c47d33a6364)
sound: Always use chn_getvolume_matrix()
There is no reason not to use it. We do it already with CHN_SETVOLUME().
chn_getvolume_matrix() is the same as the non-INVARIANTS
CHN_GETVOLUME(), just without the additional KASSERT
chn_getvolume_matrix() provides.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55990
(cherry picked from commit 0b7f9597024a0061b1e6c544d78bc2ed9392bd89)
sound: Remove SND_DIAGNOSTIC section in buffer.c
The purpose of this has not been documented, but it seems like it makes
it possible to view the maximum number of bytes that passed to
sndbuf_feed(), as well as the maximum number of cycles taken inside its
main loop. These do not seem particularly useful anymore.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55989
(cherry picked from commit 4324e0fa71f85f274013100d912584a042c9909e)
sound: Do not create root feeder in chn_init()
The feeder chain gets destroyed when feeder_chain() is called, which is
after the chn_reset() call in chn_init() further down for primary chans,
or vchan_create() for vchans. This makes the root feeder creation in
chn_init() essentially a no-op. Remove it altogether and let
feeder_chain() after chn_reset() take care of creating the feeder
properly. It creates the root one as well.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55941
(cherry picked from commit b9f9fc473eb56273978df4d4c889acba2862b21c)