[arch-commits] Commit in gnome-calendar/repos (3 files)

Jan de Groot jgc at archlinux.org
Wed Nov 22 13:02:08 UTC 2017


    Date: Wednesday, November 22, 2017 @ 13:02:05
  Author: jgc
Revision: 310581

archrelease: copy trunk to staging-x86_64

Added:
  gnome-calendar/repos/staging-x86_64/
  gnome-calendar/repos/staging-x86_64/PKGBUILD
    (from rev 310580, gnome-calendar/trunk/PKGBUILD)
  gnome-calendar/repos/staging-x86_64/gnome-calendar-3.26.2-libical-3.0.patch
    (from rev 310580, gnome-calendar/trunk/gnome-calendar-3.26.2-libical-3.0.patch)

-----------------------------------------+
 PKGBUILD                                |   42 ++++++++++++++++++++++++++++++
 gnome-calendar-3.26.2-libical-3.0.patch |   19 +++++++++++++
 2 files changed, 61 insertions(+)

Copied: gnome-calendar/repos/staging-x86_64/PKGBUILD (from rev 310580, gnome-calendar/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-11-22 13:02:05 UTC (rev 310581)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-calendar
+pkgver=3.26.2
+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)
+license=(GPL)
+depends=(evolution-data-server gsettings-desktop-schemas)
+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"
+        gnome-calendar-3.26.2-libical-3.0.patch)
+sha256sums=('SKIP'
+            '8f4fd0aba6780413c1956a82ebd7a49afcae1ca46b364fb0df7da476c4fb96d5')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  mkdir build
+  cd $pkgname
+  patch -Np1 -i ../gnome-calendar-3.26.2-libical-3.0.patch
+}
+
+build() {
+  cd build
+  arch-meson ../$pkgname -Denable-gtk-doc=true
+  ninja
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gnome-calendar/repos/staging-x86_64/gnome-calendar-3.26.2-libical-3.0.patch (from rev 310580, gnome-calendar/trunk/gnome-calendar-3.26.2-libical-3.0.patch)
===================================================================
--- staging-x86_64/gnome-calendar-3.26.2-libical-3.0.patch	                        (rev 0)
+++ staging-x86_64/gnome-calendar-3.26.2-libical-3.0.patch	2017-11-22 13:02:05 UTC (rev 310581)
@@ -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