Gentoo Archives: gentoo-commits

From: "Daniel Gryniewicz (dang)" <dang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/evolution-data-server: ChangeLog evolution-data-server-1.12.0.ebuild
Date: Sun, 30 Sep 2007 15:25:18
Message-Id: E1Ic0Wu-00034S-2K@stork.gentoo.org
1 dang 07/09/30 15:16:24
2
3 Modified: ChangeLog
4 Added: evolution-data-server-1.12.0.ebuild
5 Log:
6 New series for Gnome 2.20
7 (Portage version: 2.1.3.10)
8
9 Revision Changes Path
10 1.151 gnome-extra/evolution-data-server/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.151&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.151&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?r1=1.150&r2=1.151
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v
19 retrieving revision 1.150
20 retrieving revision 1.151
21 diff -u -r1.150 -r1.151
22 --- ChangeLog 22 Sep 2007 08:34:08 -0000 1.150
23 +++ ChangeLog 30 Sep 2007 15:16:23 -0000 1.151
24 @@ -1,6 +1,14 @@
25 # ChangeLog for gnome-extra/evolution-data-server
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.150 2007/09/22 08:34:08 tgall Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.151 2007/09/30 15:16:23 dang Exp $
29 +
30 +*evolution-data-server-1.12.0 (30 Sep 2007)
31 +
32 + 30 Sep 2007; Daniel Gryniewicz <dang@g.o>
33 + +files/evolution-data-server-1.11.3-as-needed.patch,
34 + +files/evolution-data-server-1.11.3-no-libdb.patch,
35 + +evolution-data-server-1.12.0.ebuild:
36 + New series for Gnome 2.20
37
38 22 Sep 2007; Tom Gall <tgall@g.o>
39 evolution-data-server-1.10.3.1.ebuild:
40
41
42
43 1.1 gnome-extra/evolution-data-server/evolution-data-server-1.12.0.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-1.12.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-1.12.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: evolution-data-server-1.12.0.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-1.12.0.ebuild,v 1.1 2007/09/30 15:16:23 dang Exp $
53
54 inherit db-use eutils flag-o-matic gnome2 autotools
55
56 DESCRIPTION="Evolution groupware backend"
57 HOMEPAGE="http://www.gnome.org/projects/evolution/"
58
59 LICENSE="LGPL-2 Sleepycat"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="doc ipv6 kerberos keyring krb4 ldap ssl"
63
64 RDEPEND=">=x11-libs/gtk+-2.10
65 >=gnome-base/orbit-2.9.8
66 >=gnome-base/gnome-vfs-2.4
67 >=gnome-base/libbonobo-2.4.2
68 >=gnome-base/gconf-2
69 >=gnome-base/libglade-2
70 >=gnome-base/libgnome-2
71 >=dev-libs/libxml2-2
72 keyring? ( gnome-base/gnome-keyring )
73 ssl? (
74 >=dev-libs/nspr-4.4
75 >=dev-libs/nss-3.9 )
76 >=gnome-base/libgnomeui-2
77 >=net-libs/libsoup-2.2.91
78 >=gnome-base/gnome-common-2
79 sys-libs/zlib
80 =sys-libs/db-4*
81 ldap? ( >=net-nds/openldap-2.0 )
82 kerberos? ( virtual/krb5 )
83 krb4? ( virtual/krb5 )"
84
85 DEPEND="${RDEPEND}
86 >=dev-util/pkgconfig-0.9
87 >=dev-util/intltool-0.35.5
88 doc? ( >=dev-util/gtk-doc-1.4 )"
89
90 DOCS="ChangeLog MAINTAINERS NEWS TODO"
91
92 RESTRICT="confcache"
93
94 pkg_setup() {
95 G2CONF="$(use_with ldap openldap) \
96 $(use_with kerberos krb5 /usr) \
97 $(use_enable ssl nss) \
98 $(use_enable ssl smime) \
99 $(use_enable ipv6) \
100 $(use_enable keyring gnome-keyring) \
101 --with-libdb=/usr/$(get_libdir)"
102
103 if use krb4 && ! built_with_use virtual/krb5 krb4; then
104 ewarn
105 ewarn "In order to add kerberos 4 support, you have to emerge"
106 ewarn "virtual/krb5 with the 'krb4' USE flag enabled as well."
107 ewarn
108 ewarn "Skipping for now."
109 ewarn
110 G2CONF="${G2CONF} --without-krb4"
111 else
112 G2CONF="${G2CONF} $(use_with krb4 krb4 /usr)"
113 fi
114 }
115
116 src_unpack() {
117 gnome2_src_unpack
118
119 # Fix what ?
120 epatch ${FILESDIR}/${PN}-1.2.0-gentoo_etc_services.patch
121
122 # Fix broken libdb build
123 epatch "${FILESDIR}"/${PN}-1.11.3-no-libdb.patch
124
125 # Resolve symbols at execution time for setgid binaries
126 epatch "${FILESDIR}"/${PN}-no_lazy_bindings.patch
127
128 # Rewind in camel-disco-diary to fix a crash
129 epatch "${FILESDIR}"/${PN}-1.8.0-camel-rewind.patch
130
131 #-------------Upstream GNOME look here -----------------#
132
133 # --as-needed fixes
134 epatch "${FILESDIR}"/${PN}-1.11.3-as-needed.patch
135
136 # fix for dep ordering so we can add libedataserverui to libexchange-storage
137 # we need to do this or: undefined reference to `e_passwords_get_password'
138 # are the kinds of errors you will get.
139
140 # move the groupwise backend and provider for addressbook, camel, and
141 # calendar to its own folder called server.deps.
142 mkdir server.deps || die "mkdir server.deps failed"
143 mv addressbook/backends/groupwise server.deps/addressbook || die "mv address/groupwise failed"
144 mv camel/providers/groupwise server.deps/camel || die "mv camel/groupwise failed"
145 mv calendar/backends/groupwise server.deps/calendar || die "mv calendar/groupwise failed"
146
147 # now fix the autotools foo for the new directory and the removed ones
148 echo "SUBDIRS = addressbook camel calendar" > server.deps/Makefile.am || die "echo failed"
149
150 # remove groupwise folder from Makefile's since they are in a diff location
151 sed -i -e 's: groupwise::' addressbook/backends/Makefile.am camel/providers/Makefile.am calendar/backends/Makefile.am || die "sed 1 failed"
152
153 # fix configure.in location of the Makefile's
154 sed -i -e 's:addressbook/backends/groupwise:server.deps/addressbook:' configure.in || die "sed 2 failed"
155 sed -i -e 's:camel/providers/groupwise:server.deps/camel:' configure.in || die "sed 3 failed"
156 # tack on the server.deps Makefile on our last edit
157 sed -i -e 's:calendar/backends/groupwise:server.deps/calendar/Makefile\nserver.deps:' configure.in || die "sed 4 failed"
158
159 # fix file includes
160 sed -i -e 's:<backends/groupwise/e-book-backend-groupwise.h>:"server.deps/addressbook/e-book-backend-groupwise.h":' addressbook/libedata-book/e-data-book-factory.c || die "sed 5 failed"
161
162 # Fix db version for FreeBSD users where -ldb is always db-1
163 sed -i -e "s:-ldb:-l$(db_libname):" configure.in || die "sed 6 failed"
164
165 #---------------Upstream GNOME stop here---------------
166 eautoreconf
167 }
168
169 src_compile() {
170 # Use NSS/NSPR only if 'ssl' is enabled.
171 if use ssl ; then
172 sed -i -e "s|mozilla-nss|nss|
173 s|mozilla-nspr|nspr|" ${S}/configure
174 G2CONF="${G2CONF} --enable-nss=yes"
175 else
176 G2CONF="${G2CONF} --without-nspr-libs --without-nspr-includes \
177 --without-nss-libs --without-nss-includes"
178 fi
179
180 # /usr/include/db.h is always db-1 on FreeBSD
181 # so include the right dir in CPPFLAGS
182 append-cppflags "-I$(db_includedir)"
183
184 cd "${S}"
185 gnome2_src_compile
186 }
187
188
189
190 --
191 gentoo-commits@g.o mailing list