Import xournal-0.4.7.

Xournal is an application for notetaking, sketching, keeping a journal
using a stylus. It is similar to Microsoft Windows Journal or to other
alternatives such as Jarnal, Gournal, and NoteLab.

It can also be used to annotate PDF files (highlight, underline etc.),
and either save the annotations in a seperate file, or export the
annotated document as a new PDF file.


ok edd@
This commit is contained in:
bentley 2012-12-31 08:43:14 +00:00
parent a0ef5c0b5f
commit 92915580bc
5 changed files with 130 additions and 0 deletions

41
print/xournal/Makefile Normal file
View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/12/31 08:43:14 bentley Exp $
COMMENT = application for notetaking & annotating PDF files
DISTNAME = xournal-0.4.7
CATEGORIES = print
HOMEPAGE = http://xournal.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=xournal/}
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender art_lgpl_2 atk-1.0 c cairo expat fontconfig freetype
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gnomecanvas-2 gobject-2.0 gtk-x11-2.0 iconv intl m
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
WANTLIB += poppler-glib pthread-stubs xcb xcb-render xcb-shm z
LIB_DEPENDS = x11/gtk+2 \
print/poppler \
x11/gnome/libgnomecanvas
RUN_DEPENDS = devel/desktop-file-utils
USE_GMAKE = Yes
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = CPPFLAGS=-I${LOCALBASE}/include
INSTALL_TARGET = install desktop-install
post-install:
mv ${PREFIX}/share/xournal/html-doc/ ${PREFIX}/share/doc/xournal
ln -sf ${LOCALBASE}/share/xournal/pixmaps \
${PREFIX}/share/doc/xournal/pixmaps
.include <bsd.port.mk>

2
print/xournal/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (xournal-0.4.7.tar.gz) = 0c65w6CwFy98I4m/4YihPNyfn0w93DAJXWNe3xNnrIk=
SIZE (xournal-0.4.7.tar.gz) = 553391

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2012/12/31 08:43:14 bentley Exp $
--- Makefile.in.orig Tue May 22 15:46:07 2012
+++ Makefile.in Mon Dec 24 21:26:33 2012
@@ -748,7 +748,7 @@ desktop-install:
$(mkinstalldirs) $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes; \
$(mkinstalldirs) $(DESTDIR)$$desktopdir/mime/packages; \
$(mkinstalldirs) $(DESTDIR)$$desktopdir/applications; \
- $(mkinstalldirs) $(DESTDIR)/usr/share/mimelnk/application; \
+ $(mkinstalldirs) $(DESTDIR)$$desktopdir/mimelnk/application; \
$(INSTALL_DATA) $(srcdir)/pixmaps/xournal.svg $(DESTDIR)$$desktopdir/icons/hicolor/scalable/apps; \
$(INSTALL_DATA) $(srcdir)/pixmaps/xoj.svg $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes; \
if test ! -e $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xoj.svg; then \
@@ -756,7 +756,7 @@ desktop-install:
fi; \
$(INSTALL_DATA) $(srcdir)/xournal.xml $(DESTDIR)$$desktopdir/mime/packages; \
$(INSTALL_DATA) $(srcdir)/xournal.desktop $(DESTDIR)$$desktopdir/applications; \
- $(INSTALL_DATA) $(srcdir)/x-xoj.desktop $(DESTDIR)/usr/share/mimelnk/application; \
+ $(INSTALL_DATA) $(srcdir)/x-xoj.desktop $(DESTDIR)$$desktopdir/mimelnk/application; \
if test -z "$(DESTDIR)"; then \
echo "Updating desktop, mime, and icon databases."; \
update-desktop-database; \

7
print/xournal/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
Xournal is an application for notetaking, sketching, keeping a journal
using a stylus. It is similar to Microsoft Windows Journal or to other
alternatives such as Jarnal, Gournal, and NoteLab.
It can also be used to annotate PDF files (highlight, underline etc.),
and either save the annotations in a seperate file, or export the
annotated document as a new PDF file.

59
print/xournal/pkg/PLIST Normal file
View File

@ -0,0 +1,59 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/12/31 08:43:14 bentley Exp $
@bin bin/xournal
share/applications/xournal.desktop
share/doc/xournal/
share/doc/xournal/manual.html
share/doc/xournal/pixmaps
share/doc/xournal/screenshot.png
share/icons/
share/icons/hicolor/
share/icons/hicolor/scalable/
share/icons/hicolor/scalable/apps/
share/icons/hicolor/scalable/apps/xournal.svg
share/icons/hicolor/scalable/mimetypes/
share/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xoj.svg
share/icons/hicolor/scalable/mimetypes/xoj.svg
share/mime/
share/mime/packages/
share/mime/packages/xournal.xml
share/mimelnk/
share/mimelnk/application/
share/mimelnk/application/x-xoj.desktop
share/xournal/
share/xournal/pixmaps/
share/xournal/pixmaps/black.png
share/xournal/pixmaps/blue.png
share/xournal/pixmaps/default-pen.png
share/xournal/pixmaps/eraser.png
share/xournal/pixmaps/fullscreen.png
share/xournal/pixmaps/gray.png
share/xournal/pixmaps/green.png
share/xournal/pixmaps/hand.png
share/xournal/pixmaps/highlighter.png
share/xournal/pixmaps/lasso.png
share/xournal/pixmaps/lightblue.png
share/xournal/pixmaps/lightgreen.png
share/xournal/pixmaps/magenta.png
share/xournal/pixmaps/medium.png
share/xournal/pixmaps/orange.png
share/xournal/pixmaps/pencil.png
share/xournal/pixmaps/rect-select.png
share/xournal/pixmaps/recycled.png
share/xournal/pixmaps/red.png
share/xournal/pixmaps/ruler.png
share/xournal/pixmaps/shapes.png
share/xournal/pixmaps/stretch.png
share/xournal/pixmaps/text-tool.png
share/xournal/pixmaps/thick.png
share/xournal/pixmaps/thin.png
share/xournal/pixmaps/white.png
share/xournal/pixmaps/xoj.svg
share/xournal/pixmaps/xournal.png
share/xournal/pixmaps/xournal.svg
share/xournal/pixmaps/yellow.png
@exec %D/bin/update-desktop-database
@exec %D/bin/update-mime-database %D/share/mime
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@unexec-delete %D/bin/update-desktop-database
@unexec-delete %D/bin/update-mime-database %D/share/mime
@unexec-delete %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true