From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Benc Subject: [PATCH 2/6] gnu: Add libwmf Date: Tue, 09 Sep 2014 00:28:39 +0200 Message-ID: <540E2D97.1070601@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090306050100040706050307" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR7RW-0004u3-JE for guix-devel@gnu.org; Mon, 08 Sep 2014 18:29:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XR7RQ-0000iD-K3 for guix-devel@gnu.org; Mon, 08 Sep 2014 18:29:50 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:48014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR7RQ-0000i4-DU for guix-devel@gnu.org; Mon, 08 Sep 2014 18:29:44 -0400 Received: by mail-wg0-f49.google.com with SMTP id m15so2177388wgh.8 for ; Mon, 08 Sep 2014 15:29:43 -0700 (PDT) Received: from [192.168.0.104] ([213.215.123.38]) by mx.google.com with ESMTPSA id hf9sm13232913wib.11.2014.09.08.15.29.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 15:29:42 -0700 (PDT) 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@gnu.org This is a multi-part message in MIME format. --------------090306050100040706050307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------090306050100040706050307 Content-Type: text/x-diff; name="2-libwmf.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="2-libwmf.patch" * gnu/packages/image.scm (libwmf): New variable. --- gnu/packages/image.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 014266c..107d1d3 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -20,6 +20,9 @@ #:use-module (gnu packages) #:use-module (gnu packages compression) #:use-module (gnu packages file) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages xml) #:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:)) #:use-module (guix packages) #:use-module (guix download) @@ -120,3 +123,37 @@ collection of tools for doing simple manipulations of TIFF images.") (license (license:bsd-style "file://COPYRIGHT" "See COPYRIGHT in the distribution.")) (home-page "http://www.libtiff.org/"))) + +(define-public libwmf + (package + (name "libwmf") + (version "0.2.8.4") + (source + (origin + (method url-fetch) + (uri + (string-append + "http://sourceforge.net/projects/wvware/files/" name "/" version + "/" name "-" version ".tar.gz/download")) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y3wba4q8pl7kr51212jwrsz1x6nslsx1gsjml1x0i8549lmqd2v")))) + + (build-system gnu-build-system) + (inputs + `(("freetype" ,freetype) + ("libjpeg" ,libjpeg) + ("libpng",libpng) + ("libxml2" ,libxml2) + ("zlib" ,zlib))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (synopsis "A library for reading images in the M$ WMF format") + (description + "libwmf is a library for reading vector images in Microsoft's native +Windows Metafile Format (WMF) and for either (a) displaying them in, e.g., an X +window; or (b) converting them to more standard/free file formats such as, e.g., +the W3C's XML-based Scaleable Vector Graphic (SVG) format.") + (home-page "http://wvware.sourceforge.net/libwmf.html") + (license license:gpl2+))) -- 1.7.10.4 --------------090306050100040706050307--