Penguin
Blame: EvolutionOnMacOSX
EditPageHistoryDiffInfoLikePages
Annotated edit history of EvolutionOnMacOSX version 22, including all changes. View license author blame.
Rev Author # Line
21 MichaelJager 1 !@#!@#!@#!@#
2 http://forge.novell.com/modules/xfmod/project/?evolution
3 So many CPU cycles... wasted!
4 :(
5
22 PeteCarlton 6 ''Have you tried this distribution on Tiger? It wouldn't work for me'' --PeteCarlton
21 MichaelJager 7 ----
8
16 JohnMcPherson 9 This is what I've tried so far to get Evolution working on Mac OS X (I'm using OS X 10.3.7). At the moment I have successfully compiled everything right up to before Evolution itself. It's compiling at the moment. This may or may not work for you, and I accept no responsibility if you blow yourself up trying it :)
10
11 Yes, this may not be the best way of modifying things to get them to compile. I'm not too worried about it. Feel free to change things to make them work better.
12
13 ''Uhm, why don't you let Fink do most of this work for you?'' --AristotlePagaltzis
14
15 ''I think the versions in Fink are out of date'' -- PerryLorier
16
17 ''What Perry said'' -- MichaelJager
18
19 Or, to spell it out, http://fink.sourceforge.net/pdb/package.php/evolution
20 The latest version (as of 2005-01-17, 15:04 NZDT) of Evolution in Fink is 0.7.1.
21 Compare to http://gnome.org/projects/evolution/download.shtml
22 The latest version (as of 2005-01-17, 15:04 NZDT) of Evolution is 2.0.3.
23 Look at the dependencies for Evolution, then look at the versions of these dependcies in Fink/DarwinPorts.
24 That's why you don't let Fink do it.
25
26 <pre>
27 $ export PATH=$PATH:/evolution/bin
28 $ export LDFLAGS=-L/evolution/lib CPPFLAGS=-I/evolution/include
29
30 $ mkdir /evolution
31 $ cd /evolution
32
33
34 $ wget http://optusnet.dl.sourceforge.net/sourceforge/expat/expat-1.95.8.tar.gz
35 $ tar -zxvf expat-1.95.8.tar.gz
36 $ cd expat-1.95.8
37 $ ./configure --prefix=/evolution && make && make install
38 $ cd ..
39
40
41 $ sudo perl -MCPAN -e shell
42 cpan> get XML::Parser
43 cpan> quit
44 $ sudo su
45 # cd /root/.cpan/build/XML-Parser-2.34
46 # perl Makefile.PL EXPATLIBPATH=/evolution/lib EXPATINCPATH=/evolution/include
47 # make test
48 # make install
49 # exit
50 $ cd /evolution
51
52
53 $ wget http://www.southern-storm.com.au/download/treecc-0.3.4.tar.gz
54 $ tar -zxvf treecc-0.3.4.tar.gz
55 $ cd treecc-0.3.4
56 $ ./configure --prefix=/evolution && make && make install
57 $ cd ..
58
59
60 $ wget http://www.southern-storm.com.au/download/pnet-0.6.10.tar.gz
61 $ tar -zxvf pnet-0.6.10.tar.gz
62 $ cd pnet-0.6.10
63 $ ./configure --prefix=/evolution && make && make install
64 $ cd ..
65
66
67 $ wget http://www.southern-storm.com.au/download/pnetlib-0.6.10.tar.gz
68 $ tar -zxvf pnetlib-0.6.10.tar.gz
69 $ cd pnetlib-0.6.10
70 $ ./configure --prefix=/evolution && make && make install
71 $ cd ..
72
73
74 $ wget http://ftp.gnu.org/gnu/gettext/gettext-0.14.tar.gz
75 $ tar -zxvf gettext-0.14.tar.gz
76 $ cd gettext-0.14
77 $ ./configure --prefix=/evolution && make && make install
78 $ cd ..
79
80
81 $ wget ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-1.7.tar.gz
82 $ tar -zxvf popt-1.7.tar.gz
83 $ cd popt-1.7
84 $ ./configure --prefix=/evolution
85 </pre>
86 Edit Makefile.am, replace <code>$(lib_LTLIBRARIES)</code> with <code>$(lib_LTLIBRARIES) -lintl</code>
87 <pre>
88 $ make && make install
89 $ cd ..
90
91
92 $ wget http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-0.15.0.tar.gz
93 $ tar -zxvf pkgconfig-0.15.0.tar.gz
94 $ cd pkgconfig-0.15.0
95 $ ./configure --prefix=/evolution && make && make install
96 $ cd ..
97
98
99 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/glib-2.4.8.tar.bz2
100 $ bzcat glib-2.4.28.tar.bz2 | tar -xv
101 $ cd glib-2.4.28
102 $ ./configure --prefix=/evolution && make && make install
103 $ cd ..
104
105
106 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libIDL-0.8.4.tar.bz2
107 $ bzcat libIDL-0.8.4.tar.bz2 | tar -xv
108 $ cd libIDL-0.8.4
109 $ ./configure --prefix=/evolution && make && make install
110 $ cd ..
111
112
113 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/ORBit2-2.12.0.tar.bz2
114 $ bzcat ORBit2-2.12.0.tar.bz2 | tar -xv
115 $ cd ORBit2-2.12.0
116 </pre>
117 Edit configure, replace <code>-lpopt</code> with <code>-lpopt -lintl</code>
118 Edit configure, find <code>ac_config_files=</code>. Fix it so there are no line breaks in the middle of it.
119 <pre>
120 $ export LDFLAGS="-L/evolution/lib -lresolv"
121 $ ./configure --prefix=/evolution && make && make install
122 $ cd ..
123
124
125 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libxml2-2.6.16.tar.bz2
126 $ bzcat libxml2-2.6.16.tar.bz2 | tar -xv
127 $ cd libxml2-2.6.16
128 $ ./configure --prefix=/evolution && make && make install
129 $ cd ..
130
131
132 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/atk-1.8.0.tar.bz2
133 $ bzcat atk-1.8.0.tar.bz2 | tar -xv
134 $ cd atk-1.8.0
135 $ ./configure --prefix=/evolution && make && make install
136 $ cd ..
137
138
139 $ wget http://fontconfig.org/release/fontconfig-2.2.98.tar.gz
140 $ tar -zxvf fontconfig-2.2.98.tar.gz
141 $ cd fontconfig-2.2.98
142
143
144 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/pango-1.6.0.tar.bz2
145 $ bzcat pango-1.6.0.tar.bz2 | tar -xv
146 $ cd pango-1.6.0
147 $ export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig
148 $ ./configure --prefix=/evolution && make && make install
149 $ cd ..
150
151
152 $ wget ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.7.1.tar.gz
153 $ tar -zxvf tiff-3.7.1.tar.gz
154 $ cd tiff-3.7.1
155 $ ./configure --prefix=/evolution && make && make install
156 $ cd ..
157
158
159 $ wget http://www.ijg.org/files/jpegsrc.v6b.tar.gz
160 $ tar -zxvf jpegsrc.v6b.tar.gz
161 $ cd jpeg-6b
162 $ ./configure --prefix=/evolution && make && make install && make install-lib
163 $ ranlib /evolution/lib/libjpeg.a
164 $ cd ..
165
166
167 $ wget http://optusnet.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.8.tar.bz2
168 $ bunzip libpng-1.2.8.tar.bz2 | tar -xv
169 $ cd libpng-1.2.8
170 $ cp scripts/makefile.darwin makefile
171 </pre>
172 Edit makefile, replace <code>prefix=/usr/local</code> with <code>prefix=/evolution</code>
173 Edit makefile, replace <code>CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops</code> with <code>CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops -I/evolution/include</code>
174 Edit makefile, replace <code>LDFLAGS=-L. -L$(ZLIBLIB) -lpng12 -lz</code> with <code>LDFLAGS=-L. -L$(ZLIBLIB) -lpng12 -lz -L/evolution/lib</code>
175 <pre>
176 $ make
177 $ make install
178 $ cd ..
179
180
181 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/gtk+-2.4.14.tar.bz2
182 $ bzcat gtk+-2.4.14.tar.bz2 | tar -xv
183 $ cd gtk+-2.4.14
184 $ ./configure --prefix=/evolution && make && make install
185 $ cd ..
186
187
188 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/GConf-2.8.1.tar.bz2
189 $ bzcat GConf-2.8.1.tar.bz2 | tar -xv
190 $ cd GConf-2.8.1
191 $ ./configure --prefix=/evolution && make && make install
192 $ cd ..
193
194
195 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libbonobo-2.8.0.tar.bz2
196 $ bzcat libbonobo-2.8.0.tar.bz2 | tar -xv
197 $ cd libbonobo-2.8.0
198 </pre>
199 Edit configure, replace <code>-lpopt</code> with <code>-lpopt -lintl</code>
200 Edit configure, find <code>ac_config_files=</code>. Fix it so there are no line breaks in the middle of it.
201 <verbatim>
202 $ cat << EOF > bonobo-activation.patch
203 > --- bonobo-activation/bonobo-activation-client.c.org Sun Apr 4 20:20:35 2004
204 > +++ bonobo-activation/bonobo-activation-client.c Sun Apr 4 20:22:18 2004
205 > @@ -197,7 +197,12 @@
206 > return result;
207 > }
208 >
209 > +#ifdef __APPLE__
210 > +# include <crt_externs.h>
211 > +# define environ (*_NSGetEnviron())
212 > +#elif
213 > extern char **environ;
214 > +#endif
215 >
216 > void
217 > bonobo_activation_register_client (Bonobo_ActivationContext context,
218 > EOF
219 </verbatim>
220 (patch taken from DarwinPorts)
221 <verbatim>
222 $ patch -p0 < bonobo-activation.patch
223 $ ./configure --prefix=/evolution && make && make install
224 $ cd ..
225
226
227 $ wget http://ftp.gnome.org/pub/GNOME/sources/gnome-mime-data/2.4/gnome-mime-data-2.4.2.tar.bz2
228 $ bzcat gnome-mime-data-2.4.2.tar.bz2 | tar -xv
229 $ cd gnome-mime-data-2.4.2
230 $ ./configure --prefix=/evolution && make && make install
231 $ cd ..
232
233
234 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/gnome-vfs-2.8.3.tar.bz2
235 $ bzcat gnome-vfs-2.8.3.tar.bz2 | tar -xv
236 $ cd gnome-vfs-2.8.3
237 $ cat <<EOF > gnome-vfs-cdrom.patch
238 > --- gnome-vfs-cdrom.c.orig Fri Aug 27 01:23:33 2004
239 > +++ gnome-vfs-cdrom.c Fri Jan 14 23:19:05 2005
240 > @@ -143,6 +143,7 @@
241 > #endif /* defined(__FreeBSD__) */
242 > return type;
243 > #else
244 > + #if !defined(__APPLE__)
245 > *fd = open (vol_dev_path, O_RDONLY|O_NONBLOCK);
246 > if (*fd < 0) {
247 > return -1;
248 > @@ -153,6 +154,7 @@
249 > return -1;
250 > }
251 > return ioctl (*fd, CDROM_DISC_STATUS, CDSL_CURRENT);
252 > + #endif
253 > #endif
254 > }
255 >
256 > EOF
257 </verbatim>
258 (patch modified from DarwinPorts)
259 <verbatim>
260 $ patch -p0 < gnome-vfs-cdrom.patch
261 $ ./configure --prefix=/evolution && make && make install
262 $ cd ..
263
264
265 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libgnome-2.8.0.tar.bz2
266 $ bzcat libgnome-2.8.0.tar.bz2 | tar -xv
267 $ cd libgnome-2.8.0
268 </verbatim>
269 Edit configure, replace <code>-lpopt</code> with <code>-lpopt -lintl</code>
270 Edit configure, find <code>ac_config_files=</code>. Fix it so there are no line breaks in the middle of it.
271 Edit configure, find <code>archive_expsym_cmds=</code>. There are two new lines here that shouldn't be there. (2 occurences of <code>archive_expsym_cmds</code>, both have the same problem)
272 Edit configure, find <code>module_expsym_cmds=</code>. There are two new lines here that shouldn't be there. (2 occurences of <code>module_expsym_cmds</code>, both have the same problem)
273 <verbatim>
274 $ cat << EOF > gnome-util.patch
275 > --- gnome-util.c.orig Mon Aug 16 05:27:59 2004
276 > +++ gnome-util.c Fri Jan 14 23:55:07 2005
277 > @@ -189,10 +189,11 @@
278 > void
279 > gnome_unsetenv (const char *name)
280 > {
281 > -#if defined (HAVE_UNSETENV)
282 > - unsetenv (name);
283 > -#else
284 > - extern char **environ;
285 > +#ifdef __APPLE__
286 > +# include <crt_externs.h>
287 > +# define environ (*_NSGetEnviron())
288 > +#elif extern char **environ;
289 > +#endif
290 > int i, len;
291 >
292 > len = strlen (name);
293 > @@ -210,7 +211,6 @@
294 > environ[i] = environ[i + 1];
295 > i++;
296 > }
297 > -#endif
298 > }
299 >
300 > /**
301 > EOF
302 </verbatim>
303 (patch modified from DarwinPorts)
304 <verbatim>
305 $ patch -p0 < gnome-util.patch
306 $ cat << EOF > gnome-score.patch
307 > --- gnome-score.c.orig Sun May 2 22:06:20 2004
308 > +++ gnome-score.c Sat Jan 15 00:12:16 2005
309 > @@ -230,13 +230,6 @@
310 > gchar *level;
311 > gchar *realname;
312 > gint retval;
313 > -#ifdef HAVE_SETFSGID
314 > - gid_t gid;
315 > -
316 > - gid = getegid ();
317 > - setgid (getgid ());
318 > - setfsgid (gid);
319 > -#endif
320 > realname = g_strdup (g_get_real_name ());
321 > if (strlen (realname) == 0)
322 > realname = g_strdup (g_get_user_name ());
323 </verbatim>
324 (patch modified from DarwinPorts)
325 <verbatim>
326 $ patch -p0 < gnome-score.patch
327 $ ./configure --prefix=/evolution && make && make install
328 $ cd ..
329
330
331 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libart_lgpl-2.3.16.tar.bz2
332 $ bzcat libart_lgpl-2.3.16.tar.bz2 | tar -xv
333 $ cd libart_lgpl-2.3.16
334 $ ./configure --prefix=/evolution && make && make install
335 $ cd ..
336
337
338 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libglade-2.4.1.tar.bz2
339 $ bzcat libglade-2.4.1.tar.bz2 | tar -xv
340 $ cd libglade-2.4.1
341 $ ./configure --prefix=/evolution && make && make install
342 $ cd ..
343
344
345 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libgnomecanvas-2.8.0.tar.bz2
346 $ bzcat libgnomecanvas-2.8.0.tar.bz2 | tar -xv
347 $ cd libgnomecanvas-2.8.0
348 $ ./configure --prefix=/evolution && make && make install
349 $ cd ..
350
351
352 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libbonoboui-2.8.0.tar.bz2
353 $ bzcat libbonoboui-2.8.0.tar.bz2 | tar -xv
354 $ cd libbonoboui-2.8.0
355 $ ./configure --prefix=/evolution && make && make install
356 $ cd ..
357
358
359 $ wget http://freedesktop.org/software/icon-theme/releases/hicolor-icon-theme-0.5.tar.gz
360 $ tar -zxvf hicolor-icon-theme-0.5.tar.gz
361 $ cd hicolor-icon-theme-0.5
362 $ ./configure --prefix=/evolution && make && make install
363 $ cd ..
364
365
366 $ wget http://ftp.gnome.org/pub/GNOME/desktop/2.8/2.8.2/sources/gnome-icon-theme-2.8.0.tar.bz2
367 $ bzcat gnome-icon-theme-2.8.0.tar.bz2 | tar -xv
368 $ cd gnome-icon-theme-2.8.0
369 $ ./configure --prefix=/evolution && make && make install
370 $ cd ..
371
372
373 $ wget http://ftp.gnome.org/pub/GNOME/desktop/2.8/2.8.2/sources/libsoup-2.2.1.tar.bz2
374 $ bzcat libsoup-2.2.1.tar.bz2 | tar -xv
375 $ cd libsoup-2.2.1
376 $ ./configure --prefix=/evolution && make && make install
377 $ cd ..
378
379
380 $ wget http://ftp.gnome.org/pub/GNOME/desktop/2.8/2.8.2/sources/evolution-data-server-1.0.3.tar.bz2
381 $ bzcat evolution-data-server-1.0.3.tar.bz2 | tar -xv
382 $ cd evolution-data-server-1.0.3
383 $ cat << EOF > os_open.patch
384 > --- libdb/os/os_open.c.orig Fri Nov 21 11:13:37 2003
385 > +++ libdb/os/os_open.c Sat Jan 15 01:39:12 2005
386 > @@ -106,11 +106,6 @@
387 > if ((ret = __os_openhandle(dbenv, name, oflags, mode, fhp)) != 0)
388 > return (ret);
389 >
390 > -#ifdef HAVE_DIRECTIO
391 > - if (LF_ISSET(DB_OSO_DIRECT))
392 > - (void)directio(fhp->fd, DIRECTIO_ON);
393 > -#endif
394 > -
395 > /*
396 > * Delete any temporary file.
397 > *
398 > EOF
399 </verbatim>
400 (patch modified from DarwinPorts)
401 <verbatim>
402 $ patch -p0 < os_open.patch
403 $ cat << EOF > os_spin.patch
404 > --- libdb/os/os_spin.c.orig Sat Jan 15 01:16:11 2005
405 > +++ libdb/os/os_spin.c Sat Jan 15 01:17:20 2005
406 > @@ -13,9 +13,6 @@
407 >
408 > #ifndef NO_SYSTEM_INCLUDES
409 > #include <sys/types.h>
410 > -#if defined(HAVE_PSTAT_GETDYNAMIC)
411 > -#include <sys/pstat.h>
412 > -#endif
413 >
414 > #include <limits.h>
415 > #include <unistd.h>
416 > @@ -23,23 +20,6 @@
417 >
418 > #include "db_int.h"
419 >
420 > -#if defined(HAVE_PSTAT_GETDYNAMIC)
421 > -static int ~__os_pstat_getdynamic __P((void));
422 > -
423 > -/*
424 > - * __os_pstat_getdynamic --
425 > - * HP/UX.
426 > - */
427 > -static int
428 > -__os_pstat_getdynamic()
429 > -{
430 > - struct pst_dynamic psd;
431 > -
432 > - return (pstat_getdynamic(&psd,
433 > - sizeof(psd), (size_t)1, 0) == -1 ? 1 : psd.psd_proc_cnt);
434 > -}
435 > -#endif
436 > -
437 > #if defined(HAVE_SYSCONF) && defined(_SC_NPROCESSORS_ONLN)
438 > static int __os_sysconf __P((void));
439 >
440 > @@ -79,9 +59,6 @@
441 > return (dbenv->tas_spins);
442 >
443 > dbenv->tas_spins = 1;
444 > -#if defined(HAVE_PSTAT_GETDYNAMIC)
445 > - dbenv->tas_spins = __os_pstat_getdynamic();
446 > -#endif
447 > #if defined(HAVE_SYSCONF) && defined(_SC_NPROCESSORS_ONLN)
448 > dbenv->tas_spins = __os_sysconf();
449 > #endif
450 > EOF
451 </verbatim>
452 (patch modified from DarwinPorts)
453 <verbatim>
454 $ cat << EOF > mutex.patch
455 > --- evolution-data-server-1.1.0.old/libdb/dbinc/mutex.h 2004-11-02 05:56:41.000000000 +1100
456 > +++ evolution-data-server-1.1.0.new/libdb/dbinc/mutex.h 2004-11-17 00:34:56.000000000 +1100
457 > @@ -550,7 +550,6 @@
458 > })
459 > #endif
460 > #define MUTEX_UNSET(tsl) ({ \
461 > - asm volatile("lwsync # MUTEX_UNSET ":::"memory"); \
462 > (*(tsl) = 0); \
463 > })
464 > #define MUTEX_INIT(tsl) MUTEX_UNSET(tsl)
465 > diff -Naur evolution-data-server-1.1.0.old/libdb/dist/configure evolution-data-server-1.1.0.new/libdb/dist/configure
466 > --- evolution-data-server-1.1.0.old/libdb/dist/configure 2004-10-14 00:43:48.000000000 +1000
467 > +++ evolution-data-server-1.1.0.new/libdb/dist/configure 2004-11-17 00:22:19.000000000 +1100
468 > @@ -18797,7 +18797,7 @@
469 >
470 >
471 >
472 > -for ac_func in _fstati64 clock_gettime directio gettimeofday getuid
473 > +for ac_func in _fstati64 clock_gettime gettimeofday getuid
474 > do
475 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
476 > echo "$as_me:$LINENO: checking for $ac_func" >&5
477 > @@ -18886,7 +18886,7 @@
478 >
479 >
480 >
481 > -for ac_func in pstat_getdynamic sched_yield select strtoul sysconf yield
482 > +for ac_func in sched_yield select strtoul sysconf yield
483 > do
484 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
485 > echo "$as_me:$LINENO: checking for $ac_func" >&5
486 > EOF
487 </verbatim>
488 (patch from Ximian Bugzilla, bug#69051)
489 <verbatim>
490 $ patch -p1 < mutex.patch
491 $ ./configure --prefix=/evolution && make && make install
492 $ cd ..
493
494
495 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/gail-1.8.1.tar.bz2
496 $ bzcat gail-1.8.1.tar.bz2 | tar -xv
497 $ cd gail-1.8.1
498 $ ./configure --prefix=/evolution && make && make install
499 $ cd ..
500
501
502 $ wget http://ftp.gnome.org/pub/GNOME/desktop/2.8/2.8.2/sources/gnome-keyring-0.4.0.tar.bz2
503 $ bzcat gnome-keyring-0.4.0.tar.bz2 | tar -xv
504 $ cd gnome-keyring-0.4.0
505 $ ./configure --prefix=/evolution && make && make install
506 $ cd ..
507
508
509 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libgnomeui-2.8.0.tar.bz2
510 $ bzcat libgnomeui-2.8.0.tar.bz2 | tar -xv
511 $ cd libgnomeui-2.8.0
512 $ cat << EOF > gnome-multiscreen.patch
513 > --- libgnomeui/gnome-multiscreen.c.orig Sat Jan 15 10:06:24 2005
514 > +++ libgnomeui/gnome-multiscreen.c Sat Jan 15 10:07:41 2005
515 > @@ -26,7 +26,12 @@
516 >
517 > #include <string.h>
518 >
519 > -extern char **environ;
520 > +#ifdef ~__APPLE__
521 > +# include <crt_externs.h>
522 > +# define environ (*_NSGetEnviron())
523 > +#elif
524 > + extern char **environ;
525 > +#endif
526 >
527 > /**
528 > * make_environment_for_screen:
529 > EOF
530 </verbatim>
531 (patch modified from DarwinPorts)
532 <verbatim>
533 $ patch -p0 < gnome-multiscreen.patch
534 $ ./configure --prefix=/evolution && make && make install
535 $ cd ..
536
537 $ wget http://ftp.easysw.com/pub/cups/1.1.23/cups-1.1.23-source.tar.bz2
538 $ bzcat cups-1.1.23-source.tar.bz2
539 $ cd cups-1.1.23
540 </verbatim>
541 Edit <code>configure</code>, replace <code>LIBTIFF="-ltiff"</code> with <code>LIBTIFF="-L/evolution/lib -ltiff"</code>
542 <verbatim>
543 $ ./configure --prefix=/evolution && make && make installhdrs
544 $ cd ..
545
546
547 $ wget http://ftp.gnome.org/pub/GNOME/sources/libgnomecups/0.1/libgnomecups-0.1.14.tar.bz2
548 $ bzcat libgnomecups-0.1.14.tar.bz2 | tar -xv
549 $ cd libgnomecups-0.1.14
550 $ ./configure --prefix=/evolution && make && make install
551 $ cd ..
552
553
554 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libgnomeprint-2.8.1.tar.bz2
555 $ bzcat libgnomeprint-2.8.1.tar.bz2 | tar -xv
556 $ cd libgnomeprint-2.8.1
557 $ ./configure --prefix=/evolution && make && make install
558 $ cd ..
559
560
561 $ wget http://ftp.gnome.org/pub/GNOME/platform/2.8/2.8.2/sources/libgnomeprintui-2.8.1.tar.bz2
562 $ bzcat libgnomeprintui-2.8.1.tar.gz
563 $ cd libgnomeprint-2.8.1
564 $ ./configure --prefix=/evolution && make && make install
565 $ cd ..
566
567
568 $ wget http://ftp.gnome.org/pub/GNOME/desktop/2.8/2.8.2/sources/gtkhtml-3.2.4.tar.bz2
569 $ bzcat gtkhtml-3.2.4.tar.bz2 | tar -xv
570 $ cd gtkhtml-3.2.4
571 $ cd components/html-editor
572 $ mv spell.h spell-1.h
573 $ /evolution/bin/orbit-idl-2 -I/evolution/share/idl/bonobo-2.0 -I/evolution/share/idl/bonobo-activation-2.0 Editor.idl
574 $ /evolution/bin/orbit-idl-2 -I/evolution/share/idl/bonobo-2.0 -I/evolution/share/idl/bonobo-activation-2.0 Spell.idl
575 </verbatim>
576 Edit <code>edit-control-factory.c</code>, change <code>#include "spell.h"</code> to <code>#include "spell-1.h"</code>
577 <verbatim>
578 $ cd ../..
579 $ ./configure --prefix=/evolution && make && make install
580 $ cd ..
581
582
583 $ wget http://ftp.gnome.org/pub/GNOME/desktop/2.8/2.8.2/sources/gal-2.2.4.tar.bz2
584 $ bzcat gal-2.2.4.tar.bz2 | tar -x
585 $ cd gal-2.2.4
586 $ export PKG_CONFIG_PATH=/lib/pkgconfig
587 $ ./configure --prefix=/evolution && make && make install
588 $ cd ..
589
590
591 $ wget http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_9_2_RTM/src/nss-3.9.2.tar.gz
592 $ tar -zxvf nss-3.9.2.tar.gz
593 $ cd nss-3.9.2/mozilla/security/nss
594 $ NS_USE_GCC=1 make nss_build_all
595 $ NS_USE_GCC=1 make install
596 $ find ../../dist/*/lib -type l -exec cp -L {} /evolution/lib \;
597 $ cp -LR ../../dist/public/* /evolution/include
598 $ cp -LR ../../dist/*/include/* /evolution/nspr
599 $ cd ../../..
600
601
602 $ wget ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.2.tar.gz
603 $ tar -zxvf aspell-0.60.2.tar.gz
604 $ cd aspell-0.60.2
605 $ ./configure --prefix=/evolution &&& make && make install
606 $ cd ..
607
608
609 $ wget http://ftp.gnome.org/pub/GNOME/sources/gnome-spell/1.0/gnome-spell-1.0.5.tar.gz
610 $ tar -zxvf gnome-spell-1.0.5.tar.gz
611 $ cd gnome-spell-1.0.5
612 $ ./configure --prefix=/evolution
613 </pre>
614 Edit gnome-spell/Makefile, remove <code> -DGTK_DISABLE_DEPRECATED=1 \</code> line
615 $ make && make install
616 $ cd ..
617
618
619 $ wget http://ftp.gnome.org/pub/gnome/sources/evolution/2.0/evolution-2.0.3.tar.gz
620 $ tar -zxvf evolution-2.0.3.tar.gz
621 $ cd evolution-2.0.3
622 $ export PKG_CONFIG_PATH=/evolution/lib/pkgconfig
623 $ cat << EOF > /evolution/etc/bonobo-activation/bonobo-activation-config.xml
624 > <?xml version="1.0"?>
625 > <oafconfig>
626 > <searchpath>
627 > <item>/evolution/lib/bonobo/servers</item>
628 > </searchpath>
629 > </oafconfig>
630 $ ./configure --prefix=/evolution --enable-nss --with-nspr-includes=/evolution/include --with-nspr-libs=/evolution/lib --with-nss-includes=/evolution/include/nss --with-nss-libs=/evolution/lib && make && make install
631 $ cd ..
632 </verbatim>

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)