Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/ccp4-apps/files: 6.1.3-dont-build-imosflm.patch 6.1.3-dont-build-double-and-make-bindir.patch 6.1.3-dont-build-libs.patch 6.1.3-dont-build-molref.patch 6.1.3-rename-truncate.patch 6.1.3-clipper-mmdbold-ggc-4.3.patch 6.1.3-dont-configure.patch 6.1.3-dont-build-xia.patch 6.1.3-rename-rapper.patch 6.1.3-clipper-template.patch 6.1.3-pythonpath.patch 6.1.3-setup.patch 6.1.3-dont-make-dirs-in-configure.patch 6.1.3-pisa.patch 6.1.3-fix-setup-bash-incompatibility.patch 6.1.3-dont-build-scala.patch
Date: Sat, 06 Feb 2010 00:37:51
Message-Id: E1NdYgA-0002FU-U0@stork.gentoo.org
1 jlec 10/02/06 00:37:42
2
3 Added: 6.1.3-dont-build-imosflm.patch
4 6.1.3-dont-build-double-and-make-bindir.patch
5 6.1.3-dont-build-libs.patch
6 6.1.3-dont-build-molref.patch
7 6.1.3-rename-truncate.patch
8 6.1.3-clipper-mmdbold-ggc-4.3.patch
9 6.1.3-dont-configure.patch
10 6.1.3-dont-build-xia.patch
11 6.1.3-rename-rapper.patch
12 6.1.3-clipper-template.patch 6.1.3-pythonpath.patch
13 6.1.3-setup.patch
14 6.1.3-dont-make-dirs-in-configure.patch
15 6.1.3-pisa.patch
16 6.1.3-fix-setup-bash-incompatibility.patch
17 6.1.3-dont-build-scala.patch
18 Log:
19 splitted apps from ccp4
20 (Portage version: 2.2_rc62/cvs/Linux x86_64)
21
22 Revision Changes Path
23 1.1 sci-chemistry/ccp4-apps/files/6.1.3-dont-build-imosflm.patch
24
25 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-imosflm.patch?rev=1.1&view=markup
26 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-imosflm.patch?rev=1.1&content-type=text/plain
27
28 Index: 6.1.3-dont-build-imosflm.patch
29 ===================================================================
30 --- ccp4i/Makefile.in 2009-06-19 15:08:53.000000000 +0200
31 +++ ccp4i/Makefile.in.new 2009-08-04 21:10:14.000000000 +0200
32 @@ -9,7 +9,7 @@
33 SHELL = /bin/sh
34 DESTDIR = $(prefix)
35 CCP4I_BINDIR = $(top_srcdir)/ccp4i/bin
36 -CCP4I_TARGETS = ccp4i imosflm loggraph crank mapslicer
37 +CCP4I_TARGETS = ccp4i loggraph crank mapslicer
38
39 install :
40 for i in $(CCP4I_TARGETS); do \
41
42
43
44 1.1 sci-chemistry/ccp4-apps/files/6.1.3-dont-build-double-and-make-bindir.patch
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-double-and-make-bindir.patch?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-double-and-make-bindir.patch?rev=1.1&content-type=text/plain
48
49 Index: 6.1.3-dont-build-double-and-make-bindir.patch
50 ===================================================================
51 --- ccp4-6.1.1/x-windows/Makefile.in 2008-08-11 19:20:01.000000000 +0200
52 +++ ccp4-6.1.1/x-windows/Makefile.in.new 2009-02-27 14:32:25.000000000 +0100
53 @@ -35,7 +35,7 @@
54 #
55 # all
56 #
57 -all : xdlview libjwc_c libjwc_f rotgen_ hklview xjiffy rasmol2 ipmosflm
58 +all : rotgen_ hklview xjiffy
59 #
60 # xdl_view
61 #
62 @@ -157,11 +157,10 @@
63 #
64 install_obj = hklview rotgen ipmosflm
65 install: all
66 + mkdir -p $(bindir)
67 $(INSTALL_PROGRAM) $(srcdir)/hklview $(bindir)
68 cd $(srcdir)/XCCPJIFFY ; $(MAKE) bindir=$(bindir) libdir=$(libdir) install
69 - $(INSTALL_PROGRAM) $(rasmol_dir)/rasmol $(bindir)
70 cd $(rotgen_dir); $(MAKE) install
71 - $(INSTALL_PROGRAM) $(mosflm_dir)/bin/ipmosflm $(bindir)
72 #
73 # clean
74 #
75
76
77
78 1.1 sci-chemistry/ccp4-apps/files/6.1.3-dont-build-libs.patch
79
80 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-libs.patch?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-libs.patch?rev=1.1&content-type=text/plain
82
83 Index: 6.1.3-dont-build-libs.patch
84 ===================================================================
85 --- Makefile.in 2009-06-19 15:13:29.000000000 +0200
86 +++ Makefile.in.new 2009-08-02 23:06:41.000000000 +0200
87 @@ -2,7 +2,7 @@
88 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-libs.patch,v 1.1 2010/02/06 00:37:40 jlec Exp $
89
90 SHELL = /bin/sh
91 -DIRS = $(fftwdir) $(clipperdir) $(diffimdir) $(lapackdir) $(ccifdir) lib/src $(ssmdir) src lib/data unsupported/src x-windows share ccp4i $(prereleasedir)
92 +DIRS = src lib/data unsupported/src x-windows share ccp4i $(prereleasedir)
93 # this is for the benefit of makes that don't pass variable values in
94 # recursive invocations, so that you can override these values on the
95 # command line at the top level
96 @@ -69,19 +69,19 @@
97 $(MAKE) -i $(MFLAGS) $(MVARS) install; else true; fi ; \
98 $(MAKE) install
99
100 -srcdir : FORCE libdir
101 +srcdir : FORCE
102 if test -d src; then cd src; $(MAKE) $(MFLAGS) $(MVARS); else true; fi
103
104 supported : srcdir
105
106 -unsupported : FORCE libdir
107 +unsupported : FORCE
108 if test -d unsupported/src; then cd unsupported/src; \
109 $(MAKE) $(MFLAGS) $(MVARS); else true; fi
110
111 -datadir : FORCE libdir
112 +datadir : FORCE
113 cd lib/data; $(MAKE) $(MFLAGS) $(MVARS)
114
115 -xwindir : FORCE libdir
116 +xwindir : FORCE
117 if test -f x-windows/Makefile; then cd x-windows; \
118 $(MAKE) -i $(MFLAGS) ; else true; fi
119
120
121
122
123 1.1 sci-chemistry/ccp4-apps/files/6.1.3-dont-build-molref.patch
124
125 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-molref.patch?rev=1.1&view=markup
126 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-molref.patch?rev=1.1&content-type=text/plain
127
128 Index: 6.1.3-dont-build-molref.patch
129 ===================================================================
130 --- src/pisa/Makefile.am 2007-07-10 10:56:05.000000000 +0200
131 +++ src/pisa/Makefile.am.new 2009-06-11 21:16:51.000000000 +0200
132 @@ -1,4 +1,4 @@
133 -SUBDIRS = molref pisastore sbase
134 +SUBDIRS = pisastore sbase
135
136 pkgdatadir = $(datadir)/pisa
137
138 --- src/pisa/Makefile.in 2009-06-12 21:12:08.000000000 +0200
139 +++ src/pisa/Makefile.in.new 2009-06-12 21:41:52.000000000 +0200
140 @@ -82,7 +82,7 @@
141 am__quote = @am__quote@
142 install_sh = @install_sh@
143 pisa_LDFLAGS = @pisa_LDFLAGS@
144 -SUBDIRS = molref pisastore sbase
145 +SUBDIRS = pisastore sbase
146
147 dist_pkgdata_DATA = pisa.cfg
148
149
150
151
152 1.1 sci-chemistry/ccp4-apps/files/6.1.3-rename-truncate.patch
153
154 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-rename-truncate.patch?rev=1.1&view=markup
155 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-rename-truncate.patch?rev=1.1&content-type=text/plain
156
157 Index: 6.1.3-rename-truncate.patch
158 ===================================================================
159 coreutils now installs a binary called truncate.
160
161 --- src/Makefile.in.orig 2009-03-02 23:25:45.000000000 -0800
162 +++ src/Makefile.in 2009-03-02 23:25:53.000000000 -0800
163 @@ -41,7 +41,7 @@
164 professs r500 rantan rebatch reindex revise rfcorr rotamer rotmat \
165 rstats rwcontents sapi scaleit scalepack2mtz seqwt sfall sigmaa sortmtz sortwater \
166 stgrid stnet surface tffc tracer \
167 -truncate unique vecref vectors volume watertidy watncs watpeak \
168 +ftruncate unique vecref vectors volume watertidy watncs watpeak \
169 wilson $(CIFTARGETS)
170
171 BALBESTARGETS = search_DB get_structure_DB f2cif check_file_DB check_cell_sg \
172 @@ -982,7 +982,7 @@
173 surface: $(srcdir)/surface.f
174 tffc: $(srcdir)/tffc.f
175 tracer: $(srcdir)/tracer.f
176 -truncate: $(srcdir)/truncate.f
177 +ftruncate: $(srcdir)/truncate.f
178 unique: $(srcdir)/unique.f
179 vecref: $(srcdir)/vecref.f
180 vectors: $(srcdir)/vectors.f
181 --- examples/unix/runnable/truncate.exam.orig 2009-03-02 23:35:04.000000000 -0800
182 +++ examples/unix/runnable/truncate.exam 2009-03-02 23:35:11.000000000 -0800
183 @@ -15,7 +15,7 @@
184 exit 1
185 fi
186 #
187 -truncate hklin $CCP4_SCR/aucn_mrg.mtz \
188 +ftruncate hklin $CCP4_SCR/aucn_mrg.mtz \
189 hklout $CCP4_SCR/aucn_trn.mtz <<EOF-trunc
190 title DMSO red aucn2 Data - mosflm
191 truncate yes
192 @@ -28,7 +28,7 @@
193 # do this if you already have Fs but want to look at the
194 # output graphs of TRUNCATE
195
196 -truncate hklin $CEXAM/rnase/rnase18.mtz <<EOF
197 +ftruncate hklin $CEXAM/rnase/rnase18.mtz <<EOF
198 title Analysis of rnase data
199 labin F=FNAT SIGF=SIGFNAT
200 nresidue 192
201
202
203
204 1.1 sci-chemistry/ccp4-apps/files/6.1.3-clipper-mmdbold-ggc-4.3.patch
205
206 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-clipper-mmdbold-ggc-4.3.patch?rev=1.1&view=markup
207 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-clipper-mmdbold-ggc-4.3.patch?rev=1.1&content-type=text/plain
208
209 Index: 6.1.3-clipper-mmdbold-ggc-4.3.patch
210 ===================================================================
211 --- ccp4-6.0.99e.orig/lib/clipper/clipper/mmdbold/clipper_mmdb.cpp 2008-07-31 13:23:13.000000000 -0700
212 +++ ccp4-6.0.99e/lib/clipper/clipper/mmdbold/clipper_mmdb.cpp 2008-07-31 13:47:35.000000000 -0700
213 @@ -43,7 +43,7 @@
214
215 #include <set>
216 #include <algorithm>
217 -
218 +#include <string.h>
219
220 namespace clipper {
221
222 --- ccp4-6.0.99e.orig/lib/clipper/clipper/mmdbold/clipper_mmdb_wrapper.cpp.orig 2008-07-31 13:49:53.000000000 -0700
223 +++ ccp4-6.0.99e/lib/clipper/clipper/mmdbold/clipper_mmdb_wrapper.cpp 2008-07-31 13:50:25.000000000 -0700
224 @@ -40,7 +40,7 @@
225 //L MA 02111-1307 USA
226
227 #include "clipper_mmdb_wrapper.h"
228 -
229 +#include <string.h>
230
231 namespace clipper {
232
233
234
235
236 1.1 sci-chemistry/ccp4-apps/files/6.1.3-dont-configure.patch
237
238 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-configure.patch?rev=1.1&view=markup
239 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-configure.patch?rev=1.1&content-type=text/plain
240
241 Index: 6.1.3-dont-configure.patch
242 ===================================================================
243 --- configure 2009-08-07 12:11:28.000000000 +0200
244 +++ configure.new.nolib 2009-08-17 22:30:39.000000000 +0200
245 @@ -3113,41 +3113,6 @@
246 RX_L="$configdir/lib/rxdispencer/rx"
247 export RX_H RX_L
248 fi
249 - echo
250 - echo "Running separate configure for CCIF library."
251 - echo
252 - cd lib/ccif
253 - echo "Updating modification times for configuration files"
254 - echo "Please wait..."
255 - for i in configure.in aclocal.m4 configure Makefile.in; do
256 - touch $i && sleep 1
257 - done
258 - echo "...done."
259 -
260 - if [ "X$LIBFOPTIM" != "X" ]; then
261 - FOPTIM_save=$FOPTIM
262 - FOPTIM=$LIBFOPTIM
263 - FFLAGS="${FOPTIM} ${XFFLAGS}"
264 - fi
265 - if [ "X$LIBCOPTIM" != "X" ]; then
266 - COPTIM_save=$COPTIM
267 - COPTIM=$LIBCOPTIM
268 - CFLAGS="${COPTIM} ${XCFLAGS}"
269 - fi
270 - ( touch /tmp/$$.cache_file 2>/dev/null && \
271 - cat /dev/null > /tmp/$$.cache_file && \
272 - ./configure $xopts --libdir=${libdir} --srcdir=${srcdir}/lib/ccif --cache-file=/tmp/$$.cache_file ) || \
273 - ./configure $xopts --libdir=${libdir} --srcdir=${srcdir}/lib/ccif
274 - rm -f /tmp/$$.cache_file
275 - if [ "X$LIBFOPTIM" != "X" ]; then
276 - FOPTIM=$FOPTIM_save
277 - FFLAGS="${FOPTIM} ${XFFLAGS}"
278 - fi
279 - if [ "X$LIBCOPTIM" != "X" ]; then
280 - COPTIM=$COPTIM_save
281 - CFLAGS="${COPTIM} ${XCFLAGS}"
282 - fi
283 - cd ../..
284 echo
285 echo "Returning to main configure."
286 echo
287 @@ -5094,53 +5059,6 @@
288 echo "configure $xopts --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}"
289 ./configure $xopts --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}
290 echo
291 - echo "CCP4 configure: Running separate configure for libjwc_c library."
292 - echo
293 - cd ${srcdir}/${xwindir}/libjwc/libjwc_c
294 - echo "Updating modification times for configuration files in libjwc_c"
295 - echo "Please wait..."
296 - for i in configure.in Makefile.am aclocal.m4 configure Makefile.in ltconfig ltmain.sh; do
297 - touch $i && sleep 1
298 - done
299 - echo "...done."
300 - echo
301 - echo "configure $xopts --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}"
302 - ( touch /tmp/$$.cache_file 2>/dev/null && \
303 - cat /dev/null > /tmp/$$.cache_file && \
304 - ./configure $xopts --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir} --cache-file=/tmp/$$.cache_file ) || \
305 - ./configure $xopts --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}
306 - rm -f /tmp/$$.cache_file
307 - echo
308 - echo "CCP4 configure: Running separate configure for libjwc_f library."
309 - echo
310 - cd ${srcdir}/${xwindir}/libjwc/libjwc_f
311 - # for g77 3.1 some builds do not have no-common for system libs,
312 - # so disable for now
313 - echo "Updating modification times for configuration files in libjwc_f"
314 - echo "Please wait..."
315 - for i in configure.in Makefile.am aclocal.m4 configure Makefile.in ltconfig ltmain.sh; do
316 - touch $i && sleep 1
317 - done
318 - echo "...done."
319 - echo
320 - # for g77 3.1 some builds do not have no-common for system libs,
321 - # so disable for now
322 - case $system in
323 - Darwin* )
324 - echo "configure --disable-shared --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}"
325 - ( touch /tmp/$$.cache_file 2>/dev/null && \
326 - cat /dev/null > /tmp/$$.cache_file && \
327 - ./configure --disable-shared --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir} --cache-file=/tmp/$$.cache_file ) || \
328 - ./configure --disable-shared --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}
329 - ;;
330 - * )
331 - echo "configure $xopts --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}"
332 - ( touch /tmp/$$.cache_file 2>/dev/null && \
333 - cat /dev/null > /tmp/$$.cache_file && \
334 - ./configure $xopts --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir} --cache-file=/tmp/$$.cache_file ) || \
335 - ./configure $xopts --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}
336 - esac
337 - rm -f /tmp/$$.cache_file
338
339 if test "$non_shared" = yes; then
340 #this is a bit of a cheat/fudge but that's life!
341 @@ -5210,12 +5128,6 @@
342 fi
343
344 echo
345 - echo "CCP4 configure: Running separate configure for Mosflm"
346 - echo
347 - cd ${srcdir}/${mosflmdir}
348 - echo "configure $xopts --with-ccp4-prefix=${prefix} --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}"
349 - ./configure $xopts --with-ccp4-prefix=${prefix} --exec_prefix=${prefix} --prefix=${prefix} --bindir=${bindir} --libdir=${libdir}
350 - echo
351 cd ../..
352 echo "Returning to main configure."
353 echo
354
355
356
357 1.1 sci-chemistry/ccp4-apps/files/6.1.3-dont-build-xia.patch
358
359 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-xia.patch?rev=1.1&view=markup
360 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-xia.patch?rev=1.1&content-type=text/plain
361
362 Index: 6.1.3-dont-build-xia.patch
363 ===================================================================
364 --- src/Makefile.in 2009-07-05 16:50:25.000000000 +0200
365 +++ src/Makefile.in.new 2009-07-05 19:38:06.000000000 +0200
366 @@ -50,9 +50,9 @@
367
368 # these live in subdirectories and have more than one dependency:
369 OTHERS = rsps anglen secstr proclean pplot gfac2pdb tplot mplot probplot rmsdev nb \
370 - scala dm dmmulti stereo mapmask maprot ncsmask chef \
371 + scala dm dmmulti stereo mapmask maprot ncsmask \
372 sftools tlsanl tlsextract topp toplist dyndom sc combat mlphare fffear ffjoin \
373 - anisoanl $(REFMACTARGETS) dtrek2scala crunch2 pmf doser mat2symop symop2mat
374 + anisoanl $(REFMACTARGETS) dtrek2scala crunch2 pmf
375
376 # targets built from .c sources:
377 CSIMPLE = pltdev binsort
378
379
380
381 1.1 sci-chemistry/ccp4-apps/files/6.1.3-rename-rapper.patch
382
383 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-rename-rapper.patch?rev=1.1&view=markup
384 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-rename-rapper.patch?rev=1.1&content-type=text/plain
385
386 Index: 6.1.3-rename-rapper.patch
387 ===================================================================
388 --- src/rapper/LOOP/Makefile.in 2008-05-29 16:39:40.000000000 +0200
389 +++ src/rapper/LOOP/Makefile.in.new 2009-03-12 20:40:03.157602172 +0100
390 @@ -111,9 +111,9 @@
391 pyexecdir = @pyexecdir@
392 pythondir = @pythondir@
393 rapper_LDFLAGS = @rapper_LDFLAGS@
394 -bin_PROGRAMS = rapper
395 +bin_PROGRAMS = rappermc
396
397 -rapper_SOURCES = \
398 +rappermc_SOURCES = \
399 kip.h aaconv.cpp atomconv.cpp kip_snake.cpp \
400 kip_pdb.cpp measure.cpp lib_frags.cpp ran2.cpp \
401 heap.cpp queue.cpp 3Dgeom.cpp space_grid.cpp list.cpp search_residue.cpp bitfield.cpp \
402 @@ -129,7 +129,7 @@
403 residue_range.cpp pop_search_frags.cpp saxs.cpp lib_choral.cpp pdf.cpp WeightedDistribMean.cpp
404
405
406 -rapper_LDADD = ../gc7.0/libgc.la ../libxml2/libxml2.la
407 +rappermc_LDADD = ../gc7.0/libgc.la ../libxml2/libxml2.la
408 dist_pkgdata_DATA = params.xml
409
410 INCLUDES = -I. -I../gc7.0/include -I../libxml2/include
411 @@ -139,7 +139,7 @@
412 bin_PROGRAMS = rapper$(EXEEXT)
413 PROGRAMS = $(bin_PROGRAMS)
414
415 -am_rapper_OBJECTS = aaconv.$(OBJEXT) atomconv.$(OBJEXT) \
416 +am_rappermc_OBJECTS = aaconv.$(OBJEXT) atomconv.$(OBJEXT) \
417 kip_snake.$(OBJEXT) kip_pdb.$(OBJEXT) measure.$(OBJEXT) \
418 lib_frags.$(OBJEXT) ran2.$(OBJEXT) heap.$(OBJEXT) \
419 queue.$(OBJEXT) 3Dgeom.$(OBJEXT) space_grid.$(OBJEXT) \
420 @@ -164,8 +164,8 @@
421 iterator.$(OBJEXT) residue_range.$(OBJEXT) \
422 pop_search_frags.$(OBJEXT) saxs.$(OBJEXT) lib_choral.$(OBJEXT) \
423 pdf.$(OBJEXT) WeightedDistribMean.$(OBJEXT)
424 -rapper_OBJECTS = $(am_rapper_OBJECTS)
425 -rapper_DEPENDENCIES = ../gc7.0/libgc.la ../libxml2/libxml2.la
426 +rappermc_OBJECTS = $(am_rapper_OBJECTS)
427 +rappermc_DEPENDENCIES = ../gc7.0/libgc.la ../libxml2/libxml2.la
428
429 DEFS = @DEFS@
430 DEFAULT_INCLUDES = -I. -I$(srcdir)
431 @@ -233,11 +233,11 @@
432 CCLD = $(CC)
433 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
434 $(AM_LDFLAGS) $(LDFLAGS) -o $@
435 -DIST_SOURCES = $(rapper_SOURCES)
436 +DIST_SOURCES = $(rappermc_SOURCES)
437 DATA = $(dist_pkgdata_DATA)
438
439 DIST_COMMON = $(dist_pkgdata_DATA) Makefile.am Makefile.in
440 -SOURCES = $(rapper_SOURCES)
441 +SOURCES = $(rappermc_SOURCES)
442
443 all: all-am
444
445 --- src/rapper/LOOP/Makefile.am 2008-01-24 15:08:17.000000000 +0100
446 +++ src/rapper/LOOP/Makefile.am.new 2009-03-12 23:01:56.697533874 +0100
447 @@ -1,6 +1,6 @@
448 -bin_PROGRAMS = rapper
449 +bin_PROGRAMS = rappermc
450
451 -rapper_SOURCES = \
452 +rappermc_SOURCES = \
453 kip.h aaconv.cpp atomconv.cpp kip_snake.cpp \
454 kip_pdb.cpp measure.cpp lib_frags.cpp ran2.cpp \
455 heap.cpp queue.cpp 3Dgeom.cpp space_grid.cpp list.cpp search_residue.cpp bitfield.cpp \
456 @@ -15,7 +15,7 @@
457 hash_table.cpp surface.cpp parse.cpp band.cpp edensity.cpp read_map.cpp iterator.cpp \
458 residue_range.cpp pop_search_frags.cpp saxs.cpp lib_choral.cpp pdf.cpp WeightedDistribMean.cpp
459
460 -rapper_LDADD = ../gc7.0/libgc.la ../libxml2/libxml2.la
461 +rappermc_LDADD = ../gc7.0/libgc.la ../libxml2/libxml2.la
462
463 pkgdatadir = $(datadir)/rapper
464 dist_pkgdata_DATA = params.xml
465
466
467
468 1.1 sci-chemistry/ccp4-apps/files/6.1.3-clipper-template.patch
469
470 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-clipper-template.patch?rev=1.1&view=markup
471 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-clipper-template.patch?rev=1.1&content-type=text/plain
472
473 Index: 6.1.3-clipper-template.patch
474 ===================================================================
475 --- src/clipper_progs/src/intensity_target.h.orig 2010-01-21 11:27:13.236795886 -0600
476 +++ src/clipper_progs/src/intensity_target.h 2010-01-21 11:31:33.450686927 -0600
477 @@ -70,9 +70,31 @@
478 {
479 public:
480 //! constructor: takes the datalist against which to calc target
481 - TargetFn_scaleLogI1I2( const HKL_data<T1>& hkl_data1_, const HKL_data<T2>& hkl_data2_ );
482 + TargetFn_scaleLogI1I2( const HKL_data<T1>& hkl_data1_, const HKL_data<T2>& hkl_data2_ )
483 + {
484 + hkl_data1 = &hkl_data1_;
485 + hkl_data2 = &hkl_data2_;
486 + }
487 //! return the value and derivatives of the target function
488 - Rderiv rderiv( const HKL_info::HKL_reference_index& ih, const ftype& intensityh ) const;
489 + Rderiv rderiv( const HKL_info::HKL_reference_index& ih, const ftype& intensityh ) const
490 + {
491 + Rderiv result;
492 + result.r = result.dr = result.dr2 = 0.0;
493 + const T1& it1 = (*hkl_data1)[ih];
494 + const T2& it2 = (*hkl_data2)[ih];
495 + if ( !it1.missing() && !it2.missing() )
496 + if ( it1.I() > 1.0e-6 && it2.I() > 1.0e-6 ) {
497 + const ftype eps = ih.hkl_class().epsilon();
498 + const ftype i1 = it1.I() / eps;
499 + const ftype i2 = it2.I() / eps;
500 + const ftype w = sqrt( i1 * i2 );
501 + const ftype d = intensityh + log(i1) - log(i2);
502 + result.r = w * d * d;
503 + result.dr = 2.0 * w * d;
504 + result.dr2 = 2.0 * w;
505 + }
506 + return result;
507 + }
508 //! the type of the function: optionally used to improve convergence
509 FNtype type() const { return QUADRATIC; }
510 private:
511 @@ -109,33 +131,4 @@
512 return result;
513 }
514
515 - // Log I1-I2 scaling
516 -
517 - template<class T1, class T2> TargetFn_scaleLogI1I2<T1,T2>::TargetFn_scaleLogI1I2( const HKL_data<T1>& hkl_data1_, const HKL_data<T2>& hkl_data2_ )
518 - {
519 - hkl_data1 = &hkl_data1_;
520 - hkl_data2 = &hkl_data2_;
521 - }
522 -
523 - template<class T1, class T2> TargetFn_base::Rderiv TargetFn_scaleLogI1I2<T1,T2>::rderiv( const HKL_info::HKL_reference_index& ih, const ftype& intensityh ) const
524 - {
525 - Rderiv result;
526 - result.r = result.dr = result.dr2 = 0.0;
527 - const T1& it1 = (*hkl_data1)[ih];
528 - const T2& it2 = (*hkl_data2)[ih];
529 - if ( !it1.missing() && !it2.missing() )
530 - if ( it1.I() > 1.0e-6 && it2.I() > 1.0e-6 ) {
531 - const ftype eps = ih.hkl_class().epsilon();
532 - const ftype i1 = it1.I() / eps;
533 - const ftype i2 = it2.I() / eps;
534 - const ftype w = sqrt( i1 * i2 );
535 - const ftype d = intensityh + log(i1) - log(i2);
536 - result.r = w * d * d;
537 - result.dr = 2.0 * w * d;
538 - result.dr2 = 2.0 * w;
539 - }
540 - return result;
541 - }
542 -
543 -
544 #endif
545
546
547
548 1.1 sci-chemistry/ccp4-apps/files/6.1.3-pythonpath.patch
549
550 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-pythonpath.patch?rev=1.1&view=markup
551 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-pythonpath.patch?rev=1.1&content-type=text/plain
552
553 Index: 6.1.3-pythonpath.patch
554 ===================================================================
555 diff --git a/ccp4-6.1.2/include/ccp4.setup-bash b/ccp4-6.1.2/include/ccp4.setup-bash
556 index 9848101..cea8ae6 100755
557 --- a/ccp4-6.1.2/include/ccp4.setup-bash
558 +++ b/ccp4-6.1.2/include/ccp4.setup-bash
559 @@ -188,9 +188,9 @@ fi
560 #Python path for the subprocess fixed module
561
562 if [ $ccp4_first_in_path -eq 1 ]; then
563 - setenv PYTHONPATH ${CCP4}/share/python:${PYTHONPATH}
564 + setenv PYTHONPATH ${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python:${PYTHONPATH}
565 else
566 - setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/python
567 + setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python
568 fi
569
570 ### PLOT_COMMAND PRINT_COMMAND for the XCCPJIFFY programs to compile ###
571 diff --git a/ccp4-6.1.2/include/ccp4.setup-csh b/ccp4-6.1.2/include/ccp4.setup-csh
572 index 42f0820..93c2cf3 100755
573 --- a/ccp4-6.1.2/include/ccp4.setup-csh
574 +++ b/ccp4-6.1.2/include/ccp4.setup-csh
575 @@ -180,9 +180,9 @@ endif
576 #Python path for the subprocess fixed module
577 if (${?PYTHONPATH}) then
578 if ($ccp4_first_in_path) then
579 - setenv PYTHONPATH ${CCP4}/share/python:${PYTHONPATH}
580 + setenv PYTHONPATH ${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python:${PYTHONPATH}
581 else
582 - setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/python
583 + setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python
584 endif
585 else
586 setenv PYTHONPATH ${CCP4}/share/python
587 diff --git a/ccp4-6.1.2/include/ccp4.setup-sh b/ccp4-6.1.2/include/ccp4.setup-sh
588 index 4396ebf..a0455bd 100755
589 --- a/ccp4-6.1.2/include/ccp4.setup-sh
590 +++ b/ccp4-6.1.2/include/ccp4.setup-sh
591 @@ -228,9 +228,9 @@ test -r $CCP4/include/ccp4.msg && cat $CCP4/include/ccp4.msg
592 #Python path for the subprocess fixed module
593
594 if test $ccp4_first_in_path -eq 1; then
595 - export PYTHONPATH=${CCP4}/share/python:${PYTHONPATH}
596 + export PYTHONPATH=${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python:${PYTHONPATH}
597 else
598 - export PYTHONPATH=${PYTHONPATH}:${CCP4}/share/python
599 + export PYTHONPATH=${PYTHONPATH}:${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python
600 fi
601
602 ################### THE REST SHOULDN'T NEED EDITING #####################
603 diff --git a/ccp4-6.1.2/include/ccp4.setup-zsh b/ccp4-6.1.2/include/ccp4.setup-zsh
604 index 0e5c2ce..53523f3 100755
605 --- a/ccp4-6.1.2/include/ccp4.setup-zsh
606 +++ b/ccp4-6.1.2/include/ccp4.setup-zsh
607 @@ -157,10 +157,10 @@ export CLASSPATH
608 #Python path for the subprocess fixed module
609
610 if ($ccp4_first_in_path) then
611 - PYTHONPATH=${CCP4}/share/python:${PYTHONPATH}
612 + PYTHONPATH=${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python:${PYTHONPATH}
613 export PYTHONPATH
614 else
615 - PYTHONPATH=${PYTHONPATH}:${CCP4}/share/python
616 + PYTHONPATH=${PYTHONPATH}:${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python
617 export PYTHONPATH
618 fi
619
620
621
622
623 1.1 sci-chemistry/ccp4-apps/files/6.1.3-setup.patch
624
625 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-setup.patch?rev=1.1&view=markup
626 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-setup.patch?rev=1.1&content-type=text/plain
627
628 Index: 6.1.3-setup.patch
629 ===================================================================
630 diff --git a/include/ccp4.setup-bash b/include/ccp4.setup-bash
631 index 9848101..d76fe3b 100755
632 --- a/include/ccp4.setup-bash
633 +++ b/include/ccp4.setup-bash
634 @@ -37,8 +37,8 @@ fi
635 # This is usually the directory in which you ran the tar command to unpack the
636 # code, and is assumed to be shared between machines at a multi-machine site.
637
638 -setenv CCP4_MASTER /xtal
639 -setenv CCP4 $CCP4_MASTER/ccp4-6.1.2
640 +setenv CCP4_MASTER /usr
641 +setenv CCP4 $CCP4_MASTER
642
643 # Check for existence of CCP4_MASTER
644 if (! test -d $CCP4_MASTER) ; then
645 @@ -54,7 +54,7 @@ fi
646 # files. A dedicated scratch filesystem is probably better than (/usr)/tmp
647 # BINSORT_SCR: a scratch directory for binsort's use; normally same as CCP4_SCR
648
649 -setenv CCP4_SCR /tmp/$USER
650 +setenv CCP4_SCR /tmp/$USER
651 # check to see if this exists and if not try to make it
652 test -d $CCP4_SCR || mkdir $CCP4_SCR
653 test -d $CCP4_SCR || \
654 @@ -70,7 +70,7 @@ setenv CCP4I_TOP ${CCP4}/ccp4i
655 # For 'standard' installations this is /usr/local/bin
656 # but note the SGI distributed version of Tcl/Tk is not
657 # appropriate version
658 -setenv CCP4I_TCLTK /usr/local/bin
659 +setenv CCP4I_TCLTK /usr/bin
660 # CCP4I_HELP - directory contain ccp4i help - default is $CCP4I_TOP/help
661 setenv CCP4I_HELP ${CCP4I_TOP}/help
662
663 @@ -128,7 +128,7 @@ setenv GFORTRAN_UNBUFFERED_ALL Y
664 # # for multiple systems
665 # foo)
666 setenv CBIN $CCP4/bin
667 - setenv CLIB $CCP4/lib
668 + setenv CLIB $CCP4/GENTOOLIBDIR
669
670 setenv CCP4_BROWSER firefox
671
672 @@ -188,9 +188,9 @@ fi
673 #Python path for the subprocess fixed module
674
675 if [ $ccp4_first_in_path -eq 1 ]; then
676 - setenv PYTHONPATH ${CCP4}/share/python:${PYTHONPATH}
677 + setenv PYTHONPATH ${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python:${PYTHONPATH}
678 else
679 - setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/python
680 + setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python
681 fi
682
683 ### PLOT_COMMAND PRINT_COMMAND for the XCCPJIFFY programs to compile ###
684 @@ -292,14 +292,12 @@ test -r $CCP4/include/ccp4.msg && cat $CCP4/include/ccp4.msg
685
686 ### dbCCP4i database handler setup ###
687
688 -setenv DBCCP4I_TOP ${CCP4}/share/dbccp4i
689 +setenv DBCCP4I_TOP ${CCP4}/share/ccp4/dbccp4i
690
691 ### IMOSFLM environment is now defined here
692
693 setenv MOSFLM_EXEC ${CBIN}/ipmosflm
694 setenv MOSFLM_WISH ${CCP4I_TCLTK}/wish
695 -setenv IMOSFLM_VERSION "1.0.0"
696 -
697
698 ### MMCIFDIC is now defined here. cif_mmdic.lib is a binary file ===
699 # so on multiple installs it need to be unique and not in $CLIBD
700 @@ -309,21 +307,13 @@ setenv MMCIFDIC $CLIB/cif_mmdic.lib
701 ### MOLREPLIB Point to the location of the files bs-zeros.dat ps.resource symlib.blc
702 # They are distributed with CCP4 in $CLIBD. This env must have the trailing \ or /
703
704 -setenv MOLREPLIB $CCP4/lib/data/monomers/
705 +setenv MOLREPLIB $CCP4/share/ccp4/data/monomers/
706
707 ### CRANK points to location of Crank automation suite within ccp4i
708
709 -setenv CRANK $CCP4/ccp4i/crank
710 +setenv CRANK $CCP4I_TOP/bin/crank
711 setenv CCP4_CRANK 1
712
713 -### XIA2 setup
714 -# XIAROOT directory (default is under the share folder)
715 -
716 -if test -e $CCP4/share/XIAROOT/setup.sh
717 -then
718 -. $CCP4/share/XIAROOT/setup.sh
719 -fi
720 -
721 # Note: The PATH is updated with the xia2 Applications directory in the
722 # construct below.
723
724 @@ -339,7 +329,7 @@ fi
725 # They are distributed with CCP4 in $CLIBD/monomers. This env must have
726 # the trailing \ or /
727
728 -setenv CLIBD_MON $CCP4/lib/data/monomers/
729 +setenv CLIBD_MON $CCP4/share/ccp4/data/monomers/
730
731 ### PUBLIC_FONT84, CCP4_HELPDIR, HELPDIR, MOSHELPFILE ###
732 # (essential for the relevant programs)
733 @@ -347,10 +337,10 @@ setenv PUBLIC_FONT84 $CLIB/font84.dat # plot84 fonts [used by plot84lib]
734
735 # location of VMS-style help files required for mosflm [used by hlplib, chelp,
736 # chlp, (ip)mosflm]:
737 -setenv CCP4_HELPDIR $CCP4/help/ # NB trailing /
738 +setenv CCP4_HELPDIR $CCP4I_TOP/help/ # NB trailing /
739
740 # Rasmol path. Needed for prog. to find rasmol.hlp
741 -setenv RASMOLPATH $CCP4/x-windows/RasMol/src
742 +setenv RASMOLPATH $CCP4/GENTOOLIBDIR/rasmol
743
744 # CCP4 executables and scripts live in $CBIN and $CETC respectively; put them
745 # on the path in an appropriate order for scripts to be used as wrappers for
746 @@ -373,32 +363,14 @@ done
747
748 # Optional (useful) additional environment variables
749 setenv CCP4 $CCP4
750 - setenv CDOC $CCP4/doc
751 - setenv CHTML $CCP4/html
752 - setenv CETC $CCP4/etc
753 - setenv CEXAM $CCP4/examples
754 + setenv CDOC $DBCCP4I_TOP/doc
755 + setenv CHTML $CCP4I_TOP/html
756 + setenv CETC $CCP4I_TOP/etc
757 + setenv CEXAM $CLIB/ccp4/examples
758 setenv CINCL $CCP4/include
759 - setenv CLIBD $CCP4/lib/data
760 - setenv CLIBS $CCP4/lib/src
761 - setenv CPROG $CCP4/src
762 + setenv CLIBD $CCP4/share/ccp4/data
763
764 if [ "`basename $SHELL`" != "ksh" ]; then
765 -# useful aliases, at least for developers
766 - alias ccp4 'pushd $CCP4>/dev/null'
767 - alias xtal 'pushd $CCP4_MASTER>/dev/null'
768 - alias cbin 'pushd $CBIN>/dev/null'
769 - alias cetc 'pushd $CETC>/dev/null'
770 - alias cprog 'pushd $CPROG>/dev/null'
771 - alias cincl 'pushd $CINCL>/dev/null'
772 - alias clib 'pushd $CLIB>/dev/null'
773 - alias clibd 'pushd $CLIBD>/dev/null'
774 - alias clibs 'pushd $CLIBS>/dev/null'
775 - alias cbin 'pushd $CBIN>/dev/null'
776 - alias cexam 'pushd $CEXAM>/dev/null'
777 - alias cdoc 'pushd $CDOC>/dev/null'
778 - alias chtml 'pushd $CHTML>/dev/null'
779 - alias ccp4help '$CCP4_BROWSER $CHTML/INDEX.html \&'
780 -
781 ### laue, lget, linkimages ###
782
783 ### only if we have the Laue software suite...
784 @@ -430,23 +402,6 @@ if [ "`basename $SHELL`" != "ksh" ]; then
785 alias lbin 'pushd $CBIN>/dev/null'
786
787 fi
788 -
789 +else
790 unset alias # clean up
791 fi # ksh test
792 -
793 -# Set-up cctbx environment
794 -test -r $CCP4/lib/cctbx/cctbx_build/setpaths.sh && . $CCP4/lib/cctbx/cctbx_build/setpaths.sh
795 -
796 -# Set-up phaser environment
797 -if ( test -d $CCP4/src/phaser) ; then
798 - phaser_mtype=`$CCP4/src/phaser/bin/machine_type`
799 - phaser_version=`grep PHASER_VERSION $CCP4/src/phaser/conf/version.sh | awk '{print $3}'`
800 - phaser_setup_file="${CCP4}/src/phaser/phaser-${phaser_version}/build/${phaser_mtype}/setpaths.sh"
801 - test -r $phaser_setup_file && . $phaser_setup_file
802 -fi
803 -
804 -#BALBES root configuration
805 -if ( test -d $CCP4/share/balbes/BALBES_0.0.1)
806 -then
807 - setenv BALBES_ROOT $CCP4/share/balbes/BALBES_0.0.1
808 -fi
809 diff --git a/include/ccp4.setup-csh b/include/ccp4.setup-csh
810 index 42f0820..ed3c671 100755
811 --- a/include/ccp4.setup-csh
812 +++ b/include/ccp4.setup-csh
813 @@ -24,8 +24,8 @@
814 # This is usually the directory in which you ran the tar command to unpack the
815 # code, and is assumed to be shared between machines at a multi-machine site.
816
817 -setenv CCP4_MASTER /xtal
818 -setenv CCP4 $CCP4_MASTER/ccp4-6.1.2
819 +setenv CCP4_MASTER /usr
820 +setenv CCP4 $CCP4_MASTER
821
822 # Check for existence of CCP4_MASTER
823 if (! -e $CCP4_MASTER) then
824 @@ -57,7 +57,7 @@ setenv CCP4I_TOP ${CCP4}/ccp4i
825 # For 'standard' installations this is /usr/local/bin
826 # but note the SGI distributed version of Tcl/Tk is not
827 # appropriate version
828 -setenv CCP4I_TCLTK /usr/local/bin
829 +setenv CCP4I_TCLTK /usr/bin
830 # CCP4I_HELP - directory contain ccp4i help - default is $CCP4I_TOP/help
831 setenv CCP4I_HELP ${CCP4I_TOP}/help
832
833 @@ -115,7 +115,7 @@ setenv GFORTRAN_UNBUFFERED_ALL Y
834 # # for multiple systems
835 # case 'foo':
836 setenv CBIN $CCP4/bin
837 - setenv CLIB $CCP4/lib
838 + setenv CLIB $CCP4/GENTOOLIBDIR
839
840 setenv CCP4_BROWSER firefox
841
842 @@ -180,9 +180,9 @@ endif
843 #Python path for the subprocess fixed module
844 if (${?PYTHONPATH}) then
845 if ($ccp4_first_in_path) then
846 - setenv PYTHONPATH ${CCP4}/share/python:${PYTHONPATH}
847 + setenv PYTHONPATH ${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python:${PYTHONPATH}
848 else
849 - setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/python
850 + setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/ccp4/smartie:${CCP4I_TOP}/python
851 endif
852 else
853 setenv PYTHONPATH ${CCP4}/share/python
854 @@ -284,13 +284,12 @@ if (-e $CCP4/include/ccp4.msg) cat $CCP4/include/ccp4.msg
855
856 ### dbCCP4i database handler setup ###
857
858 -setenv DBCCP4I_TOP ${CCP4}/share/dbccp4i
859 +setenv DBCCP4I_TOP ${CCP4}/share/ccp4/dbccp4i
860
861 ### IMOSFLM environment is now defined here
862
863 setenv MOSFLM_EXEC ${CBIN}/ipmosflm
864 setenv MOSFLM_WISH ${CCP4I_TCLTK}/wish
865 -setenv IMOSFLM_VERSION "1.0.0"
866
867 ### MMCIFDIC is now defined here. cif_mmdic.lib is a binary file ===
868 # so on multiple installs it need to be unique and not in $CLIBD
869 @@ -300,20 +299,13 @@ setenv MMCIFDIC $CLIB/cif_mmdic.lib
870 ### MOLREPLIB Point to the location of the files bs-zeros.dat ps.resource symlib.blc
871 # They are distributed with CCP4 in $CLIBD. This env must have the trailing \ or /
872
873 -setenv MOLREPLIB $CCP4/lib/data/monomers/
874 +setenv MOLREPLIB $CCP4/share/ccp4/data/monomers/
875
876 ### CRANK points to location of Crank automation suite within ccp4i
877
878 -setenv CRANK $CCP4/ccp4i/crank
879 +setenv CRANK $CCP4I_TOP/bin/crank
880 setenv CCP4_CRANK 1
881
882 -### XIA2 setup
883 -# XIAROOT directory (default is under the share folder)
884 -
885 -if (-e $CCP4/share/XIAROOT/setup.csh) then
886 - source $CCP4/share/XIAROOT/setup.csh
887 -endif
888 -
889 # Note: The PATH is updated with the xia2 Applications directory in the
890 # construct below.
891
892 @@ -328,7 +320,7 @@ endif
893 # They are distributed with CCP4 in $CLIBD/monomers. This env must have
894 # the trailing \ or /
895
896 -setenv CLIBD_MON $CCP4/lib/data/monomers/
897 +setenv CLIBD_MON $CCP4/share/ccp4/data/monomers/
898
899 ### PUBLIC_FONT84, CCP4_HELPDIR, HELPDIR, MOSHELPFILE ###
900 # (essential for the relevant programs)
901 @@ -339,7 +331,7 @@ setenv PUBLIC_FONT84 $CLIB/font84.dat # plot84 fonts [used by plot84lib]
902 setenv CCP4_HELPDIR $CCP4/help/ # NB trailing /
903
904 # Rasmol path. Needed for prog. to find rasmol.hlp
905 -setenv RASMOLPATH $CCP4/x-windows/RasMol/src
906 +setenv RASMOLPATH $CCP4/GENTOOLIBDIR/rasmol
907
908 # CCP4 executables and scripts live in $CBIN and $CETC respectively; put them
909 # on the path in an appropriate order for scripts to be used as wrappers for
910 @@ -366,30 +358,12 @@ end
911
912 # Optional (useful) additional environment variables
913 setenv CCP4 $CCP4
914 - setenv CDOC $CCP4/doc
915 - setenv CHTML $CCP4/html
916 - setenv CETC $CCP4/etc
917 - setenv CEXAM $CCP4/examples
918 + setenv CDOC $DBCCP4I_TOP/doc
919 + setenv CHTML $CCP4I_TOP/html
920 + setenv CETC $CCP4I_TOP/etc
921 + setenv CEXAM $CLIB/ccp4/examples
922 setenv CINCL $CCP4/include
923 - setenv CLIBD $CCP4/lib/data
924 - setenv CLIBS $CCP4/lib/src
925 - setenv CPROG $CCP4/src
926 -
927 -# useful aliases, at least for developers
928 - alias ccp4 'pushd $CCP4>/dev/null'
929 - alias xtal 'pushd $CCP4_MASTER>/dev/null'
930 - alias cbin 'pushd $CBIN>/dev/null'
931 - alias cetc 'pushd $CETC>/dev/null'
932 - alias cprog 'pushd $CPROG>/dev/null'
933 - alias cincl 'pushd $CINCL>/dev/null'
934 - alias clib 'pushd $CLIB>/dev/null'
935 - alias clibd 'pushd $CLIBD>/dev/null'
936 - alias clibs 'pushd $CLIBS>/dev/null'
937 - alias cbin 'pushd $CBIN>/dev/null'
938 - alias cexam 'pushd $CEXAM>/dev/null'
939 - alias cdoc 'pushd $CDOC>/dev/null'
940 - alias chtml 'pushd $CHTML>/dev/null'
941 - alias ccp4help '$CCP4_BROWSER $CHTML/INDEX.html &'
942 + setenv CLIBD $CCP4/share/ccp4/data
943
944 ### laue, lget, linkimages ###
945
946 @@ -421,19 +395,3 @@ end
947 #
948
949 endif
950 -
951 -# Set-up cctbx environment
952 -if (-e $CCP4/lib/cctbx/cctbx_build/setpaths.csh) source $CCP4/lib/cctbx/cctbx_build/setpaths.csh
953 -
954 -# Set-up phaser environment
955 -if (-d $CCP4/src/phaser) then
956 - set phaser_mtype = `$CCP4/src/phaser/bin/machine_type`
957 - set phaser_version = `grep PHASER_VERSION $CCP4/src/phaser/conf/version.csh | awk '{print $3}'`
958 - set phaser_setup_file = "${CCP4}/src/phaser/phaser-${phaser_version}/build/${phaser_mtype}/setpaths.csh"
959 - if (-e $phaser_setup_file) source $phaser_setup_file
960 -endif
961 -
962 -#BALBES root configuration
963 -if ( -d $CCP4/share/balbes/BALBES_0.0.1) then
964 - setenv BALBES_ROOT $CCP4/share/balbes/BALBES_0.0.1
965 -endif
966
967
968
969 1.1 sci-chemistry/ccp4-apps/files/6.1.3-dont-make-dirs-in-configure.patch
970
971 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-make-dirs-in-configure.patch?rev=1.1&view=markup
972 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-make-dirs-in-configure.patch?rev=1.1&content-type=text/plain
973
974 Index: 6.1.3-dont-make-dirs-in-configure.patch
975 ===================================================================
976 --- ccp4-6.0.99e.orig/configure 2008-07-31 10:37:22.000000000 -0700
977 +++ ccp4-6.0.99e/configure 2008-07-31 10:39:18.000000000 -0700
978 @@ -643,45 +643,45 @@
979 # echo "! Beware -- the $system installation isn't properly tested." ; }
980 syswarn='echo; echo "! Beware -- the $system installation is not properly tested."'
981
982 -if test -z "$onlylibs" ; then
983 - for i in CCP4_SCR BINSORT_SCR; do
984 - if ( eval test -d \$$i || eval mkdir -p \$$i ) ; then :
985 - else
986 - eval echo "! No directory \$$i and can\'t create it."
987 - echo " Check the value of $i."
988 - badvar=1
989 - fi
990 - done
991 -
992 - for i in libdir bindir includedir; do
993 - if ( eval test -d \$$i || eval mkdir -p \$$i ) ; then :
994 - else
995 - eval echo "! No directory \$$i and can\'t create it."
996 - echo " Check the argument of --$i."
997 - badvar=1
998 - fi
999 - done
1000 -
1001 - for i in $dotsrc $dotunsupp $dotunsuppsrc $dotdeprec $dotdeprecsrc ./lib ./lib/src ./lib/data ./ccp4i/etc/unix $mosflmdir/lib $mosflmdir/bin $mosflmdir/cbf/lib ; do
1002 - if test -d $i || mkdir $i; then :
1003 - else
1004 - eval echo "! No directory $i and can\'t create it."
1005 - badvar=1
1006 - fi
1007 - done
1008 -else
1009 - # Kludge to fool the "Makefile" target in the top-level CCP4
1010 - # Makefile into not trying to remake src/Makefile.in
1011 - for i in $srcdir/src $srcdir/lib/src ; do
1012 - if test -d $i || mkdir $i; then
1013 - if ! test -f $i/Makefile.in ; then
1014 - echo
1015 - echo "onlylibs: making dummy file $i/Makefile.in"
1016 - touch $i/Makefile.in
1017 - fi
1018 - fi
1019 - done
1020 -fi
1021 +#if test -z "$onlylibs" ; then
1022 +# for i in CCP4_SCR BINSORT_SCR; do
1023 +# if ( eval test -d \$$i || eval mkdir -p \$$i ) ; then :
1024 +# else
1025 +# eval echo "! No directory \$$i and can\'t create it."
1026 +# echo " Check the value of $i."
1027 +# badvar=1
1028 +# fi
1029 +# done
1030 +#
1031 +# for i in libdir bindir includedir; do
1032 +# if ( eval test -d \$$i || eval mkdir -p \$$i ) ; then :
1033 +# else
1034 +# eval echo "! No directory \$$i and can\'t create it."
1035 +# echo " Check the argument of --$i."
1036 +# badvar=1
1037 +# fi
1038 +# done
1039 +#
1040 +# for i in $dotsrc $dotunsupp $dotunsuppsrc $dotdeprec $dotdeprecsrc ./lib ./lib/src ./lib/data ./ccp4i/etc/unix $mosflmdir/lib $mosflmdir/bin $mosflmdir/cbf/lib ; do
1041 +# if test -d $i || mkdir $i; then :
1042 +# else
1043 +# eval echo "! No directory $i and can\'t create it."
1044 +# badvar=1
1045 +# fi
1046 +# done
1047 +#else
1048 +# # Kludge to fool the "Makefile" target in the top-level CCP4
1049 +# # Makefile into not trying to remake src/Makefile.in
1050 +# for i in $srcdir/src $srcdir/lib/src ; do
1051 +# if test -d $i || mkdir $i; then
1052 +# if ! test -f $i/Makefile.in ; then
1053 +# echo
1054 +# echo "onlylibs: making dummy file $i/Makefile.in"
1055 +# touch $i/Makefile.in
1056 +# fi
1057 +# fi
1058 +# done
1059 +#fi
1060
1061 ### sanity checks
1062
1063
1064
1065
1066 1.1 sci-chemistry/ccp4-apps/files/6.1.3-pisa.patch
1067
1068 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-pisa.patch?rev=1.1&view=markup
1069 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-pisa.patch?rev=1.1&content-type=text/plain
1070
1071 Index: 6.1.3-pisa.patch
1072 ===================================================================
1073 diff --git a/src/pisa/sbase/Makefile.am b/src/pisa/sbase/Makefile.am
1074 index 053e83a..4ff3394 100755
1075 --- a/src/pisa/sbase/Makefile.am
1076 +++ b/src/pisa/sbase/Makefile.am
1077 @@ -1,4 +1,4 @@
1078 -pkgdatadir = $(datadir)/sbase
1079 +pkgdatadir = $(datadir)/pisa/sbase
1080 dist_pkgdata_DATA = \
1081 graph.sbase index.sbase struct.sbase
1082
1083 diff --git a/src/pisa/sbase/Makefile.in b/src/pisa/sbase/Makefile.in
1084 index faa3f7f..8630bd7 100755
1085 --- a/src/pisa/sbase/Makefile.in
1086 +++ b/src/pisa/sbase/Makefile.in
1087 @@ -62,7 +62,7 @@ POST_UNINSTALL = :
1088 EXEEXT = @EXEEXT@
1089 OBJEXT = @OBJEXT@
1090 PATH_SEPARATOR = @PATH_SEPARATOR@
1091 -pkgdatadir = $(datadir)/sbase
1092 +pkgdatadir = $(datadir)/pisa/sbase
1093 AMTAR = @AMTAR@
1094 AR_FLAGS = @AR_FLAGS@
1095 AWK = @AWK@
1096
1097
1098
1099 1.1 sci-chemistry/ccp4-apps/files/6.1.3-fix-setup-bash-incompatibility.patch
1100
1101 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-fix-setup-bash-incompatibility.patch?rev=1.1&view=markup
1102 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-fix-setup-bash-incompatibility.patch?rev=1.1&content-type=text/plain
1103
1104 Index: 6.1.3-fix-setup-bash-incompatibility.patch
1105 ===================================================================
1106 --- ccp4-6.0.99e.orig/include/ccp4.setup-bash 2008-07-31 10:37:22.000000000 -0700
1107 +++ ccp4-6.0.99e/include/ccp4.setup-bash 2008-07-31 12:47:14.000000000 -0700
1108 @@ -181,7 +181,7 @@
1109
1110 #Python path for the subprocess fixed module
1111
1112 -if ($ccp4_first_in_path) then
1113 +if [ $ccp4_first_in_path -eq 1 ]; then
1114 setenv PYTHONPATH ${CCP4}/share/python:${PYTHONPATH}
1115 else
1116 setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/python
1117
1118
1119
1120 1.1 sci-chemistry/ccp4-apps/files/6.1.3-dont-build-scala.patch
1121
1122 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-scala.patch?rev=1.1&view=markup
1123 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4-apps/files/6.1.3-dont-build-scala.patch?rev=1.1&content-type=text/plain
1124
1125 Index: 6.1.3-dont-build-scala.patch
1126 ===================================================================
1127 --- ./src/Makefile.in 2009-03-20 15:06:41.000000000 +0100
1128 +++ ./src/Makefile.in.new 2009-07-31 23:46:13.000000000 +0200
1129 @@ -50,7 +50,7 @@
1130
1131 # these live in subdirectories and have more than one dependency:
1132 OTHERS = rsps anglen secstr proclean pplot gfac2pdb tplot mplot probplot rmsdev nb \
1133 - scala dm dmmulti stereo mapmask maprot ncsmask \
1134 + dm dmmulti stereo mapmask maprot ncsmask \
1135 sftools tlsanl tlsextract topp toplist dyndom sc combat mlphare fffear ffjoin \
1136 anisoanl $(REFMACTARGETS) dtrek2scala crunch2 pmf doser mat2symop symop2mat
1137
1138 @@ -637,7 +637,7 @@
1139
1140 ### scala, mapmask, maprot, ncsmask, combat
1141
1142 -scala mapmask maprot ncsmask combat sc dyndom: # dependencies below
1143 +mapmask maprot ncsmask combat sc dyndom: # dependencies below
1144 @$(SETFLAGS) pwd=`pwd` ; rm -f $@; \
1145 cd $(srcdir)/$@_; \
1146 echo $(FC) $${$@_FLAGS-"$(FFLAGS)"} -c -o $$pwd/$@.o `pwd`/$@.f ;\
1147 @@ -1002,21 +1002,6 @@
1148 proclean: $(srcdir)/procheck/clean.f $(srcdir)/procheck/brkcln.par
1149 rmsdev: $(srcdir)/procheck/rmsdev.f $(srcdir)/procheck/rmsdev.inc
1150
1151 -scaladir = $(srcdir)/scala_
1152 -scala : $(scaladir)/scala.f $(scaladir)/column.fh $(scaladir)/orient.fh \
1153 - $(scaladir)/params.fh $(scaladir)/rfile.fh $(scaladir)/scales.fh \
1154 - $(scaladir)/nbtchc.fh $(scaladir)/parameter.fh $(scaladir)/refcon.fh \
1155 - $(scaladir)/rundef.fh $(scaladir)/sdfacc.fh $(scaladir)/flags.fh \
1156 - $(scaladir)/inout.fh $(scaladir)/dump.fh $(scaladir)/tie.fh \
1157 - $(scaladir)/outcon.fh $(scaladir)/version.fh $(scaladir)/anomtc.fh \
1158 - $(scaladir)/axes.fh $(scaladir)/bigarg.fh \
1159 - $(scaladir)/errors.fh $(scaladir)/flow.fh $(scaladir)/glocon.fh \
1160 - $(scaladir)/means.fh $(scaladir)/refflg.fh $(scaladir)/stats.fh \
1161 - $(scaladir)/symmty.fh $(scaladir)/sharvest.fh $(scaladir)/chtml.fh \
1162 - $(scaladir)/htmbuf.fh $(scaladir)/sphhrm.fh $(scaladir)/crlncf.fh \
1163 - $(scaladir)/datasets.fh $(scaladir)/dts_storage.fh \
1164 - $(scaladir)/sclinimeans.fh $(scaladir)/timecor.fh
1165 -
1166 freemask.o: $(dmdir)/freemask.f $(dmdir)/crystal.fh $(dmdir)/cycl.fh \
1167 $(dmdir)/dmheader.fh $(dmdir)/io.fh $(dmdir)/output.fh \
1168 $(dmdir)/params.fh $(dmdir)/uvwdata.fh