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/ccp4i/files: 6.1.3-rename-superpose.patch 6.1.3-rename-rapper.patch 6.1.3-rename-truncate.patch
Date: Sun, 25 Apr 2010 12:33:10
Message-Id: 20100425123254.A8EA52C04E@corvid.gentoo.org
1 jlec 10/04/25 12:32:54
2
3 Modified: 6.1.3-rename-superpose.patch
4 6.1.3-rename-rapper.patch
5 6.1.3-rename-truncate.patch
6 Log:
7 Fixes missing renames, thanks Johan Hattne for giving the patches, #314053
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 sci-chemistry/ccp4i/files/6.1.3-rename-superpose.patch
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-superpose.patch?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-superpose.patch?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-superpose.patch?r1=1.1&r2=1.2
16
17 Index: 6.1.3-rename-superpose.patch
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-superpose.patch,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- 6.1.3-rename-superpose.patch 6 Feb 2010 00:24:32 -0000 1.1
24 +++ 6.1.3-rename-superpose.patch 25 Apr 2010 12:32:54 -0000 1.2
25 @@ -1,6 +1,7 @@
26 -diff -arNu ccp4-6.1.1/ccp4i/scripts/superpose.script ccp4-6.1.1.new/ccp4i/scripts/superpose.script
27 ---- ccp4-6.1.1/ccp4i/scripts/superpose.script 2006-07-26 16:22:49.000000000 +0200
28 -+++ ccp4-6.1.1.new/ccp4i/scripts/superpose.script 2009-07-05 22:11:59.000000000 +0200
29 +diff --git a/ccp4i/scripts/superpose.script b/ccp4i/scripts/superpose.script
30 +index 3483c97..5027536 100755
31 +--- a/ccp4i/scripts/superpose.script
32 ++++ b/ccp4i/scripts/superpose.script
33 @@ -21,7 +21,7 @@
34
35 if { [regexp SSM $SUPERPOSE_MODE ] } {
36 @@ -10,3 +11,16 @@
37 set status [Execute $cmd "" program_status report ]
38
39 } elseif { [regexp TOP $SUPERPOSE_MODE ] } {
40 +diff --git a/ccp4i/tasks/superpose.tcl b/ccp4i/tasks/superpose.tcl
41 +index 748bf6e..c92122a 100755
42 +--- a/ccp4i/tasks/superpose.tcl
43 ++++ b/ccp4i/tasks/superpose.tcl
44 +@@ -100,7 +100,7 @@ proc superpose_run { arrayname } {
45 + # If user is match equivalent named residues/atoms then fit in the match fields
46 + switch [GetValue $arrayname SUPERPOSE_MODE] \
47 + SSM {
48 +- if { ![file exists [FindExecutable superpose]] } {
49 ++ if { ![file exists [FindExecutable superpose-ccp4]] } {
50 + WarningMessage "The program \"superpose\" is not on your path.
51 + Check your installation for \"superpose\" program and \"ssm\" library."
52 + return 0
53
54
55
56 1.2 sci-chemistry/ccp4i/files/6.1.3-rename-rapper.patch
57
58 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-rapper.patch?rev=1.2&view=markup
59 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-rapper.patch?rev=1.2&content-type=text/plain
60 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-rapper.patch?r1=1.1&r2=1.2
61
62 Index: 6.1.3-rename-rapper.patch
63 ===================================================================
64 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-rapper.patch,v
65 retrieving revision 1.1
66 retrieving revision 1.2
67 diff -u -r1.1 -r1.2
68 --- 6.1.3-rename-rapper.patch 6 Feb 2010 00:24:32 -0000 1.1
69 +++ 6.1.3-rename-rapper.patch 25 Apr 2010 12:32:54 -0000 1.2
70 @@ -1,5 +1,20 @@
71 ---- ccp4i/scripts/rapper.script 2009-02-03 11:49:50.000000000 +0100
72 -+++ ccp4i/scripts/rapper.script.new 2009-03-12 23:34:47.000000000 +0100
73 +diff --git a/ccp4i/scripts/check.script b/ccp4i/scripts/check.script
74 +index def44bc..dd4bb7e 100755
75 +--- a/ccp4i/scripts/check.script
76 ++++ b/ccp4i/scripts/check.script
77 +@@ -24,7 +24,7 @@
78 + if $RUN_RAMPAGE {
79 +
80 + # Generate command line
81 +- set cmd "[BinPath rapper]"
82 ++ set cmd "[BinPath rappermc]"
83 +
84 + set rapperdatadir [FileJoin [GetEnvPath CCP4] share rapper]
85 + set paramsfile [FileJoin $rapperdatadir params.xml]
86 +diff --git a/ccp4i/scripts/rapper.script b/ccp4i/scripts/rapper.script
87 +index cdae1e2..faae226 100755
88 +--- a/ccp4i/scripts/rapper.script
89 ++++ b/ccp4i/scripts/rapper.script
90 @@ -17,7 +17,7 @@
91
92 #set up command line
93 @@ -9,4 +24,38 @@
94
95 set rapperdatadir [FileJoin [GetEnvPath CCP4] share rapper]
96 set paramsfile [FileJoin [GetEnvPath CCP4] share rapper params.xml]
97 -
98 +@@ -180,7 +180,7 @@ append outfiles " $XYZOUT PROJECT"
99 +
100 + # Run RAPPER to join loop back to framework and out put to defined pdb file
101 + # Also need to sort out multimodel files join - FIX ME
102 +-set cmd2 "[BinPath rapper]"
103 ++set cmd2 "[BinPath rappermc]"
104 + append cmd2 " $paramsfile joinpdb "
105 + append cmd2 " --pdb2 \"$root\-loop.pdb\" "
106 + append cmd2 " --pdb \"$root\-framework.pdb\" "
107 +diff --git a/ccp4i/tasks/check.tcl b/ccp4i/tasks/check.tcl
108 +index ae88ff2..ee3307b 100755
109 +--- a/ccp4i/tasks/check.tcl
110 ++++ b/ccp4i/tasks/check.tcl
111 +@@ -46,7 +46,7 @@ proc check_run { arrayname } {
112 + # Check for Rampage program. If it is not found, we switch off the option.
113 + # If it was the only option, script will fail with next check.
114 + if { $array(RUN_RAMPAGE) == 1 } {
115 +- if { [FindExecutable "rapper"] == "" } {
116 ++ if { [FindExecutable "rappermc"] == "" } {
117 + WarningMessage "Input Error: Rapper_Rampage program not found in system path."
118 + set array(RUN_RAMPAGE) 0
119 + }
120 +diff --git a/ccp4i/tasks/rapper.tcl b/ccp4i/tasks/rapper.tcl
121 +index e299057..8843a3f 100755
122 +--- a/ccp4i/tasks/rapper.tcl
123 ++++ b/ccp4i/tasks/rapper.tcl
124 +@@ -28,7 +28,7 @@ proc rapper_run { arrayname } {
125 + # Check for RAPPER program. If it is not found, we switch off the option.
126 + # If it was the only option, script will fail with next check.
127 + if { [regexp MODEL $build_type ] && $prog_type == "RAPPER"} {
128 +- if { [FindExecutable "rapper"] == "" } {
129 ++ if { [FindExecutable "rappermc"] == "" } {
130 + WarningMessage "Input Error: RAPPER program not found in system path."
131 + set build_type 0
132 + }
133
134
135
136 1.2 sci-chemistry/ccp4i/files/6.1.3-rename-truncate.patch
137
138 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-truncate.patch?rev=1.2&view=markup
139 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-truncate.patch?rev=1.2&content-type=text/plain
140 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-truncate.patch?r1=1.1&r2=1.2
141
142 Index: 6.1.3-rename-truncate.patch
143 ===================================================================
144 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/files/6.1.3-rename-truncate.patch,v
145 retrieving revision 1.1
146 retrieving revision 1.2
147 diff -u -r1.1 -r1.2
148 --- 6.1.3-rename-truncate.patch 6 Feb 2010 00:24:32 -0000 1.1
149 +++ 6.1.3-rename-truncate.patch 25 Apr 2010 12:32:54 -0000 1.2
150 @@ -1,16 +1,85 @@
151 ---- ./ccp4i/templates/truncate.com.orig 2009-03-02 23:31:04.000000000 -0800
152 -+++ ./ccp4i/templates/truncate.com 2009-03-02 23:31:08.000000000 -0800
153 -@@ -11,7 +11,7 @@
154 - $SYMMETRY symmetry $SPACE_GROUP
155 - $CELL cell $CELL_1 $CELL_2 $CELL_3 $CELL_4 $CELL_5 $CELL_6
156 -
157 --1 truncate
158 -+1 ftruncate
159 - - { [StringSame $APPLY_TRUNCATE "WILSON" ] } YES | NO
160 - {[IfSet $ANOMALOUS]} anomalous
161 - - $ANOMALOUS YES | NO
162 ---- ./ccp4i/scripts/truncate.script.orig 2009-03-02 23:39:04.000000000 -0800
163 -+++ ./ccp4i/scripts/truncate.script 2009-03-02 23:39:41.000000000 -0800
164 +diff --git a/ccp4i/crank/plugins/prep/crank_prep.tcl b/ccp4i/crank/plugins/prep/crank_prep.tcl
165 +index 7d05905..d01f1dc 100755
166 +--- a/ccp4i/crank/plugins/prep/crank_prep.tcl
167 ++++ b/ccp4i/crank/plugins/prep/crank_prep.tcl
168 +@@ -226,7 +226,7 @@ proc run_truncate { i j } {
169 + set script "$script\n$labout"
170 + set script "$script\nEND\n"
171 +
172 +- set run_command "truncate $command << \"$script\""
173 ++ set run_command "ftruncate $command << \"$script\""
174 + puts $run_command
175 + catch {eval exec $run_command } output
176 + puts $output
177 +diff --git a/ccp4i/scripts/dtrek2mtz.script b/ccp4i/scripts/dtrek2mtz.script
178 +index e74aa0d..a2a1adb 100755
179 +--- a/ccp4i/scripts/dtrek2mtz.script
180 ++++ b/ccp4i/scripts/dtrek2mtz.script
181 +@@ -36,7 +36,7 @@
182 + set HKL_TRUNCATE [GetTmpFileName -ext mtz]
183 +
184 + CreateComScript truncate truncate_script
185 +- set cmd "[BinPath truncate] HKLIN \"$HKLTMP\" HKLOUT \"$HKL_TRUNCATE\""
186 ++ set cmd "[BinPath ftruncate] HKLIN \"$HKLTMP\" HKLOUT \"$HKL_TRUNCATE\""
187 + set status [Execute $cmd $truncate_script program_status report]
188 +
189 + HandleHarvestFile $HARVEST_MODE $HARVEST_PNAME $HARVEST_DNAME truncate
190 +diff --git a/ccp4i/scripts/import.script b/ccp4i/scripts/import.script
191 +index 90cba83..1c90c33 100755
192 +--- a/ccp4i/scripts/import.script
193 ++++ b/ccp4i/scripts/import.script
194 +@@ -144,7 +144,7 @@ if { $FORMAT == "MTZ" } {
195 +
196 + set truncatemtz [GetTmpFileName -ext mtz ]
197 + CreateComScript truncate truncate_script
198 +- set cmd "[BinPath truncate] HKLIN \"$tmpmtz\" HKLOUT \"$truncatemtz\""
199 ++ set cmd "[BinPath ftruncate] HKLIN \"$tmpmtz\" HKLOUT \"$truncatemtz\""
200 + set status [Execute $cmd $truncate_script program_status report]
201 +
202 +
203 +diff --git a/ccp4i/scripts/import_scaled.script b/ccp4i/scripts/import_scaled.script
204 +index dcc619b..7250513 100755
205 +--- a/ccp4i/scripts/import_scaled.script
206 ++++ b/ccp4i/scripts/import_scaled.script
207 +@@ -62,7 +62,7 @@
208 +
209 + } else {
210 + CreateComScript truncate truncate_script
211 +- set cmd "[BinPath truncate] HKLIN \"$HKLTMP\" HKLOUT \"$HKL_TRUNCATE\""
212 ++ set cmd "[BinPath ftruncate] HKLIN \"$HKLTMP\" HKLOUT \"$HKL_TRUNCATE\""
213 + set status [Execute $cmd $truncate_script program_status report]
214 +
215 + HandleHarvestFile $HARVEST_MODE $HARVEST_PNAME $HARVEST_DNAME truncate
216 +diff --git a/ccp4i/scripts/scala.script b/ccp4i/scripts/scala.script
217 +index 6940ccd..bde10d6 100755
218 +--- a/ccp4i/scripts/scala.script
219 ++++ b/ccp4i/scripts/scala.script
220 +@@ -275,7 +275,7 @@ END"
221 +
222 + } else {
223 + CreateComScript truncate truncate_script
224 +- set cmd "[BinPath truncate] HKLIN \"$HKLTMP\" HKLOUT \"$HKL_TRUNCATE\""
225 ++ set cmd "[BinPath ftruncate] HKLIN \"$HKLTMP\" HKLOUT \"$HKL_TRUNCATE\""
226 + set status [Execute $cmd $truncate_script $LOG_FILE program_status report ]
227 + }
228 +
229 +diff --git a/ccp4i/scripts/scalepack2mtz.script b/ccp4i/scripts/scalepack2mtz.script
230 +index 986e06c..a1947a6 100755
231 +--- a/ccp4i/scripts/scalepack2mtz.script
232 ++++ b/ccp4i/scripts/scalepack2mtz.script
233 +@@ -35,7 +35,7 @@
234 +
235 + set HKL_TRUNCATE [GetTmpFileName -ext mtz]
236 + CreateComScript truncate truncate_script
237 +- set cmd "[BinPath truncate] HKLIN \"$HKLTMP\" HKLOUT \"$HKL_TRUNCATE\""
238 ++ set cmd "[BinPath ftruncate] HKLIN \"$HKLTMP\" HKLOUT \"$HKL_TRUNCATE\""
239 + set status [Execute $cmd $truncate_script program_status report]
240 +
241 + HandleHarvestFile $HARVEST_MODE $HARVEST_PNAME $HARVEST_DNAME truncate
242 +diff --git a/ccp4i/scripts/truncate.script b/ccp4i/scripts/truncate.script
243 +index e0e09ce..2d448a2 100755
244 +--- a/ccp4i/scripts/truncate.script
245 ++++ b/ccp4i/scripts/truncate.script
246 @@ -45,7 +45,7 @@
247
248 CreateComScript truncate truncate_script