1 |
commit: ccec0228a0d449c9e8ae1b11934df2e979566d96 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jan 30 16:58:48 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 08:41:01 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccec0228 |
7 |
|
8 |
sci-chemistry/coot: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/3730 |
11 |
|
12 |
.../coot/files/0.6.2-clipper-config.patch | 17 ------- |
13 |
sci-chemistry/coot/files/0.6.2-gl.patch | 10 ---- |
14 |
sci-chemistry/coot/files/0.6.2-libpng15.patch | 29 ----------- |
15 |
sci-chemistry/coot/files/0.6.2-mmdb-config.patch | 18 ------- |
16 |
sci-chemistry/coot/files/0.6.2-ssm.patch | 56 ---------------------- |
17 |
sci-chemistry/coot/files/0.6.2-test.patch | 16 ------- |
18 |
.../coot/files/coot-0.7-clipper-config.patch | 17 ------- |
19 |
sci-chemistry/coot/files/coot-0.7-goocanvas.patch | 25 ---------- |
20 |
.../coot/files/coot-0.7-mmdb-config.patch | 18 ------- |
21 |
sci-chemistry/coot/files/coot-0.7-ssm.patch | 56 ---------------------- |
22 |
10 files changed, 262 deletions(-) |
23 |
|
24 |
diff --git a/sci-chemistry/coot/files/0.6.2-clipper-config.patch b/sci-chemistry/coot/files/0.6.2-clipper-config.patch |
25 |
deleted file mode 100644 |
26 |
index 311b5e8..00000000 |
27 |
--- a/sci-chemistry/coot/files/0.6.2-clipper-config.patch |
28 |
+++ /dev/null |
29 |
@@ -1,17 +0,0 @@ |
30 |
- macros/clipper.m4 | 3 +++ |
31 |
- 1 files changed, 3 insertions(+), 0 deletions(-) |
32 |
- |
33 |
-diff --git a/macros/clipper.m4 b/macros/clipper.m4 |
34 |
-index 0bf087a..d0e8b6b 100644 |
35 |
---- a/macros/clipper.m4 |
36 |
-+++ b/macros/clipper.m4 |
37 |
-@@ -98,6 +98,9 @@ case $ac_cv_build_alias in |
38 |
- ;; |
39 |
- esac |
40 |
- |
41 |
-+CLIPPER_CXXFLAGS=`clipper-config --cflags` |
42 |
-+CLIPPER_LDOPTS=`clipper-config --libs` |
43 |
-+ |
44 |
- AC_MSG_CHECKING([for Clipper]) |
45 |
- |
46 |
- LIBS="$save_LIBS $CLIPPER_LDOPTS" |
47 |
|
48 |
diff --git a/sci-chemistry/coot/files/0.6.2-gl.patch b/sci-chemistry/coot/files/0.6.2-gl.patch |
49 |
deleted file mode 100644 |
50 |
index bbd858c..00000000 |
51 |
--- a/sci-chemistry/coot/files/0.6.2-gl.patch |
52 |
+++ /dev/null |
53 |
@@ -1,10 +0,0 @@ |
54 |
-Index: coot-surface/Makefile.am |
55 |
-=================================================================== |
56 |
---- coot-surface/Makefile.am (revision 3478) |
57 |
-+++ coot-surface/Makefile.am (working copy) |
58 |
-@@ -29,4 +29,4 @@ |
59 |
- |
60 |
- libcoot_surface_la_LIBADD = \ |
61 |
- $(top_builddir)/surface/libccp4mg-surface.la \ |
62 |
-- $(GLUT_LIBS) $(CLIPPER_LIBS) $(MMDB_LIBS) |
63 |
-+ $(GLUT_LIBS) $(CLIPPER_LIBS) $(MMDB_LIBS) -lGL |
64 |
|
65 |
diff --git a/sci-chemistry/coot/files/0.6.2-libpng15.patch b/sci-chemistry/coot/files/0.6.2-libpng15.patch |
66 |
deleted file mode 100644 |
67 |
index bddd251..00000000 |
68 |
--- a/sci-chemistry/coot/files/0.6.2-libpng15.patch |
69 |
+++ /dev/null |
70 |
@@ -1,29 +0,0 @@ |
71 |
---- ccp4mg-utils/ppmutil.cc |
72 |
-+++ ccp4mg-utils/ppmutil.cc |
73 |
-@@ -2494,15 +2494,21 @@ |
74 |
- |
75 |
- pixels = new unsigned char[width*height*colourspace]; |
76 |
- |
77 |
-+ png_colorp palette; |
78 |
-+ int num_trans; |
79 |
-+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >=4 |
80 |
-+ png_bytep trans_alpha; |
81 |
-+#endif |
82 |
-+ |
83 |
- for (int i=0; i<height; i++){ |
84 |
- if(color_type==PNG_COLOR_TYPE_PALETTE){ |
85 |
- for (int j=0; j<width; j++){ |
86 |
-- pixels[i*width*colourspace+j*colourspace] = png_ptr->palette[row_pointers[i][j]].red; |
87 |
-- pixels[i*width*colourspace+j*colourspace+1] = png_ptr->palette[row_pointers[i][j]].green; |
88 |
-- pixels[i*width*colourspace+j*colourspace+2] = png_ptr->palette[row_pointers[i][j]].blue; |
89 |
-- if(row_pointers[i][j]<png_ptr->num_trans){ |
90 |
-+ pixels[i*width*colourspace+j*colourspace] = palette[row_pointers[i][j]].red; |
91 |
-+ pixels[i*width*colourspace+j*colourspace+1] = palette[row_pointers[i][j]].green; |
92 |
-+ pixels[i*width*colourspace+j*colourspace+2] = palette[row_pointers[i][j]].blue; |
93 |
-+ if(row_pointers[i][j]<num_trans){ |
94 |
- #if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >=4 |
95 |
-- pixels[i*width*colourspace+j*colourspace+3] = png_ptr->trans_alpha[row_pointers[i][j]]; |
96 |
-+ pixels[i*width*colourspace+j*colourspace+3] = trans_alpha[row_pointers[i][j]]; |
97 |
- #else |
98 |
- pixels[i*width*colourspace+j*colourspace+3] = png_ptr->trans[row_pointers[i][j]]; |
99 |
- #endif |
100 |
|
101 |
diff --git a/sci-chemistry/coot/files/0.6.2-mmdb-config.patch b/sci-chemistry/coot/files/0.6.2-mmdb-config.patch |
102 |
deleted file mode 100644 |
103 |
index 1d7cbd4..00000000 |
104 |
--- a/sci-chemistry/coot/files/0.6.2-mmdb-config.patch |
105 |
+++ /dev/null |
106 |
@@ -1,18 +0,0 @@ |
107 |
- macros/mmdb.m4 | 4 ++++ |
108 |
- 1 files changed, 4 insertions(+), 0 deletions(-) |
109 |
- |
110 |
-diff --git a/macros/mmdb.m4 b/macros/mmdb.m4 |
111 |
-index b477597..d05cf66 100644 |
112 |
---- a/macros/mmdb.m4 |
113 |
-+++ b/macros/mmdb.m4 |
114 |
-@@ -86,6 +86,10 @@ else |
115 |
- ac_MMDB_LDOPTS="-lmmdb -lm" |
116 |
- fi |
117 |
- |
118 |
-+PKG_CHECK_MODULES([MMDB],[mmdb >= 1.2]) |
119 |
-+ac_MMDB_LDOPTS="${MMDB_LIBS}" |
120 |
-+ac_MMDB_CXXFLAGS="${MMDB_CFLAGS}" |
121 |
-+ |
122 |
- AC_MSG_CHECKING([for MMDB]) |
123 |
- |
124 |
- LIBS="$save_LIBS $ac_MMDB_LDOPTS" |
125 |
|
126 |
diff --git a/sci-chemistry/coot/files/0.6.2-ssm.patch b/sci-chemistry/coot/files/0.6.2-ssm.patch |
127 |
deleted file mode 100644 |
128 |
index c801da7..00000000 |
129 |
--- a/sci-chemistry/coot/files/0.6.2-ssm.patch |
130 |
+++ /dev/null |
131 |
@@ -1,56 +0,0 @@ |
132 |
- macros/mmdb-ssm.m4 | 42 +----------------------------------------- |
133 |
- 1 files changed, 1 insertions(+), 41 deletions(-) |
134 |
- |
135 |
-diff --git a/macros/mmdb-ssm.m4 b/macros/mmdb-ssm.m4 |
136 |
-index 1937a16..6ef547c 100644 |
137 |
---- a/macros/mmdb-ssm.m4 |
138 |
-+++ b/macros/mmdb-ssm.m4 |
139 |
-@@ -22,47 +22,7 @@ |
140 |
- AC_DEFUN([AM_WITH_MMDBSSM], |
141 |
- [AC_PROVIDE([AM_USE_MMDBSSM]) |
142 |
- |
143 |
-- |
144 |
--AC_ARG_WITH(ssmlib-prefix, |
145 |
-- AC_HELP_STRING( [--with-ssmlib-prefix=PFX], [Prefix where SSMLib has been installed] ), |
146 |
-- [ with_ssmlib_prefix="$withval" ], |
147 |
-- with_ssmlib_prefix="") |
148 |
-- |
149 |
--AC_MSG_CHECKING([for SSMLib]) |
150 |
-- |
151 |
--if test x$with_ssmlib_prefix != x; then |
152 |
-- |
153 |
-- MMDBSSM_CXXFLAGS="-DHAVE_SSMLIB" |
154 |
-- MMDBSSM_LIBS="-L$with_ssmlib_prefix/$acl_libdirstem -lssm" |
155 |
-- |
156 |
--ac_mmdb_dirs=' |
157 |
--. |
158 |
--include |
159 |
--include/ssm |
160 |
--include/mmdb |
161 |
--lib |
162 |
--src |
163 |
--lib/src |
164 |
--lib/src/mmdb' |
165 |
-- |
166 |
-- for ac_dir in $ac_mmdb_dirs; do |
167 |
-- if test -r "$with_ssmlib_prefix/$ac_dir/ssm_superpose.h"; then |
168 |
-- ac_MMDBSSM_CXXFLAGS="-I$with_ssmlib_prefix/$ac_dir" |
169 |
-- break |
170 |
-- fi |
171 |
-- done |
172 |
-- |
173 |
-- MMDBSSM_CXXFLAGS="$MMDBSSM_CXXFLAGS $ac_MMDBSSM_CXXFLAGS" |
174 |
-- |
175 |
--else |
176 |
-- |
177 |
-- MMDBSSM_CXXFLAGS="" |
178 |
-- MMDBSSM_LIBS="" |
179 |
-- with_ssmlib_prefix=no |
180 |
-- |
181 |
--fi |
182 |
-- |
183 |
--AC_MSG_RESULT([$with_ssmlib_prefix]) |
184 |
-+PKG_CHECK_MODULES([MMDBSSM],[ssm]) |
185 |
- |
186 |
- AC_SUBST(MMDBSSM_CXXFLAGS) |
187 |
- AC_SUBST(MMDBSSM_LIBS) |
188 |
|
189 |
diff --git a/sci-chemistry/coot/files/0.6.2-test.patch b/sci-chemistry/coot/files/0.6.2-test.patch |
190 |
deleted file mode 100644 |
191 |
index 8cb79e6..00000000 |
192 |
--- a/sci-chemistry/coot/files/0.6.2-test.patch |
193 |
+++ /dev/null |
194 |
@@ -1,16 +0,0 @@ |
195 |
- src/testing.cc | 4 +++- |
196 |
- 1 files changed, 3 insertions(+), 1 deletions(-) |
197 |
- |
198 |
-diff --git a/src/testing.cc b/src/testing.cc |
199 |
-index f767bf6..097b9b9 100644 |
200 |
---- a/src/testing.cc |
201 |
-+++ b/src/testing.cc |
202 |
-@@ -86,6 +86,8 @@ std::string greg_test(const std::string &file_name) { |
203 |
- const char *c = getenv("COOT_TEST_DATA_DIR"); |
204 |
- if (c) { |
205 |
- dd = c; |
206 |
-+ dd += "/"; |
207 |
-+ dd += file_name; |
208 |
- } else { |
209 |
- const char *d = getenv("HOME"); |
210 |
- if (d) { |
211 |
|
212 |
diff --git a/sci-chemistry/coot/files/coot-0.7-clipper-config.patch b/sci-chemistry/coot/files/coot-0.7-clipper-config.patch |
213 |
deleted file mode 100644 |
214 |
index 311b5e8..00000000 |
215 |
--- a/sci-chemistry/coot/files/coot-0.7-clipper-config.patch |
216 |
+++ /dev/null |
217 |
@@ -1,17 +0,0 @@ |
218 |
- macros/clipper.m4 | 3 +++ |
219 |
- 1 files changed, 3 insertions(+), 0 deletions(-) |
220 |
- |
221 |
-diff --git a/macros/clipper.m4 b/macros/clipper.m4 |
222 |
-index 0bf087a..d0e8b6b 100644 |
223 |
---- a/macros/clipper.m4 |
224 |
-+++ b/macros/clipper.m4 |
225 |
-@@ -98,6 +98,9 @@ case $ac_cv_build_alias in |
226 |
- ;; |
227 |
- esac |
228 |
- |
229 |
-+CLIPPER_CXXFLAGS=`clipper-config --cflags` |
230 |
-+CLIPPER_LDOPTS=`clipper-config --libs` |
231 |
-+ |
232 |
- AC_MSG_CHECKING([for Clipper]) |
233 |
- |
234 |
- LIBS="$save_LIBS $CLIPPER_LDOPTS" |
235 |
|
236 |
diff --git a/sci-chemistry/coot/files/coot-0.7-goocanvas.patch b/sci-chemistry/coot/files/coot-0.7-goocanvas.patch |
237 |
deleted file mode 100644 |
238 |
index ce0d4a0..00000000 |
239 |
--- a/sci-chemistry/coot/files/coot-0.7-goocanvas.patch |
240 |
+++ /dev/null |
241 |
@@ -1,25 +0,0 @@ |
242 |
-Index: macros/goo-canvas.m4 |
243 |
-=================================================================== |
244 |
---- macros/goo-canvas.m4 (revision 3307) |
245 |
-+++ macros/goo-canvas.m4 (working copy) |
246 |
-@@ -56,9 +56,9 @@ |
247 |
- fi |
248 |
- fi |
249 |
- |
250 |
--AC_MSG_CHECKING([for Goocanvas]) |
251 |
-+PKG_CHECK_MODULES(GOOCANVAS, goocanvas) |
252 |
- |
253 |
--LIBS="$saved_LIBS $GOOCANVAS_LDOPTS $GTK_LIBS" |
254 |
-+LIBS="$saved_LIBS $GOOCANVAS_LIBS $GTK_LIBS" |
255 |
- CXXFLAGS="$saved_CXXFLAGS $GOOCANVAS_CFLAGS $GTK_CFLAGS" |
256 |
- # |
257 |
- # AC_TRY_LINK uses the c compiler (set by AC_LANG), so we will |
258 |
-@@ -76,7 +76,7 @@ |
259 |
- if test x$have_goocanvas = xyes; then |
260 |
- |
261 |
- GOOCANVAS_CFLAGS="$GOOCANVAS_CFLAGS" |
262 |
-- GOOCANVAS_LIBS="$GOOCANVAS_LDOPTS" |
263 |
-+ GOOCANVAS_LIBS="$GOOCANVAS_LIBS" |
264 |
- |
265 |
- ifelse([$1], , :, [$1]) |
266 |
- |
267 |
|
268 |
diff --git a/sci-chemistry/coot/files/coot-0.7-mmdb-config.patch b/sci-chemistry/coot/files/coot-0.7-mmdb-config.patch |
269 |
deleted file mode 100644 |
270 |
index b3b66ab..00000000 |
271 |
--- a/sci-chemistry/coot/files/coot-0.7-mmdb-config.patch |
272 |
+++ /dev/null |
273 |
@@ -1,18 +0,0 @@ |
274 |
-Index: macros/mmdb.m4 |
275 |
-=================================================================== |
276 |
---- macros/mmdb.m4 (revision 3579) |
277 |
-+++ macros/mmdb.m4 (working copy) |
278 |
-@@ -86,8 +86,12 @@ |
279 |
- ac_MMDB_LDOPTS="-lmmdb -lm" |
280 |
- fi |
281 |
- |
282 |
--AC_MSG_CHECKING([for MMDB]) |
283 |
-+PKG_CHECK_MODULES([MMDB],[mmdb >= 1.2]) |
284 |
-+ac_MMDB_LDOPTS="${MMDB_LIBS}" |
285 |
-+ac_MMDB_CXXFLAGS="${MMDB_CFLAGS}" |
286 |
- |
287 |
-+AC_MSG_CHECKING([for CISPEP in MMDB]) |
288 |
-+ |
289 |
- LIBS="$save_LIBS $ac_MMDB_LDOPTS" |
290 |
- CXXFLAGS="$save_CXXFLAGS $ac_MMDB_CXXFLAGS" |
291 |
- # |
292 |
|
293 |
diff --git a/sci-chemistry/coot/files/coot-0.7-ssm.patch b/sci-chemistry/coot/files/coot-0.7-ssm.patch |
294 |
deleted file mode 100644 |
295 |
index c801da7..00000000 |
296 |
--- a/sci-chemistry/coot/files/coot-0.7-ssm.patch |
297 |
+++ /dev/null |
298 |
@@ -1,56 +0,0 @@ |
299 |
- macros/mmdb-ssm.m4 | 42 +----------------------------------------- |
300 |
- 1 files changed, 1 insertions(+), 41 deletions(-) |
301 |
- |
302 |
-diff --git a/macros/mmdb-ssm.m4 b/macros/mmdb-ssm.m4 |
303 |
-index 1937a16..6ef547c 100644 |
304 |
---- a/macros/mmdb-ssm.m4 |
305 |
-+++ b/macros/mmdb-ssm.m4 |
306 |
-@@ -22,47 +22,7 @@ |
307 |
- AC_DEFUN([AM_WITH_MMDBSSM], |
308 |
- [AC_PROVIDE([AM_USE_MMDBSSM]) |
309 |
- |
310 |
-- |
311 |
--AC_ARG_WITH(ssmlib-prefix, |
312 |
-- AC_HELP_STRING( [--with-ssmlib-prefix=PFX], [Prefix where SSMLib has been installed] ), |
313 |
-- [ with_ssmlib_prefix="$withval" ], |
314 |
-- with_ssmlib_prefix="") |
315 |
-- |
316 |
--AC_MSG_CHECKING([for SSMLib]) |
317 |
-- |
318 |
--if test x$with_ssmlib_prefix != x; then |
319 |
-- |
320 |
-- MMDBSSM_CXXFLAGS="-DHAVE_SSMLIB" |
321 |
-- MMDBSSM_LIBS="-L$with_ssmlib_prefix/$acl_libdirstem -lssm" |
322 |
-- |
323 |
--ac_mmdb_dirs=' |
324 |
--. |
325 |
--include |
326 |
--include/ssm |
327 |
--include/mmdb |
328 |
--lib |
329 |
--src |
330 |
--lib/src |
331 |
--lib/src/mmdb' |
332 |
-- |
333 |
-- for ac_dir in $ac_mmdb_dirs; do |
334 |
-- if test -r "$with_ssmlib_prefix/$ac_dir/ssm_superpose.h"; then |
335 |
-- ac_MMDBSSM_CXXFLAGS="-I$with_ssmlib_prefix/$ac_dir" |
336 |
-- break |
337 |
-- fi |
338 |
-- done |
339 |
-- |
340 |
-- MMDBSSM_CXXFLAGS="$MMDBSSM_CXXFLAGS $ac_MMDBSSM_CXXFLAGS" |
341 |
-- |
342 |
--else |
343 |
-- |
344 |
-- MMDBSSM_CXXFLAGS="" |
345 |
-- MMDBSSM_LIBS="" |
346 |
-- with_ssmlib_prefix=no |
347 |
-- |
348 |
--fi |
349 |
-- |
350 |
--AC_MSG_RESULT([$with_ssmlib_prefix]) |
351 |
-+PKG_CHECK_MODULES([MMDBSSM],[ssm]) |
352 |
- |
353 |
- AC_SUBST(MMDBSSM_CXXFLAGS) |
354 |
- AC_SUBST(MMDBSSM_LIBS) |