Debian Codegraph @

debian/patches/0018-Finalize-fixing-error-in-html.patch

raw symbols SCIP
1 From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <[email protected]>
2 Date: Mon, 11 Jan 2021 22:42:36 +0000
3 Subject: Finalize fixing error in html
4
5 Forwarded: no
6 ---
7 www/advanced-unix-installation.html | 3 +-
8 www/api.html | 2 +-
9 www/architecture.html | 125 ++++++++++++++----------------------
10 www/binary-releases.html | 2 +-
11 www/command-line-options.html | 5 +-
12 www/defines.html | 24 ++++---
13 www/download.html | 2 +-
14 www/support.html | 2 +-
15 www/webp.html | 1 +
16 9 files changed, 66 insertions(+), 100 deletions(-)
17
18 Index: imagemagick/www/advanced-unix-installation.html
19 ===================================================================
20 --- imagemagick.orig/www/advanced-unix-installation.html 2026-07-07 10:22:12.112989341 +0200
21 +++ imagemagick/www/advanced-unix-installation.html 2026-07-07 10:22:12.108875986 +0200
22 @@ -642,8 +642,7 @@
23 </footer>
24
25 <!-- Javascript assets -->
26 - <script>window.jQuery || document.write('&lt;script src="assets/jquery.slim.min.js"&gt;&lt;\/script&gt;')</script><script src="assets/bootstrap.bundle.min.js" crossorigin="anonymous">
27 - </script>
28 + <script>window.jQuery || document.write('&lt;script src="assets/jquery.slim.min.js"&gt;&lt;\/script&gt;')</script><script src="assets/bootstrap.bundle.min.js" crossorigin="anonymous" />
29 </body>
30 </html>
31 <!-- Magick Cache 13th February 2021 11:28 -->
32 \ No newline at end of file
33 Index: imagemagick/www/api.html
34 ===================================================================
35 --- imagemagick.orig/www/api.html 2026-07-07 10:22:12.112989341 +0200
36 +++ imagemagick/www/api.html 2026-07-07 10:22:12.108990208 +0200
37 @@ -218,7 +218,7 @@
38 </footer>
39
40 <!-- Javascript assets -->
41 - <script src="assets/magick.js" crossorigin="anonymous"></script>
42 + <script src="assets/magick.js" crossorigin="anonymous" />
43 <script>window.jQuery || document.write('&lt;script src="assets/jquery.min.js">&lt;\/script>')</script>
44 </body>
45 </html>
46 Index: imagemagick/www/architecture.html
47 ===================================================================
48 --- imagemagick.orig/www/architecture.html 2026-07-07 10:22:12.112989341 +0200
49 +++ imagemagick/www/architecture.html 2026-07-07 10:22:12.109160308 +0200
50 @@ -1457,63 +1457,40 @@
51 % o exception: return any errors or warnings in this structure.
52 %
53 */
54 -
55 -typedef struct _StatisticsInfo
56 +ModuleExport size_t analyzeImage(Image **images,const int argc,const char **argv,
57 + ExceptionInfo *exception)
58 {
59 + char
60 + text[MaxTextExtent];
61 +
62 double
63 area,
64 brightness,
65 - mean,
66 - standard_deviation,
67 - sum[5],
68 - kurtosis,
69 - skewness;
70 -} StatisticsInfo;
71 -
72 -static inline int GetMagickNumberThreads(const Image *source,
73 - const Image *destination,const size_t chunk,int multithreaded)
74 -{
75 -#define MagickMax(x,y) (((x) > (y)) ? (x) : (y))
76 -#define MagickMin(x,y) (((x) &lt; (y)) ? (x) : (y))
77 -
78 - /*
79 - Number of threads bounded by the amount of work and any thread resource
80 - limit. The limit is 2 if the pixel cache type is not memory or
81 - memory-mapped.
82 - */
83 - if (multithreaded == 0)
84 - return(1);
85 - if (((GetImagePixelCacheType(source) != MemoryCache) &&
86 - (GetImagePixelCacheType(source) != MapCache)) ||
87 - ((GetImagePixelCacheType(destination) != MemoryCache) &&
88 - (GetImagePixelCacheType(destination) != MapCache)))
89 - return(MagickMax(MagickMin(GetMagickResourceLimit(ThreadResource),2),1));
90 - return(MagickMax(MagickMin((ssize_t) GetMagickResourceLimit(ThreadResource),
91 - (ssize_t) (chunk)/64),1));
92 -}
93 -
94 -ModuleExport size_t analyzeImage(Image **images,const int argc,
95 - const char **argv,ExceptionInfo *exception)
96 -{
97 -#define AnalyzeImageFilterTag "Filter/Analyze"
98 -#define magick_number_threads(source,destination,chunk,multithreaded) \
99 - num_threads(GetMagickNumberThreads(source,destination,chunk,multithreaded))
100 -
101 - char
102 - text[MagickPathExtent];
103 + brightness_mean,
104 + brightness_standard_deviation,
105 + brightness_kurtosis,
106 + brightness_skewness,
107 + brightness_sum_x,
108 + brightness_sum_x2,
109 + brightness_sum_x3,
110 + brightness_sum_x4,
111 + hue,
112 + saturation,
113 + saturation_mean,
114 + saturation_standard_deviation,
115 + saturation_kurtosis,
116 + saturation_skewness,
117 + saturation_sum_x,
118 + saturation_sum_x2,
119 + saturation_sum_x3,
120 + saturation_sum_x4;
121
122 Image
123 *image;
124
125 - MagickBooleanType
126 - status;
127 -
128 - MagickOffsetType
129 - progress;
130 -
131 assert(images != (Image **) NULL);
132 assert(*images != (Image *) NULL);
133 - assert((*images)->signature == MagickCoreSignature);
134 + assert((*images)-&gt;signature == MagickSignature);
135 (void) argc;
136 (void) argv;
137 status=MagickTrue;
138 @@ -1523,40 +1500,42 @@
139 CacheView
140 *image_view;
141
142 - double
143 - area;
144 + MagickBooleanType
145 + status;
146
147 ssize_t
148 y;
149
150 - StatisticsInfo
151 - brightness,
152 - saturation;
153 -
154 - if (status == MagickFalse)
155 - continue;
156 - (void) memset(&brightness,0,sizeof(brightness));
157 - (void) memset(&saturation,0,sizeof(saturation));
158 + brightness_sum_x=0.0;
159 + brightness_sum_x2=0.0;
160 + brightness_sum_x3=0.0;
161 + brightness_sum_x4=0.0;
162 + brightness_mean=0.0;
163 + brightness_standard_deviation=0.0;
164 + brightness_kurtosis=0.0;
165 + brightness_skewness=0.0;
166 + saturation_sum_x=0.0;
167 + saturation_sum_x2=0.0;
168 + saturation_sum_x3=0.0;
169 + saturation_sum_x4=0.0;
170 + saturation_mean=0.0;
171 + saturation_standard_deviation=0.0;
172 + saturation_kurtosis=0.0;
173 + saturation_skewness=0.0;
174 + area=0.0;
175 status=MagickTrue;
176 image_view=AcquireVirtualCacheView(image,exception);
177 #if defined(MAGICKCORE_OPENMP_SUPPORT)
178 - #pragma omp parallel for schedule(static) \
179 - shared(progress,status,brightness,saturation) \
180 - magick_number_threads(image,image,image->rows,1)
181 + #pragma omp parallel for schedule(static,4) shared(status)
182 #endif
183 - for (y=0; y &lt; (ssize_t) image->rows; y++)
184 + for (y=0; y &lt; (ssize_t) image-&gt;rows; y++)
185 {
186 const Quantum
187 *p;
188
189 - ssize_t
190 - i,
191 + register ssize_t
192 x;
193
194 - StatisticsInfo
195 - local_brightness,
196 - local_saturation;
197 -
198 if (status == MagickFalse)
199 continue;
200 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
201 @@ -1565,9 +1544,7 @@
202 status=MagickFalse;
203 continue;
204 }
205 - (void) memset(&local_brightness,0,sizeof(local_brightness));
206 - (void) memset(&local_saturation,0,sizeof(local_saturation));
207 - for (x=0; x &lt; (ssize_t) image->columns; x++)
208 + for (x=0; x &lt; (ssize_t) image-&gt;columns; x++)
209 {
210 double
211 b,
212 @@ -1584,14 +1561,6 @@
213 local_saturation.sum[i]+=pow(s,(double) i);
214 p+=GetPixelChannels(image);
215 }
216 -#if defined(MAGICKCORE_OPENMP_SUPPORT)
217 - #pragma omp critical (analyzeImage)
218 -#endif
219 - for (i=1; i &lt;= 4; i++)
220 - {
221 - brightness.sum[i]+=local_brightness.sum[i];
222 - saturation.sum[i]+=local_saturation.sum[i];
223 - }
224 }
225 image_view=DestroyCacheView(image_view);
226 area=(double) image->columns*image->rows;
227 Index: imagemagick/www/binary-releases.html
228 ===================================================================
229 --- imagemagick.orig/www/binary-releases.html 2026-07-07 10:22:12.112989341 +0200
230 +++ imagemagick/www/binary-releases.html 2026-07-07 10:22:12.109344417 +0200
231 @@ -488,7 +488,7 @@
232 </footer>
233
234 <!-- Javascript assets -->
235 - <script src="assets/magick.js" crossorigin="anonymous"></script>
236 + <script src="assets/magick.js" crossorigin="anonymous" />
237 <script>window.jQuery || document.write('&lt;script src="assets/jquery.min.js">&lt;\/script>')</script>
238 </body>
239 </html>
240 Index: imagemagick/www/command-line-options.html
241 ===================================================================
242 --- imagemagick.orig/www/command-line-options.html 2026-07-07 10:22:12.112989341 +0200
243 +++ imagemagick/www/command-line-options.html 2026-07-07 10:22:12.109836422 +0200
244 @@ -3377,8 +3377,6 @@
245 <p>For more information, see the webpage, <a href="../www/cipher.html">ImageMagick: Encipher or
246 Decipher an Image</a>.</p>
247
248 -
249 -
250 <div style="margin: auto;">
251 <h2><a class="anchor" id="encoding"></a>-encoding <var>type</var></h2>
252 </div>
253 @@ -8030,7 +8028,8 @@
254 <h2><a class="anchor" id="white-balance"></a>-white-balance</h2>
255 </div>
256 <p>Applies white balancing to an image according to a grayworld assumption in the LAB colorspace.</p>
257 -<p>Use <samp>-define white-balance:vibrance=<em>value{%}</em></kdb> to change the color vibrance of the a &amp; b channels.</p>
258 +
259 +<p>Use <kbd>-define white-balance:vibrance=<em>value{%}</em></kbd> to change the color vibrance of the a &amp; b channels.</p>
260
261 <div style="margin: auto;">
262 <h2><a class="anchor" id="white-point"></a>-white-point <var>x,y</var></h2>
263 Index: imagemagick/www/defines.html
264 ===================================================================
265 --- imagemagick.orig/www/defines.html 2026-07-07 10:22:12.112989341 +0200
266 +++ imagemagick/www/defines.html 2026-07-07 10:22:12.110332421 +0200
267 @@ -173,7 +173,7 @@
268 </tr>
269
270 <tr>
271 - <td colspan=2><p></p></td>
272 + <td colspan="2"><p></p></td>
273 </tr>
274
275 <tr>
276 @@ -806,11 +806,11 @@
277 </tr>
278
279 <tr>
280 - <td colspan=2><p></p></td>
281 + <td colspan="2"><p></p></td>
282 </tr>
283
284 <tr>
285 - <td colspan=2><p></p></td>
286 + <td colspan="2"><p></p></td>
287 </tr>
288
289 <tr>
290 @@ -818,7 +818,7 @@
291 </tr>
292
293 <tr>
294 - <td colspan=2><p></p></td>
295 + <td colspan="2"><p></p></td>
296 </tr>
297
298 <tr>
299 @@ -1371,7 +1371,6 @@
300 <td>png:exclude-chunk=<var>value</var></td>
301 <td> </td>
302 </tr>
303 -
304 <tr>
305 <td>png:include-chunk=<var>value</var></td>
306 <td>ancillary chunks to be excluded from or included in PNG output.
307 @@ -1715,15 +1714,15 @@
308 </tr>
309
310 <tr>
311 - <td colspan=2><p></p></td>
312 + <td colspan="2"><p></p></td>
313 </tr>
314
315 <tr>
316 - <td colspan=2><p></p></td>
317 + <td colspan="2"><p></p></td>
318 </tr>
319
320 <tr>
321 - <th align="center" colspan=2>PSEUDO-IMAGE FORMATS</th>
322 + <th align="center" colspan="2">PSEUDO-IMAGE FORMATS</th>
323 </tr>
324
325 <tr>
326 @@ -1745,7 +1744,6 @@
327 clockwise positive manner from its normal X-Y orientation.
328 Supported in Imagemagick 6.9.2-5.</td>
329 </tr>
330 -
331 <tr>
332 <td>gradient:bounding-box=<var>WxH+X+Y</var></td>
333 <td>Limit the gradient to a larger or smaller region than
334 @@ -1908,19 +1906,19 @@
335 </tr>
336
337 <tr>
338 - <td colspan=2><p></p></td>
339 + <td colspan="2"><p></p></td>
340 </tr>
341
342 <tr>
343 - <td colspan=2><p></p></td>
344 + <td colspan="2"><p></p></td>
345 </tr>
346
347 <tr>
348 - <th align="center" colspan=2>Identify Defines</th>
349 + <th align="center" colspan="2">Identify Defines</th>
350 </tr>
351
352 <tr>
353 - <td colspan=2><p></p></td>
354 + <td colspan="2"><p></p></td>
355 </tr>
356
357 <tr>
358 Index: imagemagick/www/download.html
359 ===================================================================
360 --- imagemagick.orig/www/download.html 2026-07-07 10:22:12.112989341 +0200
361 +++ imagemagick/www/download.html 2026-07-07 10:22:12.110494036 +0200
362 @@ -340,7 +340,7 @@
363 <td><a href="../archive/binaries/ImageMagick-x86_64-apple-darwin20.1.0.tar.gz">ImageMagick-x86_64-apple-darwin20.1.0.tar.gz</a></td>
364 <td>macOS High Sierra</td>
365 </tr>
366 - <tbody>
367 + </tbody>
368 </table></div>
369
370 <p>Verify its <a href="../archive/binaries/digest.rdf">message digest</a>.</p>
371 Index: imagemagick/www/support.html
372 ===================================================================
373 --- imagemagick.orig/www/support.html 2026-07-07 10:22:12.112989341 +0200
374 +++ imagemagick/www/support.html 2026-07-07 10:22:12.110577037 +0200
375 @@ -179,7 +179,7 @@
376 <p>For direct monetary contributions, click on the donate button to contribute thru Paypal or with a credit card:</p>
377
378 <ul>
379 -<a href="https://www.paypal.com/biz/fund?id=9XPKRUWDXRR8J"><img "image" src="../images/donate.png" border="0" name="submit" alt="Sponsor ImageMagick" width="92" height="26"</img /></a>
380 +<a href="https://www.paypal.com/biz/fund?id=9XPKRUWDXRR8J"><img src="../images/donate.png" border="0" name="submit" alt="Sponsor ImageMagick" width="92" height="26" /></a>
381 </ul>
382
383 <h2>Bitcoin</h2>
384 Index: imagemagick/www/webp.html
385 ===================================================================
386 --- imagemagick.orig/www/webp.html 2026-07-07 10:22:12.112989341 +0200
387 +++ imagemagick/www/webp.html 2026-07-07 10:22:12.110646311 +0200
388 @@ -249,6 +249,7 @@
389 <td>use-sharp-yuv=<var>value</var></td>
390 <td>if needed, use sharp (and slow) RGB->YUV conversion.</td>
391 </tr>
392 +</tbody>
393 </table></div>
394 </div>
395 </div>