Add svg icon support into the appimage
- Add missing packages in Dockerfile to support svg icons. - Include needed plugins in the appimage.
This commit is contained in:
parent
0d3ea8eaa5
commit
afc6bf0907
|
@ -28,8 +28,8 @@ wget https://github.com/probonopd/linuxdeployqt/releases/download/continuous/lin
|
|||
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
|
||||
|
||||
# Fill with all deps libs and so
|
||||
./linuxdeployqt-continuous-x86_64.AppImage $APPDIR/usr/bin/kiwix-desktop -verbose=3 -bundle-non-qt-libs
|
||||
./linuxdeployqt-continuous-x86_64.AppImage $APPDIR/usr/bin/kiwix-desktop -verbose=3 -bundle-non-qt-libs -extra-plugins=imageformats,iconengines
|
||||
# Fix the RPATH of QtWebEngineProcess [TODO] Fill a issue ?
|
||||
patchelf --set-rpath '$ORIGIN/../lib' $APPDIR/usr/libexec/QtWebEngineProcess
|
||||
# Build the image.
|
||||
./linuxdeployqt-continuous-x86_64.AppImage $APPDIR/usr/share/applications/kiwix.desktop -verbose=3 -bundle-non-qt-libs -appimage
|
||||
./linuxdeployqt-continuous-x86_64.AppImage $APPDIR/usr/share/applications/kiwix.desktop -verbose=3 -bundle-non-qt-libs -extra-plugins=imageformats,iconengines -appimage
|
||||
|
|
|
@ -37,6 +37,8 @@ RUN \
|
|||
libqt5gui5 \
|
||||
qtbase5-dev \
|
||||
qtwebengine5-dev \
|
||||
libqt5svg5-dev \
|
||||
qt5-image-formats-plugins \
|
||||
qt5-default \
|
||||
# To create the appimage of kiwix-desktop
|
||||
libfuse2 \
|
||||
|
|
Loading…
Reference in New Issue