Changeset 743
- Timestamp:
- Dec 3, 2015, 8:44:39 AM (9 years ago)
- Location:
- trunk/zoo-project/zoo-services
- Files:
-
- 13 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/cgal/Makefile
r650 r743 1 1 ZRPATH=../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS= ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} ${CGAL_CFLAGS} -frounding-math -fPIC -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} ${CGAL_CFLAGS} -frounding-math -fPIC -DLINUX_FREE_ISSUE #-DDEBUG 4 4 CC=gcc 5 5 … … 7 7 g++ ${CFLAGS} -c ./delaunay.c 8 8 g++ ${CFLAGS} -c ./voronoi.c 9 g++ ${CFLAGS} -shared -o cgi-env/cgal_service.zo ./delaunay.o ./voronoi.o ./cgal_service.o ${GDAL_LIBS} ${MACOS_LD_FLAGS} ${CGAL_LDFLAGS} -lCGAL -lgmp -lgdal -lzoo_service9 g++ ${CFLAGS} -shared -o cgi-env/cgal_service.zo ./delaunay.o ./voronoi.o ./cgal_service.o ${GDAL_LIBS} ${MACOS_LD_FLAGS} ${CGAL_LDFLAGS} -lCGAL -lgmp ${GDAL_LIBS} -L${INST_LIB} 10 10 11 11 cgal_service.o: cgal_service.c cgal_service.h -
trunk/zoo-project/zoo-services/gdal/contour/Makefile
r650 r743 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=-DZOO_SERVICE ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-DZOO_SERVICE -I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 CC=gcc 5 5 6 6 cgi-env/contour_service.zo: service.c 7 g++ ${CFLAGS} -shared -fpic -o cgi-env/contour_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} - lzoo_service7 g++ ${CFLAGS} -shared -fpic -o cgi-env/contour_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${INST_LIB} -lzoo_service ${FCGI_LDFLAGS} 8 8 install: 9 9 install -d ${CGI_DIR}/gdal/contour -
trunk/zoo-project/zoo-services/gdal/contour/service.c
r450 r743 36 36 #ifdef ZOO_SERVICE 37 37 #include "service.h" 38 #include "service_internal.h" 38 39 #endif 39 40 CPL_CVSID("$Id: gdal_contour.cpp 25643 2013-02-12 13:50:42Z bishop $"); … … 73 74 exit( 1 ); 74 75 } 76 77 #ifdef ZOO_SERVICE 78 int pfnProgress1( double dfComplete, const char *pszMessage, void *pData) 79 { 80 maps* conf=(maps*)pData; 81 map* tmpMap=getMapFromMaps(conf,"lenv","status"); 82 char tmpStr[4]; 83 sprintf(tmpStr,"%d",(int) (dfComplete*100)); 84 if(tmpMap!=NULL && strcmp(tmpMap->value,tmpStr)!=0){ 85 if( pszMessage != NULL && strlen(pszMessage)>1){ 86 updateStatus(conf,(int) (dfComplete*100), pszMessage); 87 } 88 else 89 updateStatus(conf,(int) (dfComplete*100), "Processing..."); 90 } 91 return TRUE; 92 } 93 #endif 75 94 76 95 /************************************************************************/ … … 106 125 const char *pszNewLayerName = "contour"; 107 126 int bQuiet = FALSE; 108 GDALProgressFunc pfnProgress = NULL;109 fprintf(stderr,"DEBUG HELLO %f %d\n",__FILE__,__LINE__);110 fflush(stderr);111 127 #ifndef ZOO_SERVICE 112 128 /* Check that we are running against at least GDAL 1.4 */ … … 262 278 } 263 279 264 if (!bQuiet)265 pfnProgress = GDALTermProgress;266 280 /*if (!bQuiet) 281 pfnProgress = GDALTermProgress;*/ 282 //pfnProgress = GDALTermProgress; 267 283 /* -------------------------------------------------------------------- */ 268 284 /* Open source raster file. */ … … 372 388 OGR_FD_GetFieldIndex( OGR_L_GetLayerDefn( hLayer ), 373 389 pszElevAttrib ), 374 pfnProgress , NULL);390 pfnProgress1, conf ); 375 391 376 392 OGR_DS_Destroy( hDS ); -
trunk/zoo-project/zoo-services/gdal/dem/Makefile
r650 r743 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=-DZOO_SERVICE ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-DZOO_SERVICE -I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 CC=gcc 5 5 6 6 cgi-env/dem_service.zo: service.c 7 g++ ${CFLAGS} -shared -fpic -o cgi-env/dem_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} - lzoo_service7 g++ ${CFLAGS} -shared -fpic -o cgi-env/dem_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${INST_LIB} -lzoo_service 8 8 9 9 install: -
trunk/zoo-project/zoo-services/gdal/grid/Makefile
r650 r743 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS= ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 CC=gcc 5 5 6 6 cgi-env/service.zo: service.c 7 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_grid_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} - lzoo_service7 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_grid_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${INST_LIB} -lzoo_service 8 8 9 9 install: -
trunk/zoo-project/zoo-services/gdal/profile/Makefile
r650 r743 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS= ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 CC=gcc 5 5 6 6 cgi-env/profile_service.zo: service.c 7 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} - lzoo_service7 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${INST_LIB} -lzoo_service 8 8 9 9 install: -
trunk/zoo-project/zoo-services/gdal/translate/Makefile
r650 r743 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS= ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 CC=gcc 5 5 6 6 cgi-env/translate_service.zo: service.c 7 g++ ${CFLAGS} -shared -fpic -o cgi-env/translate_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} - lzoo_service7 g++ ${CFLAGS} -shared -fpic -o cgi-env/translate_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${INST_LIB} -lzoo_service 8 8 9 9 install: -
trunk/zoo-project/zoo-services/gdal/warp/Makefile
r650 r743 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS= ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 CC=gcc 5 5 6 6 cgi-env/warp_service.zo: service.c 7 g++ ${CFLAGS} -shared -fpic -o cgi-env/warp_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} - lzoo_service7 g++ ${CFLAGS} -shared -fpic -o cgi-env/warp_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${INST_LIB} -lzoo_service 8 8 9 9 install: -
trunk/zoo-project/zoo-services/hello-py/cgi-env/test_service.py
r447 r743 30 30 return zoo.SERVICE_SUCCEEDED 31 31 32 def geopaposm(conf,inputs,outputs): 33 outputs["result"]["value"]=inputs["inputvector"]["value"] 34 return zoo.SERVICE_SUCCEEDED 35 36 def publish(conf,inputs,outputs): 37 outputs["Result"]["value"]=inputs["in"]["value"] 38 return zoo.SERVICE_SUCCEEDED -
trunk/zoo-project/zoo-services/ogr/ogr2ogr/Makefile
r650 r743 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=-DZOO_SERVICE ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-DZOO_SERVICE -I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 CC=gcc 5 5 6 6 cgi-env/ogr2ogr_service.zo: service.c $(DEP_LIBS) 7 g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $< -o $@ ${GDAL_LIBS} - lzoo_service7 g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $< -o $@ ${GDAL_LIBS} -L${INST_LIB} -lzoo_service 8 8 9 9 install: -
trunk/zoo-project/zoo-services/qrencode/Makefile
r471 r743 1 1 ZRPATH=../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS= ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 CC=gcc 5 5 6 6 cgi-env/qrencode.zo: qrenc-service.c 7 g++ -DZOO_SERVICE_PROVIDER ${CFLAGS} -shared -fpic -o cgi-env/qrencode.zo ./qrenc-service.c -lqrencode ${GDAL_LIBS} -lpng ${MACOS_LD_FLAGS} 7 g++ -DZOO_SERVICE_PROVIDER ${CFLAGS} -shared -fpic -o cgi-env/qrencode.zo ./qrenc-service.c -lqrencode ${GDAL_LIBS} -lpng ${MACOS_LD_FLAGS} -L${INST_LIB} -lzoo_service 8 8 9 9 clean: -
trunk/zoo-project/zoo-services/qrencode/qrenc-service.c
r385 r743 25 25 # include "config.h" 26 26 #endif 27 #include "string.h" 27 28 #include <stdio.h> 28 29 #include <stdlib.h> 29 30 #include <png.h> 30 31 #include <getopt.h> 32 #include "qrencode.h" 31 33 32 34 #ifdef ZOO_SERVICE_PROVIDER … … 41 43 #endif 42 44 43 #include "qrencode.h"44 45 45 46 #define INCHES_PER_METER (100.0/2.54) -
trunk/zoo-project/zoo-services/utils/status/Makefile
r643 r743 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS= ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 5 5 cgi-env/wps_status.zo: service.c 6 g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_status.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} -lfcgi-lzoo_service6 g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_status.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} ${FCGI_LDFLAGS} -L${INST_LIB} -lzoo_service 7 7 8 8 install:
Note: See TracChangeset
for help on using the changeset viewer.