[arch-commits] Commit in gnome-todo/repos (3 files)
Jan de Groot
jgc at archlinux.org
Wed Nov 22 13:07:57 UTC 2017
Date: Wednesday, November 22, 2017 @ 13:07:55
Author: jgc
Revision: 310584
archrelease: copy trunk to staging-x86_64
Added:
gnome-todo/repos/staging-x86_64/
gnome-todo/repos/staging-x86_64/PKGBUILD
(from rev 310583, gnome-todo/trunk/PKGBUILD)
gnome-todo/repos/staging-x86_64/gnome-todo-3.26.2-libical-3.0.patch
(from rev 310583, gnome-todo/trunk/gnome-todo-3.26.2-libical-3.0.patch)
-------------------------------------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++
gnome-todo-3.26.2-libical-3.0.patch | 12 ++++++++
2 files changed, 60 insertions(+)
Copied: gnome-todo/repos/staging-x86_64/PKGBUILD (from rev 310583, gnome-todo/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-11-22 13:07:55 UTC (rev 310584)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-todo
+pkgver=3.26.2
+pkgrel=2
+pkgdesc="Task manager for GNOME"
+url="https://wiki.gnome.org/Apps/Todo"
+arch=(x86_64)
+license=(GPL)
+depends=(evolution-data-server libpeas python)
+makedepends=(gobject-introspection appstream-glib git meson gtk-doc)
+groups=(gnome-extra)
+_commit=7fc6169efedbd75877aa8b3f13c6e8125c169a0c # tags/GNOME_TODO_3_26_2^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-todo.git#commit=$_commit"
+ gnome-todo-3.26.2-libical-3.0.patch)
+sha256sums=('SKIP'
+ '83cc34d6ced22e8edab14cd9afc1c130e96c4a305c36ed06f81e7d92f30d71a3')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^GNOME_TODO_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd $pkgname
+ patch -Np1 -i ../gnome-todo-3.26.2-libical-3.0.patch
+}
+
+build() {
+ cd build
+ LDFLAGS+=" -fuse-ld=gold" # Avoid endless loop in ld.bfd
+ arch-meson ../$pkgname -Denable-gtk-doc=true -Db_lto=false
+ ninja
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: gnome-todo/repos/staging-x86_64/gnome-todo-3.26.2-libical-3.0.patch (from rev 310583, gnome-todo/trunk/gnome-todo-3.26.2-libical-3.0.patch)
===================================================================
--- staging-x86_64/gnome-todo-3.26.2-libical-3.0.patch (rev 0)
+++ staging-x86_64/gnome-todo-3.26.2-libical-3.0.patch 2017-11-22 13:07:55 UTC (rev 310584)
@@ -0,0 +1,12 @@
+diff -up gnome-todo-3.26.2/src/gtd-task.c.libical-3.0 gnome-todo-3.26.2/src/gtd-task.c
+--- gnome-todo-3.26.2/src/gtd-task.c.libical-3.0 2017-11-08 14:53:53.484294926 +0100
++++ gnome-todo-3.26.2/src/gtd-task.c 2017-11-08 14:53:57.208294874 +0100
+@@ -778,7 +778,7 @@ gtd_task_set_complete (GtdTask *task,
+ 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
+ *
More information about the arch-commits
mailing list