aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-09 13:12:44 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:08 +0700
commitae9ef7bb5748a9c00af332f62b8c1b50692589f6 (patch)
tree350f6e98ac6f20cf4463d9333765f3125041943c /desktop
parent5ed7228091d81eecd7703782dbe119a7e32b8301 (diff)
desktop/wmwebcam: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/wmwebcam/README2
-rw-r--r--desktop/wmwebcam/wmwebcam.SlackBuild15
2 files changed, 9 insertions, 8 deletions
diff --git a/desktop/wmwebcam/README b/desktop/wmwebcam/README
index 5cf998f8c28a..08fb990998ed 100644
--- a/desktop/wmwebcam/README
+++ b/desktop/wmwebcam/README
@@ -1,3 +1,5 @@
+wmwebcam (Webcam DockApp)
+
wmwebcam is a dockapp that grabs an image from your webcam every second
and displays the captured image. Original written years ago, it was
updated by eukara to work with the newer V4L2. Credits go to him for
diff --git a/desktop/wmwebcam/wmwebcam.SlackBuild b/desktop/wmwebcam/wmwebcam.SlackBuild
index f3bf98d42bbe..50331aa313cb 100644
--- a/desktop/wmwebcam/wmwebcam.SlackBuild
+++ b/desktop/wmwebcam/wmwebcam.SlackBuild
@@ -27,6 +27,11 @@
# Now maintained by B. Watson <yalhcru@gmail.com>
+# 20210909 bkw: I still don't have (or want) a webcam. All I can say
+# about wmwebcam is that it compiles, creates a valid package, and
+# when I run it, "Can't open device /dev/video0" (as expected). Do
+# you use this? Please take it!
+
# 20160821 bkw:
# - take over maintenance
# - BUILD=2
@@ -52,9 +57,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
@@ -87,11 +89,8 @@ rm -rf $PRGNAM-$VERSION-fixed
tar xvf $CWD/$PRGNAM-$VERSION-fixed.tar.gz
cd $PRGNAM-$VERSION-fixed
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 {} \+
# probably unnecessary, paranoia says memcpy() needs a prototype.
patch -p1 < $CWD/compilefix.diff