From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A9CB138206 for ; Wed, 17 Jan 2018 13:49:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E60CE0A10; Wed, 17 Jan 2018 13:47:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D3B0E0A10 for ; Wed, 17 Jan 2018 13:47:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CB354335C0C for ; Wed, 17 Jan 2018 13:47:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28DEB1A6 for ; Wed, 17 Jan 2018 13:47:01 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1516196770.367cde0860c452acf895c312e5d5f4f80a953bde.leio@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-todo/, gnome-extra/gnome-todo/files/ X-VCS-Repository: proj/gnome X-VCS-Files: gnome-extra/gnome-todo/files/3.26.2-libical3-compat.patch gnome-extra/gnome-todo/gnome-todo-3.26.2.ebuild X-VCS-Directories: gnome-extra/gnome-todo/ gnome-extra/gnome-todo/files/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 367cde0860c452acf895c312e5d5f4f80a953bde X-VCS-Branch: master Date: Wed, 17 Jan 2018 13:47:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fca53468-5cdd-408b-9ec5-e900f1e672df X-Archives-Hash: 439b23cf89f674b3557ad3eba38b7459 commit: 367cde0860c452acf895c312e5d5f4f80a953bde Author: Mart Raudsepp gentoo org> AuthorDate: Wed Jan 17 13:45:18 2018 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Wed Jan 17 13:46:10 2018 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=367cde08 gnome-extra/gnome-todo: bump to 3.26.2, always build introspection gnome-todo introspection support is used by its own plugins, so if we enable score and unscheduled plugin, introspection should be enabled as well. Because libpeas already always pulls in gobject-introspection, we have no extra dependency cost here anyways, so just always enable it. Conversion to use meson, thus adding USE=doc for gtk-doc as they aren't shipped pregenerated in tarball with meson (USE flag name still to be discussed globally). Backport libical3 compat patch - file to patch seems to have moved for 3.26 compared to 3.24, and then again on master where it was backported from. Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../gnome-todo/files/3.26.2-libical3-compat.patch | 27 ++++++++++++ gnome-extra/gnome-todo/gnome-todo-3.26.2.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/gnome-extra/gnome-todo/files/3.26.2-libical3-compat.patch b/gnome-extra/gnome-todo/files/3.26.2-libical3-compat.patch new file mode 100644 index 00000000..efad2e6d --- /dev/null +++ b/gnome-extra/gnome-todo/files/3.26.2-libical3-compat.patch @@ -0,0 +1,27 @@ +From 7362e5becc32cec8eebea5d41d95db8d9ad816bc Mon Sep 17 00:00:00 2001 +From: Mart Raudsepp +Date: Wed, 17 Jan 2018 14:29:38 +0200 +Subject: [PATCH] eds: Build with libical 3.0 + +Backport of 6de8adc351b758c1d608ae0ea8acf6d35ed502ea +--- + src/gtd-task.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/gtd-task.c b/src/gtd-task.c +index 389f5ad..219ab44 100644 +--- a/src/gtd-task.c ++++ b/src/gtd-task.c +@@ -777,8 +777,7 @@ gtd_task_set_complete (GtdTask *task, + dt->hour = g_date_time_get_hour (now); + dt->minute = g_date_time_get_minute (now); + dt->second = g_date_time_get_seconds (now); +- dt->is_date = 0; +- dt->is_utc = 1; ++ dt->zone = icaltimezone_get_utc_timezone (); + + /* convert timezone + * +-- +2.10.2 + diff --git a/gnome-extra/gnome-todo/gnome-todo-3.26.2.ebuild b/gnome-extra/gnome-todo/gnome-todo-3.26.2.ebuild new file mode 100644 index 00000000..2e056593 --- /dev/null +++ b/gnome-extra/gnome-todo/gnome-todo-3.26.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome-meson + +DESCRIPTION="Personal task manager" +HOMEPAGE="https://wiki.gnome.org/Apps/Todo" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +# TODO: Todoist plugin seems to require 3.26 GOA for being able to add a Todoist account +RDEPEND=" + >=dev-libs/glib-2.43.4:2 + >=x11-libs/gtk+-3.22.0:3 + >=net-libs/gnome-online-accounts-3.2.0 + >=gnome-extra/evolution-data-server-3.17.1:=[gtk] + >=dev-libs/libical-0.43 + >=dev-libs/libpeas-1.17 + >=dev-libs/gobject-introspection-1.42:= +" +DEPEND="${RDEPEND} + >=dev-util/meson-0.40.0 + doc? ( dev-util/gtk-doc ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PV}-libical3-compat.patch +) + +src_configure() { + # TODO: There aren't any consumers of the introspection outside gnome-todo's own plugins, so maybe we + # TODO: should just always build introspection support as an application that needs it for full functionality? + gnome-meson_src_configure \ + -Denable-background-plugin=true \ + -Denable-dark-theme-plugin=true \ + -Denable-scheduled-panel-plugin=true \ + -Denable-score-plugin=true \ + -Denable-today-panel-plugin=true \ + -Denable-unscheduled-panel-plugin=true \ + -Denable-todo-txt-plugin=true \ + -Denable-todoist-plugin=true \ + $(meson_use doc enable-gtk-doc) \ + -Denable-introspection=true +}