Generate PNG files

This commit is contained in:
Jay Berkenbilt 2018-02-24 22:02:43 -05:00
parent 568f518feb
commit 44b1ac8dcc
3 changed files with 9 additions and 6 deletions

View File

@ -5,7 +5,7 @@ dist: trusty
install: install:
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq docbook* fop xsltproc less - sudo apt-get install -qq docbook* fop xsltproc less inkscape
script: script:
- appimage/build-appimage - appimage/build-appimage

View File

@ -91,8 +91,10 @@ rm -rf $here/build
# Build! # Build!
make -j$(nproc) make -j$(nproc)
# Run built-in QPDF checks: if [ "$SKIP_TESTS" = "" ]; then
make check # Run built-in QPDF checks:
make check
fi
# Prepare AppDir which is the basis for the AppImage: # Prepare AppDir which is the basis for the AppImage:
mkdir -p $appdir mkdir -p $appdir
@ -107,9 +109,10 @@ cd $here/build
rm -rf appdir/usr/include appdir/usr/lib/pkgconfig appdir/usr/lib/*.{a,la,so} rm -rf appdir/usr/include appdir/usr/lib/pkgconfig appdir/usr/lib/*.{a,la,so}
# Copy icon which is needed for desktop integration into place: # Copy icon which is needed for desktop integration into place:
for i in appdir/usr/share/icons/hicolor/512x512/apps; do for width in 64 128 256 512; do
mkdir -p $i dir=appdir/usr/share/icons/hicolor/${width}x${width}/apps
cp $top/logo/qpdf.png $i mkdir -p $dir
inkscape -z -e $dir/qpdf.png -w $width -b white $top/logo/qpdf.svg
done done
# Copy .desktop and .appdata.xml metadata for desktop integration into place: # Copy .desktop and .appdata.xml metadata for desktop integration into place:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB