Adds Okular as a new feature for Gpg4win
* Makefile.am (EXTRA_DIST): Add new patches. (GPG4WIN_KDEPKG): Add the new Macros. * packages/gen-frameworks.sh: Add threadweaver and kparts. * packages/packages.common (freetype, threadweaver, kparts) (poppler, okular): New. * src/Makefile.am: Add new inst files and packages. (gpg4win_pkg_qtbase_post_install): Add new weird build rule for qprintsupport. (gpg4win_pkg_okular_post_install): Remove icon-theme.cache to avoid conflict with Kleopatra. (gpg4win_pkg_poppler_configure, gpg4win_pkg_okular_configure): Disable all optionals. * src/config.nsi.in: Add new defines. * src/inst-kjobwidgets.nsi: Fix typo. * patches/kparts/0001-Dirty-hack-to-remove-KTextWidgets.patch, patches/okular/0001-WIP-Buildfix-with-reduced-depdencies.patch: New. * src/inst-freetype.nsi, src/inst-kparts.nsi, src/inst-okular.nsi, src/inst-poppler.nsi, src/inst-threadweaver.nsi, src/uninst-freetype.nsi, src/uninst-kparts.nsi, src/uninst-okular.nsi, src/uninst-poppler.nsi, src/uninst-threadweaver.nsi, src/uninst-freetype.nsi: New. * src/inst-sections.nsi: Do the section setup. * src/installer.nsi: Kill Okular and add description. * src/inst-kio.nsi, src/uninst-kio.nsi: Also install libKF5KIOGui.dll * configure.ac: Set up new packages and depdencies. * src/uninst-kleopatra.nsi: Add an additional RMDir.
This adds Okular as a running and working package. Still needs
some work for example to have the config dialog without Kleopatra
and we need the icons and translations.