[arch-commits] Commit in gnome-calendar/trunk (2 files)
Jan de Groot
jgc at archlinux.org
Wed Nov 22 13:01:57 UTC 2017
Date: Wednesday, November 22, 2017 @ 13:01:55
Author: jgc
Revision: 310580
upgpkg: gnome-calendar 3.26.2-2
Libical/Enchant rebuild
Added:
gnome-calendar/trunk/gnome-calendar-3.26.2-libical-3.0.patch
Modified:
gnome-calendar/trunk/PKGBUILD
-----------------------------------------+
PKGBUILD | 9 ++++++---
gnome-calendar-3.26.2-libical-3.0.patch | 19 +++++++++++++++++++
2 files changed, 25 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-22 12:49:16 UTC (rev 310579)
+++ PKGBUILD 2017-11-22 13:01:55 UTC (rev 310580)
@@ -3,7 +3,7 @@
pkgname=gnome-calendar
pkgver=3.26.2
-pkgrel=1
+pkgrel=2
pkgdesc="Simple and beautiful calendar application designed to perfectly fit the GNOME desktop"
url="https://wiki.gnome.org/Apps/Calendar"
arch=(x86_64)
@@ -12,8 +12,10 @@
makedepends=(python appstream-glib git meson gtk-doc)
groups=(gnome-extra)
_commit=389bbfd05e4078a0cc3ad59bbabbeb730619859d # tags/3.26.2^0
-source=("git+https://git.gnome.org/browse/gnome-calendar#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://git.gnome.org/browse/gnome-calendar#commit=$_commit"
+ gnome-calendar-3.26.2-libical-3.0.patch)
+sha256sums=('SKIP'
+ '8f4fd0aba6780413c1956a82ebd7a49afcae1ca46b364fb0df7da476c4fb96d5')
pkgver() {
cd $pkgname
@@ -23,6 +25,7 @@
prepare() {
mkdir build
cd $pkgname
+ patch -Np1 -i ../gnome-calendar-3.26.2-libical-3.0.patch
}
build() {
Added: gnome-calendar-3.26.2-libical-3.0.patch
===================================================================
--- gnome-calendar-3.26.2-libical-3.0.patch (rev 0)
+++ gnome-calendar-3.26.2-libical-3.0.patch 2017-11-22 13:01:55 UTC (rev 310580)
@@ -0,0 +1,19 @@
+diff -up gnome-calendar-3.26.2/src/gcal-utils.c.libical-3.0 gnome-calendar-3.26.2/src/gcal-utils.c
+--- gnome-calendar-3.26.2/src/gcal-utils.c.libical-3.0 2017-11-08 16:23:17.481220751 +0100
++++ gnome-calendar-3.26.2/src/gcal-utils.c 2017-11-08 16:25:06.896219238 +0100
+@@ -204,14 +204,13 @@ gcal_dup_icaltime (const icaltimetype *d
+ if (date == NULL)
+ return NULL;
+
+- new_date= g_new (icaltimetype, 1);
++ new_date = g_new0 (icaltimetype, 1);
+ new_date->year = date->year;
+ new_date->month = date->month;
+ new_date->day = date->day;
+ new_date->hour = date->hour;
+ new_date->minute = date->minute;
+ new_date->second = date->second;
+- new_date->is_utc = date->is_utc;
+ new_date->is_date = date->is_date;
+ new_date->is_daylight = date->is_daylight;
+ new_date->zone = date->zone;
More information about the arch-commits
mailing list