public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-todo/, gnome-extra/gnome-todo/files/
Date: Wed, 17 Jan 2018 13:47:01 +0000 (UTC)	[thread overview]
Message-ID: <1516196770.367cde0860c452acf895c312e5d5f4f80a953bde.leio@gentoo> (raw)

commit:     367cde0860c452acf895c312e5d5f4f80a953bde
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 17 13:45:18 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> 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 <leio@gentoo.org>
+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
+}


             reply	other threads:[~2018-01-17 13:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-17 13:47 Mart Raudsepp [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-01-08 14:37 [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-todo/, gnome-extra/gnome-todo/files/ Mart Raudsepp
2017-09-03 22:12 Gilles Dartiguelongue
2016-11-13 12:07 Gilles Dartiguelongue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516196770.367cde0860c452acf895c312e5d5f4f80a953bde.leio@gentoo \
    --to=leio@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox