Package Details: ncl 6.6.2-1

Git Clone URL: https://aur.archlinux.org/ncl.git (read-only)
Package Base: ncl
Description: Ncar Command Language, is an interpreted language designed specifically for scientific data analysis and visualization
Upstream URL: http://www.ncl.ucar.edu
Licenses: Apache
Provides: ncl
Submitter: XavierCLL
Maintainer: XavierCLL
Last Packager: XavierCLL
Votes: 16
Popularity: 0.90
First Submitted: 2010-09-24 16:46
Last Updated: 2019-06-03 21:15

Pinned Comments

XavierCLL commented on 2017-08-27 03:23

Is necessary before install or update the ncl package, reinstall/rebuild these packages: g2clib, triangle, udunits, hdf4 (>=4.2.14-4). If everything went well in the build, it generates the binary /usr/bin/ncl. For fresh install run 'source /etc/profile' or relogin.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

XavierCLL commented on 2013-01-26 06:34

Thanks @denn, 6.1.0-4:
- fix udunits name
- fix for ncl use udunits of system
- others little fixes

denn commented on 2013-01-25 09:28

It seems that udunits2 was renamed to udunits in AUR.

XavierCLL commented on 2012-11-27 19:30

6.1.0-3
-fix dependencies list
-adjust some build options for 6.1.0

XavierCLL commented on 2012-06-05 00:19

Hi @lijpbasin thanks, in the coming days I will update this package

lijpbasin commented on 2012-05-31 04:06

The patch file

diff -Naur ncl_ncarg-6.1.0-beta.orig/common/src/fontcap/yMakefile ncl_ncarg-6.1.0-beta/common/src/fontcap/yMakefile
--- ncl_ncarg-6.1.0-beta.orig/common/src/fontcap/yMakefile 2012-05-29 03:35:49.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/common/src/fontcap/yMakefile 2012-05-31 10:44:43.004246702 +0800
@@ -43,7 +43,7 @@
# Rule for processing fontcaps
.SUFFIXES: .fc

-.fc:
+.fc: $(FONTC)
@echo " Processing fontcap $@"
@$(FONTC) $< $@

diff -Naur ncl_ncarg-6.1.0-beta.orig/config/LINUX ncl_ncarg-6.1.0-beta/config/LINUX
--- ncl_ncarg-6.1.0-beta.orig/config/LINUX 2012-05-29 03:35:50.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/config/LINUX 2012-05-31 10:51:14.667560316 +0800
@@ -22,7 +22,7 @@
#define FCompiler gfortran
#define CtoFLibraries -lgfortran -lm
#define CcOptions -ansi -fPIC
-#define FcOptions -fPIC -fno-second-underscore
+#define FcOptions -fPIC -fno-second-underscore -fno-range-check
#define XToolLibrary -lXt -lSM -lICE
#define BuildShared NO
#define XLibrary -lX11 -lXext
diff -Naur ncl_ncarg-6.1.0-beta.orig/ncarg2d/src/libncarg/ezmap/mapngb.c ncl_ncarg-6.1.0-beta/ncarg2d/src/libncarg/ezmap/mapngb.c
--- ncl_ncarg-6.1.0-beta.orig/ncarg2d/src/libncarg/ezmap/mapngb.c 2012-05-29 03:34:48.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ncarg2d/src/libncarg/ezmap/mapngb.c 2012-05-31 10:44:43.004246702 +0800
@@ -1,6 +1,7 @@
/*
* C routines needed to read a PNG file.
*/
+#define int_p_NULL (int*)NULL

#include <math.h>
#include <ncarg/c.h>
diff -Naur ncl_ncarg-6.1.0-beta.orig/ncarview/src/lib/libncarg_ras/hdf.c ncl_ncarg-6.1.0-beta/ncarview/src/lib/libncarg_ras/hdf.c
--- ncl_ncarg-6.1.0-beta.orig/ncarview/src/lib/libncarg_ras/hdf.c 2012-05-29 03:36:41.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ncarview/src/lib/libncarg_ras/hdf.c 2012-05-31 10:44:43.004246702 +0800
@@ -51,9 +51,9 @@
#include <fcntl.h>
#include <string.h>
#include <ncarg/c.h>
-#include <hdf/hdf.h>
-#include <hdf/df.h>
-#include <hdf/dfgr.h>
+#include <hdf.h>
+#include <df.h>
+#include <dfgr.h>
#include "ncarg_ras.h"
#include "hdfP.h"
#include "options.h"
diff -Naur ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/FileSupport.c ncl_ncarg-6.1.0-beta/ni/src/ncl/FileSupport.c
--- ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/FileSupport.c 2012-05-29 03:35:57.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ni/src/ncl/FileSupport.c 2012-05-31 10:47:30.557571599 +0800
@@ -38,7 +38,7 @@
#endif

