buildpnms.sh couldn't possibly work due to a bad path to gozer
also this script is for send-pr which is dead
This commit is contained in:
parent
596691a0df
commit
4fa8971c54
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46487
1 changed files with 0 additions and 29 deletions
|
@ -1,29 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Shell script to generate the .pnm files required for the send-pr
|
||||
# mechanism. This is not used by the build process, as it requires
|
||||
# X libraries for the gozer program; rather they are generated and
|
||||
# committed into www/en/gifs/
|
||||
|
||||
GOZER=/usr/X11R6/bin/gozer
|
||||
PNGTOPNM=/usr/local/bin/pngtopnm
|
||||
VERBOSE=/usr/bin/false
|
||||
|
||||
# Generate 8 character code from A-Z0-9 (no I,O,0,1 for clarity)
|
||||
availchars="A B C D E F G H J K L M N P Q R S T U V W X Y Z 2 3 4 5 6 7 8 9"
|
||||
|
||||
for char in ${availchars}
|
||||
do
|
||||
${VERBOSE} Making ${char}.png...
|
||||
${GOZER} -x 2 -t ${char} -f "#990000" -b "#ffffff" ${char}.png
|
||||
${VERBOSE} DONE
|
||||
${VERBOSE} Converting ${char}.png to ${char}.pnm...
|
||||
${PNGTOPNM} ${char}.png > ${char}.pnm
|
||||
${VERBOSE} DONE
|
||||
${VERBOSE} Removing ${char}.png...
|
||||
rm ${char}.png
|
||||
${VERBOSE} DONE
|
||||
done
|
||||
|
Loading…
Reference in a new issue