Date: Sunday, April 14, 2019 @ 20:18:25 Author: heftig Revision: 350785
archrelease: copy trunk to extra-x86_64 Added: gnome-calendar/repos/extra-x86_64/PKGBUILD (from rev 350784, gnome-calendar/trunk/PKGBUILD) gnome-calendar/repos/extra-x86_64/null-icaltime.diff (from rev 350784, gnome-calendar/trunk/null-icaltime.diff) Deleted: gnome-calendar/repos/extra-x86_64/PKGBUILD gnome-calendar/repos/extra-x86_64/null-icaltime.diff --------------------+ PKGBUILD | 89 +++++++++++++++++++++++++-------------------------- null-icaltime.diff | 28 ++++++++-------- 2 files changed, 58 insertions(+), 59 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-14 20:17:59 UTC (rev 350784) +++ PKGBUILD 2019-04-14 20:18:25 UTC (rev 350785) @@ -1,45 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> -# Maintainer: Jan de Groot <j...@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/extra-x86_64/PKGBUILD (from rev 350784, gnome-calendar/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-14 20:18:25 UTC (rev 350785) @@ -0,0 +1,44 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=gnome-calendar +pkgver=3.32.0+4+g64362206 +pkgrel=1 +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 gnome-control-center libdazzle) +makedepends=(python appstream-glib git meson gtk-doc) +optdepends=('evolution: ICS file import') +groups=(gnome) +_commit=643622069d939529eafb7aa94d95905795e6fb94 # master +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 -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: Deleted: null-icaltime.diff =================================================================== --- null-icaltime.diff 2019-04-14 20:17:59 UTC (rev 350784) +++ null-icaltime.diff 2019-04-14 20:18:25 UTC (rev 350785) @@ -1,14 +0,0 @@ -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, Copied: gnome-calendar/repos/extra-x86_64/null-icaltime.diff (from rev 350784, gnome-calendar/trunk/null-icaltime.diff) =================================================================== --- null-icaltime.diff (rev 0) +++ null-icaltime.diff 2019-04-14 20:18:25 UTC (rev 350785) @@ -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,