mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
3280833966
commit
1749fb0810
3 changed files with 13 additions and 17 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue