Fix problems with missing safety checks in Render::fillBuffer and pdfcomic

This commit is contained in:
Felix Kauselmann
2017-09-27 22:00:00 +02:00
commit 958003f52f
1042 changed files with 102627 additions and 0 deletions

20
mktarball.sh Executable file
View File

@ -0,0 +1,20 @@
#! /bin/bash
#Script to create a source tarball for YACReader distribution and packaging
#This should be run from YACReaders top source directory
YACVERSION=8.6.0-dev
if [ ! -f "yacreader-${YACVERSION}-src.tar.xz" ]
then
echo "Building source tarball"
else
echo "Updating source tarball"
rm yacreader-${YACVERSION}-src.tar* #delete old tarball, since tar can't update compressed archives
fi
hg archive -t tar -p yacreader-${YACVERSION} -X "dependencies/{unarr,pdfium,poppler}"\
yacreader-${YACVERSION}-src.tar
xz -c yacreader-${YACVERSION}-src.tar > yacreader-${YACVERSION}-src.tar.xz
rm yacreader-${YACVERSION}-src.tar
#Calculate checksum to enable packagers to verify whether they are using the original tarball.
md5sum yacreader-${YACVERSION}-src.tar.xz > yacreader-${YACVERSION}-src.tar.xz.md5sum