UPDATE: multimedia/libv4l

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: multimedia/libv4l

Ingo Feinerer-2
Hi,

this diff updates multimedia/libv4l to 1.18.0.

There are no dynamic export changes for the shared libraries, so no version
bumps.

One patch is removed as it is included upstream now.

Builds fine on amd64.

Unfortuately, I was not able to test it as I could not get my (external)
webcam attached via USB working anymore. It is now possible to use the
USB2 webcam at a USB3 port but even graphics/luvcview (which does not
use libv4l but worked with my webcam) fails (terminates after a few
seconds with no or just black screen).

I only see

uvideo0: could not SET commit request: TIMEOUT
uvideo0: could not SET probe request: STALLED

in dmesg.

(/usr/X11R6/bin/video has never worked for me because my webcam only supports
MJPEG.)

As libv4l is used by a few popular multimedia ports (ffmpeg, xine-lib,
gstreamer1/plugins-good, vlc) I would really appreciate if someone could test
this (and give an OK).

Best regards,
Ingo

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/libv4l/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile 5 Sep 2019 10:49:05 -0000 1.22
+++ Makefile 30 Oct 2019 18:51:21 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = libv4l userspace library
 
-VERSION = 1.16.7
+VERSION = 1.18.0
 DISTNAME = v4l-utils-${VERSION}
 PKGNAME = libv4l-${VERSION}
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/libv4l/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo 5 Sep 2019 10:49:05 -0000 1.16
+++ distinfo 30 Oct 2019 18:51:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (v4l-utils-1.16.7.tar.bz2) = 7pF6fhr3LGDAUy2f255IuvZB1CeqewCamyyoIfno4Nk=
-SIZE (v4l-utils-1.16.7.tar.bz2) = 1893418
+SHA256 (v4l-utils-1.18.0.tar.bz2) = bLYNgi7u0gSGoDzCPg/GWVb7weheDBp0d/aLvZgCiA0=
+SIZE (v4l-utils-1.18.0.tar.bz2) = 1995506
Index: patches/patch-lib_libv4lconvert_Makefile_in
===================================================================
RCS file: /cvs/ports/multimedia/libv4l/patches/patch-lib_libv4lconvert_Makefile_in,v
retrieving revision 1.7
diff -u -p -r1.7 patch-lib_libv4lconvert_Makefile_in
--- patches/patch-lib_libv4lconvert_Makefile_in 23 Mar 2019 05:40:03 -0000 1.7
+++ patches/patch-lib_libv4lconvert_Makefile_in 30 Oct 2019 18:51:21 -0000
@@ -5,7 +5,7 @@ OpenBSD does not have an rt library.
 Index: lib/libv4lconvert/Makefile.in
 --- lib/libv4lconvert/Makefile.in.orig
 +++ lib/libv4lconvert/Makefile.in
-@@ -539,7 +539,7 @@ libv4lconvert_la_SOURCES = libv4lconvert.c tinyjpeg.c
+@@ -544,7 +544,7 @@ libv4lconvert_la_SOURCES = libv4lconvert.c tinyjpeg.c
  libv4lconvert-priv.h libv4lsyscall-priv.h tinyjpeg.h \
  tinyjpeg-internal.h $(am__append_1) $(am__append_2)
  libv4lconvert_la_CPPFLAGS = $(CFLAG_VISIBILITY) $(ENFORCE_LIBV4L_STATIC)
Index: patches/patch-lib_libv4lconvert_control_libv4lcontrol_c
===================================================================
RCS file: patches/patch-lib_libv4lconvert_control_libv4lcontrol_c
diff -N patches/patch-lib_libv4lconvert_control_libv4lcontrol_c
--- patches/patch-lib_libv4lconvert_control_libv4lcontrol_c 2 Nov 2018 10:10:06 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-lib_libv4lconvert_control_libv4lcontrol_c,v 1.4 2018/11/02 10:10:06 feinerer Exp $
-
-Index: lib/libv4lconvert/control/libv4lcontrol.c
---- lib/libv4lconvert/control/libv4lcontrol.c.orig
-+++ lib/libv4lconvert/control/libv4lcontrol.c
-@@ -20,7 +20,6 @@
-  */
-
- #include <sys/types.h>
--#include <sys/sysmacros.h>
- #include <sys/mman.h>
- #include <fcntl.h>
- #include <sys/stat.h>