graphics/meh: New maintainer.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2018-06-29 04:38:04 -04:00 committed by Willy Sudiarto Raharjo
parent 090d5624f1
commit 3a04650276
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 73 additions and 9 deletions

54
graphics/meh/meh.1 Normal file
View File

@ -0,0 +1,54 @@
.TH MEH 1 "2013-12-28"
.SH NAME
meh \- simple, minimalist, super fast image viewer
.SH SYNOPSIS
.B meh
.IR FILE ...
.br
.B meh \-list
.RI [ LISTFILE ]
.br
.B meh \-ctl
.br
.B meh \-v
.SH DESCRIPTION
.B meh
is a small, simple, super fast image viewer using raw XLib.
It is similar to
.BR feh (1),
but faster and simpler.
.LP
.B meh
can use ImageMagick's
.BR convert (1)
to view almost 200 file formats, though it is slower for these formats.
Built-in formats are JPEG, PNG, BMP, and netpbm.
.SH OPTIONS
.TP
.BR \-list \ [\fILISTFILE\fR]
Treat \fILISTFILE\fR as list of images. Defaults to stdin.
.TP
.B \-ctl
Display files as they are received on stdin.
.TP
.B \-v
Print version and exit.
.SH KEY BINDINGS
While
.B meh
is displaying an image, the following key bindings are active:
.TP
.BR j
Next image.
.TP
.BR k
Previous image.
.TP
.BR r
Reload current image.
.TP
.BR Enter
Print current image's filename to stdout.
.TP
.BR \fBEscape\fR\ or \ \fBq\fR
Exit \fBmeh\fR.

View File

@ -2,7 +2,7 @@
# Slackware build script for meh
# Copyright 2014 Leonard Schmidt <lems@gmx.net>
# Copyright 2014 Leonard Schmidt <email removed>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@ -20,9 +20,16 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Now maintained by B. Watson <yalhcru@gmail.com>.
# 20180628 bkw:
# - Take over maintenance.
# - Add man page, BUILD=2
# - Script simplifications.
PRGNAM=meh
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -63,18 +70,21 @@ 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 \
-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 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Fixes for giflib-5.1 from https://github.com/jhawthorn/meh
patch -p1 < $CWD/meh-giflib.patch
CFLAGS="$SLKCFLAGS" make
install -D -m 755 meh $PKG/usr/bin/meh
install -D -s -o root -g root -m 755 $PRGNAM $PKG/usr/bin/$PRGNAM
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# 20180628 bkw: Man page originally came from upstream's git, and I
# added the key bindings section (and sent a patch upstream, hopefully
# he likes it).
mkdir -p $PKG/usr/man/man1
gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS BUGS COPYING NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -6,5 +6,5 @@ MD5SUM="7fbc839fe6af33f3f576d067dbe804dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Leonard Schmidt"
EMAIL="lems@gmx.net"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"