Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 714116 Details for
Bug 924486
Avoid spurious warnings from gnome about setting the application name
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Work around spurious output from gnome keyring on EL6
0001-Avoid-spurious-warnings-from-gnome-about-setting-the.patch (text/plain), 2.81 KB, created by
Todd Zullinger
on 2013-03-21 21:07:10 UTC
(
hide
)
Description:
Work around spurious output from gnome keyring on EL6
Filename:
MIME Type:
Creator:
Todd Zullinger
Created:
2013-03-21 21:07:10 UTC
Size:
2.81 KB
patch
obsolete
>From acd2ce8a391cf35e01b46f1c07dba6122fe1530d Mon Sep 17 00:00:00 2001 >From: Todd Zullinger <tmz@pobox.com> >Date: Thu, 21 Mar 2013 14:28:13 -0400 >Subject: [PATCH] Avoid spurious warnings from gnome about setting the > application name > >https://bugzilla.gnome.org/show_bug.cgi?id=460515 >--- > keyring-0.7-gnomekeyring-app-name.patch | 19 +++++++++++++++++++ > python-keyring.spec | 8 +++++++- > 2 files changed, 26 insertions(+), 1 deletion(-) > create mode 100644 keyring-0.7-gnomekeyring-app-name.patch > >diff --git a/keyring-0.7-gnomekeyring-app-name.patch b/keyring-0.7-gnomekeyring-app-name.patch >new file mode 100644 >index 0000000..916efd7 >--- /dev/null >+++ b/keyring-0.7-gnomekeyring-app-name.patch >@@ -0,0 +1,19 @@ >+diff -up keyring-0.7/keyring/backend.py.gnomekeyring-app-name keyring-0.7/keyring/backend.py >+--- keyring-0.7/keyring/backend.py.gnomekeyring-app-name 2011-12-10 11:27:34.000000000 -0500 >++++ keyring-0.7/keyring/backend.py 2013-03-21 14:24:59.763116935 -0400 >+@@ -134,6 +134,15 @@ class GnomeKeyring(KeyringBackend): >+ # Use None for the default keyring. >+ KEYRING_NAME = None >+ >++ def __init__(self): >++ # Set the application name to prevent spurious warnings from older >++ # gnome-keyring (https://bugzilla.gnome.org/show_bug.cgi?id=460515) >++ try: >++ import gobject >++ gobject.set_application_name('python-keyring') >++ except: >++ pass >++ >+ def supported(self): >+ try: >+ import gnomekeyring >diff --git a/python-keyring.spec b/python-keyring.spec >index 4bd1335..6a643f5 100644 >--- a/python-keyring.spec >+++ b/python-keyring.spec >@@ -2,11 +2,13 @@ > > Name: python-keyring > Version: 0.7 >-Release: 1%{?dist} >+Release: 1%{?dist}.1 > Summary: Python library to access the system keyring service > > Source0: http://pypi.python.org/packages/source/k/keyring/%{upstream_name}-%{version}.zip > Patch0: keyring-%{version}.patch >+# https://bugzilla.gnome.org/show_bug.cgi?id=460515 >+Patch1: keyring-0.7-gnomekeyring-app-name.patch > License: Python > Group: Development/Libraries > URL: http://pypi.python.org/pypi/keyring >@@ -28,6 +30,7 @@ python-keyring-kwallet. > %prep > %setup -q -n %{upstream_name}-%{version} > %patch0 -p1 >+%patch1 -p1 > > %build > CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build >@@ -46,6 +49,9 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build > %{python_sitelib}/%{upstream_name}-*.egg-info > > %changelog >+* Thu Mar 21 2013 Todd Zullinger <tmz@pobox.com> - 0.7-1.1 >+- Avoid spurious warnings from gnome about setting the application name >+ > * Sat Jan 14 2012 rtnpro <rtnpro@gmail.com> 0.7-1 > - Python 3 is now supported. All tests now pass under Python 3.2 on Windows and > Linux (although Linux backend support is limited). Fixes #28. >-- >1.8.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 924486
: 714116