public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos (pacho)" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/seahorse-plugins/files: seahorse-plugins-2.28.1-gpgme_check_version.patch
Date: Mon, 26 Apr 2010 13:48:58 +0000 (UTC)	[thread overview]
Message-ID: <20100426134859.025832C043@corvid.gentoo.org> (raw)

pacho       10/04/26 13:48:58

  Added:                seahorse-plugins-2.28.1-gpgme_check_version.patch
  Log:
  Apply ubuntu patch to finally solve bug #281729
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-crypt/seahorse-plugins/files/seahorse-plugins-2.28.1-gpgme_check_version.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/seahorse-plugins/files/seahorse-plugins-2.28.1-gpgme_check_version.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/seahorse-plugins/files/seahorse-plugins-2.28.1-gpgme_check_version.patch?rev=1.1&content-type=text/plain

Index: seahorse-plugins-2.28.1-gpgme_check_version.patch
===================================================================
# Description: use gpgme_check_version () since gpgme_new () requires it now
# Bug Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=281729
# Bug-Ubuntu: https://bugs.launchpad.net/bugs/514950
# Bug: https://bugzilla.gnome.org/show_bug.cgi?id=607423
Index: seahorse-plugins-2.30.0/plugins/nautilus/seahorse-tool.c
===================================================================
--- seahorse-plugins-2.30.0.orig/plugins/nautilus/seahorse-tool.c	2010-02-13 15:31:34.000000000 +0100
+++ seahorse-plugins-2.30.0/plugins/nautilus/seahorse-tool.c	2010-04-08 02:46:54.000000000 +0200
@@ -170,6 +170,9 @@
         recips = cryptui_prompt_recipients (keyset, _("Choose Recipients"), &signer);
         
         if (recips) {
+            gpgme_check_version (NULL);
+            gerr = gpgme_engine_check_version (GPGME_PROTOCOL_OpenPGP);
+            g_return_val_if_fail (GPG_IS_OK (gerr), NULL);
             
             gerr = gpgme_new (&ctx);
             g_return_val_if_fail (GPG_IS_OK (gerr), NULL);
@@ -328,6 +331,10 @@
         id = cryptui_keyset_key_raw_keyid (keyset, signer);
         g_free (signer);
         
+        gpgme_check_version (NULL);
+        gerr = gpgme_engine_check_version (GPGME_PROTOCOL_OpenPGP);
+        g_return_val_if_fail (GPG_IS_OK (gerr), NULL);
+
         gerr = gpgme_new (&ctx);
         g_return_val_if_fail (GPG_IS_OK (gerr), NULL);
         
Index: seahorse-plugins-2.30.0/agent/seahorse-agent-cache.c
===================================================================
--- seahorse-plugins-2.30.0.orig/agent/seahorse-agent-cache.c	2010-01-25 03:06:50.000000000 +0100
+++ seahorse-plugins-2.30.0/agent/seahorse-agent-cache.c	2010-04-08 02:46:54.000000000 +0200
@@ -237,6 +237,7 @@
         g_cache =
             g_hash_table_new_full (g_str_hash, g_str_equal, NULL, destroy_cache_item);
 
+        gpgme_check_version (NULL);
         err = gpgme_engine_check_version (proto);
         g_return_if_fail (GPG_IS_OK (err));
         
Index: seahorse-plugins-2.30.0/libseahorse/seahorse-pgp-operation.c
===================================================================
--- seahorse-plugins-2.30.0.orig/libseahorse/seahorse-pgp-operation.c	2010-01-25 03:06:50.000000000 +0100
+++ seahorse-plugins-2.30.0/libseahorse/seahorse-pgp-operation.c	2010-04-08 02:46:54.000000000 +0200
@@ -323,6 +323,7 @@
     gpgme_error_t err;
     gpgme_ctx_t ctx;
  
+    gpgme_check_version (NULL);
     err = gpgme_engine_check_version (proto);
     g_return_if_fail (GPG_IS_OK (err));
    






                 reply	other threads:[~2010-04-26 13:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100426134859.025832C043@corvid.gentoo.org \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox