# HG changeset patch # User Richard Dunbar # Date 1423087737 18000 # Node ID 2e31f8272fce306e67a5c5e6f515d96a34fe05be # Parent a6b17615a09d8e7b7ea256d4f57b372faa56ad19 Add xournal diff -r a6b17615a09d -r 2e31f8272fce xournal/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xournal/description.txt Wed Feb 04 17:08:57 2015 -0500 @@ -0,0 +1,4 @@ +Xournal is an application for notetaking, sketching, keeping a journal using a +stylus. It is free software (GNU GPL) and runs on Linux (recent distributions) +and other GTK+/Gnome platforms. It is similar to Microsoft Windows Journal or to +other alternatives such as Jarnal, Gournal, and NoteLab. diff -r a6b17615a09d -r 2e31f8272fce xournal/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xournal/receipt Wed Feb 04 17:08:57 2015 -0500 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="xournal" +VERSION="0.4.7" +CATEGORY="utilities" +SHORT_DESC="Notetaking application." +MAINTAINER="meshca@clarkson.edu" +LICENSE="GPL2" +SUGGESTED="ghostscript" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://xournal.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="gtk+ libgnomecanvas poppler poppler-apps gcc-lib-base" +BUILD_DEPENDS="autoconf automake gtk+-dev libgnomecanvas libgnomecanvas-dev \ +poppler poppler-dev zlib-dev libart_lgpl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + CFLAGS="$CFLAGS `pkg-config --cflags --libs gtk+-2.0` `pkg-config --libs x11` -lm -lz" +# wget http://people.slitaz.org/~naitsirhc/xournal.patch && \ +# patch -p1 -i xournal.patch && + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$DESTDIR install && make DESTDIR=$DESTDIR desktop-install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/icons $fs/usr/share + cp -a $install/usr/share/xournal $fs/usr/share +}