3
0
forked from pool/build-compare

Accepting request 46548 from openSUSE:Tools

checked in (request 46548)

OBS-URL: https://build.opensuse.org/request/show/46548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=74
This commit is contained in:
OBS User autobuild 2010-08-30 10:44:03 +00:00 committed by Git OBS Bridge
parent 63216b2331
commit b3966de8d8
2 changed files with 0 additions and 27 deletions

View File

@ -1,13 +1,3 @@
-------------------------------------------------------------------
Fri Aug 27 08:59:22 UTC 2010 - aj@suse.de
- Handle png files with timestamp if convert is installed.
-------------------------------------------------------------------
Fri Aug 27 06:50:13 UTC 2010 - aj@suse.de
- Handle one more doxygen variation.
-------------------------------------------------------------------
Sun May 23 12:19:56 UTC 2010 - aj@suse.de

View File

@ -327,21 +327,6 @@ check_single_file()
check_single_file ${file/.gz/}
return $?
;;
*png)
# Try to remove timestamps, only if convert from ImageMagick is installed
if [[ $(type -p convert) ]]; then
convert old/$file +set date:create +set date:modify old/${file/.png/_n.png}
convert old/$file +set date:create +set date:modify new/${file/.png/_n.png}
if ! cmp -s old/${file/.png/_n.png} new/${file/.png/_n.png}; then
echo "$file differs ($ftype)"
hexdump -C old/${file/.png/_n.png} > $file1
hexdump -C new/${file/.png/_n.png} > $file2
diff -u $file1 $file2 | head -n 20
return 1
fi
return 0
fi
;;
/usr/share/locale/*/LC_MESSAGES/*.mo|/usr/share/locale-bundle/*/LC_MESSAGES/*.mo)
for f in old/$file new/$file; do
sed -i -e "s,POT-Creation-Date: ....-..-.. ..:..+....,POT-Creation-Date: 1970-01-01 00:00+0000," $f
@ -354,8 +339,6 @@ check_single_file()
sed -i -e 's|^ *This document was generated by <em>Autobuild</em> on <em>.*, 20..</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html .\...</em></a>.$| This document was generated by <em>Autobuild</em> on <em>August 7, 2009</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.|' $f
# doxygen docu, e.g. in libssh and log4c
sed -i -e 's|Generated on ... ... [0-9]* [0-9]*:[0-9][0-9]:[0-9][0-9] 20[0-9][0-9] for |Generated on Mon May 10 20:45:00 2010 for |' $f
# Generated on Sat Aug 14 2010 16:49:48 for libssh
sed -i -e 's|Generated on ... ... [0-9]* 20[0-9][0-9] [0-9]*:[0-9][0-9]:[0-9][0-9] for |Generated on Mon May 10 20:45:00 2010 for |' $f
done
;;
/usr/share/javadoc/*.html |\