FreeBSD/src 3b6f833sys/dev/usb/video uvideo.c uvideo.h

uvideo: increase isochronous transfer depth for throughput

Increase NFRAMES_MAX from 40 to 128 and IXFERS from 3 to 5 to keep
more packets in flight on the USB bus.  This brings throughput from
~13.5 MB/s to ~21 MB/s (for comparison on the same camera webcamd
provided ~20MB/s.

The linux driver also uses 5 IXFERS (but only 32 NFRAMES_MAX)

Tested by:      manu
DeltaFile
+20-0sys/dev/usb/video/uvideo.c
+2-2sys/dev/usb/video/uvideo.h
+22-22 files

FreeBSD/src 8bc06ffsys/dev/usb/video uvideo.h uvideo.c

uvideo: add missing formats to be in par with webcamd's uvcvideo
DeltaFile
+24-0sys/dev/usb/video/uvideo.h
+19-0sys/dev/usb/video/uvideo.c
+6-0sys/dev/usb/video/uvideo_v4l2.h
+49-03 files

FreeBSD/src d0450cbsys/dev/usb/video uvideo.c uvideo_v4l2.h

uvideo: add Camera Terminal controls

Implement UVC Camera Terminal (CT) controls per UVC 1.5 specification
Table A-12. This adds support for camera-specific controls that are
separate from the Processing Unit controls already supported.

Reviewed by:    manu
Differential Revision:  https://reviews.freebsd.org/D56962
DeltaFile
+197-13sys/dev/usb/video/uvideo.c
+13-0sys/dev/usb/video/uvideo_v4l2.h
+1-1sys/dev/usb/video/uvideo.h
+211-143 files

FreeBSD/src 54df18csys/dev/usb/video uvideo.c

uvideo: add kqueue support

Add EVFILT_READ kqueue filter so applications using kqueue/kevent
can efficiently wait for video frames instead of polling.

Reviewed by:    manu
Differential Revision:  https://reviews.freebsd.org/D56961
DeltaFile
+48-0sys/dev/usb/video/uvideo.c
+48-01 files

FreeBSD/src b711ef9sys/conf files, sys/dev/usb usb.h

uvideo: import uvideo(4) driver from OpenBSD

Port the uvideo(4) driver from OpenBSD. This provides
native USB Video Class (UVC) support for webcams and video capture
devices.

The main changes are adaptation for:
- USB transfer callback model
- isoc data extraction via usbd_copy_out(),
- V4L2 struct alignment for ABI compatibility with v4l_compat.

Note that this implementation can coexist with webcamd.

Reviewed by:    manu
Differential Revision:  https://reviews.freebsd.org/D56960
DeltaFile
+3,493-0sys/dev/usb/video/uvideo.c
+687-0sys/dev/usb/video/uvideo.h
+483-0sys/dev/usb/video/uvideo_v4l2.h
+10-0sys/modules/usb/uvideo/Makefile
+6-0sys/dev/usb/usb.h
+1-0sys/conf/files
+4,680-01 files not shown
+4,681-07 files

FreeBSD/src e5e9bdatools/test/stress2/misc msdos12.sh

tools/test/stress2/misc/msdos12.sh: fix permission issue

This test runs with rights of an un-privileged user writing to a file
system only writable by the owner. Since no UID was provided in the
mount command, the owner of the file system was "root", and thus
writing was not allowed for $testuser. Fix this issue by mounting
with "-u $testuser".

MFC after:      3 days

(cherry picked from commit b440741db4ea1ccfa17acc2b3c37863dd819dcf3)
DeltaFile
+1-1tools/test/stress2/misc/msdos12.sh
+1-11 files

FreeBSD/src 9262b12tools/test/stress2/misc all.debug.inc

tools/test/stress2/misc/all.debug.inc: skip undefined variables

On my ZFS based systems, no allocations occur with tags "newblk" or
"freework". This leads to errors executing the tests that check for
memory leaks. Skip the checks if the output of wmstat -m does not
contain lines corresponding to those allocations.

MFC after:      3 days

(cherry picked from commit 6e5b990c509777544b790cc8e490965166d04684)
DeltaFile
+4-2tools/test/stress2/misc/all.debug.inc
+4-21 files

FreeBSD/src 2d3cd41tools/test/stress2/misc msdos24.sh msdos22.sh

tools/test/stress2/misc: Add msdosfs tests for surrogate pairs

Test msdos22.sh creates 1000 files with long random names consisting
of only ASCII characters. The mount is performed without -L option,
therefore no use of iconv to convert between character sets.

Test msdos23.sh mixes some non-ASCII characters into the file names.
The file system is therefore mounted with -L C.UTF-8 to include tests
of the conversions between UTF-8 and UTF-16.

Test msdos24.sh adds emojis to the names to test the (not yet
committed) support of UTF-16 surrogate pairs in filenames.

(cherry picked from commit aa029088ec130d71b406c4118346fbd933940826)
(cherry picked from commit 11f23d7c078b319285727d277f05b6962280bcce)
(cherry picked from commit 596dadbbb5a711477f811fed65a6c463801d16c5)
(cherry picked from commit 3260c42c4183ac817cf08fcaa236d4d21b4fc0d2)
DeltaFile
+86-0tools/test/stress2/misc/msdos24.sh
+77-0tools/test/stress2/misc/msdos22.sh
+77-0tools/test/stress2/misc/msdos23.sh
+240-03 files

FreeBSD/src 3c1e899tools/test/stress2/misc all.debug.inc

tools/test/stress2/misc/all.debug.inc: skip undefined variables

On my ZFS based systems, no allocations occur with tags "newblk" or
"freework". This leads to errors executing the tests that check for
memory leaks. Skip the checks if the output of wmstat -m does not
contain lines corresponding to those allocations.

MFC after:      3 days

(cherry picked from commit 6e5b990c509777544b790cc8e490965166d04684)
DeltaFile
+4-2tools/test/stress2/misc/all.debug.inc
+4-21 files

FreeBSD/src c3b79dftools/test/stress2/misc msdos12.sh

tools/test/stress2/misc/msdos12.sh: fix permission issue

This test runs with rights of an un-privileged user writing to a file
system only writable by the owner. Since no UID was provided in the
mount command, the owner of the file system was "root", and thus
writing was not allowed for $testuser. Fix this issue by mounting
with "-u $testuser".

MFC after:      3 days

(cherry picked from commit b440741db4ea1ccfa17acc2b3c37863dd819dcf3)
DeltaFile
+1-1tools/test/stress2/misc/msdos12.sh
+1-11 files

FreeBSD/src 247665btools/test/stress2/misc msdos24.sh msdos23.sh

tools/test/stress2/misc: Add msdosfs tests (currently failing)

Test msdos22.sh creates 1000 files with long random names consisting
of only ASCII characters. The mount is performed without -L option,
therefore no use of iconv to convert between character sets.

Test msdos23.sh mixes some non-ASCII characters into the file names.
The file system is therefore mounted with -L C.UTF-8 to include tests
of the conversions between UTF-8 and UTF-16.

Test msdos24.sh adds emojis to the names to test the (not yet
committed) support of UTF-16 surrogate pairs in filenames.

(cherry picked from commit aa029088ec130d71b406c4118346fbd933940826)
(cherry picked from commit 11f23d7c078b319285727d277f05b6962280bcce)
(cherry picked from commit 596dadbbb5a711477f811fed65a6c463801d16c5)
(cherry picked from commit 3260c42c4183ac817cf08fcaa236d4d21b4fc0d2)
DeltaFile
+86-0tools/test/stress2/misc/msdos24.sh
+77-0tools/test/stress2/misc/msdos23.sh
+77-0tools/test/stress2/misc/msdos22.sh
+240-03 files

FreeBSD/ports 5359e3dx11/mate-screensaver Makefile distinfo

x11/mate-screensaver: switch to GitHub release asset

Minor versions of 1.28.x are no longer published to the MATE mirror
and are only available on GitHub. Use USE_GITHUB=nodefault with a
release tarball instead of the auto-generated one, as recommended
by the porter's handbook.
DeltaFile
+7-6x11/mate-screensaver/Makefile
+3-3x11/mate-screensaver/distinfo
+10-92 files

FreeBSD/ports 45273f5benchmarks/imb Makefile pkg-plist, benchmarks/imb/files patch-src__c_P2P_Makefile

benchmarks/imb: Update to 2021.11

  - Switch to GitHub distfile fetching
  - Convert MPICH/OpenMPI options to flavors
  - Pass OpenMP flags needed for build
  - Cleaned up blocks for portclippy
  - Take maintainership

PR:             296069
Reviewed by:    thierry (mentor)
Approved by:    thierry (mentor)
DeltaFile
+25-23benchmarks/imb/Makefile
+7-7benchmarks/imb/pkg-plist
+4-4benchmarks/imb/files/patch-src__c_P2P_Makefile
+3-3benchmarks/imb/distinfo
+39-374 files

FreeBSD/src e71ad3fsys/fs/msdosfs msdosfs_conv.c direntry.h

fs/msdosfs: add support for file namws with surrogate pairs

Long file names are using UTF-16 symbols to represent international or
special characters. The implementation in FreeBSD did not support the
"Supplementary Private Use Area-B" (PUA-B), which requires a surrogate
pair to be represented in UTF-16 (Unicode code points beyond U+FFFF).

The PUA-B is used to represent emoji characters, which are supported
in file names on other common operating systems. The motivation for
this change was that removable media written on another system were
only partially readable on FreeBSD, since they contained emojis in
file names.

A test script that verifies correct operations on files names with
emojis has been added to the tools/test/stress2/misc directory under
the name msdos24.sh.

Reported by:    Fabian Keil <fk at fabiankeil.de>
Reviewed by:    ib

    [6 lines not shown]
DeltaFile
+130-34sys/fs/msdosfs/msdosfs_conv.c
+5-4sys/fs/msdosfs/direntry.h
+4-3sys/fs/msdosfs/msdosfs_lookup.c
+139-413 files

FreeBSD/src 8f35851sys/fs/msdosfs msdosfs_conv.c direntry.h

fs/msdosfs: add support for file namws with surrogate pairs

Long file names are using UTF-16 symbols to represent international or
special characters. The implementation in FreeBSD did not support the
"Supplementary Private Use Area-B" (PUA-B), which requires a surrogate
pair to be represented in UTF-16 (Unicode code points beyond U+FFFF).

The PUA-B is used to represent emoji characters, which are supported
in file names on other common operating systems. The motivation for
this change was that removable media written on another system were
only partially readable on FreeBSD, since they contained emojis in
file names.

A test script that verifies correct operations on files names with
emojis has been added to the tools/test/stress2/misc directory under
the name msdos24.sh.

Reported by:    Fabian Keil <fk at fabiankeil.de>
Reviewed by:    ib

    [6 lines not shown]
DeltaFile
+130-34sys/fs/msdosfs/msdosfs_conv.c
+5-4sys/fs/msdosfs/direntry.h
+4-3sys/fs/msdosfs/msdosfs_lookup.c
+139-413 files

FreeBSD/ports d2d618cbenchmarks/lzbench distinfo Makefile

benchmarks/lzbench: update the port to version 2.3

Reported by:    portscout
DeltaFile
+3-3benchmarks/lzbench/distinfo
+1-3benchmarks/lzbench/Makefile
+4-62 files

FreeBSD/ports fa6314daudio/mpz Makefile distinfo, audio/mpz/files patch-CMakeLists.txt

audio/mpz: update the port to version 2.0.10 (second attempt)

This extends commit ac0878d59889 and undoes some of its damage.

PR:             295717
Reported by:    portscout
DeltaFile
+16-2audio/mpz/files/patch-CMakeLists.txt
+9-7audio/mpz/Makefile
+1-1audio/mpz/distinfo
+26-103 files

FreeBSD/doc e0f851cwebsite/content/ru/releases/15.1R _index.adoc installation.adoc

website/ru links fixed

Approved by: doceng (implicit)
DeltaFile
+1-1website/content/ru/releases/15.1R/_index.adoc
+1-1website/content/ru/releases/15.1R/installation.adoc
+1-1website/content/ru/releases/15.1R/relnotes.adoc
+1-1website/content/ru/releases/15.1R/upgrading.adoc
+4-44 files

FreeBSD/ports 4c1e1dbdatabases/sabiql distinfo Makefile.crates

databases/sabiql: Update to 0.13.0

ChangeLog:

- https://github.com/riii111/sabiql/releases/tag/v1.13.0

Reported by:    riii111 <notifications at github.com>
DeltaFile
+33-33databases/sabiql/distinfo
+15-15databases/sabiql/Makefile.crates
+1-1databases/sabiql/Makefile
+49-493 files

FreeBSD/ports 998b572devel/sbt distinfo Makefile

devel/sbt: update to 1.12.12 release.
DeltaFile
+3-3devel/sbt/distinfo
+1-1devel/sbt/Makefile
+4-42 files

FreeBSD/doc 215ad2fwebsite/content/ru/releases/15.1R hardware.po hardware.adoc

website: RU - add 15.1R to ru/releases pages

15.1R release documents translated to Russian.
Link to new release added to ru/releases page.
News item added to news page in Russian.

Differential Revision: https://reviews.freebsd.org/D57603
DeltaFile
+17,647-0website/content/ru/releases/15.1R/hardware.po
+4,325-0website/content/ru/releases/15.1R/hardware.adoc
+697-0website/content/ru/releases/15.1R/announce.adoc
+272-66website/content/ru/releases/15.1R/installation.adoc
+302-0website/content/ru/releases/15.1R/upgrading.adoc
+162-0website/content/ru/releases/15.1R/readme.adoc
+23,405-666 files not shown
+23,513-12312 files

FreeBSD/ports e2deba3www/lighttpd distinfo Makefile, www/lighttpd/files patch-src_CMakeLists.txt

www/lighttpd: update to 1.4.83

Changelog:      https://redmine.lighttpd.net/projects/lighttpd/wiki/Release-1_4_83
DeltaFile
+0-32www/lighttpd/files/patch-src_CMakeLists.txt
+3-3www/lighttpd/distinfo
+1-1www/lighttpd/Makefile
+4-363 files

FreeBSD/ports ccf5d68math/reduce/files patch-libraries_libffi_libffi.map.in

math/reduce: fix build on powerpc64*

On architectures where long double is 64-bit, ffi_type_longdouble is
not available.
DeltaFile
+12-0math/reduce/files/patch-libraries_libffi_libffi.map.in
+12-01 files

FreeBSD/ports d042dcanet-mgmt/ipfixcol2 Makefile

net-mgmt/ipfixcol2: enable on powerpc64*
DeltaFile
+1-1net-mgmt/ipfixcol2/Makefile
+1-11 files

FreeBSD/ports 232ac46misc/valentina/files patch-src_libs_vgeometry_vcubicbezierpath.cpp

misc/valentina: fix build on powerpc64*

long double is 64-bit on powerpc64*:
ERROR: [1m/wrkdirs/usr/ports/misc/valentina/work/valentina-54b3c6a47d7c81df864fae531396f19955ab1e22/src/libs/vgeometry/vcubicbezierpath.cpp:315:30: [0m[0;1;31merror: [0m[1mimplicit conversion from 'vsizetype' (aka 'long long') to 'long double' may lose precision [-Werror,-Wimplicit-int-float-conversion][0m
  315 |     return qFloor(qAbs((size - 4) / 3.0L + 1));[0m
      | [0;1;32m                        ~~~~~^~~  ~
[0m1 error generated.
DeltaFile
+11-0misc/valentina/files/patch-src_libs_vgeometry_vcubicbezierpath.cpp
+11-01 files

FreeBSD/ports e46a4cfnet/sendme/files patch-cargo-crates_netwatch-0.18.0_src_interfaces_bsd_freebsd.rs patch-cargo-crates_netdev-0.43.0_src_os_unix_link__speed.rs

net/sendme: fix build on powerpc64*

1. For netdev crate, the relevant code is not amd64-only, but applies
to any 64-bit architecture.
2. For netwatch crate, the relevant code is not aarch64-only, but
also works on powerpc64* and should work on riscv64.
DeltaFile
+14-0net/sendme/files/patch-cargo-crates_netwatch-0.18.0_src_interfaces_bsd_freebsd.rs
+1-1net/sendme/files/patch-cargo-crates_netdev-0.43.0_src_os_unix_link__speed.rs
+15-12 files

FreeBSD/ports 2c610bdnet/dumbpipe/files patch-cargo-crates_netwatch-0.18.0_src_interfaces_bsd_freebsd.rs patch-cargo-crates_netdev-0.43.0_src_os_unix_link__speed.rs

net/dumbpipe: fix build on powerpc64*

1. For netdev crate, the relevant code is not amd64-only, but applies
to any 64-bit architecture.
2. For netwatch crate, the relevant code is not aarch64-only, but
also works on powerpc64* and should work on riscv64.
DeltaFile
+14-0net/dumbpipe/files/patch-cargo-crates_netwatch-0.18.0_src_interfaces_bsd_freebsd.rs
+11-0net/dumbpipe/files/patch-cargo-crates_netdev-0.43.0_src_os_unix_link__speed.rs
+25-02 files

FreeBSD/ports 70ec0b6devel/hs-ShellCheck/files patch-__cabal__deps_tasty-1.5.3_tasty.cabal

devel/hs-ShellCheck: fix build on powerpc64le

powerpc64le is 64-bit as well.
DeltaFile
+11-0devel/hs-ShellCheck/files/patch-__cabal__deps_tasty-1.5.3_tasty.cabal
+11-01 files

FreeBSD/ports 4ca8795shells/oksh distinfo Makefile

shells/oksh: update to 7.9
DeltaFile
+3-3shells/oksh/distinfo
+1-1shells/oksh/Makefile
+4-42 files

FreeBSD/ports 611ea82x11-wm/mango distinfo Makefile

x11-wm/mango: Update to 0.14.4

ChangeLog:

- https://github.com/mangowm/mango/releases/tag/0.14.3
- https://github.com/mangowm/mango/releases/tag/0.14.4

Reported by:    DreamMaoMao <notifications at github.com>
DeltaFile
+3-3x11-wm/mango/distinfo
+1-1x11-wm/mango/Makefile
+4-42 files