From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Danckaert Subject: [PATCH] gnu: netcdf: Enable HDF4 support. Date: Fri, 23 Dec 2016 16:29:44 +0100 (CET) Message-ID: <20161223.162944.1962365172011014380.post@thomasdanckaert.be> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_Dec_23_16_29_44_2016_332)--" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKRnD-0006Xv-PF for guix-devel@gnu.org; Fri, 23 Dec 2016 10:30:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKRnA-0004Kq-KK for guix-devel@gnu.org; Fri, 23 Dec 2016 10:29:59 -0500 Received: from s02-out.spamexperts.axc.nl ([159.253.1.2]:53131 helo=s02.spamexperts.axc.nl) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cKRnA-0004KG-Ct for guix-devel@gnu.org; Fri, 23 Dec 2016 10:29:56 -0500 Received: from vserver42.axc.nl ([159.253.0.80]) by s02.spamexperts.axc.nl with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86) (envelope-from ) id 1cKRn2-0000Fm-DE for guix-devel@gnu.org; Fri, 23 Dec 2016 16:29:53 +0100 Received: from mail.axc.nl ([159.253.0.157]:56321) by vserver42.axc.nl with esmtp (Exim 4.87) (envelope-from ) id 1cKRn1-0002xA-DE for guix-devel@gnu.org; Fri, 23 Dec 2016 16:29:47 +0100 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" To: guix-devel@gnu.org ----Next_Part(Fri_Dec_23_16_29_44_2016_332)-- Content-Type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kgDQpjYW4ndCByZXByb2R1Y2UgdGhlIGVycm9ycy4NCg0KY2hl ZXJzLA0KDQpUaG9tYXMNCg== ----Next_Part(Fri_Dec_23_16_29_44_2016_332)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-gnu-netcdf-Enable-HDF4-support.patch" >From 893ef9ad6bfb8edbe64d64f3ab5d6a0bd4705a5f Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Fri, 23 Dec 2016 14:56:00 +0100 Subject: [PATCH] gnu: netcdf: Enable HDF4 support. * gnu/packages/maths.scm (netcdf)[inputs]: Add hdf4-alt and libjpeg. [arguments]: Add "--enable-hdf4" configure flag. --- gnu/packages/maths.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index e15eddc..d045895 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -726,10 +726,12 @@ HDF5 file is encoded according to the HDF File Format Specification.") ("doxygen" ,doxygen) ("graphviz" ,graphviz))) (inputs - `(("hdf5" ,hdf5) - ("zlib" ,zlib))) + `(("hdf4" ,hdf4-alt) + ("hdf5" ,hdf5) + ("zlib" ,zlib) + ("libjpeg" ,libjpeg))) (arguments - `(#:configure-flags '("--enable-doxygen" "--enable-dot") + `(#:configure-flags '("--enable-doxygen" "--enable-dot" "--enable-hdf4") #:parallel-tests? #f)) ;various race conditions (home-page "http://www.unidata.ucar.edu/software/netcdf/") (synopsis "Library for scientific data") -- 2.7.4 ----Next_Part(Fri_Dec_23_16_29_44_2016_332)----