From nobody Tue Nov 28 16:43:35 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SfpF26MmZz52CBD; Tue, 28 Nov 2023 16:43:50 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SfpF22DSTz3Ww7; Tue, 28 Nov 2023 16:43:50 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50bbd9cf923so1005895e87.1; Tue, 28 Nov 2023 08:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701189828; x=1701794628; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4xVGxFI3dY7J4qsDFWHoZjQ346aEhm68eoZn2eP/oLM=; b=XT+vcWTcbRfcdzrL1d+BicB5NLtHYm2XQcOvU5TbpNPYusEKkhkLVNQ8EjVtsxb+M9 hbKbrSkOthTGH5xn72Z6u5xp2W7Uhy2YY7gVzJvOldsNzUSVZvW4aItdjtknz60nU2Qv bA7qkWrx520cIgVo8gf9SfgIuFqYwCFebeN8KrZjUa/+jhtB0DkGZI9DYf9To2tKU4rV DQSHy5CRmDb5SKYc5nUWvh4OV+hOWSzBrAJIp0t2gZOLOLF6nZLcu4P9AoQuV8fwTiV/ kV7bfJHB1eMPYueWuZDiJrldPmHsNp3OXAprhJVElqbItJb6jr2Ixj8E5LJyIgMrNsdT ArRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701189828; x=1701794628; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4xVGxFI3dY7J4qsDFWHoZjQ346aEhm68eoZn2eP/oLM=; b=Pi8FUtmxqnAXyBwlDY1u6Ko7sx9jfUoMUG12SvH32Wr+LIBhkRTZ+ua9qpmNS9HZfu k4bCPy7Bl2ipW9Tlkxr/t6O79ou2oYgci6pgtrmGblPvXUiENxK1WWYCvf3fRDB3/ZuU 86YF0vKuUfjf9ya5XgpG7xR913U/64pFSWOYgacdqn/79ALWx3ytNvJi8avmszEAHjtZ 9V6OwdclbOZhPlewtglVO7b6sOfh022643CSuAp5QFG/IfhuPZWqWEj/8EIWKjtoQesP BYflKJFgPs8DlH0dGv0sojlpXfELWiSPnIKyfdFSnE7g4BZeQmMkQRQ8eUl5Z/VIwO8k Q4Xg== X-Gm-Message-State: AOJu0YyaakGHE2xsCHoAqN5oZ36A0jogwvicypK2pGIQ07nOGlzEAGUd uwsV7VNzSWd1p2Ebot/xY8GaZkwjFl5kS+Dco12fjJFbgL4= X-Google-Smtp-Source: AGHT+IG9OIkwmbHHlNuiRJcBiG/lIlWfb38trLPOeGeSu8q524hyWZbxPD0C+oy6eeyTTwQzt/zDa7F+H1x4PcWoujI= X-Received: by 2002:a05:6512:33cf:b0:503:1783:d5a9 with SMTP id d15-20020a05651233cf00b005031783d5a9mr13503697lfg.3.1701189827702; Tue, 28 Nov 2023 08:43:47 -0800 (PST) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 References: <202311281632.3ASGWhNH027118@gitrepo.freebsd.org> In-Reply-To: <202311281632.3ASGWhNH027118@gitrepo.freebsd.org> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Tue, 28 Nov 2023 17:43:35 +0100 Message-ID: Subject: Re: git: 0bb81f221ee7 - 2023Q4 - multimedia/fswebcam: Command line tool for webcams To: Jose Alonso Cardenas Marquez Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-branches@freebsd.org Content-Type: multipart/alternative; boundary="0000000000006034fd060b391f5d" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4SfpF22DSTz3Ww7 --0000000000006034fd060b391f5d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Nov 28, 2023 at 5:40=E2=80=AFPM Jose Alonso Cardenas Marquez < acm@freebsd.org> wrote: > The branch 2023Q4 has been updated by acm: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=3D0bb81f221ee7f5cfc169b7b155035= 2cbc37461e0 > > commit 0bb81f221ee7f5cfc169b7b1550352cbc37461e0 > Author: Guido Falsi > AuthorDate: 2023-11-03 19:14:57 +0000 > Commit: Jose Alonso Cardenas Marquez > CommitDate: 2023-11-28 16:31:58 +0000 > Hi there, Why are we committing a new port to a quarterly branch? Those are supposed to be for security and critical bug fixes. Cheers. > > multimedia/fswebcam: Command line tool for webcams > > fswebcam captures images from a V4L1/V4L2 compatible device or file, > averages them to reduce noise and draws a caption using the GD > Graphics Library which also handles compressing the image to PNG > or JPEG. > > Works fine with webcams supported by multimedia/webcamd. > > (cherry picked from commit 7d637bf4782a4ac613492bd6ed16a8b49d68a721) > --- > multimedia/fswebcam/Makefile | 24 +++++++++++++++++++++++= + > multimedia/fswebcam/distinfo | 3 +++ > multimedia/fswebcam/files/patch-Makefile.in | 13 +++++++++++++ > multimedia/fswebcam/files/patch-videodev.h | 13 +++++++++++++ > multimedia/fswebcam/files/patch-videodev2.h | 12 ++++++++++++ > multimedia/fswebcam/pkg-descr | 6 ++++++ > 6 files changed, 71 insertions(+) > > diff --git a/multimedia/fswebcam/Makefile b/multimedia/fswebcam/Makefile > new file mode 100644 > index 000000000000..ca640e247620 > --- /dev/null > +++ b/multimedia/fswebcam/Makefile > @@ -0,0 +1,24 @@ > +PORTNAME=3D fswebcam > +PORTVERSION=3D 20200725 > +CATEGORIES=3D multimedia > + > +MAINTAINER=3D madpilot@FreeBSD.org > +COMMENT=3D Small and simple webcam software for *nix > +WWW=3D https://www.sanslogic.co.uk/fswebcam/ > + > +LICENSE=3D GPLv2 > +LICENSE_FILE=3D ${WRKSRC}/LICENSE > + > +BUILD_DEPENDS=3D v4l_compat>0:multimedia/v4l_compat > +LIB_DEPENDS=3D libgd.so:graphics/gd \ > + libv4l2.so:multimedia/libv4l > + > +USES=3D localbase:ldflags > +USE_GITHUB=3D yes > +GH_ACCOUNT=3D fsphil > +GNU_CONFIGURE=3D yes > + > +PLIST_FILES=3D bin/fswebcam \ > + man/man1/fswebcam.1.gz > + > +.include > diff --git a/multimedia/fswebcam/distinfo b/multimedia/fswebcam/distinfo > new file mode 100644 > index 000000000000..5a26bdceae0e > --- /dev/null > +++ b/multimedia/fswebcam/distinfo > @@ -0,0 +1,3 @@ > +TIMESTAMP =3D 1698870800 > +SHA256 (fsphil-fswebcam-20200725_GH0.tar.gz) =3D > d5439b2bf49bb634100d7e42ed9854f84bfd355c1d40bc3d4d81593eeadd8aee > +SIZE (fsphil-fswebcam-20200725_GH0.tar.gz) =3D 119399 > diff --git a/multimedia/fswebcam/files/patch-Makefile.in > b/multimedia/fswebcam/files/patch-Makefile.in > new file mode 100644 > index 000000000000..3d02b9496e1a > --- /dev/null > +++ b/multimedia/fswebcam/files/patch-Makefile.in > @@ -0,0 +1,13 @@ > +--- Makefile.in.orig 2020-07-25 18:25:51 UTC > ++++ Makefile.in > +@@ -22,8 +22,8 @@ install: all > + install: all > + mkdir -p ${DESTDIR}${bindir} > + mkdir -p ${DESTDIR}${mandir}/man1 > +- install -m 755 fswebcam ${DESTDIR}${bindir} > +- install -m 644 fswebcam.1.gz ${DESTDIR}${mandir}/man1 > ++ ${BSD_INSTALL_PROGRAM} fswebcam ${DESTDIR}${bindir} > ++ ${BSD_INSTALL_MAN} fswebcam.1.gz ${DESTDIR}${mandir}/man1 > + > + fswebcam: $(OBJS) > + $(CC) -o fswebcam $(OBJS) $(LDFLAGS) > diff --git a/multimedia/fswebcam/files/patch-videodev.h > b/multimedia/fswebcam/files/patch-videodev.h > new file mode 100644 > index 000000000000..129210db5651 > --- /dev/null > +++ b/multimedia/fswebcam/files/patch-videodev.h > @@ -0,0 +1,13 @@ > +--- videodev.h.orig 2020-07-25 18:25:51 UTC > ++++ videodev.h > +@@ -12,8 +12,9 @@ > + #ifndef __LINUX_VIDEODEV_H > + #define __LINUX_VIDEODEV_H > + > ++#include > + #include > +-#include > ++/* #include */ > + #include > + > + > diff --git a/multimedia/fswebcam/files/patch-videodev2.h > b/multimedia/fswebcam/files/patch-videodev2.h > new file mode 100644 > index 000000000000..e0b7aeb5eb84 > --- /dev/null > +++ b/multimedia/fswebcam/files/patch-videodev2.h > @@ -0,0 +1,12 @@ > +--- videodev2.h.orig 2020-07-25 18:25:51 UTC > ++++ videodev2.h > +@@ -59,7 +59,8 @@ > + > + #include > + > +-#include > ++/* #include */ > ++#include > + #include > + #include > + #include > diff --git a/multimedia/fswebcam/pkg-descr b/multimedia/fswebcam/pkg-desc= r > new file mode 100644 > index 000000000000..f89dd7c57286 > --- /dev/null > +++ b/multimedia/fswebcam/pkg-descr > @@ -0,0 +1,6 @@ > +fswebcam is a neat and simple webcam app. It captures images from > +a V4L1/V4L2 compatible device or file, averages them to reduce noise > +and draws a caption using the GD Graphics Library which also handles > +compressing the image to PNG or JPEG. The resulting image is saved > +to a file or sent to stdio where it can be piped to something like > +ncftpput or scp. > --0000000000006034fd060b391f5d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Nov 28, 2023 at 5:40=E2=80=AF= PM Jose Alonso Cardenas Marquez <acm@= freebsd.org> wrote:
The branch 2023Q4 has been updated by acm:

