wok view evolution-data-server/receipt @ rev 21814

Patch evolution-data-server & rogue
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 18 18:56:26 2019 +0200 (2019-08-18)
parents ce9148142ee8
children 7bee98929640
line source
1 # SliTaz package receipt.
3 PACKAGE="evolution-data-server"
4 VERSION="2.28.1"
5 CATEGORY="network"
6 SHORT_DESC="Integrated mail, addressbook and calendaring, server."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://projects.gnome.org/evolution/download.shtml"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/evolution-data-server/${VERSION%.*}/$TARBALL"
13 DEPENDS="libgnomeui libsoup"
14 BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev ORBit2-dev libbonobo-dev GConf-dev libical-dev
15 firefox-dev db-dev libxcb-dev popt-dev bison flex glib-dev sqlite-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|\([idt].*\)->is_utc = \(.*\);|icaltime_set_timezone(\1,\2 ? icaltimezone_get_utc_timezone() : NULL);|' \
21 calendar/libecal/e-cal-*.c
22 sed -i 's|\([idt].*\)\.is_utc = \(.*\);|icaltime_set_timezone(\&\1,\2 ? icaltimezone_get_utc_timezone() : NULL);|' \
23 calendar/libecal/e-cal-*.c
24 sed -i 's|dt->value->is_utc)$|icaltime_is_utc(*dt->value))|' \
25 calendar/libecal/e-cal-component.c
26 sed -i -e 's|buf->buffer->content|xmlOutputBufferGetContent(buf)|' \
27 -e 's|buf->conv->content|xmlBufferContent(buf->conv)|' \
28 -e 's|buf->buffer->use|xmlOutputBufferGetSize(buf)|' \
29 servers/google/libgdata/gdata-entry.c \
30 calendar/backends/caldav/e-cal-backend-caldav.c
31 sed -i 's|icaltime_from_timet\([ (].*\))|icaltime_from_timet_with_zone\1, NULL)|' \
32 calendar/libecal/e-cal*.c
33 sed -i 's|ret.is_utc = FALSE|icaltime_set_timezone(\&ret,NULL)|' \
34 calendar/backends/contacts/e-cal-backend-contacts.c
35 sed -i 's|itt.is_utc = itt_u->is_utc|icaltime_set_timezone(\&itt,icaltime_is_utc(*itt_u) ? icaltimezone_get_utc_timezone() : NULL)|' \
36 calendar/backends/google/e-cal-backend-google-utils.c
37 sed -i 's|icalproperty_remove_parameter|&_by_kind|' \
38 calendar/backends/groupwise/e-cal-backend-groupwise-utils.c \
39 calendar/libecal/e-cal-component.c
40 ./configure \
41 --prefix=/usr \
42 --infodir=/usr/share/info \
43 --libexecdir=/usr/lib/evolution-data-server-1.2 \
44 --mandir=/usr/share/man \
45 --without-weather \
46 --enable-ipv6=no \
47 --enable-libdb \
48 --with-db=/usr/lib \
49 --with-nspr-include=/usr/include/firefox-3.5.3/stable \
50 --with-nspr-libs=/usr/lib/firefox-devel-3.5.3/sdk/lib \
51 $CONFIGURE_ARGS &&
52 make && make DESTDIR=$DESTDIR install
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 mkdir -p $fs/usr/lib $fs/usr/share
60 cp -a $install/usr/share/pixmaps $fs/usr/share
61 cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share
62 cp -a $install/usr/share/idl $fs/usr/share
64 cp -a $install/usr/lib/bonobo $fs/usr/lib
65 cp -a $install/usr/lib/*.so* $fs/usr/lib
66 cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
68 # Clean unwated files
69 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
71 # Stripping all
72 find . -name "*.so" -exec strip -s {} \;
74 }