Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 14:11:37 +0100 (CET)
From:      Martin Tournoij <carpetsmoker@xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122191: [NEW PORT] graphics/pqiv - Pretty Quick Image Viewer
Message-ID:  <200803281311.m2SDBbZt070038@phong.rwxrwxrwx.net>
Resent-Message-ID: <200803281320.m2SDK24U061056@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122191
>Category:       ports
>Synopsis:       [NEW PORT] graphics/pqiv - Pretty Quick 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:   Fri Mar 28 13:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Tournoij
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD phong.rwxrwxrwx.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Mar 21 20:18:47 CET 2008     carpetsmoker@phong.rwxrwxrwx.net:/usr/obj/usr/src/sys/PHONG  i386

>Description:
qiv (graphics/qiv) is a great image viewer, but it does not use gtk2
but imlib for image handling. This is bad, because many distributions
(well, at least gentoo) do not offer this library anymore as it's
quite old and not maintained anymore.

When the first release of pqiv was written, I used python, hence the
name. I expected somebody else to write a c-rewrite of qiv, so I
didn't really care about that. About one month later nothing had
happened yet, so I did this on my own. Starting from 0.4 pqiv means
"pretty quick image viewer", written in pure C, using gtk+-2.0.

Features include:
* Fullscreen
* Slideshow
* Rotate / Flip
* (Automatic/manual) Zoom
* Move by drag & drop in fullscreen
* Keep preferences in a configuration file
* Rather small executable (~36k), low ram consumtion, quick
* Execute predefined commands, pipe images through them or display their output
* Real transparency
* Fade between images

WWW: http://www.pberndt.com/Programme/Linux/pqiv/index.html

>How-To-Repeat:

>Fix:

--- pqiv.shar begins here ---
# 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:
#
#	graphics/pqiv/Makefile
#	graphics/pqiv/distinfo
#	graphics/pqiv/pkg-descr
#
echo x - graphics/pqiv/Makefile
sed 's/^X//' >graphics/pqiv/Makefile << 'END-of-graphics/pqiv/Makefile'
X# New ports collection makefile for:	graphics/pqiv
X# Date created:				March 28 2008
X# Whom:					Martin Tournoij <carpetsmoker@xs4all.nl>
X#
X# $Carpetsmoker: ports/graphics/pqiv/Makefile,v 1.1 2008/03/28 13:07:07 carpetsmoker Exp $
X# $FreeBSD$
X#
X
XPORTNAME=	pqiv
XPORTVERSION=	0.7
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.pberndt.com/raw//Programme/Linux/pqiv/_download/ \
X		http://www.carpetsmoker.net/distfiles/ \
X		http://www.xs4all.nl/~tournoij/distfiles/ \
X		http://www.rwxrwxrwx.net/distfiles/
XEXTRACT_SUFX=	.tbz
X
XMAINTAINER=	carpetsmoker@xs4all.nl
XCOMMENT=	Pretty Quick Image Viewer
X
XUSE_BZIP2=	yes
XUSE_GNOME=	gtk20 glib20 pango pkgconfig
XCFLAGS+=	-DNO_INOTIFY
XPLIST_FILES=	bin/pqiv
XPORTDOCS=	README
XMAN1=		pqiv.1
XMANCOMPRESSED=	no
X
XOPTIONS=	SORTING		"Enable sorting of loaded files" on \
X		COMPOSITE	"Enable support for transparent windows" on \
X		FADING		"Enable support for fading images" on \
X		COMMANDS	"Enable support for external command execution" on \
X		CONFIG		"Enable support for a configuration file" on
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITHOUT_SORTING)
XCFLAGS+=	-DNO_SORTING
XSORTFILE=	# Empty
X.else
XSORTFILE=	${WRKSRC}/lib/strnatcmp.c
X.endif
X.if defined(WITHOUT_COMPOSITE)
XCFLAGS+=	-DNO_COMPOSITING
X.endif
X.if defined(WITHOUT_FADING)
XCFLAGS+=	-DNO_FADING
X.endif
X.if defined(WITHOUT_COMMANDS)
XCFLAGS+=	-DNO_COMMANDS
X.endif
X.if defined(WITHOUT_CONFIG)
XCFLAGS+=	-DNO_CONFIG_FILE
X.endif
X
Xdo-build:
X	${CC} ${CFLAGS} `${pkgconfig_DETECT} --libs --cflags gtk+-2.0 gthread-2.0 pango glib-2.0` \
X		${SORTFILE} ${WRKSRC}/pqiv.c -o ${WRKSRC}/pqiv
X	@${REINPLACE_CMD} 's|$$PACKAGE_VERSION|${PORTVERSION}|' \
X		${WRKSRC}/pqiv.1.template
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/pqiv ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/pqiv.1.template ${MAN1PREFIX}/man/man1/pqiv.1
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-graphics/pqiv/Makefile
echo x - graphics/pqiv/distinfo
sed 's/^X//' >graphics/pqiv/distinfo << 'END-of-graphics/pqiv/distinfo'
XMD5 (pqiv-0.7.tbz) = 0d5d77b9c25b94c015f7bbfb5c6d054b
XSHA256 (pqiv-0.7.tbz) = a52c27fa11e940526e16f9c8454ab7a6be1f59c186c2a382f03d2baa16c3eb3f
XSIZE (pqiv-0.7.tbz) = 30094
END-of-graphics/pqiv/distinfo
echo x - graphics/pqiv/pkg-descr
sed 's/^X//' >graphics/pqiv/pkg-descr << 'END-of-graphics/pqiv/pkg-descr'
Xqiv (graphics/qiv) is a great image viewer, but it does not use gtk2
Xbut imlib for image handling. This is bad, because many distributions
X(well, at least gentoo) do not offer this library anymore as it's
Xquite old and not maintained anymore.
X
XWhen the first release of pqiv was written, I used python, hence the
Xname. I expected somebody else to write a c-rewrite of qiv, so I
Xdidn't really care about that. About one month later nothing had
Xhappened yet, so I did this on my own. Starting from 0.4 pqiv means
X"pretty quick image viewer", written in pure C, using gtk+-2.0.
X
XFeatures include:
X* Fullscreen
X* Slideshow
X* Rotate / Flip
X* (Automatic/manual) Zoom
X* Move by drag & drop in fullscreen
X* Keep preferences in a configuration file
X* Rather small executable (~36k), low ram consumtion, quick
X* Execute predefined commands, pipe images through them or display their output
X* Real transparency
X* Fade between images
X
XWWW: http://www.pberndt.com/Programme/Linux/pqiv/index.html
END-of-graphics/pqiv/pkg-descr
exit
--- pqiv.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
 



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