Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2011 17:51:19 GMT
From:      Jan Henrik Sylvester <me@janh.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154245: New port: graphics/xournal A notetaking application that can annotate PDFs
Message-ID:  <201101231751.p0NHpJdt042883@red.freebsd.org>
Resent-Message-ID: <201101231800.p0NI0KpB039614@freefall.freebsd.org>

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

>Number:         154245
>Category:       ports
>Synopsis:       New port: graphics/xournal A notetaking application that can annotate PDFs
>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 23 18:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jan Henrik Sylvester
>Release:        8.2-RC2 amd64
>Organization:
>Environment:
>Description:
The port was tested with porttools on my machine and Chris Rees tested in his tinderbox.

The port is not DATADIR-safe: Setting DATADIR is ignored altogether by the port. Thus, the portlint warnings suggesting to use DATADIR in pkg-plist were ignored.

Thanks to Chris Rees for his suggestions, especially telling me to use INSTALL_TARGET. (The middle of the discussion: http://lists.freebsd.org/pipermail/freebsd-ports/2011-January/065498.html )
>How-To-Repeat:

>Fix:
If the shar file attached is corrupted, a copy is located here: http://www.math.uni-hamburg.de/home/sylvester/xournal.shar

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:
#
#	graphics/xournal
#	graphics/xournal/pkg-plist
#	graphics/xournal/pkg-descr
#	graphics/xournal/distinfo
#	graphics/xournal/Makefile
#
echo c - graphics/xournal
mkdir -p graphics/xournal > /dev/null 2>&1
echo x - graphics/xournal/pkg-plist
sed 's/^X//' >graphics/xournal/pkg-plist << '9b172bb60580b3357f245d535c347f95'
Xbin/xournal
Xshare/applications/xournal.desktop
Xshare/icons/hicolor/scalable/apps/xournal.svg
Xshare/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xoj.svg
Xshare/icons/hicolor/scalable/mimetypes/xoj.svg
Xshare/mime/packages/xournal.xml
Xshare/mimelnk/application/x-xoj.desktop
Xshare/xournal/html-doc/manual.html
Xshare/xournal/html-doc/pixmaps
Xshare/xournal/html-doc/screenshot.png
Xshare/xournal/pixmaps/black.png
Xshare/xournal/pixmaps/blue.png
Xshare/xournal/pixmaps/default-pen.png
Xshare/xournal/pixmaps/eraser.png
Xshare/xournal/pixmaps/fullscreen.png
Xshare/xournal/pixmaps/gray.png
Xshare/xournal/pixmaps/green.png
Xshare/xournal/pixmaps/hand.png
Xshare/xournal/pixmaps/highlighter.png
Xshare/xournal/pixmaps/lasso.png
Xshare/xournal/pixmaps/lightblue.png
Xshare/xournal/pixmaps/lightgreen.png
Xshare/xournal/pixmaps/magenta.png
Xshare/xournal/pixmaps/medium.png
Xshare/xournal/pixmaps/orange.png
Xshare/xournal/pixmaps/pencil.png
Xshare/xournal/pixmaps/rect-select.png
Xshare/xournal/pixmaps/recycled.png
Xshare/xournal/pixmaps/red.png
Xshare/xournal/pixmaps/ruler.png
Xshare/xournal/pixmaps/shapes.png
Xshare/xournal/pixmaps/stretch.png
Xshare/xournal/pixmaps/text-tool.png
Xshare/xournal/pixmaps/thick.png
Xshare/xournal/pixmaps/thin.png
Xshare/xournal/pixmaps/white.png
Xshare/xournal/pixmaps/xoj.svg
Xshare/xournal/pixmaps/xournal.png
Xshare/xournal/pixmaps/xournal.svg
Xshare/xournal/pixmaps/yellow.png
X@dirrm share/xournal/pixmaps
X@dirrm share/xournal/html-doc
X@dirrm share/xournal
X@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
X@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
X@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
X@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
X@dirrmtry share/mimelnk/application
X@dirrmtry share/mimelnk
X@dirrmtry share/mime/packages
X@dirrmtry share/mime
X@dirrmtry share/icons/hicolor/scalable/mimetypes
X@dirrmtry share/icons/hicolor/scalable/apps
X@dirrmtry share/icons/hicolor/scalable
X@dirrmtry share/icons/hicolor
X@dirrmtry share/icons
X@dirrmtry share/applications
9b172bb60580b3357f245d535c347f95
echo x - graphics/xournal/pkg-descr
sed 's/^X//' >graphics/xournal/pkg-descr << '805b216eb83a8fb3d83ce023e5fa4c74'
XXournal is an application for notetaking, sketching, keeping a
Xjournal using a stylus. It is similar to Microsoft Windows Journal or
Xto other alternatives such as Jarnal, Gournal, and NoteLab.
X
XXournal aims to provide superior graphical quality (subpixel
Xresolution) and overall functionality; however it lacks the
Xcollaborative features of Jarnal. Since Xournal is still in its early
Xdevelopment stages, it may not be fully stable, and some features
Xhave not been implemented yet.
X
XXournal supports annotation of PDF files through the Poppler library;
XPDF files, much like paper styles, are loaded as an immutable
Xbackground image.
X
XWWW: http://xournal.sourceforge.net
805b216eb83a8fb3d83ce023e5fa4c74
echo x - graphics/xournal/distinfo
sed 's/^X//' >graphics/xournal/distinfo << 'dbdf531c5f805ea1b755f1dff0d9beb7'
XSHA256 (xournal-0.4.5.tar.gz) = a7d7c2cb544451939779276e6e5ee5acc756bd0efb5253de15dc00bfe07755d1
XSIZE (xournal-0.4.5.tar.gz) = 425062
dbdf531c5f805ea1b755f1dff0d9beb7
echo x - graphics/xournal/Makefile
sed 's/^X//' >graphics/xournal/Makefile << '7b6ea3301597bf7d5161b3f76878ae21'
X# New ports collection makefile for:	xournal
X# Date created:		21 Jan 2011
X# Whom:			Jan Henrik Sylvester <me@janh.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xournal
XPORTVERSION=	0.4.5
XCATEGORIES=	graphics
XMASTER_SITES=	SF
X
XMAINTAINER=	me@janh.de
XCOMMENT=	A notetaking application that can annotate PDFs
X
XLIB_DEPENDS=	poppler-glib.5:${PORTSDIR}/graphics/poppler-gtk
X
XMAKE_JOBS_SAFE=	yes
XUSE_GNOME=	desktopfileutils libgnomecanvas
XGNU_CONFIGURE=	yes
XINSTALLS_ICONS=	yes
XINSTALL_TARGET=	install desktop-install
X
XOPTIONS=	GHOSTSCRIPT "Install ghostscript (PS/PDF as bitmap bg)" on
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_GHOSTSCRIPT)
XUSE_GHOSTSCRIPT_RUN=	yes
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} \
X		-e 's|$$(DESTDIR)/usr/share/|$$(DESTDIR)$$$$desktopdir/|g' \
X		-e 's|/usr/local/share|"$$(datadir)"|' \
X		${WRKSRC}/Makefile.in
X
X.include <bsd.port.post.mk>
7b6ea3301597bf7d5161b3f76878ae21
exit



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



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