Commit graph

31 commits

Author SHA1 Message Date
Alexander van Gessel
cdd37fc14e Delete the broken file list when it's no longer needed 2013-08-23 20:36:35 +02:00
Nils Kneuper
642c3cf602 applied patch #2663 by alarantalara: Make wesnoth-optipng work on systems with BSD stat 2011-07-24 10:28:37 +00:00
Nils Kneuper
1b081b5c32 automatically remove the files with pixel differences...
...from the changed file list (making sure that those can't end
committed)
2011-03-11 14:31:18 +00:00
Karol Nowak
1bf1598f0c Save the list of broken files to a temporary file. 2011-02-27 13:32:00 +00:00
Karol Nowak
93c0f93339 Integrated compare_images.py with wesnoth-optipng.
Currently it's optional and won't stop processing if any
differences are found.
2011-02-27 11:10:15 +00:00
Ignacio R. Morelle
c505817a2d wesnoth-optipng: Update links to OptiPNG's website 2010-12-09 13:39:25 +00:00
Alexander van Gessel
17c242a9f1 Prevent wesnoth-optipng from turning RGBA images into grayscale+alpha 2010-06-14 00:49:25 +01:00
Chusslove Illich
14d29ec9bd Optional processing of files given on command line,
...instead of all files in CWD.
2010-01-16 20:12:27 +00:00
Nils Kneuper
26c90f8527 fixed script so that the test really works... 2009-07-03 19:12:06 +00:00
Ignacio R. Morelle
e04bef763c Fix a '[test: command not found' error on wesnoth-optipng:38.
Ivanovic, please check the change doesn't change the intended behavior.
2009-07-02 12:24:24 +00:00
Nils Kneuper
11fcd030f6 alphabetical sorting for wesnoth-optipng help output 2009-04-29 17:38:44 +00:00
Nils Kneuper
6c4c3cd3a8 apply patch #1171 by Polarina...
...(Automatic CPU count detection for utils/wesnoth-optipng)
2009-04-29 17:36:46 +00:00
Nils Kneuper
f54d9ff134 read the -r param, it is needed here when only one thread is used...
explicitly state that bin/bash is needed, not 100% sure if it is
supposed to work if a plain sh is used...
2009-02-22 23:08:09 +00:00
Nils Kneuper
c3f66eb5a1 make waiting a little more aggressive 2009-02-22 22:56:53 +00:00
Nils Kneuper
0a577fc163 remove '-r' option from the 'jobs' call...
...since at least Espreon has problems with it

reduce default number of threads to use to just one
2009-02-22 22:30:45 +00:00
Nils Kneuper
1aeefd33b1 add some output to mark in which part of the script we currently are 2009-02-22 21:22:23 +00:00
Nils Kneuper
9cfa3dfce4 reduce output when no change happend 2009-02-22 21:19:03 +00:00
Nils Kneuper
c884748ec1 some more optimizations to the script, so that stats actually do work again 2009-02-22 21:13:04 +00:00
Nils Kneuper
2300b7a260 change optipng script to allow parallization 2009-02-22 20:50:45 +00:00
Ignacio R. Morelle
4b9d25a5cc Brought back and changed the testing mechanism for the different tools.
Now it just depends on the 'which' command's return value.
2009-01-23 20:10:15 +00:00
Ignacio R. Morelle
24924d0203 Disable the advdef, convert and optipng existance checks for Ivanovic. 2009-01-23 19:42:34 +00:00
Alexander van Gessel
3df044e3ff State filesizes in proper SI-notation. 2008-11-03 04:02:36 +01:00
Ignacio R. Morelle
803e23dbca Revert 2008-11-03T00:20:15Z!shadowm@wesnoth.org. 2008-11-03 00:54:59 +00:00
Ignacio R. Morelle
7d58c338f8 Revert 2008-09-08T09:16:41Z!crazy-ivanovic@gmx.net, 2008-09-07T01:36:56Z!shadowm@wesnoth.org
(patch attached to bug #11676) and restore the old wesnoth-optipng
behavior (doesn't use advcomp)
2008-11-03 00:20:15 +00:00
Nils Kneuper
ada2149f15 short clarification in dep listing 2008-09-08 09:16:41 +00:00
Ignacio R. Morelle
48310fdd69 Apply changes suggested by bug #11676 to wesnoth-optipng.
This introduces the advcomp dependency
(http://advancemame.sourceforge.net/comp-readme.html) for running this
script.

I also made a few additional changes of my own in this revision.

Beware Ivanovic. :-)
2008-09-07 01:36:56 +00:00
Gunter Labes
ac432ae132 return to using sh after fixing the signals 2008-08-31 22:23:55 +00:00
Gunter Labes
e56cb08ae3 don't try to trap SIGKILL but SIGHUP instead 2008-08-31 21:37:30 +00:00
Gunter Labes
be64181bb7 run the script with bash since we're really expecting bash not sh 2008-08-31 21:25:58 +00:00
Ignacio R. Morelle
0d68aacd5e Added probes for required runtime environment 2008-03-24 13:36:44 +00:00
Ignacio R. Morelle
de51fd236e New wesnoth-optipng UNIX sh script,
...which supersedes the Ruby-based wesnoth-pngcrush script
2008-03-19 11:26:31 +00:00