From nobody Tue Nov 28 16:52:08 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 4SfpQd6LZzz52DD9; Tue, 28 Nov 2023 16:52:09 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SfpQd5sGzz3XY5; Tue, 28 Nov 2023 16:52:09 +0000 (UTC) (envelope-from acm@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701190329; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wI9P5dj+n3H7N4J+qxnSoQ7DdAJn8mtYZHwAsw0GNes=; b=GBHxnzk37+7Qlbz6w3wutaYB+ATGCdukAnRFxBe3RX3RYoGcXVn4mTc7DC+2mVnWZ0c5Fq b7vBIBhZ6F8jUfn15asgjGnrtucHELRvB6lGsRnL70rOvKdXZZHlwRbY8uq+mvxHqOb0FU fa/aPcSCr5F2hLOD+cfHYkOIsqtEbReZcGexngCWMsDeCWD1Qdt+KIhq3LJR7JSknHK3Uq yb7iYegtAhC9C1WIWd7GYWqbZtqCtO/XkFtH3lm9q0rpHD+26+jXLO3Qay0uaRWiuog2ff hfbjwM4Qj7Z6toDDma8U/JyVwXVWVmyqhbDFemLvdWm3vi6l2EozW96CHnWtvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701190329; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wI9P5dj+n3H7N4J+qxnSoQ7DdAJn8mtYZHwAsw0GNes=; b=o9nTuSGBXmrMWXhzqcDCqz5VDwfzvN/0AVPLugL3hu9m+M08PCIZ8rgO1psB2Ex1MQ4Jd9 C8nEoWwwl4496Evvmo1puXuA/Zhinb1ZZSf0HivO3w7/L8Sb6Z7kxkws4qXNcYa0vVQ+MU AAXSvEPGHFsh2yQ6+CO6PvEMMUSLVfDxvzhvZMapXt+db2mP3/7X1Xxh66xZMZkwmIq47I Ha1qb1aGCGqDWEEYGEYqiLDI5zWzgX4pC84havfVkTFSYDc4LO6xopwTjwQe+DdX/ffDB5 mLEV2Lr0xcWdC/ShtK/g+N9fYyFkAgqINxH8irgS1VDGnpox9Ec219nJGphtaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701190329; a=rsa-sha256; cv=none; b=KoDp+Aj6MCh+3KEp8Pwoi70RtfwS7Lje6AgfN2zFnBAtVq82IODmqV4Dz/n7cllVXnAgLK kyEYiPgq7+JeOz3yzGkzhGMrTfGu96QEt9D9Xk8X+D009VzI6Y0WDrdk0RtU1zkdgGJlxi ffi2xR6xXUITd4zZ5tOJd1cgy3wODj5B4lpDZ7BgEZkCFJfspoHgW3tXqD02kmFH6/0M2V +gowekHKn2u5JUmLjruTuvX32gQ4zg7L2ZUhrQs8Xhi4JtTZzun+82OLkl8QbRPimAqIKZ 9W3maVIFY901TqtUtf+v/DzBbgXTQXz2pJ3ygdapKLlmgp1G1H1TZXhwm6Ou3Q== Received: from sender3.zoho.com (sender3.zoho.com [136.143.184.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) (Authenticated sender: acm) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SfpQd3Jczz1QFw; Tue, 28 Nov 2023 16:52:09 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1701190328880652.6240001244198; Tue, 28 Nov 2023 08:52:08 -0800 (PST) Date: Tue, 28 Nov 2023 11:52:08 -0500 From: acm@freebsd.org To: =?UTF-8?Q?=22Fernando_Apestegu=C3=ADa=22?= Cc: "ports-committers" , "dev-commits-ports-all" , "dev-commits-ports-branches" Message-Id: <18c16d8622a.cbe3d4a0201203.574622578868663124@freebsd.org> In-Reply-To: References: <202311281632.3ASGWhNH027118@gitrepo.freebsd.org> Subject: Re: git: 0bb81f221ee7 - 2023Q4 - multimedia/fswebcam: Command line tool for webcams 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 Content-Type: multipart/alternative; boundary="----=_Part_658861_701769948.1701190328875" Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail ------=_Part_658861_701769948.1701190328875 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It was my fault. I thought it would solve a issue with index at quarterly (= fswebcam entry in multimedia/Makefile). It does but the best would have rem= ove fswebcam entry from Makefile. I think we could leave this commit so Greetings ---- El mar, 28 nov 2023 11:43:35 -0500, Fernando Apestegu=C3=ADa escribi=C3=B3 ---- On Tue, Nov 28, 2023 at 5:40=E2=80=AFPM Jose Alonso Cardenas Marquez wrote: The branch 2023Q4 has been updated by acm: =20 URL: https://cgit.FreeBSD.org/ports/commit/?id=3D0bb81f221ee7f5cfc169b7b15= 50352cbc37461e0 =20 commit 0bb81f221ee7f5cfc169b7b1550352cbc37461e0 Author:=C2=A0 =C2=A0 =C2=A0Guido Falsi AuthorDate: 2023-11-03 19:14:57 +0000 Commit:=C2=A0 =C2=A0 =C2=A0Jose Alonso Cardenas Marquez CommitDate: 2023-11-28 16:31:58 +0000 Hi there, Why are we committing a new port to a quarterly branch?=C2=A0 Those are supposed to be for security and critical bug fixes. Cheers. =C2=A0 =C2=A0 =C2=A0 multimedia/fswebcam: Command line tool for webcams =20 =C2=A0 =C2=A0 fswebcam captures images from a V4L1/V4L2 compatible device = or file, =C2=A0 =C2=A0 averages them to reduce noise and draws a caption using the = GD =C2=A0 =C2=A0 Graphics Library which also handles compressing the image to= PNG =C2=A0 =C2=A0 or JPEG. =20 =C2=A0 =C2=A0 Works fine with webcams supported by multimedia/webcamd. =20 =C2=A0 =C2=A0 (cherry picked from commit 7d637bf4782a4ac613492bd6ed16a8b49= d68a721) --- =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(+) =20 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 mailto: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=A0https://www.sanslogic.co.u= k/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:multime= dia/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 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 d5439b2bf49bb634100d7e42= ed9854f84bfd355c1d40bc3d4d81593eeadd8aee +SIZE (fsphil-fswebcam-20200725_GH0.tar.gz) =3D 119399 diff --git a/multimedia/fswebcam/files/patch-Makefile.in b/multimedia/fswe= bcam/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}/ma= n1 ++=C2=A0 =C2=A0 =C2=A0 ${BSD_INSTALL_PROGRAM} fswebcam ${DESTDIR}${bindir} ++=C2=A0 =C2=A0 =C2=A0 ${BSD_INSTALL_MAN} fswebcam.1.gz ${DESTDIR}${mandir= }/man1 +=20 + 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/fsweb= cam/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 +=20 ++#include + #include +-#include ++/* #include */ + #include +=20 +=20 diff --git a/multimedia/fswebcam/files/patch-videodev2.h b/multimedia/fswe= bcam/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 @@ +=20 + #include +=20 +-#include ++/* #include */ ++#include + #include + #include + #include diff --git a/multimedia/fswebcam/pkg-descr b/multimedia/fswebcam/pkg-descr 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. ------=_Part_658861_701769948.1701190328875 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =
It was my fault. I thought it would solve a issue = with index at quarterly (fswebcam entry in multimedia/Makefile). It does bu= t the best would have remove fswebcam entry from Makefile. I think we could= leave this commit so

Greetings
=

---- El mar, 28 nov 2023 11:43:35 -0500,= Fernando Apestegu=C3=ADa <fernando.apesteguia@gmail.com> escr= ibi=C3=B3 ----

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=3D0bb81f221e= e7f5cfc169b7b1550352cbc37461e0

commit 0bb81f221ee7f5cfc169b7b1= 550352cbc37461e0
Author:     Guido Falsi <madpilot@FreeBSD.org>=
AuthorDate: 2023-11-03 19:14:57 +0000
Commit:     J= ose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-11-28 16:31:58 +00= 00

Hi there,

Why are we committing a new port to a quarterly branch? 
<= div>Those are supposed to be for security and critical bug fixes.
=

Cheers.
 

    = multimedia/fswebcam: Command line tool for webcams

    f= swebcam captures images from a V4L1/V4L2 compatible device or file,
&nb= sp;   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 we= bcams supported by multimedia/webcamd.

    (cherry picke= d from commit 7d637bf4782a4ac613492bd6ed16a8b49d68a721)
---
 m= ultimedia/fswebcam/Makefile             =   | 24 ++++++++++++++++++++++++
 multimedia/fswebcam/distinf= o                |  3 +++
=  multimedia/fswebcam/files/patch-Makefile.in | 13 +++++++++++++
&n= bsp;multimedia/fswebcam/files/patch-videodev.h  | 13 +++++++++++++
=  multimedia/fswebcam/files/patch-videodev2.h | 12 ++++++++++++
&n= bsp;multimedia/fswebcam/pkg-descr            =    |  6 ++++++
 6 files changed, 71 insertions(+)
diff --git a/multimedia/fswebcam/Makefile b/multimedia/fswebcam/Mak= efile
new file mode 100644
index 000000000000..ca640e247620
---= /dev/null
+++ b/multimedia/fswebcam/Makefile
@@ -0,0 +1,24 @@
= +PORTNAME=3D      fswebcam
+PORTVERSION=3D   2= 0200725
+CATEGORIES=3D    multimedia
+
+MAINTAINER=3D=     mad= pilot@FreeBSD.org
+COMMENT=3D       Small and s= imple webcam software for *nix
+WWW=3D         = ;  https://www.sanslogic.co.uk/fswebcam/
+
+LICENSE=3D  &nbs= p;    GPLv2
+LICENSE_FILE=3D  ${WRKSRC}/LICENSE
+ +BUILD_DEPENDS=3D v4l_compat>0:multimedia/v4l_compat
+LIB_DEPENDS= =3D   libgd.so:graphics/gd \
+        &nb= sp;      libv4l2.so:multimedia/libv4l
+
+USES=3D&nbs= p;         localbase:ldflags
+USE_GITHUB=3D  &= nbsp; yes
+GH_ACCOUNT=3D    fsphil
+GNU_CONFIGURE=3D yes<= br> +
+PLIST_FILES=3D   bin/fswebcam \
+    &nb= sp;          man/man1/fswebcam.1.gz
+
+.in= clude <bsd.port.mk&= gt;
diff --git a/multimedia/fswebcam/distinfo b/multimedia/fswebcam/dis= tinfo
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
+S= IZE (fsphil-fswebcam-20200725_GH0.tar.gz) =3D 119399
diff --git a/multi= media/fswebcam/files/patch-Makefile.in b/multimedia/fswebcam/files/patch-Ma= kefile.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 UT= C
++++ Makefile.in
+@@ -22,8 +22,8 @@ install: all
+ install: a= ll
+       mkdir -p ${DESTDIR}${bindir}
+ =      mkdir -p ${DESTDIR}${mandir}/man1
+-    =   install -m 755 fswebcam ${DESTDIR}${bindir}
+-    &nbs= p; install -m 644 fswebcam.1.gz ${DESTDIR}${mandir}/man1
++   = ;   ${BSD_INSTALL_PROGRAM} fswebcam ${DESTDIR}${bindir}
++  &= nbsp;   ${BSD_INSTALL_MAN} fswebcam.1.gz ${DESTDIR}${mandir}/man1
= +
+ fswebcam: $(OBJS)
+       $(CC) -o fswebca= m $(OBJS) $(LDFLAGS)
diff --git a/multimedia/fswebcam/files/patch-video= dev.h b/multimedia/fswebcam/files/patch-videodev.h
new file mode 100644=
index 000000000000..129210db5651
--- /dev/null
+++ b/multimedi= a/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 <infiniband/types.h>
+ #include <linux/= types.h>
+-#include <linux/ioctl.h>
++/* #include <linu= x/ioctl.h> */
+ #include <linux/videodev2.h>
+
+
= diff --git a/multimedia/fswebcam/files/patch-videodev2.h b/multimedia/fswe= bcam/files/patch-videodev2.h
new file mode 100644
index 00000000000= 0..e0b7aeb5eb84
--- /dev/null
+++ b/multimedia/fswebcam/files/patch= -videodev2.h
@@ -0,0 +1,12 @@
+--- videodev2.h.orig   202= 0-07-25 18:25:51 UTC
++++ videodev2.h
+@@ -59,7 +59,8 @@
+
= + #include <sys/time.h>
+
+-#include <linux/ioctl.h><= br> ++/* #include <linux/ioctl.h> */
++#include <infiniband/ty= pes.h>
+ #include <linux/types.h>
+ #include <linux/v4l= 2-common.h>
+ #include <linux/v4l2-controls.h>
diff --git = a/multimedia/fswebcam/pkg-descr b/multimedia/fswebcam/pkg-descr
new fil= e mode 100644
index 000000000000..f89dd7c57286
--- /dev/null
++= + b/multimedia/fswebcam/pkg-descr
@@ -0,0 +1,6 @@
+fswebcam is a ne= at and simple webcam app. It captures images from
+a V4L1/V4L2 compatib= le device or file, averages them to reduce noise
+and draws a caption u= sing 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 stdi= o where it can be piped to something like
+ncftpput or scp.


<= /html> ------=_Part_658861_701769948.1701190328875--