rpms/evolution/F-8 evolution-2.12.2-auto-contacts.patch, NONE, 1.1 evolution.spec, 1.303, 1.304
Milan Crha (mcrha)
fedora-extras-commits at redhat.com
Thu Nov 29 19:32:29 UTC 2007
- Previous message (by thread): rpms/driftnet/F-8 .cvsignore, 1.2, 1.3 driftnet-0.1.6-no-makedepend.patch, 1.2, 1.3 driftnet-dont-use-tmpnam.patch, 1.1, 1.2 driftnet.spec, 1.6, 1.7 sources, 1.2, 1.3
- Next message (by thread): rpms/sugar/OLPC-2 sugar-0.65-jabberserver.patch, 1.3, 1.4 sugar.spec, 1.108, 1.109
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mcrha
Update of /cvs/pkgs/rpms/evolution/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv581
Modified Files:
evolution.spec
Added Files:
evolution-2.12.2-auto-contacts.patch
Log Message:
* Thu Nov 29 2007 Milan Crha <mcrha at redhat.com> - 2.12.2-2.fc8
- Add patch for RH bug #404591 (do not add automatic contacts
if disabled)
evolution-2.12.2-auto-contacts.patch:
--- NEW FILE evolution-2.12.2-auto-contacts.patch ---
diff -up evolution-2.12.2/plugins/bbdb/bbdb.c.auto-contacts evolution-2.12.2/plugins/bbdb/bbdb.c
--- evolution-2.12.2/plugins/bbdb/bbdb.c.auto-contacts 2007-11-29 19:54:24.000000000 +0100
+++ evolution-2.12.2/plugins/bbdb/bbdb.c 2007-11-29 19:59:48.000000000 +0100
@@ -307,9 +307,17 @@ bbdb_open_addressbook (int type)
gboolean status;
GError *error = NULL;
-
+ gboolean enable = TRUE;
gconf = gconf_client_get_default ();
+ /* Check to see if we're supposed to be running */
+ if (type == AUTOMATIC_CONTACTS_ADDRESSBOOK)
+ enable = gconf_client_get_bool (gconf, GCONF_KEY_ENABLE, NULL);
+ if (!enable) {
+ g_object_unref (G_OBJECT (gconf));
+ return NULL;
+ }
+
/* Open the appropriate addresbook. */
if (type == GAIM_ADDRESSBOOK)
uri = gconf_client_get_string (gconf, GCONF_KEY_WHICH_ADDRESSBOOK_GAIM, NULL);
Index: evolution.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evolution/F-8/evolution.spec,v
retrieving revision 1.303
retrieving revision 1.304
diff -u -r1.303 -r1.304
--- evolution.spec 27 Nov 2007 12:18:33 -0000 1.303
+++ evolution.spec 29 Nov 2007 19:31:56 -0000 1.304
@@ -46,7 +46,7 @@
Name: evolution
Version: 2.12.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2 and GFDL+
Group: Applications/Productivity
Summary: GNOME's next-generation groupware suite
@@ -129,6 +129,9 @@
# GNOME bug #454465
Patch37: evolution-2.12.1-source-changed-event.patch
+# RH bug #404591 / GN-bug #491062
+Patch38: evolution-2.12.2-auto-contacts.patch
+
## Dependencies ###
Requires(post): GConf2
@@ -273,6 +276,7 @@
%patch35 -p1 -b .mail-attachment
%patch36 -p1 -b .icon-names
%patch37 -p1 -b .source-changed-event
+%patch38 -p1 -b .auto-contacts
mkdir -p krb5-fakeprefix/include
mkdir -p krb5-fakeprefix/lib
@@ -723,6 +727,10 @@
%dir %{_datadir}/omf/evolution
%changelog
+* Thu Nov 29 2007 Milan Crha <mcrha at redhat.com> - 2.12.2-2.fc8
+- Add patch for RH bug #404591 (do not add automatic contacts
+ if disabled)
+
* Tue Nov 27 2007 Milan Crha <mcrha at redhat.com> - 2.12.2-1.fc8
- Update to 2.12.2
- Previous message (by thread): rpms/driftnet/F-8 .cvsignore, 1.2, 1.3 driftnet-0.1.6-no-makedepend.patch, 1.2, 1.3 driftnet-dont-use-tmpnam.patch, 1.1, 1.2 driftnet.spec, 1.6, 1.7 sources, 1.2, 1.3
- Next message (by thread): rpms/sugar/OLPC-2 sugar-0.65-jabberserver.patch, 1.3, 1.4 sugar.spec, 1.108, 1.109
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list