summaryrefslogtreecommitdiff
path: root/pcr/california
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-12-04 16:49:05 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-12-04 16:49:05 -0500
commitb49e7f12e339e6e7181f9ed91c54222cbab039ca (patch)
treef15b218e280e904d0cc6d38f57fca36585790ba5 /pcr/california
parentfefe4be6997f0e9f6335e0055de15fdbf2e836e7 (diff)
downloadabslibre-b49e7f12e339e6e7181f9ed91c54222cbab039ca.tar.gz
abslibre-b49e7f12e339e6e7181f9ed91c54222cbab039ca.tar.bz2
abslibre-b49e7f12e339e6e7181f9ed91c54222cbab039ca.zip
california-0.4.0-2.8: rebuild against libical 3
Diffstat (limited to 'pcr/california')
-rw-r--r--pcr/california/PKGBUILD9
-rw-r--r--pcr/california/california-remove-is_utc.patch18
2 files changed, 24 insertions, 3 deletions
diff --git a/pcr/california/PKGBUILD b/pcr/california/PKGBUILD
index ca91cf7c7..83d8bc79a 100644
--- a/pcr/california/PKGBUILD
+++ b/pcr/california/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=california
pkgver=0.4.0
-pkgrel=2.7
+pkgrel=2.8
pkgdesc='A new calendar application for GNOME 3. It is currently under heavy development.'
arch=('i686' 'x86_64' 'armv7h')
url="https://wiki.gnome.org/Apps/California"
@@ -17,13 +17,16 @@ depends=('evolution-data-server' 'libgee' 'xdg-utils')
makedepends=('vala' 'intltool' 'gnome-common' 'yelp-tools' 'gobject-introspection' 'patch')
install="${pkgname}.install"
source=('https://download.gnome.org/sources/california/0.4/california-0.4.0.tar.xz'
- '0002-Build-with-evolution-data-server-3.13.90.patch')
+ '0002-Build-with-evolution-data-server-3.13.90.patch'
+ 'california-remove-is_utc.patch')
sha256sums=('b25f356363a9f8f8f93c7ab78af02de39f9c3b71964663129ac9904de9147eb6'
- 'f512f50470954ec4018c99c49c37fa7e23074653a2e090ff13e32631ec10293d')
+ 'f512f50470954ec4018c99c49c37fa7e23074653a2e090ff13e32631ec10293d'
+ '6a49d69d260e240bc0f8d4cf03098dbcba774ea5000fd038a879489683bf881d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 < ../0002-Build-with-evolution-data-server-3.13.90.patch
+ patch -Np1 -i ../california-remove-is_utc.patch
./configure \
--prefix=/usr
sed -i 's#californiadocdir = ${prefix}#californiadocdir = ${datadir}#g' Makefile
diff --git a/pcr/california/california-remove-is_utc.patch b/pcr/california/california-remove-is_utc.patch
new file mode 100644
index 000000000..6666f9aee
--- /dev/null
+++ b/pcr/california/california-remove-is_utc.patch
@@ -0,0 +1,18 @@
+--- california-0.4.0.orig/src/component/component.vala 2015-03-23 18:36:24.000000000 -0500
++++ california-0.4.0/src/component/component.vala 2017-12-04 15:40:43.105276768 -0500
+@@ -224,7 +224,6 @@
+ ical_dt->hour = 0;
+ ical_dt->minute = 0;
+ ical_dt->second = 0;
+- ical_dt->is_utc = 0;
+ ical_dt->is_date = 1;
+ ical_dt->is_daylight = 0;
+ ical_dt->zone = null;
+@@ -240,7 +239,6 @@
+ ical_dt->hour = exact_time.hour;
+ ical_dt->minute = exact_time.minute;
+ ical_dt->second = exact_time.second;
+- ical_dt->is_utc = exact_time.tz.is_utc ? 1 : 0;
+ ical_dt->is_date = 0;
+ ical_dt->is_daylight = exact_time.is_dst ? 1 : 0;
+ ical_dt->zone = iCal.icaltimezone.get_builtin_timezone(exact_time.tz.zone.value);