Changeset 10238


Ignore:
Timestamp:
10/19/11 12:01:03 (13 years ago)
Author:
jschierm
Message:

shapelib: Adding extraction of sample files so that first test could be run.

Location:
issm/trunk/externalpackages/shapelib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/shapelib/install.sh

    r10212 r10238  
    1414# Untar
    1515tar -xvzf shapelib-1.2.10.tar.gz
     16unzip shape_eg_data.zip -d shapelib-1.2.10/eg_data
    1617
    1718# Move shapelib to src directory
  • issm/trunk/externalpackages/shapelib/shapelib.patch

    r10211 r10238  
    1 Only in src: .cvsignore
    21diff -rc src/Makefile src_new/Makefile
    32*** src/Makefile        2003-04-07 06:03:22.000000000 -0700
    4 --- src_new/Makefile    2011-10-14 15:16:16.185467035 -0700
     3--- src_new/Makefile    2011-10-19 11:58:13.993411828 -0700
    54***************
    65*** 1,20 ****
     
    5150 
    5251***************
    53 *** 36,56 ****
     52*** 36,58 ****
    5453  dbfdump:      dbfdump.c dbfopen.o
    5554        $(CC) $(CFLAGS) dbfdump.c dbfopen.o $(LINKOPT) -o dbfdump
     
    7170-       rm -f shptest
    7271 
    73   test: test2 test3
     72! test: test2 test3
    7473 
    75 --- 40,62 ----
     74  #
     75  #     Note this stream only works if example data is accessable.
     76--- 40,64 ----
    7677  dbfdump:      dbfdump.c dbfopen.o
    7778        $(CC) $(CFLAGS) dbfdump.c dbfopen.o $(LINKOPT) -o dbfdump
     
    9596        rm -rf *.lo *.la .libs
    9697 
    97   test: test2 test3
     98! test: test1 test2 test3
    9899 
    99 Only in src: shprewind
     100  #
     101  #     Note this stream only works if example data is accessable.
    100102diff -rc src/shputils.c src_new/shputils.c
    101103*** src/shputils.c      2003-04-07 06:03:22.000000000 -0700
     
    118120                  }
    119121                  printf("Output file coordinate values will be factored by %lg\n",factor);
     122diff -rc src/stream1.sh src_new/stream1.sh
     123*** src/stream1.sh      2003-04-07 06:03:22.000000000 -0700
     124--- src_new/stream1.sh  2011-10-19 11:45:08.192964291 -0700
     125***************
     126*** 1,6 ****
     127  #!/bin/sh
     128       
     129! EG_DATA=/u/www/projects/shapelib/eg_data
     130 
     131  echo -------------------------------------------------------------------------
     132  echo Test 1: dump anno.shp
     133--- 1,6 ----
     134  #!/bin/sh
     135       
     136! EG_DATA=./eg_data
     137 
     138  echo -------------------------------------------------------------------------
     139  echo Test 1: dump anno.shp
Note: See TracChangeset for help on using the changeset viewer.