ports/185672: New port: graphics/sxiv Lightweight image viewer
Rapenne
charles at bsd.zplay.eu
Sun Jan 12 00:50:00 UTC 2014
>Number: 185672
>Category: ports
>Synopsis: New port: graphics/sxiv Lightweight image viewer
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 12 00:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Rapenne
>Release: 10.0-RC5
>Organization:
>Environment:
>Description:
A made a port for the lightweight image viewer "sxiv" which is a very simple image viewer. The git repository is active.
More informations about sxiv on the github page : https://github.com/muennich/sxiv
This is the first port I submit, I used portlint and everything seemed good.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# sxiv
# sxiv/Makefile
# sxiv/files
# sxiv/files/patch-Makefile-man
# sxiv/pkg-descr
# sxiv/distinfo
#
echo c - sxiv
mkdir -p sxiv > /dev/null 2>&1
echo x - sxiv/Makefile
sed 's/^X//' >sxiv/Makefile << '8569dcdbb43b98a84e6b75ed2722c43b'
X# Created by: Charles RAPENNE <charles at bsd.zplay.eu>
X# $FreeBSD: graphics/sxiv $
X
XPORTNAME= sxiv
XPORTVERSION= 1.1.1
XPORTREVISION= 1
XCATEGORIES= x11
XMASTER_SITES= https://github.com/muennich/sxiv/archive/
XDISTNAME= v${PORTVERSION}
X
XMAINTAINER= charles at bsd.zplay.eu
XCOMMENT= Lightweight image viewer
X
XLICENSE= GPLv2
X
XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/
XUSES= pkgconfig
XUSE_XORG= x11
X
XPLIST_FILES= bin/sxiv \
X share/man/man1/sxiv.1 \
X share/sxiv/exec/image-info
X
XNO_STAGE= yes
X.include <bsd.port.mk>
8569dcdbb43b98a84e6b75ed2722c43b
echo c - sxiv/files
mkdir -p sxiv/files > /dev/null 2>&1
echo x - sxiv/files/patch-Makefile-man
sed 's/^X//' >sxiv/files/patch-Makefile-man << '9d705c28cfd0cfe925b42c16f7a26626'
X--- Makefile.orig 2014-01-05 18:30:38.000000000 +0100
X+++ Makefile 2014-01-05 18:31:27.000000000 +0100
X@@ -1,9 +1,9 @@
X VERSION = 1.1.1
X
X PREFIX = /usr/local
X-MANPREFIX = $(PREFIX)/share/man
X+MANPREFIX = $(PREFIX)/man
X
X-CC = gcc
X+CC = clang
X CFLAGS = -std=c99 -Wall -pedantic -O2 -I$(PREFIX)/include -DHAVE_GIFLIB
X LDFLAGS = -L$(PREFIX)/lib
X LIBS = -lX11 -lImlib2 -lgif
9d705c28cfd0cfe925b42c16f7a26626
echo x - sxiv/pkg-descr
sed 's/^X//' >sxiv/pkg-descr << '34e413c2750448e1381a36b23b036bef'
XSimple X Image Viewer
X
Xsxiv is a light image viewer which as a few features :
X
X- Basic image operations, e.g. zooming, panning, rotating
X- Customizable key and mouse button mappings (in config.h)
X- Thumbnail mode: grid of selectable previews of all images
X- Ability to cache thumbnails for fast re-loading
X- Basic support for multi-frame images
X- Load all frames from GIF files and play GIF animations
X- Display image information in status bar
X
X
Xhttps://github.com/muennich/sxiv
34e413c2750448e1381a36b23b036bef
echo x - sxiv/distinfo
sed 's/^X//' >sxiv/distinfo << 'f04260523c8664ee8fe207beec42cea9'
XSHA256 (v1.1.1.tar.gz) = 30569b7cb1568a7f60d102f6eb21f25c93de42243a1c8ac3c1a521d58b08281f
XSIZE (v1.1.1.tar.gz) = 37251
f04260523c8664ee8fe207beec42cea9
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list