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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Mar 15 11:32:25 UTC 2019


    Date: Friday, March 15, 2019 @ 11:32:25
  Author: bpiotrowski
Revision: 348150

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gnome-calendar/repos/gnome-unstable-x86_64/
  gnome-calendar/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 348149, gnome-calendar/trunk/PKGBUILD)
  gnome-calendar/repos/gnome-unstable-x86_64/null-icaltime.diff
    (from rev 348149, gnome-calendar/trunk/null-icaltime.diff)

--------------------+
 PKGBUILD           |   45 +++++++++++++++++++++++++++++++++++++++++++++
 null-icaltime.diff |   14 ++++++++++++++
 2 files changed, 59 insertions(+)

Copied: gnome-calendar/repos/gnome-unstable-x86_64/PKGBUILD (from rev 348149, gnome-calendar/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2019-03-15 11:32:25 UTC (rev 348150)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-calendar
+pkgver=3.32.0
+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 evolution gnome-control-center libdazzle)
+makedepends=(python appstream-glib git meson gtk-doc)
+groups=(gnome)
+_commit=f1b5d70be3d1cddb2683346834b49b3c74ed77d7  # tags/3.32.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-calendar.git#commit=$_commit"
+        null-icaltime.diff)
+sha256sums=('SKIP'
+            'c1aa738a4ff275f725d0aa5406312600503b2b59270448a9e6b30b82a924dc27')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  patch -Np1 -i ../null-icaltime.diff
+}
+
+build() {
+  arch-meson $pkgname build \
+    --buildtype=debugoptimized \
+    -D documentation=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gnome-calendar/repos/gnome-unstable-x86_64/null-icaltime.diff (from rev 348149, gnome-calendar/trunk/null-icaltime.diff)
===================================================================
--- gnome-unstable-x86_64/null-icaltime.diff	                        (rev 0)
+++ gnome-unstable-x86_64/null-icaltime.diff	2019-03-15 11:32:25 UTC (rev 348150)
@@ -0,0 +1,14 @@
+diff --git i/src/gcal-utils.c w/src/gcal-utils.c
+index c7646565..8070034c 100644
+--- i/src/gcal-utils.c
++++ w/src/gcal-utils.c
+@@ -181,6 +181,9 @@ icaltime_to_datetime (const icaltimetype  *date)
+   GDateTime *dt;
+   GTimeZone *tz;
+ 
++  if (!date)
++    return NULL;
++
+   tz = date->zone ? g_time_zone_new (icaltime_get_tzid (*date)) : g_time_zone_new_utc ();
+   dt = g_date_time_new (tz,
+                         date->year,



More information about the arch-commits mailing list