summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-12-12 05:25:58 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-12-12 05:25:58 +0000
commit365d0b811aab5b0d2dd83e31c7efface067bbdd7 (patch)
tree35648bd214e9867f2125c5fee6d64f8f86dcb91f /gnome-extra
parentVersion bump. Drop old. Cleanup - made sources again installable. Fixed build... (diff)
downloadhistorical-365d0b811aab5b0d2dd83e31c7efface067bbdd7.tar.gz
historical-365d0b811aab5b0d2dd83e31c7efface067bbdd7.tar.bz2
historical-365d0b811aab5b0d2dd83e31c7efface067bbdd7.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).
Package-Manager: portage-2.2.0_alpha80/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/evolution-groupwise/ChangeLog13
-rw-r--r--gnome-extra/evolution-groupwise/Manifest15
-rw-r--r--gnome-extra/evolution-groupwise/evolution-groupwise-3.2.1.ebuild55
-rw-r--r--gnome-extra/evolution-groupwise/files/evolution-groupwise-3.2.1-timezone.patch62
-rw-r--r--gnome-extra/evolution-groupwise/metadata.xml5
5 files changed, 150 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/Manifest b/gnome-extra/evolution-groupwise/Manifest
new file mode 100644
index 000000000000..0403d948c2d2
--- /dev/null
+++ b/gnome-extra/evolution-groupwise/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX evolution-groupwise-3.2.1-timezone.patch 3058 RMD160 d3025d4d2c103388caf8190db7895ffffdb0553b SHA1 bfd4d735c2e48dbf9036755280f12f28e882c38e SHA256 e6d1c603c50f55279078898413643218986d35abe909a6c0f3bd10360d2b210f
+DIST evolution-groupwise-3.2.1.tar.xz 405340 RMD160 68efec8d7a83e4e381d23b258b31351cb50a788a SHA1 631833b6edc541a2950e0a1d2be7bed71bf75bde SHA256 3a5a1590b92144e465b09abc0fdaefc6d6bf9a5465d0b07e01171ddfef4aebbf
+EBUILD evolution-groupwise-3.2.1.ebuild 1486 RMD160 9de972d1650785d22b2c70d65bed82ca54ffb849 SHA1 fb918926559477c958c88c23b045baf09209fe12 SHA256 0fd0299a681266edfadd8ee2197291e27197612bf57d69e39759eb226eb440c5
+MISC ChangeLog 621 RMD160 34a580405c67523fe072d765fad0ac12464a24cb SHA1 1b7a4a078548fbeca56b546194bd21e00db18cd4 SHA256 e09bfdd50ae182792c7bf5eeaa611ae726f416ccc1829385ce43a59e4e163f9a
+MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iF4EAREIAAYFAk7lkGsACgkQdjK8w9WeBnAzZAEAg+4jKKft3lzWj1G7kM0NqlRm
+6CdAonaY46C+ACY6PK0A/3+6fwPDCSBH6OXpelVzIu3Cja/Aiz6RvnAnIgKEZ4zz
+=35jE
+-----END PGP SIGNATURE-----
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>