ports/190328: New port: graphics/ttygif
Olivier Cochard-Labbe
olivier at cochard.me
Tue May 27 22:50:01 UTC 2014
>Number: 190328
>Category: ports
>Synopsis: New port: graphics/ttygif
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 27 22:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Olivier Cochard-Labbe
>Release: 10.0-stable
>Organization:
>Environment:
FreeBSD laptop.bsdrp.net 10.0-STABLE FreeBSD 10.0-STABLE #9 r266396M: Sun May 18 13:21:01 CEST 2014 root at laptop.bsdrp.net:/usr/obj/usr/local/BSDRP/BSDRP/FreeBSD/src/sys/PROD amd64
>Description:
ttygif permit to convert ttyrec record into animated gif.
It's a 3 steps process:
1. Generate a ttyrecord file with misc/ttyrec
2. convert the ttyrecord in multiple image file with ttygif
3. convert the multiple image with a unique animated gif file with concat
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# ttygif
# ttygif/pkg-descr
# ttygif/Makefile
# ttygif/distinfo
#
echo c - ttygif
mkdir -p ttygif > /dev/null 2>&1
echo x - ttygif/pkg-descr
sed 's/^X//' >ttygif/pkg-descr << '1d408060ab6fdaed84515cf45fa98d2c'
XTtygif converts a ttyrec file into animated gif (need a X11 terminal).
X
XWWW: https://github.com/icholy/ttygif
1d408060ab6fdaed84515cf45fa98d2c
echo x - ttygif/Makefile
sed 's/^X//' >ttygif/Makefile << 'd20c6ac2d5e6141eff7263fb4b0817cf'
X# $FreeBSD$
X
XPORTNAME= ttygif
XPORTVERSION= 1.0.8
XCATEGORIES= graphics
X
XMAINTAINER= olivier at cochard.me
XCOMMENT= Converts a ttyrec file into animated gif
X
XLICENSE= MIT
X
XRUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
X
XGH_ACCOUNT= icholy
XGH_COMMIT= ea0b493
X
XUSES= tar:bzip2 gmake
X
XUSE_GITHUB= yes
X
XPLIST_FILES= bin/${PORTNAME} \
X bin/concat
X
Xpost-patch:
X @${REINPLACE_CMD} 's:\#\!/bin/bash:\#\!/bin/sh:' ${WRKSRC}/concat.sh
X @${REINPLACE_CMD} 's:gcc:$(CC):' ${WRKSRC}/Makefile
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
X ${INSTALL_SCRIPT} ${WRKSRC}/concat.sh ${STAGEDIR}${PREFIX}/bin/concat
X
X.include <bsd.port.mk>
d20c6ac2d5e6141eff7263fb4b0817cf
echo x - ttygif/distinfo
sed 's/^X//' >ttygif/distinfo << '74503188de08187b5fd051fbde5f2e12'
XSHA256 (ttygif-1.0.8.tar.bz2) = 005d8c6a45daac8ae0e6b1e701bf043a819e2ea61734c95ba600d3a44eaec255
XSIZE (ttygif-1.0.8.tar.bz2) = 5098
74503188de08187b5fd051fbde5f2e12
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list