[kmymoney4] [Bug 382218] GPG encryption could not be enabled

Ralf Habacker bugzilla_noreply at kde.org
Tue Jul 11 07:18:26 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=382218

--- Comment #2 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Jack from comment #1)
> On Linux, you can just have KMM depend on GnuPG.  
> On Windows, with the move to a single installer for a single application, 
> I see no way to deal with dependencies like this. 
yes, with setup.exe installers all stuff need to be bundled into the installer
or portable packag. There are components possible in the installer to let user
install only a subset.

Windows installers build with opensuse build system are snaphots of installed
packages including all their dependencies. See
https://build.opensuse.org/package/view_file/home:rhabacker:branches:windows:mingw:win32:kmymoney/mingw32-kmymoney-installer/mingw32-kmymoney-installer.spec?expand=1 

where the following list specifies the packages to be included into the
installer or portable packages.

BuildRequires:  mingw32-filesystem
BuildRequires:  mingw32-gpg2
BuildRequires:  mingw32-gpgme
BuildRequires:  mingw32-kdebase4-runtime
BuildRequires:  mingw32-kdelibs4-lang
BuildRequires:  mingw32-khelpcenter-online
BuildRequires:  mingw32-kmymoney
BuildRequires:  mingw32-libqt4-tools-dbus
BuildRequires:  mingw32-dbus-1 >= 1.10.6
BuildRequires:  mingw32-libqt4-sql
BuildRequires:  mingw32-libqt4-sql-sqlite
BuildRequires:  mingw32-libqt4-sql-mysql
# for debug package
BuildRequires:  mingw32-aqbanking-debug
BuildRequires:  mingw32-gpgme-debug
BuildRequires:  mingw32-gwenhywfar-debug
BuildRequires:  mingw32-kdebase4-runtime-debug
BuildRequires:  mingw32-kdepimlibs4-debug
BuildRequires:  mingw32-khelpcenter-online-debug
BuildRequires:  mingw32-kmymoney-debug
BuildRequires:  mingw32-ktoblzcheck-debug
BuildRequires:  mingw32-libalkimia-debug
BuildRequires:  mingw32-libical-debug
BuildRequires:  mingw32-libiconv-debug
BuildRequires:  mingw32-libofx-debug
BuildRequires:  mingw32-opensp-debug

OBS currently provides about 380 packages see
https://build.opensuse.org/project/monitor/windows:mingw:win32

> I don't know if the Windows build of KMM could be made to include GnuPG
Thanks to the presence of mingw32-gpg2 package it could.

> or if it would really be appropriate even if it could.

There is still some work required to finish this support. As an example gnupg
requires pinentry to provide passphrase dialogs which has not been ported to
mingw on obs. There are already compiled executables provided by the windows
gnupg port which could be used at first, but in the long run. 
Additional I recognized that users are required to generate a public/private
key pair by hand (by running gpg2 --gen-key) or install an available key pair.
Without kmymoney does not allow to enable gpg support.

> I suspect that depending on a native Windows GnuPG would be even harder and less KDE like.
yes, but is not required as mentioned above.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list