diff options
author | leot <leot@pkgsrc.org> | 2016-02-04 13:49:06 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2016-02-04 13:49:06 +0000 |
commit | efede953ba2fb3de621d5dc5d280eba051b625e7 (patch) | |
tree | 6db002f3542ec812a869b243022cb444d575ea75 /graphics | |
parent | 27a1536bc312619d91408544f9a9f5fd2f0fb560 (diff) | |
download | pkgsrc-efede953ba2fb3de621d5dc5d280eba051b625e7.tar.gz |
Import sxiv-1.3.2 as graphics/sxiv.
Packaged in pkgsrc-wip by myself.
sxiv is an alternative to feh and qiv. Its only dependencies besides xlib are
imlib2 and giflib. The primary goal for writing sxiv is to create an image
viewer, which only has the most basic features required for fast image viewing
(the ones I want). It has vi key bindings and works nicely with tiling window
managers. Its code base should be kept small and clean to make it easy for you
to dig into it and customize it for your needs.
Features
* Basic image operations, e.g. zooming, panning, rotating
* Customizable key and mouse button mappings (in config.h)
* Thumbnail mode: grid of selectable previews of all images
* Ability to cache thumbnails for fast re-loading
* Basic support for multi-frame images
* Load all frames from GIF files and play GIF animations
* Display image information in window title
Reviewed by wiz@ and kamil@.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sxiv/DESCR | 15 | ||||
-rw-r--r-- | graphics/sxiv/Makefile | 24 | ||||
-rw-r--r-- | graphics/sxiv/PLIST | 5 | ||||
-rw-r--r-- | graphics/sxiv/distinfo | 6 |
4 files changed, 50 insertions, 0 deletions
diff --git a/graphics/sxiv/DESCR b/graphics/sxiv/DESCR new file mode 100644 index 00000000000..8e4c01aa7de --- /dev/null +++ b/graphics/sxiv/DESCR @@ -0,0 +1,15 @@ +sxiv is an alternative to feh and qiv. Its only dependencies besides xlib are +imlib2 and giflib. The primary goal for writing sxiv is to create an image +viewer, which only has the most basic features required for fast image viewing +(the ones I want). It has vi key bindings and works nicely with tiling window +managers. Its code base should be kept small and clean to make it easy for you +to dig into it and customize it for your needs. + +Features +* Basic image operations, e.g. zooming, panning, rotating +* Customizable key and mouse button mappings (in config.h) +* Thumbnail mode: grid of selectable previews of all images +* Ability to cache thumbnails for fast re-loading +* Basic support for multi-frame images +* Load all frames from GIF files and play GIF animations +* Display image information in window title diff --git a/graphics/sxiv/Makefile b/graphics/sxiv/Makefile new file mode 100644 index 00000000000..49c03ab9477 --- /dev/null +++ b/graphics/sxiv/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2016/02/04 13:49:06 leot Exp $ +# + +DISTNAME= sxiv-1.3.2 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_GITHUB:=muennich/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= leot@NetBSD.org +HOMEPAGE= http://github.com/muennich/sxiv +COMMENT= Simple (or small or suckless) X Image Viewer +LICENSE= gnu-gpl-v2 + +USE_TOOLS+= gmake + +MAKE_FLAGS+= PREFIX=${PREFIX} MANPREFIX=${PREFIX}/${PKGMANDIR} + +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + +.include "../../x11/libX11/buildlink3.mk" +.include "../../graphics/giflib/buildlink3.mk" +.include "../../graphics/imlib2/buildlink3.mk" +.include "../../graphics/libexif/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/sxiv/PLIST b/graphics/sxiv/PLIST new file mode 100644 index 00000000000..3fff7b678cb --- /dev/null +++ b/graphics/sxiv/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2016/02/04 13:49:06 leot Exp $ +bin/sxiv +man/man1/sxiv.1 +share/sxiv/exec/image-info +share/sxiv/exec/key-handler diff --git a/graphics/sxiv/distinfo b/graphics/sxiv/distinfo new file mode 100644 index 00000000000..2fc5e827d98 --- /dev/null +++ b/graphics/sxiv/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/02/04 13:49:06 leot Exp $ + +SHA1 (sxiv-1.3.2.tar.gz) = 99ee7f74881f49f8ae6060e01f13bdcfbfc84825 +RMD160 (sxiv-1.3.2.tar.gz) = c3b703055804c534808487fd66cf59686b7db91f +SHA512 (sxiv-1.3.2.tar.gz) = 3bcf67a778a3e40cb6ae6b6fcc685cd57e303265df34c8a56d6ebb8ad0237e7136e738c44fee5c5504c73e4722d017f1e746691fac482568b2a960931f1ecdd5 +Size (sxiv-1.3.2.tar.gz) = 46560 bytes |