pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics
Module Name: pkgsrc
Committed By: nia
Date: Sun Aug 15 06:57:49 UTC 2021
Modified Files:
pkgsrc/graphics: Makefile
Added Files:
pkgsrc/graphics/fswebcam: DESCR Makefile PLIST distinfo
pkgsrc/graphics/fswebcam/patches: patch-Makefile.in patch-configure
Log Message:
add graphics/fswebcam
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.
To generate a diff of this commit:
cvs rdiff -u -r1.949 -r1.950 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/fswebcam/DESCR \
pkgsrc/graphics/fswebcam/Makefile pkgsrc/graphics/fswebcam/PLIST \
pkgsrc/graphics/fswebcam/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/fswebcam/patches/patch-Makefile.in \
pkgsrc/graphics/fswebcam/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.949 pkgsrc/graphics/Makefile:1.950
--- pkgsrc/graphics/Makefile:1.949 Sat Aug 14 14:58:27 2021
+++ pkgsrc/graphics/Makefile Sun Aug 15 06:57:48 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.949 2021/08/14 14:58:27 bsiegert Exp $
+# $NetBSD: Makefile,v 1.950 2021/08/15 06:57:48 nia Exp $
#
COMMENT= Graphics tools and libraries
@@ -150,6 +150,7 @@ SUBDIR+= freetype
SUBDIR+= freetype-lib
SUBDIR+= freetype-utils
SUBDIR+= freetype2
+SUBDIR+= fswebcam
SUBDIR+= ftgl
SUBDIR+= fujiplay
SUBDIR+= g2
Added files:
Index: pkgsrc/graphics/fswebcam/DESCR
diff -u /dev/null pkgsrc/graphics/fswebcam/DESCR:1.1
--- /dev/null Sun Aug 15 06:57:49 2021
+++ pkgsrc/graphics/fswebcam/DESCR Sun Aug 15 06:57:48 2021
@@ -0,0 +1,7 @@
+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.
Index: pkgsrc/graphics/fswebcam/Makefile
diff -u /dev/null pkgsrc/graphics/fswebcam/Makefile:1.1
--- /dev/null Sun Aug 15 06:57:49 2021
+++ pkgsrc/graphics/fswebcam/Makefile Sun Aug 15 06:57:48 2021
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2021/08/15 06:57:48 nia Exp $
+
+DISTNAME= fswebcam-20200725
+CATEGORIES= graphics
+MASTER_SITES= https://www.sanslogic.co.uk/fswebcam/files/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.sanslogic.co.uk/fswebcam/
+COMMENT= Simple app to capture images from a webcam
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+
+MANCOMPRESSED= yes
+
+CONFIGURE_ARGS+= --disable-v4l1
+
+pre-configure:
+.if exists(/usr/include/sys/videoio.h)
+ ${CP} /usr/include/sys/videoio.h ${WRKSRC}/videodev2.h
+.endif
+
+.include "../../graphics/gd/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/fswebcam/PLIST
diff -u /dev/null pkgsrc/graphics/fswebcam/PLIST:1.1
--- /dev/null Sun Aug 15 06:57:49 2021
+++ pkgsrc/graphics/fswebcam/PLIST Sun Aug 15 06:57:48 2021
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/08/15 06:57:48 nia Exp $
+bin/fswebcam
+man/man1/fswebcam.1
Index: pkgsrc/graphics/fswebcam/distinfo
diff -u /dev/null pkgsrc/graphics/fswebcam/distinfo:1.1
--- /dev/null Sun Aug 15 06:57:49 2021
+++ pkgsrc/graphics/fswebcam/distinfo Sun Aug 15 06:57:48 2021
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2021/08/15 06:57:48 nia Exp $
+
+SHA1 (fswebcam-20200725.tar.gz) = f0f15bc3fe266f02e9a9f984779ac322a9d20697
+RMD160 (fswebcam-20200725.tar.gz) = ef7cf6b3c103614a8d94dbb42e21f7a29d9104f1
+SHA512 (fswebcam-20200725.tar.gz) = 8fd7e575de50564bf6b124d2456be9ace3d2662425d8099a3b0e596955b192fd4ff13d40dd3963fb1907a66cf91b209094472466afe3766677ce6ef7af1ccc93
+Size (fswebcam-20200725.tar.gz) = 122110 bytes
+SHA1 (patch-Makefile.in) = 9c7f353d96666dc7c2746c63e0db7e34056d8b4d
+SHA1 (patch-configure) = 0e8435c0340c466c4388c8ef4ca9d05bf19c11b6
Index: pkgsrc/graphics/fswebcam/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/graphics/fswebcam/patches/patch-Makefile.in:1.1
--- /dev/null Sun Aug 15 06:57:49 2021
+++ pkgsrc/graphics/fswebcam/patches/patch-Makefile.in Sun Aug 15 06:57:49 2021
@@ -0,0 +1,35 @@
+$NetBSD: patch-Makefile.in,v 1.1 2021/08/15 06:57:49 nia Exp $
+
+Do not compress man pages.
+
+--- Makefile.in.orig 2018-06-03 12:33:23.000000000 +0000
++++ Makefile.in
+@@ -17,13 +17,13 @@ OBJS = fswebcam.o log.o effects.o parse
+ OBJS += dec_rgb.o dec_yuv.o dec_grey.o dec_bayer.o dec_jpeg.o dec_png.o
+ OBJS += dec_s561.o
+
+-all: fswebcam fswebcam.1.gz
++all: fswebcam fswebcam.1
+
+ 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
++ install -m 644 fswebcam.1 ${DESTDIR}${mandir}/man1
+
+ fswebcam: $(OBJS)
+ $(CC) -o fswebcam $(OBJS) $(LDFLAGS)
+@@ -31,11 +31,8 @@ fswebcam: $(OBJS)
+ .c.o:
+ ${CC} ${CFLAGS} -c $< -o $@
+
+-fswebcam.1.gz: fswebcam.1
+- gzip -c --best fswebcam.1 > fswebcam.1.gz
+-
+ clean:
+- rm -f core* *.o fswebcam fswebcam.1.gz
++ rm -f core* *.o fswebcam fswebcam.1
+
+ distclean: clean
+ rm -rf config.h *.cache config.log config.status Makefile *.jp*g *.png *~
Index: pkgsrc/graphics/fswebcam/patches/patch-configure
diff -u /dev/null pkgsrc/graphics/fswebcam/patches/patch-configure:1.1
--- /dev/null Sun Aug 15 06:57:49 2021
+++ pkgsrc/graphics/fswebcam/patches/patch-configure Sun Aug 15 06:57:49 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2021/08/15 06:57:49 nia Exp $
+
+Shell portability.
+
+--- configure.orig 2020-07-25 18:24:07.000000000 +0000
++++ configure
+@@ -3659,7 +3659,7 @@ else
+ HAVE_WEBP="no"
+ fi
+
+-if test "$HAVE_WEBP" == "yes"; then
++if test "$HAVE_WEBP" = "yes"; then
+
+ $as_echo "#define HAVE_WEBP 1" >>confdefs.h
+
Home |
Main Index |
Thread Index |
Old Index