mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-05 08:02:11 +00:00
Generate PNG files
This commit is contained in:
parent
568f518feb
commit
44b1ac8dcc
@ -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
|
||||||
|
@ -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:
|
||||||
|
BIN
logo/qpdf.png
BIN
logo/qpdf.png
Binary file not shown.
Before Width: | Height: | Size: 8.4 KiB |
Loading…
Reference in New Issue
Block a user