From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] gnu: Add Xournal. Date: Tue, 24 Feb 2015 20:24:03 +0100 Message-ID: <877fv7azak.fsf@mango.localdomain> Mime-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQL5a-0003D1-3u for guix-devel@gnu.org; Tue, 24 Feb 2015 14:24:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQL5V-0007l8-PJ for guix-devel@gnu.org; Tue, 24 Feb 2015 14:24:14 -0500 Received: from sender1.zohomail.com ([74.201.84.155]:29195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQL5V-0007kD-IS for guix-devel@gnu.org; Tue, 24 Feb 2015 14:24:09 -0500 Content-Disposition: inline; filename=0001-gnu-Add-Xournal.patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel >From 1a484e8a6f34d797d7a297cd3e3241c340cd4c0a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 24 Feb 2015 20:09:24 +0100 Subject: [PATCH] gnu: Add Xournal. * gnu/packages/pdf.scm (xournal): New variable. --- gnu/packages/pdf.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 1ce4c0c..7b4f2ab 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2015 Andreas Enge ;;; Copyright © 2014 Mark H Weaver -;;; Copyright © 2014 Ricardo Wurmus +;;; Copyright © 2014, 2015 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +33,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages openssl) #:use-module (gnu packages xorg) + #:use-module (gnu packages gnome) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages lua) @@ -281,3 +282,31 @@ manipulate the list of pages in a PDF file. It is not a PDF viewer or a program capable of converting PDF into other formats.") (license license:clarified-artistic) (home-page "http://qpdf.sourceforge.net/"))) + +(define-public xournal + (package + (name "xournal") + (version "0.4.8") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/xournal/xournal-" + version ".tar.gz")) + (sha256 + (base32 + "0c7gjcqhygiyp0ypaipdaxgkbivg6q45vhsj8v5jsi9nh6iqff13")))) + (build-system gnu-build-system) + (inputs + `(("gtk" ,gtk+-2) + ("pango" ,pango) + ("poppler" ,poppler) + ("glib" ,glib) + ("libgnomecanvas" ,libgnomecanvas))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://xournal.sourceforge.net/") + (synopsis "Notetaking using a stylus") + (description + "Xournal is an application for notetaking, sketching, keeping a journal +using a stylus.") + (license license:gpl2+))) -- 2.1.0