Home GnuPG

Add Okular to the AppImage

Description

Add Okular to the AppImage

* Makefile.am: Sort list of patches for AppImage alphabetically and add
new patches.
* configure.ac: Add needed packages. Make qtbase depend on needed
freetype.
* docker/appimage/Dockerfile: Install tiff, nss, and openjpeg2 for
poppler/okular.
* packages/gen-frameworks.sh, packages/packages.common: Add kactivities.
* patches-appimage/okular/0001-Disable-comicbook-generator.patch,
patches-appimage/okular/0001-Include-stdarg.h-for-va_start-....patch,
patches-appimage/okular/lower-cmake-requirement.patch,
patches-appimage/poppler/fix-gpg-error-include.patch: New.
* src/appimage/Makefile.am (appimage_spkgs): Add freetype.
(appimage_kdepkgs): Add threadweaver, kparts, poppler, okular,
kactivities.
(appimage_pkg_kactivities_configure, appimage_pkg_poppler_configure,
appimage_pkg_okular_configure): New.
* src/appimage/appimage.mk.in (SETVARS): Add export of FREETYPE_DIR.
* src/appimage/build-appimage.sh: Add /build/install/lib64 to
LD_LIBRARY_PATH to help linuxdeploy find some libraries installed in
lib64 instead of lib. Copy more plugins. Copy dependencies of plugins.
Copy other libraries not picked up by linuxdeploy. Patch the rpath of
all non-Qt plugins.
* src/appimage/rsync-filters/freetype.rsync-filter,
src/appimage/rsync-filters/kactivities.rsync-filter,
src/appimage/rsync-filters/kparts.rsync-filter,
src/appimage/rsync-filters/okular.rsync-filter,
src/appimage/rsync-filters/poppler.rsync-filter,
src/appimage/rsync-filters/threadweaver.rsync-filter: New.

This makes it possible to run Okular with the AppImage using
<appimagename> -c okular ...
Unfortunately, we need to add a lot of files ourselves and fix up their
rpaths manually.

Details

Provenance
ikloeckerAuthored on Jul 4 2023, 12:14 PM
Parents
rW069951e5f83e: Update to GnuPG 2.4.3
Branches
Unknown
Tags
Unknown
Tasks
T6517: Update AppImage and include Okular