Home GnuPG

Add configure option --disable-card-manager and remove switch to gpg2.
868c227b98e5Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add configure option --disable-card-manager and remove switch to gpg2.

* configure.ac: Add option --disable-card-manager.
* src/cardman.h [!ENABLE_CARD_MANAGER]: Do not define anything.
* src/clipboard.c (file_open): Cast off_t.
* src/gpa.c (option_entries) [!ENABLE_CARD_MANAGER]: Remove option
"--card".
(quit_if_no_window) [!ENABLE_CARD_MANAGER]: Do not check for open card
manager.
(gpa_open_cardmanager) [!ENABLE_CARD_MANAGER]: Disable.
(main): Do not call gpa_switch_to_gpg2; this is now done by gpgme.  Do
not call gpa_open_cardmanager.
* src/gpa.h (gpa_windows_menu_action_entries) [!ENABLE_CARD_MANAGER]:
Remove card manger entry.
* src/gpgmetools.c (gpa_switch_to_gpg2): Remove.
* src/keytable.c (first_half_done_cb): Change wording of notice for
missing gpgsm.
* src/server.c (cmd_start_cardmanager) [!ENABLE_CARD_MANAGER]:
Disable.
(register_commands) [!ENABLE_CARD_MANAGER]: Do not register.

Details

Provenance
wernerAuthored on Jan 7 2014, 3:16 PM
Parents
rGPA45eb36a00e0b: Fix wrong use of GPGME_EVENT_DONE.
Branches
Unknown
Tags
Unknown