Ticket #22151: ccpnmr.patch
File ccpnmr.patch, 5.8 KB (added by howarth@…, 15 years ago) |
---|
-
bin/analysis
old new 1 #!/bin/sh 2 3 export MallocLogFile=/dev/null 4 5 if [ ${SSH_TTY} ]; then 6 export LIBGL_ALWAYS_INDIRECT=1 7 fi 8 9 @PYTHON_BIN@ -i -O @PYTHON_PKGD@/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/AnalysisGui.py $1 $2 $3 $4 $5 -
bin/formatConverter
old new 1 #!/bin/sh 2 3 export MallocLogFile=/dev/null 4 5 if [ ${SSH_TTY} ]; then 6 export LIBGL_ALWAYS_INDIRECT=1 7 fi 8 9 @PYTHON_BIN@ -O @PYTHON_PKGD@/ccpnmr/ccpnmr2.1/python/ccpnmr/format/gui/FormatConverter.py $1 $2 -
bin/pipe2azara
old new 1 #!/bin/sh 2 3 export MallocLogFile=/dev/null 4 5 if [ ${SSH_TTY} ]; then 6 export LIBGL_ALWAYS_INDIRECT=1 7 fi 8 9 @PYTHON_BIN@ -O @PYTHON_PKGD@/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/NmrPipeData.py $1 $2 $3 -
ccpnmr2.1/c/environment-opengl.txt
old new 1 #Environment file for use with fink to build ccpnmr suite - environment.txt 2 3 CC = gcc 4 LINK = $(CC) 5 MAKE = make 6 CO_NAME = -c $< 7 OUT_NAME = -o $@ 8 OBJ_SUFFIX = o 9 DYLIB_SUFFIX = so 10 RM = rm -f 11 WIN_FLAG = 12 13 MALLOC_FLAG = 14 FPIC_FLAG = -fPIC 15 CFLAGS = -O3 $(MALLOC_FLAG) $(FPIC_FLAG) -fno-common -ffast-math 16 17 LINK_LIBRARIES = sh linkSharedObjs 18 COPY_LIBRARIES = sh copySharedObjs 19 20 GL_FLAG = -DUSE_GL_TRUE 21 #GL_FLAG = -DUSE_GL_FALSE 22 23 #GLUT_NEED_INIT = 24 GLUT_NEED_INIT = -DNEED_GLUT_INIT 25 #GLUT_NOT_IN_GL = -DGLUT_IN_OWN_DIR 26 GLUT_FLAG = $(GLUT_NEED_INIT) $(GLUT_NOT_IN_GL) 27 28 SHARED_FLAGS = -L@PREFIX@/lib -bundle -bundle_loader @PYTHON_BIN@ "-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" 29 30 MATH_LIB = -lm 31 32 X11_DIR = /usr/X11R6 33 X11_LIB = -lX11 -lXext 34 X11_INCLUDE_FLAGS = -I$(X11_DIR)/include 35 X11_LIB_FLAGS = -L$(X11_DIR)/lib 36 37 TCL_DIR = @PREFIX@ 38 TCL_LIB = -ltcl 39 TCL_INCLUDE_FLAGS = -I$(TCL_DIR)/include 40 TCL_LIB_FLAGS = -L$(TCL_DIR)/lib 41 42 TK_DIR = @PREFIX@ 43 TK_LIB = -ltk 44 TK_INCLUDE_FLAGS = -I$(TK_DIR)/include 45 TK_LIB_FLAGS = -L$(TK_DIR)/lib 46 47 PYTHON_DIR = @PREFIX@ 48 PYTHON_LIB = 49 PYTHON_INCLUDE_FLAGS = -I@PYTHON_INCL@ 50 PYTHON_LIB_FLAGS = -L@PREFIX@ -lpython2.6 51 52 GL_DIR = /usr/X11R6 53 GL_LIB = -lglut -lGLU -lGL 54 GL_INCLUDE_FLAGS = -I$(GL_DIR)/include -I@PREFIX@/include 55 GL_LIB_FLAGS = -L$(GL_DIR)/lib -L@PREFIX@/lib -
ccpnmr2.1/c/ccp/structure/Makefile
old new 35 35 $(GLOBAL_DIR)/py_ps_handler.o \ 36 36 $(GLOBAL_DIR)/py_tk_handler.o 37 37 38 ALL_INCLUDE_FLAGS = $(GL OBAL_INCLUDE_FLAGS) $(PYTHON_INCLUDE_FLAGS) \38 ALL_INCLUDE_FLAGS = $(GL_INCLUDE_FLAGS) $(GLOBAL_INCLUDE_FLAGS) $(PYTHON_INCLUDE_FLAGS) \ 39 39 $(X11_INCLUDE_FLAGS) \ 40 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) $(GL_INCLUDE_FLAGS)40 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) 41 41 42 ALL_LIB_FLAGS = $( X11_LIB_FLAGS) $(TCL_LIB_FLAGS) $(TK_LIB_FLAGS) $(GL_LIB_FLAGS)42 ALL_LIB_FLAGS = $(GL_LIB_FLAGS) $(X11_LIB_FLAGS) $(TCL_LIB_FLAGS) $(TK_LIB_FLAGS) 43 43 44 44 ALL_LIB = $(GL_LIB) $(TK_LIB) $(TCL_LIB) $(X11_LIB) $(MATH_LIB) 45 45 -
ccpnmr2.1/c/ccpnmr/analysis/Makefile
old new 40 40 $(GLOBAL_DIR)/py_ps_handler.o \ 41 41 $(GLOBAL_DIR)/py_tk_handler.o 42 42 43 ALL_INCLUDE_FLAGS = $(GL OBAL_INCLUDE_FLAGS) $(PYTHON_INCLUDE_FLAGS) \43 ALL_INCLUDE_FLAGS = $(GL_INCLUDE_FLAGS) $(GLOBAL_INCLUDE_FLAGS) $(PYTHON_INCLUDE_FLAGS) \ 44 44 $(X11_INCLUDE_FLAGS) \ 45 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) $(GL_INCLUDE_FLAGS)45 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) 46 46 47 ALL_LIB_FLAGS = $( X11_LIB_FLAGS) $(TCL_LIB_FLAGS) $(TK_LIB_FLAGS) $(GL_LIB_FLAGS)47 ALL_LIB_FLAGS = $(GL_LIB_FLAGS) $(X11_LIB_FLAGS) $(TCL_LIB_FLAGS) $(TK_LIB_FLAGS) 48 48 49 49 ALL_LIB = $(GL_LIB) $(TK_LIB) $(TCL_LIB) $(X11_LIB) $(MATH_LIB) 50 50 -
ccpnmr2.1/c/memops/global/Makefile
old new 99 99 100 100 TCLTK_LIB = $(TK_LIB) $(TCL_LIB) $(X11_LIB) $(MATH_LIB) 101 101 102 ALL_INCLUDE_FLAGS = $( PYTHON_INCLUDE_FLAGS) $(X11_INCLUDE_FLAGS) \103 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) $(GL_INCLUDE_FLAGS)102 ALL_INCLUDE_FLAGS = $(GL_INCLUDE_FLAGS) $(PYTHON_INCLUDE_FLAGS) $(X11_INCLUDE_FLAGS) \ 103 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) 104 104 105 ALL_LIB_FLAGS = $( X11_LIB_FLAGS) $(TCL_LIB_FLAGS) $(TK_LIB_FLAGS) $(GL_LIB_FLAGS)105 ALL_LIB_FLAGS = $(GL_LIB_FLAGS) $(X11_LIB_FLAGS) $(TCL_LIB_FLAGS) $(TK_LIB_FLAGS) 106 106 107 107 ALL_LIB = $(GL_LIB) $(TK_LIB) $(TCL_LIB) $(X11_LIB) $(MATH_LIB) 108 108 -
bin/dataShifter
old new 1 #!/bin/sh 2 3 export MallocLogFile=/dev/null 4 5 if [ ${SSH_TTY} ]; then 6 export LIBGL_ALWAYS_INDIRECT=1 7 fi 8 9 @PYTHON_BIN@ -O @PYTHON_PKGD@/ccpnmr/ccpnmr2.1/python/ccpnmr/format/gui/DataShifter.py -
bin/updateAll
old new 1 #!/bin/sh 2 3 export MallocLogFile=/dev/null 4 5 if [ ${SSH_TTY} ]; then 6 export LIBGL_ALWAYS_INDIRECT=1 7 fi 8 9 @PYTHON_BIN@ -i -O @PYTHON_PKGD@/ccpnmr/ccpnmr2.1/python/ccpnmr/update/UpdateAuto.py -
bin/updateCheck
old new 1 #!/bin/sh 2 3 export MallocLogFile=/dev/null 4 5 if [ ${SSH_TTY} ]; then 6 export LIBGL_ALWAYS_INDIRECT=1 7 fi 8 9 @PYTHON_BIN@ -i -O @PYTHON_PKGD@/ccpnmr/ccpnmr2.1/python/ccpnmr/update/UpdatePopup.py