URL: https://cgi= t.FreeBSD.org/ports/commit/?id=3D0bb81f221ee7f5cfc169b7b1550352cbc37461e0

commit 0bb81f221ee7f5cfc169b7b1550352cbc37461e0
Author:=C2=A0 =C2=A0 =C2=A0Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-11-03 19:14:57 +0000
Commit:=C2=A0 =C2=A0 =C2=A0Jose Alonso Cardenas Marquez <acm@FreeBSD.org= >
CommitDate: 2023-11-28 16:31:58 +0000



=C2=A0

=C2=A0 =C2=A0 multimedia/fswebcam: Command line tool for webcams

=C2=A0 =C2=A0 fswebcam captures images from a V4L1/V4L2 compatible device o= r file,
=C2=A0 =C2=A0 averages them to reduce noise and draws a caption using the G= D
=C2=A0 =C2=A0 Graphics Library which also handles compressing the image to = PNG
=C2=A0 =C2=A0 or JPEG.

=C2=A0 =C2=A0 Works fine with webcams supported by multimedia/webcamd.

=C2=A0 =C2=A0 (cherry picked from commit 7d637bf4782a4ac613492bd6ed16a8b49d= 68a721)
---
=C2=A0multimedia/fswebcam/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 | 24 ++++++++++++++++++++++++
=C2=A0multimedia/fswebcam/distinfo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 |=C2=A0 3 +++
=C2=A0multimedia/fswebcam/files/patch-Makefile.in | 13 +++++++++++++
=C2=A0multimedia/fswebcam/files/patch-videodev.h=C2=A0 | 13 +++++++++++++ =C2=A0multimedia/fswebcam/files/patch-videodev2.h | 12 ++++++++++++
=C2=A0multimedia/fswebcam/pkg-descr=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|=C2=A0 6 ++++++
=C2=A06 files changed, 71 insertions(+)

