Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F155008852
D14099.id38640.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
5 KB
Referenced Files
None
Subscribers
None
D14099.id38640.diff
View Options
Index: head/multimedia/Makefile
===================================================================
--- head/multimedia/Makefile
+++ head/multimedia/Makefile
@@ -25,6 +25,7 @@
SUBDIR += baka-mplayer
SUBDIR += bino
SUBDIR += bitstream
+ SUBDIR += blind
SUBDIR += bsdbktr_tvtune
SUBDIR += camserv
SUBDIR += ccextractor
Index: head/multimedia/blind/Makefile
===================================================================
--- head/multimedia/blind/Makefile
+++ head/multimedia/blind/Makefile
@@ -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>
Index: head/multimedia/blind/distinfo
===================================================================
--- head/multimedia/blind/distinfo
+++ head/multimedia/blind/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1517173257
+SHA256 (blind-1.1.tar.gz) = 24f903ccb5e118d75f38d3ae0d85fed909749f978bff47ff6973ee1bfddfcc5a
+SIZE (blind-1.1.tar.gz) = 47568
Index: head/multimedia/blind/files/patch-config.mk
===================================================================
--- head/multimedia/blind/files/patch-config.mk
+++ head/multimedia/blind/files/patch-config.mk
@@ -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
Index: head/multimedia/blind/files/patch-src_blind-split.c
===================================================================
--- head/multimedia/blind/files/patch-src_blind-split.c
+++ head/multimedia/blind/files/patch-src_blind-split.c
@@ -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>
Index: head/multimedia/blind/pkg-descr
===================================================================
--- head/multimedia/blind/pkg-descr
+++ head/multimedia/blind/pkg-descr
@@ -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/
Index: head/multimedia/blind/pkg-plist
===================================================================
--- head/multimedia/blind/pkg-plist
+++ head/multimedia/blind/pkg-plist
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 1, 4:00 PM (9 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32584829
Default Alt Text
D14099.id38640.diff (5 KB)
Attached To
Mode
D14099: New port: multimedia/blind: Collection of command line video editing utilities
Attached
Detach File
Event Timeline
Log In to Comment