Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2020 16:56:43 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531775 - in head/graphics: . meh
Message-ID:  <202004151656.03FGuh5u063770@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Wed Apr 15 16:56:43 2020
New Revision: 531775
URL: https://svnweb.freebsd.org/changeset/ports/531775

Log:
  New port: graphics/meh
  
  meh is a small, simple, super fast image viewer using raw XLib. It is
  similar to feh, but faster and simpler.
  
  meh can use ImageMagick’s convert to view almost 200 file formats, though
  it is slower for these formats. Built in formats are JPEG, PNG, BMP, and
  netpbm.
  
  Features:
  - Fast
  - Tiny
  - Fast JPEG, PNG, GIF and BMP support
  - Fast netpbm support (.ppm, .pgm, .pbm, .pnm)
  - ImageMagick support by calling convert
      - All ImageMagick formats (almost 200)
      - This allows limited support for PDF’s and SVG’s
  - Scales images to window size
  - Preserves aspect ratio (either via EWMH hints or by padding the window)
  - XSHM Support
  - Minimal dependencies (Xlib, libjpeg, libpng, giflib)
  
  WWW: https://www.johnhawthorn.com/meh/

Added:
  head/graphics/meh/
  head/graphics/meh/Makefile   (contents, props changed)
  head/graphics/meh/distinfo   (contents, props changed)
  head/graphics/meh/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Wed Apr 15 16:25:28 2020	(r531774)
+++ head/graphics/Makefile	Wed Apr 15 16:56:43 2020	(r531775)
@@ -526,6 +526,7 @@
     SUBDIR += mapserver
     SUBDIR += mapyrus
     SUBDIR += megapov
+    SUBDIR += meh
     SUBDIR += mesa-demos
     SUBDIR += mesa-dri
     SUBDIR += mesa-libs

Added: head/graphics/meh/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/meh/Makefile	Wed Apr 15 16:56:43 2020	(r531775)
@@ -0,0 +1,38 @@
+# Created by: Mateusz Piotrowski <0mp@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	meh
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.3-27
+DISTVERSIONSUFFIX=	-g69f653a
+CATEGORIES=	graphics
+
+MAINTAINER=	0mp@FreeBSD.org
+COMMENT=	Simple image viewer using raw XLib convert from ImageMagick
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libgif.so:graphics/giflib \
+		libpng.so:graphics/png
+RUN_DEPENDS=	convert:graphics/ImageMagick7
+
+USES=		gmake jpeg localbase xorg
+USE_GITHUB=	yes
+GH_ACCOUNT=	jhawthorn
+USE_XORG=	x11 xext
+
+ALL_TARGET=	${PORTNAME}
+
+LIBS+=		-lgif -ljpeg -lpng -lX11 -lXext
+
+PLIST_FILES=	bin/${PORTNAME} \
+		share/man/man1/${PORTNAME}.1.gz
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
+		${STAGEDIR}${MAN1PREFIX}/share/man/man1
+
+.include <bsd.port.mk>

Added: head/graphics/meh/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/meh/distinfo	Wed Apr 15 16:56:43 2020	(r531775)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1586964191
+SHA256 (jhawthorn-meh-v0.3-27-g69f653a_GH0.tar.gz) = ff3080c24c4657350ccc4f5d249d2b53cc5d53955ec2035ff9b9a90e8bbe882d
+SIZE (jhawthorn-meh-v0.3-27-g69f653a_GH0.tar.gz) = 13683

Added: head/graphics/meh/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/meh/pkg-descr	Wed Apr 15 16:56:43 2020	(r531775)
@@ -0,0 +1,20 @@
+meh is a small, simple, super fast image viewer using raw XLib. It is similar
+to feh, but faster and simpler.
+
+meh can use ImageMagick’s convert to view almost 200 file formats, though it is
+slower for these formats. Built in formats are JPEG, PNG, BMP, and netpbm.
+
+Features:
+- Fast
+- Tiny
+- Fast JPEG, PNG, GIF and BMP support
+- Fast netpbm support (.ppm, .pgm, .pbm, .pnm)
+- ImageMagick support by calling convert
+    - All ImageMagick formats (almost 200)
+    - This allows limited support for PDF’s and SVG’s
+- Scales images to window size
+- Preserves aspect ratio (either via EWMH hints or by padding the window)
+- XSHM Support
+- Minimal dependencies (Xlib, libjpeg, libpng, giflib)
+
+WWW: https://www.johnhawthorn.com/meh/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004151656.03FGuh5u063770>