misc/fbdump: Remove template comment.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-09-10 17:50:49 -04:00 committed by Willy Sudiarto Raharjo
parent 3280833966
commit 1749fb0810
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 13 additions and 17 deletions

View file

@ -1,15 +1,17 @@
fbdump (captures the visible portion of framebuffer to stdout)
fbdump is a simple tool that captures the contents of the visible portion of
the Linux framebuffer device and writes it to the standard output as a PPM
file. In other words, it takes a screenshot of anything running on the
framebuffer. It currently has fairly complete support for packed-pixel
framebuffer types and also works with the VGA16 framebuffer driver.
fbdump is a simple tool that captures the contents of the visible
portion of the Linux framebuffer device and writes it to the standard
output as a PPM file. In other words, it takes a screenshot of
anything running on the framebuffer. It currently has fairly complete
support for packed-pixel framebuffer types and also works with the
VGA16 framebuffer driver.
To get a popular image format, issue a command like:
fbdump | pnmtopng > shot.png
Note: fbdump is rather slow on modern systems with high-resolution
framebuffers at 32-bit color depth. On the maintainer's system, it takes
8 seconds to dump a 1920x1080x32 framebuffer. Be patient.
framebuffers at 32-bit color depth. On some systems, it takes several
seconds to dump a 1920x1080x32 framebuffer. Be patient. Or use fbcat
instead.

View file

@ -58,9 +58,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -93,11 +90,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# 20170324 bkw: maybe returning from main() used to cause stdout to
# be flushed, back when fbdump was new... but these days we need to

View file

@ -1,7 +1,7 @@
PRGNAM="fbdump"
VERSION="0.4.2"
HOMEPAGE="http://www.rcdrummond.net/fbdump/"
DOWNLOAD="http://www.rcdrummond.net/fbdump/fbdump-0.4.2.tar.gz"
HOMEPAGE="https://www.rcdrummond.net/fbdump/"
DOWNLOAD="https://www.rcdrummond.net/fbdump/fbdump-0.4.2.tar.gz"
MD5SUM="85ae97c0800a2caf2b04ad7764e3915b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""