Date: Mon, 29 Jan 2018 19:21:21 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460326 - in head/multimedia: . blind blind/files Message-ID: <201801291921.w0TJLLw4029254@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Mon Jan 29 19:21:21 2018 New Revision: 460326 URL: https://svnweb.freebsd.org/changeset/ports/460326 Log: New port: multimedia/blind: Collection of command line video editing utilities A minimalistic project from the suckless team: https://tools.suckless.org/blind/ Submitted by: myself Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D14099 Added: head/multimedia/blind/ head/multimedia/blind/Makefile (contents, props changed) head/multimedia/blind/distinfo (contents, props changed) head/multimedia/blind/files/ head/multimedia/blind/files/patch-config.mk (contents, props changed) head/multimedia/blind/files/patch-src_blind-split.c (contents, props changed) head/multimedia/blind/pkg-descr (contents, props changed) head/multimedia/blind/pkg-plist (contents, props changed) Modified: head/multimedia/Makefile Modified: head/multimedia/Makefile ============================================================================== --- head/multimedia/Makefile Mon Jan 29 19:17:49 2018 (r460325) +++ head/multimedia/Makefile Mon Jan 29 19:21:21 2018 (r460326) @@ -25,6 +25,7 @@ SUBDIR += baka-mplayer SUBDIR += bino SUBDIR += bitstream + SUBDIR += blind SUBDIR += bsdbktr_tvtune SUBDIR += camserv SUBDIR += ccextractor Added: head/multimedia/blind/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/blind/Makefile Mon Jan 29 19:21:21 2018 (r460326) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= blind +DISTVERSION= 1.1 +CATEGORIES= multimedia +MASTER_SITES= https://dl.suckless.org/tools/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Collection of command line video editing utilities + +LICENSE= ISC +LICENSE_GROUPS= FSF GPL OSI +LICENSE_NAME= ISC License +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +USES= gmake # because of a bug in the makefiles: suckless is supposed to have POSIX makefiles + +.include <bsd.port.mk> Added: head/multimedia/blind/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/blind/distinfo Mon Jan 29 19:21:21 2018 (r460326) @@ -0,0 +1,3 @@ +TIMESTAMP = 1517173257 +SHA256 (blind-1.1.tar.gz) = 24f903ccb5e118d75f38d3ae0d85fed909749f978bff47ff6973ee1bfddfcc5a +SIZE (blind-1.1.tar.gz) = 47568 Added: head/multimedia/blind/files/patch-config.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/blind/files/patch-config.mk Mon Jan 29 19:21:21 2018 (r460326) @@ -0,0 +1,18 @@ +--- config.mk.orig 2017-05-06 11:27:39 UTC ++++ config.mk +@@ -2,10 +2,10 @@ + VERSION = 1.1 + + # Paths +-PREFIX = /usr/local +-MANPREFIX = $(PREFIX)/share/man ++PREFIX ?= /usr/local ++MANPREFIX = $(PREFIX)/man + + # You may want to remove -DHAVE_PRCTL and -DHAVE_EPOLL from CPPFLAGS if you are not using Linux. +-CFLAGS = -std=c99 -Wall -pedantic -O2 +-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHAVE_PRCTL -DHAVE_EPOLL +-LDFLAGS = -lm -s ++CFLAGS += -std=c99 -Wall -pedantic ++CPPFLAGS += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 ++LDFLAGS += -lm -lc -s Added: head/multimedia/blind/files/patch-src_blind-split.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/blind/files/patch-src_blind-split.c Mon Jan 29 19:21:21 2018 (r460326) @@ -0,0 +1,14 @@ +--- src/blind-split.c.orig 2017-05-06 11:27:39 UTC ++++ src/blind-split.c +@@ -2,7 +2,11 @@ + #include "stream.h" + #include "util.h" + ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) ++#include <stdlib.h> ++#else + #include <alloca.h> ++#endif + #include <fcntl.h> + #include <inttypes.h> + #include <limits.h> Added: head/multimedia/blind/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/blind/pkg-descr Mon Jan 29 19:21:21 2018 (r460326) @@ -0,0 +1,13 @@ +blind uses a raw video format with a simple container. A file begins with +an plain-text line, containing the number of frames, the width, the height, +and the pixel format, all separated by a single regular blank space, without +and leading or tailing white space. After this line, which ends with an LF, +there is a NUL-byte followed by the 4 characters "uivf" (unportable, interim +video format). This head is followed by the video frame-by-frame with row-major +frames. Pixels are independently encoded, and are encoded unscaled CIE XYZ with +non-premultiplied alpha and without any transfer-function, with values stored +in native doubles or optionally in native floats. These two configurations are +the only options, but the container format is designed so this can be changed +arbitrarily in the future. + +WWW: https://tools.suckless.org/blind/ Added: head/multimedia/blind/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/blind/pkg-plist Mon Jan 29 19:21:21 2018 (r460326) @@ -0,0 +1,76 @@ +bin/blind-arithm +bin/blind-colour-ciexyz +bin/blind-colour-srgb +bin/blind-compress +bin/blind-concat +bin/blind-crop +bin/blind-cut +bin/blind-decompress +bin/blind-dissolve +bin/blind-extend +bin/blind-flip +bin/blind-flop +bin/blind-from-image +bin/blind-from-text +bin/blind-from-video +bin/blind-gauss-blur +bin/blind-invert-luma +bin/blind-next-frame +bin/blind-read-head +bin/blind-repeat +bin/blind-reverse +bin/blind-rewrite-head +bin/blind-set-alpha +bin/blind-set-luma +bin/blind-set-saturation +bin/blind-single-colour +bin/blind-skip-pattern +bin/blind-split +bin/blind-stack +bin/blind-time-blur +bin/blind-to-image +bin/blind-to-text +bin/blind-to-video +bin/blind-translate +bin/blind-transpose +bin/blind-write-head +man/man1/blind-arithm.1.gz +man/man1/blind-colour-ciexyz.1.gz +man/man1/blind-colour-srgb.1.gz +man/man1/blind-compress.1.gz +man/man1/blind-concat.1.gz +man/man1/blind-crop.1.gz +man/man1/blind-cut.1.gz +man/man1/blind-decompress.1.gz +man/man1/blind-dissolve.1.gz +man/man1/blind-extend.1.gz +man/man1/blind-flip.1.gz +man/man1/blind-flop.1.gz +man/man1/blind-from-image.1.gz +man/man1/blind-from-text.1.gz +man/man1/blind-from-video.1.gz +man/man1/blind-gauss-blur.1.gz +man/man1/blind-invert-luma.1.gz +man/man1/blind-next-frame.1.gz +man/man1/blind-read-head.1.gz +man/man1/blind-repeat.1.gz +man/man1/blind-reverse.1.gz +man/man1/blind-rewrite-head.1.gz +man/man1/blind-rotate-180.1.gz +man/man1/blind-rotate-270.1.gz +man/man1/blind-rotate-90.1.gz +man/man1/blind-set-alpha.1.gz +man/man1/blind-set-luma.1.gz +man/man1/blind-set-saturation.1.gz +man/man1/blind-single-colour.1.gz +man/man1/blind-skip-pattern.1.gz +man/man1/blind-split.1.gz +man/man1/blind-stack.1.gz +man/man1/blind-time-blur.1.gz +man/man1/blind-to-image.1.gz +man/man1/blind-to-text.1.gz +man/man1/blind-to-video.1.gz +man/man1/blind-translate.1.gz +man/man1/blind-transpose.1.gz +man/man1/blind-write-head.1.gz +man/man7/blind.7.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801291921.w0TJLLw4029254>