#ifdef BuildHDF4
-#include <hdf/mfhdf.h>
+#include <mfhdf.h>
#endif

#ifdef BuildHDFEOS5
diff -Naur ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/NclHDF.c ncl_ncarg-6.1.0-beta/ni/src/ncl/NclHDF.c
--- ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/NclHDF.c 2012-05-29 03:35:57.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ni/src/ncl/NclHDF.c 2012-05-31 10:47:22.090905359 +0800
@@ -29,7 +29,7 @@
#endif
#include "defs.h"
#define HAVE_NETCDF
-#include <hdf/mfhdf.h>
+#include <mfhdf.h>
#include "NclData.h"
#include "NclFileInterfaces.h"
#include <math.h>
diff -Naur ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/NclHDFEOS.c ncl_ncarg-6.1.0-beta/ni/src/ncl/NclHDFEOS.c
--- ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/NclHDFEOS.c 2012-05-29 03:35:57.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ni/src/ncl/NclHDFEOS.c 2012-05-31 10:47:08.507572709 +0800
@@ -28,7 +28,7 @@
#endif
#include "defs.h"
#define HAVE_NETCDF
-#include <hdf/mfhdf.h>
+#include <mfhdf.h>
#include "NclDataDefs.h"
#include "NclFileInterfaces.h"
#include "NclData.h"
diff -Naur ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/yMakefile ncl_ncarg-6.1.0-beta/ni/src/ncl/yMakefile
--- ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/yMakefile 2012-05-29 03:35:57.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ni/src/ncl/yMakefile 2012-05-31 10:44:19.547581216 +0800
@@ -162,7 +162,7 @@
#elif defined(Darwin)
DODS_LIBS = -lnc-dap -ldap -ldapclient -lcurl -lxml2 -lpthread -lssl
#elif defined(linux)
-DODS_LIBS = -lnc-dap -ldap -ldapclient -lcurl -lrx -lxml2 -lpthread -lidn -ldl
+DODS_LIBS = -lcurl -lpthread
#else
DODS_LIBS = -lnc-dap -ldap -ldapclient -lcurl -lrx -lxml2 -lpthread -lssl
#endif

lijpbasin commented on 2012-05-31 04:05

Hi, ncl-6.1.0-beta is released, I guess the package would not update until there is no '-beta' in the release name, but I do compiled it using the source code here with some additional modifications to make it pass.
Hope this would be of help to the next version of the package

Here's the changes:
Added -fno-range-check to gfortran compile flags (reflected in the patch file)
Adjusted some line numbers in the patch file, where the mfhdf.h was
Add openmotif to the makedepends as there were Xm/Xm.h ... warnings in make logs (don't know if the compilation to be incomplete without openmotif)
I also tried to add gcc include path in Site.local, but strangely all 'x86_64-unknown-linux-gnu' turned into '1-unknown-1-gnu' when make is done, haven't solved it, but it's not crucial

XavierCLL commented on 2012-05-15 19:32

Hi @lijpbasin, this is right, but you can do too overwrite variable thus: export NCARG_USRRESFILE=~/.hluresfile
and save this line, if you want, in ~/.basrc

lijpbasin commented on 2012-05-15 13:52

Add something like
unset NCARG_USRRESFILE
to your shell's rc file to use the ~/.hluresfile which can be modified more easily

lijpbasin commented on 2012-05-15 13:50

Add something like
unset NCARG_USRRESFILE
to your shell's rc file if edit the user resource file is needed

XavierCLL commented on 2011-08-22 05:17

Hi guys,

I make a repository of my packages, this is easier than compile :)

http://code.google.com/p/epsilom-aur-repo/

[epsilom-aur-repo]
Server = http://epsilom-aur-repo.googlecode.com/files/