From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Danckaert Subject: Re: [PATCH] Add gctp Date: Thu, 15 Sep 2016 19:08:08 +0200 (CEST) Message-ID: <20160915.190808.526226800252619989.thomas.danckaert@gmail.com> References: <20160701203312.GA27184@jasmine> <20160707.094018.564247646166673024.post@thomasdanckaert.be> <20160718214723.GA449@jasmine> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Sep_15_19_08_08_2016_738)--" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkaAS-0002XQ-Cj for guix-devel@gnu.org; Thu, 15 Sep 2016 13:09:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkaAO-0003Fd-3I for guix-devel@gnu.org; Thu, 15 Sep 2016 13:09:43 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:34378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkaAN-00037m-QE for guix-devel@gnu.org; Thu, 15 Sep 2016 13:09:40 -0400 Received: by mail-lf0-f66.google.com with SMTP id k12so3611710lfb.1 for ; Thu, 15 Sep 2016 10:09:18 -0700 (PDT) Received: from localhost (232.137-243-81.adsl-dyn.isp.belgacom.be. [81.243.137.232]) by smtp.gmail.com with ESMTPSA id xb6sm4334284wjb.30.2016.09.15.10.08.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Sep 2016 10:08:15 -0700 (PDT) In-Reply-To: <20160718214723.GA449@jasmine> 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(Thu_Sep_15_19_08_08_2016_738)-- Content-Type: Text/Plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Guix, I've cleaned up my gctp patch, following your advice: From: Leo Famulari Subject: Re: [PATCH] Add gctp Date: Mon, 18 Jul 2016 17:47:23 -0400 > If it's not possible to use the bundled GCTPs then we have to use an > external library, but I think it should be maintained outside of > Guix. > As you say, it should not be much work to put it on a public Git > repo or > to host a tarball, since the development is basically complete. I took the contents of the gctpc20.tar.Z archive distributed with wgrib2, added an autoconf-based build script, and published the repository on Github. Changes are minor: I had to make some changes to the test programs, and fix one input routine (int size mismatch when reading an auxiliary binary file). This version of the patch uses a release tarball published on github. Is there a better place I can host a tarball (if not the repository itself?). best, Thomas ----Next_Part(Thu_Sep_15_19_08_08_2016_738)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-gnu-Add-gctp.patch" >From 442f902377c95d72b59d2311c78df2d403f02ea4 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Fri, 17 Jun 2016 10:41:50 +0200 Subject: [PATCH] gnu: Add gctp. * gnu/packages/maths.cm (gctp): New variable. --- gnu/packages/maths.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 44a24ef..e275436 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -418,6 +418,30 @@ plotting engine by third-party applications like Octave.") (license (license:fsf-free "http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright"))))) +(define-public gctp + (package + (name "gctp") + (version "2.0") + (source + (origin + (method url-fetch) + (uri "https://github.com/OkoSanto/GCTP/archive/v2.0.0.tar.gz") + (sha256 + (base32 + "0l9aqnqynh9laicn5dxf3rsb1n14xiks79wbyqccirzmjqd1c1x4")))) + (native-inputs + `(("fortran" ,gfortran))) + (build-system gnu-build-system) + (synopsis "General Cartographic Transformation Package (GCTP)") + (description + "The General Cartographic Transformation Package (GCTP) is a system of +software routines designed to permit the transformation of coordinate pairs +from one map projection to another. The GCTP is the standard computer +software used by the National Mapping Division for map projection +computations.") + (home-page "https://github.com/OkoSanto/GCTP") + (license 'license:public-domain))) ; https://www2.usgs.gov/laws/info_policies.html + (define-public hdf5 (package (name "hdf5") -- 2.10.0 ----Next_Part(Thu_Sep_15_19_08_08_2016_738)----