From ae9ef7bb5748a9c00af332f62b8c1b50692589f6 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Thu, 9 Sep 2021 13:12:44 -0400 Subject: desktop/wmwebcam: Remove template comment. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- desktop/wmwebcam/README | 2 ++ desktop/wmwebcam/wmwebcam.SlackBuild | 15 +++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'desktop/wmwebcam') diff --git a/desktop/wmwebcam/README b/desktop/wmwebcam/README index 5cf998f8c2..08fb990998 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 f3bf98d42b..50331aa313 100644 --- a/desktop/wmwebcam/wmwebcam.SlackBuild +++ b/desktop/wmwebcam/wmwebcam.SlackBuild @@ -27,6 +27,11 @@ # Now maintained by B. Watson +# 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 -- cgit v1.2.3