Ticket #56292: ccpnmr.patch
File ccpnmr.patch, 5.8 KB (added by jwhowarth, 7 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.4/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.4/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.4/python/ccpnmr/analysis/NmrPipeData.py $1 $2 $3 -
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.4/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.4/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.4/python/ccpnmr/update/UpdatePopup.py -
ccpnmr2.4/c/ccp/structure/Makefile
old new 40 40 $(GLOBAL_DIR)/py_tk_handler.$(OBJ_SUFFIX) \ 41 41 $(GLOBAL_DIR)/py_tk_util.$(OBJ_SUFFIX) 42 42 43 ALL_INCLUDE_FLAGS = $(GL OBAL_INCLUDE_FLAGS) $(PYTHON_INCLUDE_FLAGS) \44 $( X11_INCLUDE_FLAGS) \45 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) $(GL_INCLUDE_FLAGS)43 ALL_INCLUDE_FLAGS = $(GL_INCLUDE_FLAGS) $(GLOBAL_INCLUDE_FLAGS) \ 44 $(PYTHON_INCLUDE_FLAGS) $(X11_INCLUDE_FLAGS) \ 45 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) 46 46 47 ALL_LIB_FLAGS = $( X11_LIB_FLAGS) $(TK_LIB_FLAGS) $(GL_LIB_FLAGS)47 ALL_LIB_FLAGS = $(GL_LIB_FLAGS) $(X11_LIB_FLAGS) $(TK_LIB_FLAGS) 48 48 49 49 ALL_LIB = $(GL_LIB) $(TK_LIB) $(X11_LIB) $(MATH_LIB) 50 50 -
ccpnmr2.4/c/ccpnmr/analysis/Makefile
old new 55 55 $(GLOBAL_DIR)/py_tk_handler.$(OBJ_SUFFIX) \ 56 56 $(GLOBAL_DIR)/py_tk_util.$(OBJ_SUFFIX) 57 57 58 ALL_INCLUDE_FLAGS = $(GL OBAL_INCLUDE_FLAGS) $(PYTHON_INCLUDE_FLAGS) \59 $( X11_INCLUDE_FLAGS) \60 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) $(GL_INCLUDE_FLAGS)58 ALL_INCLUDE_FLAGS = $(GL_INCLUDE_FLAGS) $(GLOBAL_INCLUDE_FLAGS) \ 59 $(PYTHON_INCLUDE_FLAGS) $(X11_INCLUDE_FLAGS) \ 60 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) 61 61 62 ALL_LIB_FLAGS = $( X11_LIB_FLAGS) $(TK_LIB_FLAGS) $(GL_LIB_FLAGS)62 ALL_LIB_FLAGS = $(GL_LIB_FLAGS) $(X11_LIB_FLAGS) $(TK_LIB_FLAGS) 63 63 64 64 ALL_LIB = $(GL_LIB) $(TK_LIB) $(X11_LIB) $(MATH_LIB) 65 65 -
ccpnmr2.4/c/memops/global/Makefile
old new 137 137 138 138 TCLTK_LIB = $(TK_LIB) $(X11_LIB) $(MATH_LIB) 139 139 140 ALL_INCLUDE_FLAGS = $( PYTHON_INCLUDE_FLAGS) $(X11_INCLUDE_FLAGS) \141 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) $(GL_INCLUDE_FLAGS)140 ALL_INCLUDE_FLAGS = $(GL_INCLUDE_FLAGS) $(PYTHON_INCLUDE_FLAGS) $(X11_INCLUDE_FLAGS) \ 141 $(TCL_INCLUDE_FLAGS) $(TK_INCLUDE_FLAGS) 142 142 143 ALL_LIB_FLAGS = $( X11_LIB_FLAGS) $(TCL_LIB_FLAGS) $(TK_LIB_FLAGS) $(GL_LIB_FLAGS)143 ALL_LIB_FLAGS = $(GL_LIB_FLAGS) $(X11_LIB_FLAGS) $(TCL_LIB_FLAGS) $(TK_LIB_FLAGS) 144 144 145 145 ALL_LIB = $(GL_LIB) $(TK_LIB) $(X11_LIB) $(MATH_LIB) 146 146 -
ccpnmr2.4/c/environment-opengl.txt
old new 1 #Environment file for use with fink to build ccpnmr suite - environment.txt 2 3 CC = @CC@ 4 LINK = $(CC) -fopenmp 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 CC_FLAGS = $(CFLAGS) $(ARCHFLAGS) 17 18 LINK_LIBRARIES = sh linkSharedObjs 19 COPY_LIBRARIES = sh copySharedObjs 20 21 OPENMP_FLAGS = -fopenmp 22 OPENMP_LIB = 23 24 GL_FLAG = -DUSE_GL_TRUE 25 26 GLUT_NEED_INIT = -DNEED_GLUT_INIT 27 GLUT_FLAG = $(GLUT_NEED_INIT) $(GLUT_NOT_IN_GL) 28 29 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" 30 31 MATH_LIB = -lm 32 33 X11_DIR = /usr/X11R6 34 X11_LIB = -lX11 -lXext 35 X11_INCLUDE_FLAGS = -I$(X11_DIR)/include 36 X11_LIB_FLAGS = -L$(X11_DIR)/lib 37 38 TCL_DIR = @PREFIX@ 39 TCL_LIB = -ltcl 40 TCL_INCLUDE_FLAGS = -I$(TCL_DIR)/include 41 TCL_LIB_FLAGS = -L$(TCL_DIR)/lib 42 43 TK_DIR = @PREFIX@ 44 TK_LIB = -ltk 45 TK_INCLUDE_FLAGS = -I$(TK_DIR)/include 46 TK_LIB_FLAGS = -L$(TK_DIR)/lib 47 48 PYTHON_DIR = @PREFIX@ 49 PYTHON_LIB = 50 PYTHON_INCLUDE_FLAGS = -I@PYTHON_INCL@ 51 PYTHON_LIB_FLAGS = -L@PREFIX@ -lpython2.7 52 53 GL_DIR = /usr/X11R6 54 GL_LIB = -lglut -lGLU -lGL 55 GL_INCLUDE_FLAGS = -I$(GL_DIR)/include -I@PREFIX@/include 56 GL_LIB_FLAGS = -L$(GL_DIR)/lib -L@PREFIX@/lib