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