This commit is contained in:
Matthew Barnes 2012-07-01 11:13:41 -04:00
parent 21029f84d6
commit 74f7174f3c
4 changed files with 7 additions and 36 deletions

1
.gitignore vendored
View File

@ -34,3 +34,4 @@ evolution-data-server-2.31.5.tar.bz2
/evolution-data-server-3.5.1.tar.xz /evolution-data-server-3.5.1.tar.xz
/evolution-data-server-3.5.2.tar.xz /evolution-data-server-3.5.2.tar.xz
/evolution-data-server-3.5.3.tar.xz /evolution-data-server-3.5.3.tar.xz
/evolution-data-server-3.5.3.1.tar.xz

View File

@ -1,29 +0,0 @@
diff -up evolution-data-server-3.5.3/addressbook/libedata-book/e-book-backend-db-cache.c.avoid-exposing-db-h evolution-data-server-3.5.3/addressbook/libedata-book/e-book-backend-db-cache.c
--- evolution-data-server-3.5.3/addressbook/libedata-book/e-book-backend-db-cache.c.avoid-exposing-db-h 2012-06-03 20:12:39.000000000 -0400
+++ evolution-data-server-3.5.3/addressbook/libedata-book/e-book-backend-db-cache.c 2012-06-27 08:39:11.096596229 -0400
@@ -23,6 +23,8 @@
#include <stdlib.h>
#include <string.h>
+#include <db.h>
+
#include "e-book-backend-db-cache.h"
#include "e-book-backend.h"
#include "e-book-backend-sexp.h"
diff -up evolution-data-server-3.5.3/addressbook/libedata-book/e-book-backend-db-cache.h.avoid-exposing-db-h evolution-data-server-3.5.3/addressbook/libedata-book/e-book-backend-db-cache.h
--- evolution-data-server-3.5.3/addressbook/libedata-book/e-book-backend-db-cache.h.avoid-exposing-db-h 2012-06-03 20:12:39.000000000 -0400
+++ evolution-data-server-3.5.3/addressbook/libedata-book/e-book-backend-db-cache.h 2012-06-27 08:39:11.096596229 -0400
@@ -27,10 +27,12 @@
#define E_BOOK_BACKEND_DB_CACHE_H
#include <libebook/libebook.h>
-#include "db.h"
G_BEGIN_DECLS
+/* Avoid including <db.h> in a public header file. */
+typedef struct __db DB;
+
EContact * e_book_backend_db_cache_get_contact (DB *db, const gchar *uid);
gchar *e_book_backend_db_cache_get_filename (DB *db);
void e_book_backend_db_cache_set_filename (DB *db, const gchar *filename);

View File

@ -26,8 +26,8 @@
### Abstract ### ### Abstract ###
Name: evolution-data-server Name: evolution-data-server
Version: 3.5.3 Version: 3.5.3.1
Release: 3%{?dist} Release: 1%{?dist}
Group: System Environment/Libraries Group: System Environment/Libraries
Summary: Backend data server for Evolution Summary: Backend data server for Evolution
License: LGPLv2+ License: LGPLv2+
@ -46,9 +46,6 @@ Patch01: evolution-data-server-1.11.5-fix-64bit-acinclude.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=672805 # http://bugzilla.gnome.org/show_bug.cgi?id=672805
Patch2: new-gweather-api.patch Patch2: new-gweather-api.patch
# Avoid exposing <db.h> in a public header file.
Patch3: evolution-data-server-3.5.3-avoid-exposing-db-h.patch
### Build Dependencies ### ### Build Dependencies ###
BuildRequires: bison BuildRequires: bison
@ -130,7 +127,6 @@ This package contains developer documentation for %{name}.
%patch01 -p1 -b .fix-64bit-acinclude %patch01 -p1 -b .fix-64bit-acinclude
%patch2 -p1 -b .new-gweather-api %patch2 -p1 -b .new-gweather-api
%patch3 -p1 -b .avoid-exposing-db-h
mkdir -p krb5-fakeprefix/include mkdir -p krb5-fakeprefix/include
mkdir -p krb5-fakeprefix/lib mkdir -p krb5-fakeprefix/lib
@ -375,6 +371,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%{_datadir}/gtk-doc/html/libedataserverui %{_datadir}/gtk-doc/html/libedataserverui
%changelog %changelog
* Sun Jul 1 2012 Matthew Barnes <mbarnes@redhat.com> - 3.5.3.1-1
- Update to 3.5.3.1
* Wed Jun 27 2012 Matthew Barnes <mbarnes@redhat.com> - 3.5.3-3 * Wed Jun 27 2012 Matthew Barnes <mbarnes@redhat.com> - 3.5.3-3
- Avoid exposing <db.h> in a public header file. - Avoid exposing <db.h> in a public header file.

View File

@ -1 +1 @@
8e82d65e34274ace9798758ad64136a3 evolution-data-server-3.5.3.tar.xz 5d394f79ebb10cd38ab81910b4d5eb49 evolution-data-server-3.5.3.1.tar.xz