Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-todo/, gnome-extra/gnome-todo/files/
Date: Tue, 09 Jan 2018 02:04:17
Message-Id: 1515421927.0e92130ec4df66f973c2afbf22de9e18dd1100a7.leio@gentoo
1 commit: 0e92130ec4df66f973c2afbf22de9e18dd1100a7
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 8 14:26:16 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 8 14:32:07 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=0e92130e
7
8 gnome-extra/gnome-todo: fix compatibility with dev-libs/libical:0/3
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 .../gnome-todo/files/3.24.2-libical3-compat.patch | 29 ++++++++++++++++++++++
13 gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild | 6 ++++-
14 2 files changed, 34 insertions(+), 1 deletion(-)
15
16 diff --git a/gnome-extra/gnome-todo/files/3.24.2-libical3-compat.patch b/gnome-extra/gnome-todo/files/3.24.2-libical3-compat.patch
17 new file mode 100644
18 index 00000000..f7265da3
19 --- /dev/null
20 +++ b/gnome-extra/gnome-todo/files/3.24.2-libical3-compat.patch
21 @@ -0,0 +1,29 @@
22 +From a2f3afb3c8a4f8b0a2a361e37b36b10e1e98380c Mon Sep 17 00:00:00 2001
23 +From: Georges Basile Stavracas Neto <georges.stavracas@×××××.com>
24 +Date: Sat, 11 Nov 2017 03:31:47 -0200
25 +Subject: [PATCH] eds: Build with libical 3.0
26 +
27 +Fixes #123
28 +
29 +(cherry picked and ported from commit 6de8adc351b758c1d608ae0ea8acf6d35ed502ea)
30 +---
31 + src/gtd-task.c | 3 +--
32 + 1 file changed, 1 insertion(+), 2 deletions(-)
33 +
34 +diff --git a/src/gtd-task.c b/src/gtd-task.c
35 +index 1143dad..125e2f3 100644
36 +--- a/src/gtd-task.c
37 ++++ b/src/gtd-task.c
38 +@@ -777,8 +777,7 @@ gtd_task_set_complete (GtdTask *task,
39 + dt->hour = g_date_time_get_hour (now);
40 + dt->minute = g_date_time_get_minute (now);
41 + dt->second = g_date_time_get_seconds (now);
42 +- dt->is_date = 0;
43 +- dt->is_utc = 1;
44 ++ dt->zone = icaltimezone_get_utc_timezone ();
45 +
46 + /* convert timezone
47 + *
48 +--
49 +2.15.1
50 +
51
52 diff --git a/gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild b/gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild
53 index 7bc408d7..7512ec18 100644
54 --- a/gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild
55 +++ b/gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild
56 @@ -1,4 +1,4 @@
57 -# Copyright 1999-2017 Gentoo Foundation
58 +# Copyright 1999-2018 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60
61 EAPI=6
62 @@ -29,6 +29,10 @@ DEPEND="${RDEPEND}
63 virtual/pkgconfig
64 "
65
66 +PATCHES=(
67 + "${FILESDIR}"/${PV}-libical3-compat.patch
68 +)
69 +
70 src_configure() {
71 gnome2_src_configure \
72 $(use_enable introspection) \