ports/162525: [NEW PORT] graphics/electrix, lightweight GTK+ PDF viewer
Olivier Duchateau
duchateau.olivier at gmail.com
Sun Nov 13 16:50:04 UTC 2011
>Number: 162525
>Category: ports
>Synopsis: [NEW PORT] graphics/electrix, lightweight GTK+ PDF 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 Nov 13 16:50:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Olivier Duchateau
>Release: FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
eLectrix is an application to view Portable Document Format (PDF) and PostScript (PS) files.
Features
* Zoom and rotation
* Basic text search
* Basic navigation history
* Fullscreen mode
* Tabs
>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:
#
# electrix/
# electrix/pkg-plist
# electrix/pkg-descr
# electrix/Makefile
# electrix/distinfo
#
echo c - electrix/
mkdir -p electrix/ > /dev/null 2>&1
echo x - electrix/pkg-plist
sed 's/^X//' >electrix/pkg-plist << '2f6ab3298eae9978e4fefa47d7d0a38e'
Xbin/electrix
Xshare/applications/electrix.desktop
Xshare/locale/ru/LC_MESSAGES/electrix.mo
Xshare/locale/sv/LC_MESSAGES/electrix.mo
Xshare/locale/tr/LC_MESSAGES/electrix.mo
X at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
X at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
2f6ab3298eae9978e4fefa47d7d0a38e
echo x - electrix/pkg-descr
sed 's/^X//' >electrix/pkg-descr << '6d37a8dfa73ba51e5594a753e1174d9f'
XeLectrix is an application to view Portable Document Format (PDF) files.
XFeatures:
X- zoom an rotation
X- basic text search
X- basic navigation history
X- fullscreen mode
X- tabs
X
XWWW: http://electrix.sourceforge.net/
6d37a8dfa73ba51e5594a753e1174d9f
echo x - electrix/Makefile
sed 's/^X//' >electrix/Makefile << 'c3691738025d5ed58a45df17f5cc5a7e'
X# New ports collection makefile for: eLectrix
X# Date created: 2011-03-10
X# Whom: Olivier Duchateau <duchateau.olivier at gmail.com>
X#
X# $FreeBSD: $
X#
X
XPORTNAME= electrix
XPORTVERSION= 0.2.0
XCATEGORIES= graphics print
XMASTER_SITES= SF
XMASTER_SITE_SUBDIR= ${PORTNAME:L}/${PORTVERSION}
X
XMAINTAINER= duchateau.olivier at gmail.com
XCOMMENT= An application to view PDF files
X
XLICENSE= GPLv2
XLICENSE_FILE= ${WRKSRC}/COPYING
X
XLIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
X poppler-glib.8:${PORTSDIR}/graphics/poppler-glib
X
XUSE_BZIP2= yes
XUSE_GNOME= gtk20 desktopfileutils intltool intlhack pkgconfig
XUSE_PYTHON= yes
XUSE_GETTEXT= yes
X
XCONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib" \
X CC="${CC}"
XCONFIGURE_ARGS= --prefix=${PREFIX}
X
XOPTIONS= PS "Enable PostScript support" off
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_PS)
XLIB_DEPENDS+= spectre.1:${PORTSDIR}/print/libspectre
X.else
XCONFIGURE_ARGS+= --disable-ps
X.endif
X
Xdo-configure:
X @cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf configure \
X ${CONFIGURE_ARGS} && ${TRUE}
X
Xdo-build:
X @cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf build && ${TRUE}
X
Xdo-install:
X @cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf install && ${TRUE}
X
Xpost-install:
X @-update-desktop-database
X
X.include <bsd.port.post.mk>
c3691738025d5ed58a45df17f5cc5a7e
echo x - electrix/distinfo
sed 's/^X//' >electrix/distinfo << 'a1879a84907cc518c8c55a20a166c862'
XSHA256 (electrix-0.2.0.tar.bz2) = ba8065a10ff603fbbfba48acedc72776b3110f652ac2bf4c2d5fba23f8ac7b8d
XSIZE (electrix-0.2.0.tar.bz2) = 134220
a1879a84907cc518c8c55a20a166c862
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list