Date: Tue, 28 Nov 2023 17:43:35 +0100 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com> To: Jose Alonso Cardenas Marquez <acm@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-branches@freebsd.org Subject: Re: git: 0bb81f221ee7 - 2023Q4 - multimedia/fswebcam: Command line tool for webcams Message-ID: <CAGwOe2bKwa=jXNKbRV2RqYcjxtF7_JRDD3SRj=ntUKvK5PzZFw@mail.gmail.com> In-Reply-To: <202311281632.3ASGWhNH027118@gitrepo.freebsd.org> References: <202311281632.3ASGWhNH027118@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <madpilot@FreeBSD.org> > AuthorDate: 2023-11-03 19:14:57 +0000 > Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> > 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 <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 > 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 <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/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 <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-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 <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Tue, Nov 28, 2023 at 5:40=E2=80=AF= PM Jose Alonso Cardenas Marquez <<a href=3D"mailto:acm@freebsd.org">acm@= freebsd.org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">The branch 2023Q4 has been updated by acm:<br> <br> URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3D0bb81f221ee7f5c= fc169b7b1550352cbc37461e0" rel=3D"noreferrer" target=3D"_blank">https://cgi= t.FreeBSD.org/ports/commit/?id=3D0bb81f221ee7f5cfc169b7b1550352cbc37461e0</= a><br> <br> commit 0bb81f221ee7f5cfc169b7b1550352cbc37461e0<br> Author:=C2=A0 =C2=A0 =C2=A0Guido Falsi <madpilot@FreeBSD.org><br> AuthorDate: 2023-11-03 19:14:57 +0000<br> Commit:=C2=A0 =C2=A0 =C2=A0Jose Alonso Cardenas Marquez <acm@FreeBSD.org= ><br> CommitDate: 2023-11-28 16:31:58 +0000<br></blockquote><div><br></div><div>H= i there,</div><div><br></div><div>Why are we committing a new port to a qua= rterly branch?=C2=A0</div><div>Those are supposed to be for security and cr= itical bug fixes.</div><div><br></div><div>Cheers.<br></div><div>=C2=A0</di= v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde= r-left:1px solid rgb(204,204,204);padding-left:1ex"> <br> =C2=A0 =C2=A0 multimedia/fswebcam: Command line tool for webcams<br> <br> =C2=A0 =C2=A0 fswebcam captures images from a V4L1/V4L2 compatible device o= r file,<br> =C2=A0 =C2=A0 averages them to reduce noise and draws a caption using the G= D<br> =C2=A0 =C2=A0 Graphics Library which also handles compressing the image to = PNG<br> =C2=A0 =C2=A0 or JPEG.<br> <br> =C2=A0 =C2=A0 Works fine with webcams supported by multimedia/webcamd.<br> <br> =C2=A0 =C2=A0 (cherry picked from commit 7d637bf4782a4ac613492bd6ed16a8b49d= 68a721)<br> ---<br> =C2=A0multimedia/fswebcam/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 | 24 ++++++++++++++++++++++++<br> =C2=A0multimedia/fswebcam/distinfo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 |=C2=A0 3 +++<br> =C2=A0multimedia/fswebcam/files/patch-Makefile.in | 13 +++++++++++++<br> =C2=A0multimedia/fswebcam/files/patch-videodev.h=C2=A0 | 13 +++++++++++++<b= r> =C2=A0multimedia/fswebcam/files/patch-videodev2.h | 12 ++++++++++++<br> =C2=A0multimedia/fswebcam/pkg-descr=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|=C2=A0 6 ++++++<br> =C2=A06 files changed, 71 insertions(+)<br> <br> diff --git a/multimedia/fswebcam/Makefile b/multimedia/fswebcam/Makefile<br= > new file mode 100644<br> index 000000000000..ca640e247620<br> --- /dev/null<br> +++ b/multimedia/fswebcam/Makefile<br> @@ -0,0 +1,24 @@<br> +PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 fswebcam<br> +PORTVERSION=3D=C2=A0 =C2=A020200725<br> +CATEGORIES=3D=C2=A0 =C2=A0 multimedia<br> +<br> +MAINTAINER=3D=C2=A0 =C2=A0 madpilot@FreeBSD.org<br> +COMMENT=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0Small and simple webcam software for = *nix<br> +WWW=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://www.sans= logic.co.uk/fswebcam/" rel=3D"noreferrer" target=3D"_blank">https://www.san= slogic.co.uk/fswebcam/</a><br> +<br> +LICENSE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0GPLv2<br> +LICENSE_FILE=3D=C2=A0 ${WRKSRC}/LICENSE<br> +<br> +BUILD_DEPENDS=3D v4l_compat>0:multimedia/v4l_compat<br> +LIB_DEPENDS=3D=C2=A0 =C2=A0libgd.so:graphics/gd \<br> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0libv4l2.so:multimed= ia/libv4l<br> +<br> +USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 localbase:ldflags<br> +USE_GITHUB=3D=C2=A0 =C2=A0 yes<br> +GH_ACCOUNT=3D=C2=A0 =C2=A0 fsphil<br> +GNU_CONFIGURE=3D yes<br> +<br> +PLIST_FILES=3D=C2=A0 =C2=A0bin/fswebcam \<br> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0man/man1/fswebcam.1= .gz<br> +<br> +.include <<a href=3D"http://bsd.port.mk" rel=3D"noreferrer" target=3D"_= blank">bsd.port.mk</a>><br> diff --git a/multimedia/fswebcam/distinfo b/multimedia/fswebcam/distinfo<br= > new file mode 100644<br> index 000000000000..5a26bdceae0e<br> --- /dev/null<br> +++ b/multimedia/fswebcam/distinfo<br> @@ -0,0 +1,3 @@<br> +TIMESTAMP =3D 1698870800<br> +SHA256 (fsphil-fswebcam-20200725_GH0.tar.gz) =3D d5439b2bf49bb634100d7e42e= d9854f84bfd355c1d40bc3d4d81593eeadd8aee<br> +SIZE (fsphil-fswebcam-20200725_GH0.tar.gz) =3D 119399<br> diff --git a/multimedia/fswebcam/files/patch-Makefile.in b/multimedia/fsweb= cam/files/patch-Makefile.in<br> new file mode 100644<br> index 000000000000..3d02b9496e1a<br> --- /dev/null<br> +++ b/multimedia/fswebcam/files/patch-Makefile.in<br> @@ -0,0 +1,13 @@<br> +--- Makefile.in.orig=C2=A0 =C2=A02020-07-25 18:25:51 UTC<br> ++++ Makefile.in<br> +@@ -22,8 +22,8 @@ install: all<br> + install: all<br> +=C2=A0 =C2=A0 =C2=A0 =C2=A0mkdir -p ${DESTDIR}${bindir}<br> +=C2=A0 =C2=A0 =C2=A0 =C2=A0mkdir -p ${DESTDIR}${mandir}/man1<br> +-=C2=A0 =C2=A0 =C2=A0 install -m 755 fswebcam ${DESTDIR}${bindir}<br> +-=C2=A0 =C2=A0 =C2=A0 install -m 644 fswebcam.1.gz ${DESTDIR}${mandir}/man= 1<br> ++=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<br> + <br> + fswebcam: $(OBJS)<br> +=C2=A0 =C2=A0 =C2=A0 =C2=A0$(CC) -o fswebcam $(OBJS) $(LDFLAGS)<br> diff --git a/multimedia/fswebcam/files/patch-videodev.h b/multimedia/fswebc= am/files/patch-videodev.h<br> new file mode 100644<br> index 000000000000..129210db5651<br> --- /dev/null<br> +++ b/multimedia/fswebcam/files/patch-videodev.h<br> @@ -0,0 +1,13 @@<br> +--- videodev.h.orig=C2=A0 =C2=A0 2020-07-25 18:25:51 UTC<br> ++++ videodev.h<br> +@@ -12,8 +12,9 @@<br> + #ifndef __LINUX_VIDEODEV_H<br> + #define __LINUX_VIDEODEV_H<br> + <br> ++#include <infiniband/types.h><br> + #include <linux/types.h><br> +-#include <linux/ioctl.h><br> ++/* #include <linux/ioctl.h> */<br> + #include <linux/videodev2.h><br> + <br> + <br> diff --git a/multimedia/fswebcam/files/patch-videodev2.h b/multimedia/fsweb= cam/files/patch-videodev2.h<br> new file mode 100644<br> index 000000000000..e0b7aeb5eb84<br> --- /dev/null<br> +++ b/multimedia/fswebcam/files/patch-videodev2.h<br> @@ -0,0 +1,12 @@<br> +--- videodev2.h.orig=C2=A0 =C2=A02020-07-25 18:25:51 UTC<br> ++++ videodev2.h<br> +@@ -59,7 +59,8 @@<br> + <br> + #include <sys/time.h><br> + <br> +-#include <linux/ioctl.h><br> ++/* #include <linux/ioctl.h> */<br> ++#include <infiniband/types.h><br> + #include <linux/types.h><br> + #include <linux/v4l2-common.h><br> + #include <linux/v4l2-controls.h><br> diff --git a/multimedia/fswebcam/pkg-descr b/multimedia/fswebcam/pkg-descr<= br> new file mode 100644<br> index 000000000000..f89dd7c57286<br> --- /dev/null<br> +++ b/multimedia/fswebcam/pkg-descr<br> @@ -0,0 +1,6 @@<br> +fswebcam is a neat and simple webcam app. It captures images from<br> +a V4L1/V4L2 compatible device or file, averages them to reduce noise<br> +and draws a caption using the GD Graphics Library which also handles<br> +compressing the image to PNG or JPEG. The resulting image is saved<br> +to a file or sent to stdio where it can be piped to something like<br> +ncftpput or scp.<br> </blockquote></div></div> --0000000000006034fd060b391f5d--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2bKwa=jXNKbRV2RqYcjxtF7_JRDD3SRj=ntUKvK5PzZFw>