debian/0000755000000000000000000000000012165642251007172 5ustar debian/ferret-vis.install0000644000000000000000000000147511600153053012645 0ustar fer/ferret_c usr/bin gksm2ps/gksm2ps usr/bin environment/bin/Fapropos usr/bin environment/bin/Fdata usr/bin environment/bin/Fdescr usr/bin environment/bin/Fapropos.awk usr/share/ferret-vis/bin environment/bin/Fsort.nawk usr/share/ferret-vis/bin environment/bin/Fgo usr/bin environment/bin/Fenv usr/bin environment/bin/Fgrids usr/bin environment/bin/Fhelp usr/bin environment/bin/Findex usr/bin environment/bin/Finstall usr/bin environment/bin/Fpalette usr/bin environment/bin/Fpatch usr/bin environment/bin/Fpattern usr/bin environment/bin/Fprint_template usr/bin environment/bin/Fpurge usr/bin environment/bin/Fsort usr/bin environment/bin/mtp usr/bin environment/bin/install_ferret_links usr/share/ferret-vis/bin environment/bin/fonts_linux/* usr/share/ferret-vis/ppl/fonts environment/bin/*template usr/share/ferret-vis/bin debian/ferret-datasets.install0000644000000000000000000000004011600153053013637 0ustar datasets/* usr/share/ferret-vis debian/control0000644000000000000000000000420512165640174010600 0ustar Source: ferret-vis Section: utils Priority: extra Maintainer: Alastair McKinstry Build-Depends: debhelper (>= 9), libreadline-dev, libcurl4-openssl-dev | libcurl-dev, libxgks-dev, libncurses-dev, libmotif-dev, gfortran, libnetcdf-dev, libxmu-headers, csh, libxpm-dev, libxt-dev Standards-Version: 3.9.4 Homepage: http://www.ferret.noaa.gov/ Package: ferret-vis Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, tcsh | csh | c-shell Recommends: ferret-datasets Description: Interactive data visualization and analysis environment, Ferret is an interactive computer visualization and analysis environment designed to meet the needs of oceanographers and meteorologists analyzing large and complex gridded data sets. It can transparently access extensive remote Internet data bases using OPeNDAP (formerly known as DODS) . Ferret has a Mathematica-like flexibility, geophysical formatting, "intelligent" connection to its data base, memory management for very large calculations, and symmetrical processing in 4 dimensions. It can work on both gridded and non-gridded datasets. Package: ferret-datasets Architecture: all Depends: ferret-vis, ${misc:Depends} Description: Datasets for use with Ferret Visualisation and analysis suite These datasets contain reference climatologies and grids for use with ferret. They include: * etopo120 relief of the earth's surface at 120-minute resolution * etopo60 relief of the earth's surface at 60-minute resolution * levitus_climatology subset of the Climatological Atlas of the World Oceans by Sydney Levitus (Note: the updated World Ocean Atlas, 1994, is also available with Ferret) * coads_climatology 12-month climatology derived from 1946–1989 of the Comprehensive Ocean/Atmosphere Data Set * monthly_navy_winds monthly-averaged Naval Fleet Numerical Oceanography Center global marine winds (1982–1990) * esku_heat_budget Esbensen-Kushnir 4×5 degree monthly climatology of the global ocean heat budget (25 variables) debian/platform_specific_flags.mk.debian0000644000000000000000000001065411763417360015623 0ustar # # platform_specific_includes.mk.x86_64-linux # # This file is included in other Makefiles and defines # platform specific macros # NETCDF4_DIR = /usr INCLUDES = \ -I/../fmt/cmn/ \ -I/$(NETCDF4_DIR)/include \ -I/usr/include \ -I/usr/include/X11 \ -I../list-2.1 \ -I../common \ -I../../fmt/cmn \ -I../../ppl/include\ $(DODS_INCLUDES) FINCLUDES = -I../../ppl/tmap_inc \ -I../include -I../../fmt/cmn \ -I../common \ -I../../ppl/include -I../../fer/common GUI_INCLUDES = GKS_INCLUDES =-I/usr/include/xgks \ -Ipplinc/xgks CDF_INCLUDES = -I/$(NETCDF4_DIR)/include # DODS_INCLUDES = -I/home/porter/ansley/OPeNDAP/x86_64-linux/DODS_v3.9.3/include/libnc-dap # New platform type var - *kob* 10/01 PLATFORM = Linux(gfortran) 2.6.9-89.0.20.ELsmp CC = gcc CXX = c++ FC = gfortran F77 = gfortran RANLIB = /usr/bin/ranlib # have to remove -02 flag due to bug in v2.96 of compiler. see # for http://gcc.gnu.org/ml/gcc-bugs/2000-04/msg00716.html for info CPP = /lib/cpp # -DusingDODSf2cUnderscore needed if using netcdf library... CPP_FLAGS = $(INCLUDES) \ -O2 \ -P -Dunix -Dgfortran \ -DNO_OPEN_SHARED \ -DNO_OPEN_RECORDTYPE -DNO_SNGL \ -DX_REFRESH -Dreclen_in_bytes \ -DNO_OPEN_READONLY -DMANDATORY_FORMAT_WIDTHS\ -DNO_OPEN_CARRIAGECONTROL -Dxgks -DSTAR_1_SUPPORTED \ -DFULL_GUI_VERSION -DX_REFRESH \ -DXT_CODE -DLINUX -DNO_PASSED_CONCAT \ -Dcrptd_cat_argument \ -DG77_SIGNAL -DG77 \ -DNEED_IAND -DINTERNAL_READ_FORMAT_BUG -DNO_PREPEND_STRING CFLAGS = $(CPP_FLAGS) -Dlint -D_SSIZE_T -DVOID_SIGHANDLER -D_POSIX_VERSION -DLINUX -DFULL_GUI_VERSION -DFULL_GUI_VERSION -DX_REFRESH -DXT_CODE -Dsun4 FFLAGS = $(CPP_FLAGS) -fno-range-check -fno-automatic -c -DusingDODSf2cUnderscore -fno-second-underscore -fdollar-ok -ffixed-line-length-132 $(FINCLUDES) PPLUS_FFLAGS = $(CPP_FLAGS) -fno-range-check -fno-automatic -c -DusingDODSf2cUnderscore -fno-second-underscore -fdollar-ok -ffixed-line-length-132 $(FINCLUDES) #PROF_FLAGS = -pg # Below this line are macro definitions used only for the final linking of the executable # LD = gcc LDFLAGS = -v --verbose -export-dynamic # Debian links dynamically SYSLIB = -lX11 -lm -ldl #SYSLIB = -L/usr/X11R6/lib64 \ # /usr/lib64/libm.a \ # /usr/X11R6/lib64/libXpm.a \ # ../list-2.1/liblist.a \ # /usr/X11R6/lib64/libXm.a \ # /usr/X11R6/lib64/libXt.a \ # /usr/X11R6/lib64/libXext.a \ # /usr/X11R6/lib64/libX11.a \ # /usr/X11R6/lib64/libXp.a \ # /usr/X11R6/lib64/libXmu.a \ # /usr/X11R6/lib64/libSM.a \ # /usr/X11R6/lib64/libICE.a \ # /usr/lib/gcc/x86_64-redhat-linux5E/4.1.2/libgcc.a \ # /usr/lib/gcc/x86_64-redhat-linux5E/4.1.2/libgfortranbegin.a \ # /usr/lib/gcc/x86_64-redhat-linux5E/4.1.2/libgfortran.a \ TMLIB = ../lib/tmap_lib.a GKSLIB = -lxgks READLINELIB = -lreadline # netcdf4.1 # CDFLIB = $(NETCDF4_DIR)/lib/libnetcdf.a \ # $(NETCDF4_DIR)/lib/libhdf5_hl.a \ # $(NETCDF4_DIR)/lib/libhdf5.a \ # -L/usr/lib64 -lz -lc -lm -lcurl CDFLIB = -lnetcdff -lnetcdf -lgfortran DODS_LIBS = /home/porter/ansley/OPeNDAP/x86_64-linux/DODS_v3.9.3/lib/libnc-dap.a \ /home/porter/ansley/OPeNDAP/x86_64-linux/DODS_v3.9.3/lib/libdap.a\ /home/porter/ansley/OPeNDAP/x86_64-linux/DODS_v3.9.3/lib/libdapclient.a \ /usr/lib64/libcurl.a /usr/lib64/libssl.a /usr/lib64/libcrypto.a \ /usr/lib64/libgssapi_krb5.a -lkrb5 -lcom_err /usr/lib64/libk5crypto.a \ /usr/lib64/libresolv.a -ldl /usr/lib64/libz.a /usr/lib64/libgssapi_krb5.a \ -lkrb5 /usr/lib64/libk5crypto.a -lcom_err /usr/lib64/libresolv.a \ /usr/lib64/libidn.a /usr/lib64/libssl.a /usr/lib64/libcrypto.a \ /usr/lib64/libssl.a /usr/lib64/libcrypto.a /usr/lib64/libgssapi_krb5.a \ -lkrb5 -lcom_err /usr/lib64/libk5crypto.a /usr/lib64/libresolv.a -ldl \ /usr/lib64/libz.a /usr/lib64/libz.a /usr/lib64/libxml2.a /usr/lib64/libz.a \ -lpthread /usr/lib64/libm.a -lpthread LINUX_OBJS = special/linux_routines.o dat/*.o ../fmt/src/x*.o ../ppl/plot/ppldata.o TERMCAPLIB = -lncurses # .IGNORE: .F.o: rm -f $*.f $(CPP) -traditional $(CPP_FLAGS) $( $*.f $(F77) $(FFLAGS) $*.f # # End of platform_specific_includes.mk.x86_64-linux # debian/source/0000755000000000000000000000000011600153053010460 5ustar debian/source/include-binaries0000644000000000000000000000053011600153053013616 0ustar datasets/data/coads_climatology.cdf datasets/data/etopo05.cdf datasets/data/etopo5.cdf datasets/data/etopo20.cdf datasets/data/levitus_climatology.cdf datasets/data/ocean_atlas_subset.nc datasets/data/esku_heat_budget.cdf datasets/data/etopo120.cdf datasets/data/etopo40.cdf datasets/data/etopo60.cdf datasets/data/monthly_navy_winds.cdf debian/source/format0000644000000000000000000000001411600153053011666 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012165642242010621 5ustar debian/patches/ferret_paths.patch0000644000000000000000000000253211600153053014320 0ustar Author: Alastair McKinstry Description: shell script to set environmental variables needed for Ferret. Sourced by ferret scripts. Forwarded: no Last-Updated: 2010-10-24 Index: ferret-vis-6.6.2/environment/bin/ferret_paths =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ ferret-vis-6.6.2/environment/bin/ferret_paths 2010-10-24 05:35:00.000000000 +0100 @@ -0,0 +1,19 @@ +#!/bin/sh + +# Copyright (C) Alastair McKinstry, 2010-10-24. Released under the GNU Public License. +# Set Ferret's environmental variables as necessary + +export FER_DIR ${FER_DIR-/usr/share/ferret-vis} +export FER_EXTERNAL_FUNCTIONS ${FER_EXTERNAL_FUNCTIONS-/usr/lib/ferret-vis/external_functions} +export FER_DSETS ${FER_DSETS-${FER_DIR}/datasets} +export FER_WEB_BROWSER ${FER_WEB_BROWSER-www-browser} +export FER_GO ${FER_GO-${FER_DIR}/go:${FER_DIR}/contrib:/usr/share/doc/ferret-vis/examples} +export FER_DATA ${FER_DATA-${FER_DIR}/data:${FER_GO}} +export FER_DESCR ${FER_DESCR-${FER_DIR}/datasets/descr} +export FER_GRIDS ${FER_GRIDS-${FER_DIR}/datasets/grids} +export FER_FONTS ${FER_FONTS-${FER_DIR}/ppl/fots} +export FER_PALETTE ${FER_PALETTE-${FER_DIR}/ppl} + +export TMAP ${TMAP-${FER_DIR}/fmt} +export SPECTRA ${SPECTRA-${FER_DIR}/ppl} +export PLOTFONTS ${PLOTFONTS-${FER_DIR}/ppl/fonts} debian/patches/add-paths.patch0000644000000000000000000001676211600153053013511 0ustar Author: Alastair McKinstry Description: Add ferret_paths to ferret scripts, so that they always work. Change some paths to Debian locations. Forwarded: no Index: ferret-vis-6.6.2/environment/bin/Fapropos =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Fapropos 2010-10-23 21:07:02.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Fapropos 2010-10-24 05:38:21.000000000 +0100 @@ -34,7 +34,7 @@ endif # scan the FERRET manual -grep -in "$argv" $FER_DIR/doc/ferret_users_guide.txt | awk -f $FER_DIR/bin/Fapropos.awk | more -d +grep -in "$argv" /usr/share/doc/ferret-vis/ferret_users_guide.txt | awk -f /usr/share/ferret-vis/bin/Fapropos.awk | more -d switch ($status) case "1": echo " $argv is not found in the FERRET manual" Index: ferret-vis-6.6.2/environment/bin/Fdata =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Fdata 2010-10-23 21:08:11.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Fdata 2010-10-24 06:51:15.000000000 +0100 @@ -9,6 +9,9 @@ # /bin/test doesn't exist on solaris (sunos 5.x) so had to # do a check for that OS and then point it to /usr/ucb/test # 30may97 *kob* Linux port - test is in /usr/bin/test +# 23oct10 *amck* Hard-code paths used in Debian. + +ferret_paths if ($#argv == 0 ) then echo "usage: Fdata data_file_template" Index: ferret-vis-6.6.2/environment/bin/Fdescr =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Fdescr 2010-10-23 21:09:15.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Fdescr 2010-10-24 06:51:08.000000000 +0100 @@ -9,7 +9,9 @@ # /bin/test doesn't exist on solaris (sunos 5.x) so had to # do a check for that OS and then point it to /usr/ucb/test # 30may97 *kob* Linux port - test is in /usr/bin/test +# 23oct10 *amck* Add paths used in Debian +ferret_paths if ($#argv == 0 ) then echo "usage: Fdescr descriptor_file_template" Index: ferret-vis-6.6.2/environment/bin/Fenv =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Fenv 2010-10-23 21:09:52.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Fenv 2010-10-24 06:51:27.000000000 +0100 @@ -2,4 +2,5 @@ # Fenv # list the environment variables relevant to the FERRET program +ferret_paths env | grep FER Index: ferret-vis-6.6.2/environment/bin/Fgo =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Fgo 2010-10-24 05:38:59.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Fgo 2010-10-24 06:52:35.000000000 +0100 @@ -17,7 +17,9 @@ # 30may97 *kob* Linux port - test is in /usr/bin/test # 19mar01 *acm* Eliminate hard-coded paths, set path as sugg by J.Sirott (added # /usr/ucb as well. for TEST definition) +# 24oct10 *amck* Call ferret_paths to get env. variables as necessary +ferret_paths set path = ($path /bin /usr/bin /sbin /usr/sbin /opt/bin /opt/sbin /usr/ucb) #check for proper amount of args. One arg is the filename or template. Index: ferret-vis-6.6.2/environment/bin/Fgrids =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Fgrids 2010-10-24 05:40:22.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Fgrids 2010-10-24 06:52:12.000000000 +0100 @@ -9,6 +9,9 @@ # /bin/test doesn't exist on solaris (sunos 5.x) so had to # do a check for that OS and then point it to /usr/ucb/test # 30may97 *kob* Linux port - test is in /usr/bin/test +# 24oct10 *amck* Call ferret_paths to set env. variables + +ferret_paths if ($#argv == 0 ) then echo "usage: Fgrids grid_file_template" Index: ferret-vis-6.6.2/environment/bin/Fhelp =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Fhelp 2010-10-24 06:24:26.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Fhelp 2010-10-24 06:25:20.000000000 +0100 @@ -52,12 +52,12 @@ # line number @ argv[1] -= 2 - more -d +$argv[1] $FER_DIR/doc/ferret_users_guide.txt + more -d +$argv[1] /usr/share/doc/ferret-vis/ferret_users_guide.txt exit else # string: use grep for case-insensitive search - set line = `grep -in "$argv[1]" $FER_DIR/doc/ferret_users_guide.txt | head -1 | sed 's/^\([0-9]*\):.*$/\1/' ` + set line = `grep -in "$argv[1]" /usr/share/doc/ferret-vis/ferret_users_guide.txt | head -1 | sed 's/^\([0-9]*\):.*$/\1/' ` @ line -= 2 - more -d +{$line} $FER_DIR/doc/ferret_users_guide.txt + more -d +{$line} /usr/share/doc/ferret-vis/ferret_users_guide.txt endif Index: ferret-vis-6.6.2/environment/bin/Findex =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Findex 2010-10-24 06:25:27.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Findex 2010-10-24 06:26:02.000000000 +0100 @@ -10,7 +10,7 @@ echo -n "Hit to continue ..." echo " " set pause = $< - more -d $FER_DIR/doc/ferret_ug_index.txt + more -d /usr/share/doc/ferret-vis/ferret_ug_index.txt exit endif @@ -31,4 +31,4 @@ echo "*** The on-line document is not page numbered ***" echo "*********************************************************************" echo " " - grep -i "$argv[1]" $FER_DIR/doc/ferret_ug_index.txt + grep -i "$argv[1]" /usr/share/doc/fereet-vis/ferret_ug_index.txt Index: ferret-vis-6.6.2/environment/bin/Finstall =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Finstall 2010-10-24 06:26:08.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Finstall 2010-10-24 06:52:54.000000000 +0100 @@ -9,6 +9,7 @@ # # J Davison 4.94 # NOAA PMEL TMAP +# echo " This script can do two things for you to help install FERRET:" echo " " echo " (1) Install the FERRET executables into FER_DIR/bin from the" Index: ferret-vis-6.6.2/environment/bin/Fpalette =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Fpalette 2010-10-24 06:53:02.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Fpalette 2010-10-24 06:53:14.000000000 +0100 @@ -16,6 +16,7 @@ # option on SGI's # 30may97 *kob* Linux port - test is in /usr/bin/test +ferret_paths #check for proper amount of args. One arg is the filename or template. if ($#argv == 0 || $#argv > 2) then Index: ferret-vis-6.6.2/environment/bin/Fsort =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Fsort 2010-10-24 06:55:36.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Fsort 2010-10-24 06:55:45.000000000 +0100 @@ -8,6 +8,7 @@ # ... or in a more complex example # animate start_frame `Fsort series1.plt*` `Fsort series2.plt*` end_frame +ferret_paths echo $argv | nawk -f $FER_DIR/bin/Fsort.nawk # Note: Index: ferret-vis-6.6.2/environment/bin/Ftoc =================================================================== --- ferret-vis-6.6.2.orig/environment/bin/Ftoc 2010-10-24 06:55:49.000000000 +0100 +++ ferret-vis-6.6.2/environment/bin/Ftoc 2010-10-24 06:56:22.000000000 +0100 @@ -5,7 +5,7 @@ # enter the Table of Contents at the top if ($#argv == "0") then - more -d $FER_DIR/doc/ferret_ug_toc.txt + more -d /usr/share/doc/ferret-vis/ferret_ug_toc.txt exit endif @@ -22,4 +22,4 @@ endif # use grep for case-insensitive search - grep -i "$argv[1]" $FER_DIR/doc/ferret_ug_toc.txt + grep -i "$argv[1]" /usr/share/doc/ferret-vis/ferret_ug_toc.txt debian/patches/fortran-fix.patch0000644000000000000000000000132111600153053014064 0ustar Description: Fix to build error with gfortran Author: Alastair McKinstry Last-Updated: 2010-07-15 Forwarded: no Index: ferret-vis-6.6.2/fer/ino/equal_delimit.F =================================================================== --- ferret-vis-6.6.2.orig/fer/ino/equal_delimit.F 2010-07-14 06:35:34.000000000 +0100 +++ ferret-vis-6.6.2/fer/ino/equal_delimit.F 2010-07-14 06:35:44.000000000 +0100 @@ -113,7 +113,7 @@ . .AND. buff(1:1).LE.'9' . .AND. pos.GT.2 ) THEN buff1 = buff(:pos-1) - READ(buff1,'(I)',ERR=5100) ic + READ(buff1,'(I8)',ERR=5100) ic IF (ic.GT.127) GOTO 5100 outstring(n:n) = CHAR(ic) ! any decimal value ELSEIF (pos.GT.2) THEN debian/patches/series0000644000000000000000000000015712165642217012043 0ustar readline.patch fortran-fix.patch gksm2ps.patch add-paths.patch ferret_paths.patch xpm.patch fix-makefile.patch debian/patches/readline.patch0000644000000000000000000000232311600153053013413 0ustar Description: Use Debian-installed readline rather than locally-shipped sources. Author: Alastair McKinstry Last-Updated: 2010-07-07 Forwarded: no Index: ferret-vis-6.6.2/fmt/src/emacs_keymap.h =================================================================== --- ferret-vis-6.6.2.orig/fmt/src/emacs_keymap.h 2010-07-03 22:46:55.000000000 +0100 +++ ferret-vis-6.6.2/fmt/src/emacs_keymap.h 2010-07-03 22:47:12.000000000 +0100 @@ -23,7 +23,7 @@ #include #endif /* BUFSIZ */ -#include "readline.h" +#include /* An array of function pointers, one for each possible key. If the type byte is ISKMAP, then the pointer is the address of Index: ferret-vis-6.6.2/fmt/src/tm_ftoc_readline.c =================================================================== --- ferret-vis-6.6.2.orig/fmt/src/tm_ftoc_readline.c 2010-07-03 22:47:33.000000000 +0100 +++ ferret-vis-6.6.2/fmt/src/tm_ftoc_readline.c 2010-07-03 22:47:41.000000000 +0100 @@ -56,7 +56,7 @@ #include #include #include -#include "readline.h" +#include /* Easier way of handling FORTRAN calls with underscore/no underscore */ #ifdef NO_ENTRY_NAME_UNDERSCORES debian/patches/xpm.patch0000644000000000000000000000131011600153053012427 0ustar Description: Use the system xpm.h, not a random one we ship with. Author: Alastair McKinstry Last-Updated: 2011-06-21 Forwarded: no Index: ferret-vis-6.6.2/fer/gui/PixmapStuff.c =================================================================== --- ferret-vis-6.6.2.orig/fer/gui/PixmapStuff.c 2011-06-21 16:55:21.000000000 +0100 +++ ferret-vis-6.6.2/fer/gui/PixmapStuff.c 2011-06-21 16:55:30.000000000 +0100 @@ -57,7 +57,7 @@ Includes, Defines, and Global variables from the Declarations Editor: *******************************************************************************/ -#include "xpm.h" +#include /* prototypes */ Pixmap GetPixmapFromData(char **inData); debian/patches/fix-makefile.patch0000644000000000000000000000051312165642242014202 0ustar Index: ferret-vis-6.6.2/gksm2ps/Makefile =================================================================== --- ferret-vis-6.6.2.orig/gksm2ps/Makefile 2013-07-05 22:13:42.000000000 +0100 +++ ferret-vis-6.6.2/gksm2ps/Makefile 2013-07-05 23:11:42.000000000 +0100 @@ -127,4 +127,4 @@ clean: - rm *.o gksm2ps + rm -f *.o gksm2ps debian/patches/gksm2ps.patch0000644000000000000000000000130711600153053013217 0ustar Description: Add a debian target to the Makefile Author: Alastair McKinstry Last-Updated: 2010-07-15 Forwarded: no Index: ferret-vis-6.6.2/gksm2ps/Makefile =================================================================== --- ferret-vis-6.6.2.orig/gksm2ps/Makefile 2010-07-14 10:13:34.000000000 +0100 +++ ferret-vis-6.6.2/gksm2ps/Makefile 2010-07-14 10:15:38.000000000 +0100 @@ -67,6 +67,14 @@ GKLIB="-L$(TMAP_LOCAL)/lib -lxgks" \ LIB="/usr/lib/X11R5/libX11.a -lm" +debian: + ${MAKE} gksm2ps \ + CC=gcc \ + CFLAGS="-g -I/usr/include/xgks $(G) " \ + LDFLAGS= \ + GKLIB="-lxgks -lgfortran "\ + LIB="-L/usr/lib/X11 -lX11 -lm" + i386-linux: ${MAKE} gksm2ps \ CC=gcc \ debian/rules0000755000000000000000000000273212165640514010256 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 # magic debhelper rule %: dh $@ FER_EXT:=`pwd`/debian/ferret-vis/usr/lib/ferret/external_functions override_dh_auto_build: ln -sf ../debian/platform_specific_flags.mk.debian ppl ln -sf ../debian/platform_specific_flags.mk.debian fer ln -sf ../../debian/ef_platform_specific_flags.mk.debian external_functions/ef_utility/platform_specific_flags.mk.debian ln -sf ../../debian/fft_platform_specific_flags.mk.debian external_functions/fft/fft_platform_specific_flags.mk.debian ln -sf ../../debian/v5d_platform_specific_flags.mk.debian external_functions/v5d/v5d_platform_specific_flags.mk.debian mkdir -p lib $(MAKE) -C list-2.1 $(MAKE) -C fer HOSTTYPE=debian update all -$(MAKE) -C external_functions HOSTTYPE=debian $(MAKE) -C gksm2ps debian override_dh_install: dh_installdirs -$(MAKE) -C external_functions install HOSTTYPE=debian FER_LOCAL_EXTFCNS=$(FER_EXT) dh_install override_dh_test: (cd bench && ./run_all ) override_dh_auto_clean: # use system xpm.h, not supplied ones rm -f fer/gui/xpm*.h find . -type l -exec rm {} \; find . -name '*.o' -exec rm {} \; find . -name '*.so' -exec rm {} \; find external_functions -type l -exec rm {} \; [ ! -f list-2.1/Makefie ] || $(MAKE) -C list-2.1 clean [ ! -f gksm2ps/Makefile ] || $(MAKE) -C gksm2ps clean [ ! -f fer/platform_specific_flags.mk.debian ] || $(MAKE) -C fer clean HOSTTYPE=debian rm -rf lib gksm2ps/gksm2ps fer/ferret_c* debian/compat0000644000000000000000000000000211600153053010356 0ustar 7 debian/v5d_platform_specific_flags.mk.debian0000644000000000000000000000027311600153053016357 0ustar # # v5d_platform_specific_includes.mk.i486-linux # # This file is included in the Vis5D External Function Makefiles and defines # platform specific macros V5DFLAGS = -DLITTLE debian/fft_platform_specific_flags.mk.debian0000644000000000000000000000071711600153053016443 0ustar # # platform_specific_includes.mk.i486-linux # # This file is included in the External Function Makefiles and defines # platform specific macros # FFT functions need the -mismatch_all flag # 1/2002 acm add -u flag # 2/2002 ACM update flags to ones for current compiler. #FFLAGS = -132 -c -u -save -dusty -f77 -fieee -Nl90 -x77 -w -mismatch_all $(FINCLUDES) #FFLAGS = -132 -c -u -save -dusty -fieee -Nl90 -x77 -w -mismatch_all $(FINCLUDES) debian/ferret-datasets.dirs0000644000000000000000000000002511600153053013135 0ustar usr/share/ferret-vis debian/ef_platform_specific_flags.mk.debian0000644000000000000000000000214211600153053016250 0ustar # # platform_specific_includes.mk.debian # # This file is included in the External Function Makefiles and defines # platform specific macros # based on Linux version # AMCK 2010-07-07 Initial version INCLUDES = -I. -I$(TMAP_LOCAL)/include FINCLUDES = -I../../fmt/cmn -I../common -I../ef_utility/ferret_cmn -Iferret_cmn -I. CCSHFLAG = CC = gcc RANLIB = /usr/bin/ranlib CFLAGS = -fPIC -c -u -Dlint -D_SSIZE_T -DVOID_SIGHANDLER -D_POSIX_VERSION -DLINUX -DFULL_GUI_VERSION -O2 -DFULL_GUI_VERSION -DX_REFRESH -DXT_CODE -Dsun4 $(INCLUDES) CC = gcc FC = gfortran F77 = gfortran F77SHFLAG = FFLAGS = -fPIC -c -fno-second-underscore -fno-backslash -fdollar-ok -Dunix -Dgfortran -ffixed-line-length-132 $(FINCLUDES) LD_DYN_FLAGS = -G -shared -fPIC SYSLIBS = -lc CPP = /lib/cpp CPP_FLAGS = -P -traditional $(INCLUDES) CFLAGS_DEBUG = -g -Ddebug FFLAGS_DEBUG = -g -Ddebug .F.o: rm -f $*.f $(CPP) $(CPP_FLAGS) $( $*.f $(F77) $(FFLAGS) $*.f debian/changelog0000644000000000000000000000220112165640551011040 0ustar ferret-vis (6.6.2-3) unstable; urgency=low * Build-Depend on libmotif-dev, not lesstif2-dev. Closes: #714752, #7146755. * clear lintian warning: call make clean conditionally. -- Alastair McKinstry Fri, 05 Jul 2013 22:54:10 +0100 ferret-vis (6.6.2-2) unstable; urgency=low * Add explicit dependency on libxt-dev, for openmotif. Closes: #707211. * Move debhelper depends to (>= 9), Standards-Version to 3.9.4 * Add depends on misc-depends for ferret-datasets. -- Alastair McKinstry Wed, 08 May 2013 10:32:50 +0100 ferret-vis (6.6.2-1.1) unstable; urgency=low * Non-maintainer upload. * Avoid building against gfortran-4.5, since #631204 is now fixed. (Closes: #654735) + debian/control: Drop Build-Depends on gfortran-4.5. + debian/README.Debian: Remove. + debian/platform_specific_flags.mk.debian: Set FC and F77 to gfortran. -- Tim Retout Tue, 05 Jun 2012 15:51:54 +0100 ferret-vis (6.6.2-1) unstable; urgency=low * Initial release. (Closes: #587422) -- Alastair McKinstry Thu, 24 Jun 2010 20:42:17 +0100 debian/copyright0000644000000000000000000002322211600153053011114 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: ferret Maintainer: Alastair McKinstry Source: http://www.ferret.noaa.gov/ Copyright: 2010 NOAA, US.gov License: Ferret License Agreement Files: debian/* Copyright: 2011 Alastair McKinstry License: GPL-2 Files: list-2.1/*, fer/ccr/list.c, fer/common/list.h Copyright: 1992 Bradley C. Spatz License: GPL-2 Files: fer/gui/simx.h, fer/gui/xpm*.h Copyright: 1989-94 GROUPE BULL Licsens: BSD-3-clause Files: gksm2ps/*, extrema/minminmax.F, fer/gui/xgksmod_xopws.c Copyright: 1987, 1988 by The University of Illinois Board of Trustees. Copyright: IBM Corporation 1989 License: IBM Files: xgks/* Copyright: 1993 UCAR/Unidata, IBM Corporation 1989 License: IBM-UCAR Files: fer/gui/Ux* Copyright: Visual Edge Software, Ltd. 1989 - 1993 License: Visual-Edge Files: ext_func/vis5d/* Copyright: 1990 - 2000 Bill Hibbard, Johan Kellum, Brian Paul, Dave Santek, and Andre Battaiola. License: GPL-2+ Files: ext_func/src/pnpoly/*, external_functions/pnpoly/* Copyright: 1970-2003, Wm. Randolph Franklin License: NOAA-PMEL-TMAP Files: ext_func/src/extrema/* Copyright: 2000 University Corporation for Atmospheric Research License: GPL-2+ Ferret License Agreement: This software is distributed under the Open Source Definition, which may be found at http://www.opensource.org/osd.html. . In particular, redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain this notice, this list of conditions, and the following disclaimer. * Redistributions in binary form must provide access to this notice, this list of conditions, the following disclaimer, and the underlying source code. * All modifications to this software must be clearly documented, and are solely the responsibility of the agent making the modifications. * If significant modifications or enhancements are made to this software, the developers should be notified. . THIS SOFTWARE AND ITS DOCUMENTATION ARE IN THE PUBLIC DOMAIN AND ARE FURNISHED "AS IS." THE AUTHORS, THE UNITED STATES GOVERNMENT, ITS INSTRUMENTALITIES, OFFICERS, EMPLOYEES, AND AGENTS MAKE NO WARRANTY, EXPRESS OR IMPLIED, AS TO THE USEFULNESS OF THE SOFTWARE AND DOCUMENTATION FOR ANY PURPOSE. THEY ASSUME NO RESPONSIBILITY (1) FOR THE USE OF THE SOFTWARE AND DOCUMENTATION; OR (2) TO PROVIDE TECHNICAL SUPPORT TO USERS. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: IBM-UCAR Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of IBM not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. . Permission to use, copy, modify, and distribute this software and its documentation for any purpose without fee is hereby granted, provided that the above copyright notice appears in all copies, that both that copyright notice and this permission notice appear in supporting documentation, and that the name of UCAR/Unidata not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. UCAR makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. It is provided with no support and without obligation on the part of UCAR or Unidata, to assist in its use, correction, modification, or enhancement. License: Visual-Edge ALL RIGHTS RESERVED. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Visual Edge Software not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The year included in the notice is the year of the creation of the work. License: IBM Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of IBM not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. License: NOAA-PMEL-TMAP This software was developed by the Thermal Modeling and Analysis Project(TMAP) of the National Oceanographic and Atmospheric Administration's (NOAA) Pacific Marine Environmental Lab(PMEL), hereafter referred to as NOAA/PMEL/TMAP. . Access and use of this software shall impose the following obligations and understandings on the user. The user is granted the right, without any fee or cost, to use, copy, modify, alter, enhance and distribute this software, and any derivative works thereof, and its supporting documentation for any purpose whatsoever, provided that this entire notice appears in all copies of the software, derivative works and supporting documentation. Further, the user agrees to credit NOAA/PMEL/TMAP in any publications that result from the use of this software or in any product that includes this software. The names TMAP, NOAA and/or PMEL, however, may not be used in any advertising or publicity to endorse or promote any products or commercial entity unless specific written permission is obtained from NOAA/PMEL/TMAP. The user also understands that NOAA/PMEL/TMAP is not obligated to provide the user with any support, consulting, training or assistance of any kind with regard to the use, operation and performance of this software nor to provide the user with any updates, revisions, new versions or "bug fixes". . THIS SOFTWARE IS PROVIDED BY NOAA/PMEL/TMAP "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NOAA/PMEL/TMAP BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE ACCESS, USE OR PERFORMANCE OF THIS SOFTWARE. License: BSD-4-Clause * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * Except as contained in this notice, the name of shall not be * used in advertising or otherwise to promote the sale, use or other dealings * in this Software without prior written authorization from . debian/TODO0000644000000000000000000000012311600153053007644 0ustar * v5d: -DLITTLE is defined. Replace this with better Big/little endian detection ? debian/ferret-vis.dirs0000644000000000000000000000013111600153053012124 0ustar /usr/bin /usr/share/ferret-vis /usr/share/ferret-vis/bin /usr/share/ferret-vis/ppl/fonts