summaryrefslogtreecommitdiff
path: root/misc/fbdump
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-10 17:50:49 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:16 +0700
commit1749fb08104bb11d9e70d83d1c3f7223718af4e6 (patch)
treec24b67fbbda155971f31ab14896d6de933f817bd /misc/fbdump
parent32808339666e2cc001f60229e50ded73cb501742 (diff)
downloadslackbuilds-1749fb08104bb11d9e70d83d1c3f7223718af4e6.tar.gz
misc/fbdump: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/fbdump')
-rw-r--r--misc/fbdump/README16
-rw-r--r--misc/fbdump/fbdump.SlackBuild10
-rw-r--r--misc/fbdump/fbdump.info4
3 files changed, 13 insertions, 17 deletions
diff --git a/misc/fbdump/README b/misc/fbdump/README
index c7cd539bb1..43c62d8ed7 100644
--- a/misc/fbdump/README
+++ b/misc/fbdump/README
@@ -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.
diff --git a/misc/fbdump/fbdump.SlackBuild b/misc/fbdump/fbdump.SlackBuild
index e504c42a50..dc918d7587 100644
--- a/misc/fbdump/fbdump.SlackBuild
+++ b/misc/fbdump/fbdump.SlackBuild
@@ -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
diff --git a/misc/fbdump/fbdump.info b/misc/fbdump/fbdump.info
index 790bce43a3..8b08ecae06 100644
--- a/misc/fbdump/fbdump.info
+++ b/misc/fbdump/fbdump.info
@@ -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=""