diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2011-12-12 05:25:58 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2011-12-12 05:25:58 +0000 |
commit | eb6a407963d947500d870844a0e1af4baaff0839 (patch) | |
tree | eb8df81e6c27752ca4bcc3cb26b06ba0ea2ccf56 /gnome-extra | |
parent | Version bump. Drop old. Cleanup - made sources again installable. Fixed build... (diff) | |
download | gentoo-2-eb6a407963d947500d870844a0e1af4baaff0839.tar.gz gentoo-2-eb6a407963d947500d870844a0e1af4baaff0839.tar.bz2 gentoo-2-eb6a407963d947500d870844a0e1af4baaff0839.zip |
New ebuild for evolution groupwise support; formerly this was part of mail-client/evolution, split off into a separate package in 3.2 (bug #394327, thanks to anaximander).
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra')
4 files changed, 135 insertions, 0 deletions
diff --git a/gnome-extra/evolution-groupwise/ChangeLog b/gnome-extra/evolution-groupwise/ChangeLog new file mode 100644 index 000000000000..8de6e1d61310 --- /dev/null +++ b/gnome-extra/evolution-groupwise/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for gnome-extra/evolution-groupwise +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-groupwise/ChangeLog,v 1.1 2011/12/12 05:25:58 tetromino Exp $ + +*evolution-groupwise-3.2.1 (12 Dec 2011) + + 12 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org> + +evolution-groupwise-3.2.1.ebuild, + +files/evolution-groupwise-3.2.1-timezone.patch, +metadata.xml: + New ebuild for evolution groupwise support; formerly this was part of + mail-client/evolution, split off into a separate package in 3.2 (bug #394327, + thanks to anaximander). + diff --git a/gnome-extra/evolution-groupwise/evolution-groupwise-3.2.1.ebuild b/gnome-extra/evolution-groupwise/evolution-groupwise-3.2.1.ebuild new file mode 100644 index 000000000000..fbce0662f394 --- /dev/null +++ b/gnome-extra/evolution-groupwise/evolution-groupwise-3.2.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-groupwise/evolution-groupwise-3.2.1.ebuild,v 1.1 2011/12/12 05:25:58 tetromino Exp $ + +EAPI="4" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" + +inherit db-use eutils flag-o-matic gnome2 + +DESCRIPTION="Evolution module for connecting to Novell Groupwise" +HOMEPAGE="http://www.gnome.org/projects/evolution/" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" # doc + +RDEPEND=">=mail-client/evolution-${PV}:2.0 + >=gnome-extra/evolution-data-server-${PV} + >=dev-libs/glib-2.16 + >=dev-libs/libxml2-2 + >=gnome-base/gconf-2:2 + gnome-extra/gtkhtml:4.0 + >=net-libs/libsoup-2.3:2.4 + sys-libs/db + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-2.90.4:3 +" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35.5 + >=dev-util/pkgconfig-0.9 +" +# For now, this package has no gtk-doc documentation to build +# doc? ( >=dev-util/gtk-doc-1.9 ) + +pkg_setup() { + DOCS="ChangeLog NEWS" # AUTHORS, README are empty +} + +src_prepare() { + # Upstream patch to use correct timezone for new events; in next release + epatch "${FILESDIR}/${P}-timezone.patch" + + # /usr/include/db.h is always db-1 on FreeBSD + # so include the right dir in CPPFLAGS + append-cppflags "-I$(db_includedir)" + + gnome2_src_prepare + + # FIXME: Fix compilation flags crazyness + # Touch configure.ac if eautoreconf + sed -e 's/^\(AM_CPPFLAGS="\)$WARNING_FLAGS/\1/' \ + -i configure || die "sed 1 failed" +} diff --git a/gnome-extra/evolution-groupwise/files/evolution-groupwise-3.2.1-timezone.patch b/gnome-extra/evolution-groupwise/files/evolution-groupwise-3.2.1-timezone.patch new file mode 100644 index 000000000000..83e55da6d795 --- /dev/null +++ b/gnome-extra/evolution-groupwise/files/evolution-groupwise-3.2.1-timezone.patch @@ -0,0 +1,62 @@ +From efd0f9f151bf8ef1ff0108100c63750ea0d1e6d5 Mon Sep 17 00:00:00 2001 +From: Vibha Yadav <yvibha@suse.com> +Date: Mon, 21 Nov 2011 16:57:23 +0530 +Subject: [PATCH] Bug #651465 - event gets shifted by 5:30 hrs + +Don't set the zone of event to utc by default. +--- + src/calendar/e-cal-backend-groupwise-utils.c | 10 +++++----- + 1 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/calendar/e-cal-backend-groupwise-utils.c b/src/calendar/e-cal-backend-groupwise-utils.c +index d671db5..5640ec4 100644 +--- a/src/calendar/e-cal-backend-groupwise-utils.c ++++ b/src/calendar/e-cal-backend-groupwise-utils.c +@@ -590,7 +590,7 @@ set_rrule_from_comp (ECalComponent *comp, + ECalComponentDateTime *dt = (ECalComponentDateTime *) l->data; + if (dt->value) { + if (!icaltime_get_timezone (*(dt->value))) +- icaltime_set_timezone (dt->value, default_zone ? default_zone : utc); ++ icaltime_set_timezone (dt->value, icaltimezone_get_builtin_timezone_from_tzid(dt->tzid)); + itt_utc = icaltime_convert_to_zone (*dt->value, utc); + item_exdate_list = g_slist_append (item_exdate_list, icaltime_as_ical_string_r (itt_utc)); + } +@@ -661,7 +661,7 @@ set_properties_from_cal_component (EGwItem *item, + e_cal_component_get_dtend (comp, &dt); + if (dt.value) { + if (!icaltime_get_timezone (*dt.value)) +- icaltime_set_timezone (dt.value, default_zone ? default_zone : utc); ++ icaltime_set_timezone (dt.value, icaltimezone_get_builtin_timezone_from_tzid(dt.tzid)); + itt_utc = icaltime_convert_to_zone (*dt.value, utc); + value = icaltime_as_ical_string_r (itt_utc); + e_gw_item_set_end_date (item, value); +@@ -678,7 +678,7 @@ set_properties_from_cal_component (EGwItem *item, + e_cal_component_get_due (comp, &dt); + if (dt.value) { + if (!icaltime_get_timezone (*dt.value)) +- icaltime_set_timezone (dt.value, default_zone); ++ icaltime_set_timezone (dt.value, icaltimezone_get_builtin_timezone_from_tzid(dt.tzid)); + itt_utc = icaltime_convert_to_zone (*dt.value, utc); + value = icaltime_as_ical_string_r (itt_utc); + e_gw_item_set_due_date (item, value); +@@ -754,7 +754,7 @@ set_properties_from_cal_component (EGwItem *item, + e_cal_component_get_dtstart (comp, &dt); + if (dt.value) { + if (!icaltime_get_timezone (*dt.value)) +- icaltime_set_timezone (dt.value, default_zone); ++ icaltime_set_timezone (dt.value, icaltimezone_get_builtin_timezone_from_tzid(dt.tzid)); + itt_utc = icaltime_convert_to_zone (*dt.value, utc); + value = icaltime_as_ical_string_r (itt_utc); + e_gw_item_set_start_date (item, value); +@@ -777,7 +777,7 @@ set_properties_from_cal_component (EGwItem *item, + e_cal_component_get_created (comp, &dt.value); + if (dt.value) { + if (!icaltime_get_timezone (*dt.value)) +- icaltime_set_timezone (dt.value, default_zone); ++ icaltime_set_timezone (dt.value, icaltimezone_get_builtin_timezone_from_tzid(dt.tzid)); + itt_utc = icaltime_convert_to_zone (*dt.value, utc); + value = icaltime_as_ical_string_r (itt_utc); + e_gw_item_set_creation_date (item, value); +-- +1.7.8 + diff --git a/gnome-extra/evolution-groupwise/metadata.xml b/gnome-extra/evolution-groupwise/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/gnome-extra/evolution-groupwise/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +</pkgmetadata> |