diff --git a/multimedia/fswebcam/Makefile b/multimedia/fswebcam/Makefile new file mode 100644
index 000000000000..ca640e247620
--- /dev/null
+++ b/multimedia/fswebcam/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 fswebcam
+PORTVERSION=3D=C2=A0 =C2=A020200725
+CATEGORIES=3D=C2=A0 =C2=A0 multimedia
+
+MAINTAINER=3D=C2=A0 =C2=A0 madpilot@FreeBSD.org
+COMMENT=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0Small and simple webcam software for = *nix
+WWW=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
https://www.san= slogic.co.uk/fswebcam/
+
+LICENSE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0GPLv2
+LICENSE_FILE=3D=C2=A0 ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=3D v4l_compat>0:multimedia/v4l_compat
+LIB_DEPENDS=3D=C2=A0 =C2=A0libgd.so:graphics/gd \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0libv4l2.so:multimed= ia/libv4l
+
+USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 localbase:ldflags
+USE_GITHUB=3D=C2=A0 =C2=A0 yes
+GH_ACCOUNT=3D=C2=A0 =C2=A0 fsphil
+GNU_CONFIGURE=3D yes
+
+PLIST_FILES=3D=C2=A0 =C2=A0bin/fswebcam \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0man/man1/fswebcam.1= .gz
+
+.include <bsd.port.mk>
diff --git a/multimedia/fswebcam/distinfo b/multimedia/fswebcam/distinfo new file mode 100644
index 000000000000..5a26bdceae0e
--- /dev/null
+++ b/multimedia/fswebcam/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP =3D 1698870800
+SHA256 (fsphil-fswebcam-20200725_GH0.tar.gz) =3D d5439b2bf49bb634100d7e42e= d9854f84bfd355c1d40bc3d4d81593eeadd8aee
+SIZE (fsphil-fswebcam-20200725_GH0.tar.gz) =3D 119399
diff --git a/multimedia/fswebcam/files/patch-Makefile.in b/multimedia/fsweb= cam/files/patch-Makefile.in
new file mode 100644
index 000000000000..3d02b9496e1a
--- /dev/null
+++ b/multimedia/fswebcam/files/patch-Makefile.in
@@ -0,0 +1,13 @@
+--- Makefile.in.orig=C2=A0 =C2=A02020-07-25 18:25:51 UTC
++++ Makefile.in
+@@ -22,8 +22,8 @@ install: all
+ install: all
+=C2=A0 =C2=A0 =C2=A0 =C2=A0mkdir -p ${DESTDIR}${bindir}
+=C2=A0 =C2=A0 =C2=A0 =C2=A0mkdir -p ${DESTDIR}${mandir}/man1
+-=C2=A0 =C2=A0 =C2=A0 install -m 755 fswebcam ${DESTDIR}${bindir}
+-=C2=A0 =C2=A0 =C2=A0 install -m 644 fswebcam.1.gz ${DESTDIR}${mandir}/man= 1
++=C2=A0 =C2=A0 =C2=A0 ${BSD_INSTALL_PROGRAM} fswebcam ${DESTDIR}${bindir}<= br> ++=C2=A0 =C2=A0 =C2=A0 ${BSD_INSTALL_MAN} fswebcam.1.gz ${DESTDIR}${mandir}= /man1
+
+ fswebcam: $(OBJS)
+=C2=A0 =C2=A0 =C2=A0 =C2=A0$(CC) -o fswebcam $(OBJS) $(LDFLAGS)
diff --git a/multimedia/fswebcam/files/patch-videodev.h b/multimedia/fswebc= am/files/patch-videodev.h
new file mode 100644
index 000000000000..129210db5651
--- /dev/null
+++ b/multimedia/fswebcam/files/patch-videodev.h
@@ -0,0 +1,13 @@
+--- videodev.h.orig=C2=A0 =C2=A0 2020-07-25 18:25:51 UTC
++++ videodev.h
+@@ -12,8 +12,9 @@
+ #ifndef __LINUX_VIDEODEV_H
+ #define __LINUX_VIDEODEV_H
+
++#include <infiniband/types.h>
+ #include <linux/types.h>
+-#include <linux/ioctl.h>
++/* #include <linux/ioctl.h> */
+ #include <linux/videodev2.h>
+
+
diff --git a/multimedia/fswebcam/files/patch-videodev2.h b/multimedia/fsweb= cam/files/patch-videodev2.h
new file mode 100644
index 000000000000..e0b7aeb5eb84
--- /dev/null
+++ b/multimedia/fswebcam/files/patch-videodev2.h
@@ -0,0 +1,12 @@
+--- videodev2.h.orig=C2=A0 =C2=A02020-07-25 18:25:51 UTC
++++ videodev2.h
+@@ -59,7 +59,8 @@
+
+ #include <sys/time.h>
+
+-#include <linux/ioctl.h>
++/* #include <linux/ioctl.h> */
++#include <infiniband/types.h>
+ #include <linux/types.h>
+ #include <linux/v4l2-common.h>
+ #include <linux/v4l2-controls.h>
diff --git a/multimedia/fswebcam/pkg-descr b/multimedia/fswebcam/pkg-descr<= br> new file mode 100644
index 000000000000..f89dd7c57286
--- /dev/null
+++ b/multimedia/fswebcam/pkg-descr
@@ -0,0 +1,6 @@
+fswebcam is a neat and simple webcam app. It captures images from
+a V4L1/V4L2 compatible device or file, averages them to reduce noise
+and draws a caption using the GD Graphics Library which also handles
+compressing the image to PNG or JPEG. The resulting image is saved
+to a file or sent to stdio where it can be piped to something like
+ncftpput or scp.
--0000000000006034fd060b391f5d--