SHA256
1
0
forked from pool/netpbm
netpbm/prepare-src-tarball
Petr Gajdos 20145d3c7b - updated to 10.35.80:
* asciitopgm: fix bug: memory corruption on too-long lines.
  * asciitopgm: fix bug: improper handling of blank lines.
  * pngtopnm: fix bug: -verbose reports history chunk present when
              it's really a palette.
  * bmptopnm: Don't crash on invalid zero value of image height in
              the BMP header of a compressed file.
  * bmptopnm: don't crash on large invalid value of 'colorsused' in
              the BMP header.
  * ilbmtoppm: Don't crash on image that has a transparent color
              index, but no color map.

OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=29
2011-05-24 14:06:56 +00:00

49 lines
1.2 KiB
Bash

#!/bin/sh -x
#This script is used to create netpbm-$VER-nohpcdtoppm-nojbig.tar.bz2
#from upstream svn, http://sourceforge.net/projects/netpbm/
rm -rf REMOVE
mkdir REMOVE
cd REMOVE
svn checkout http://netpbm.svn.sourceforge.net/svnroot/netpbm/super_stable netpbm
VER=`echo \`cut -f2 -d= netpbm*/Makefile.version \`|sed -e "s| |.|g"`
mv netpbm* netpbm-$VER
find . -name ".svn" -exec rm -rf {} \;
cd netpbm*/converter/ppm/hpcdtoppm || exit 1
rm -rf *
echo all: >> Makefile
echo install.bin: >> Makefile
echo install.man: >> Makefile
echo install.data: >> Makefile
echo clean: >> Makefile
cd ../../../..
cd netpbm*/converter/other/jbig || exit 1
rm -rf *
echo all: >> Makefile
echo install.bin: >> Makefile
echo install.man: >> Makefile
echo install.data: >> Makefile
echo clean: >> Makefile
cd ../../../..
cd netpbm*/converter/ppm/ppmtompeg || exit 1
rm -rf *
echo all: >> Makefile
echo install.bin: >> Makefile
echo install.man: >> Makefile
echo install.data: >> Makefile
echo clean: >> Makefile
cd ../../../..
tar cjf ../netpbm-$VER-nohpcdtoppm-nojbig.tar.bz2 *
wget -m netpbm.sourceforge.net
rm netpbm.sourceforge.net/bdffont.tgz
tar cjf ../netpbm-$VER-documentation.tar.bz2 netpbm.sourceforge.net