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 Fix: Patch attached with submission follows:
Built this, but when I tested it, all I get is: Syntax error: "(" unexpected snapshot: No error: 0 Any ideas?
Did you correctly start it from an xterm terminal under xorg ?
(In reply to olivier from comment #2) > Did you correctly start it from an xterm terminal under xorg ? No, I was running it remotely. Does it have to be local? Steve
Yes: this software do xterm screenshot for each frame during replay, then assemble each screenshots in one animated file. I don't know how to be sure user understand they NEED to start it from a local xterm session: A message file ?
swills, what do you want to do with this port? It's stalled because of your questioning.
(In reply to John Marino from comment #5) > swills, what do you want to do with this port? It's stalled because of your > questioning. Oh, don't let my confusion get in the way, sorry. I was looking at committing it, but ran into that issue testing it and haven't had time to get back to it, but assuming it works OK when used properly (I wasn't using it properly), then go ahead and commit it.
Olivier, do you have any verification available? In order of preference, examples of what I'm looking for are: 1) "poudriere testport" or "poudriere bulk -t" logs 2) Redports or tinderbox logs 3) "make check-plist" followed by "make stage-qa" output (https://www.freebsd.org/doc/en/books/porters-handbook/porting-testing.html) Also, please run "portlint" and paste the output.
Created attachment 145725 [details] portlint, redports and poudriere testport log
Okay, I'll recommend to the committer that takes this PR to fix the portlint warning: root@orange:/usr/ports/graphics/ttygif # portlint -A WARN: Makefile: [27]: use ${VARIABLE}, instead of $(VARIABLE). I'll move this to patch-ready.
I'm not getting the warning (you must be using an older portlint) but I see what's happening. You have sed -e 's:gcc:$(CC):' <file> I think you wanted to replace "gcc" with the text "$(CC)" but instead replace "gcc" with "cc" (which is the value of $CC). If that's right, it was a bug that does exactly what you wanted. to be explicit, I'm going to change this to ${CC} so we know it's intended to replace the value and not the name of the environment variable.
also tabs are all over the place so it's like you had different editors or different tab settings.
A commit references this bug: Author: marino Date: Fri Aug 15 15:30:25 UTC 2014 New revision: 364980 URL: http://svnweb.freebsd.org/changeset/ports/364980 Log: Add new port graphics/ttygif PR: 190328 Submitted by: Olivier (cochard.me) 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 Changes: head/graphics/Makefile head/graphics/ttygif/ head/graphics/ttygif/Makefile head/graphics/ttygif/distinfo head/graphics/ttygif/pkg-descr
It built fine, thanks!
what's the different between ttygif and this port which was committed today? http://www.freshports.org/graphics/seq2gif/ CC'ing pi@ as he committed it. Maybe they are the same s/w or very similar?
(In reply to John Marino from comment #14) > what's the different between ttygif and this port which was committed today? > > http://www.freshports.org/graphics/seq2gif/ Good question: From the usage of seq2gif, it looks like it does steps 2 and 3 in one go: seq2gif [Options] -i ttyrecord -o record.gif