[arch-commits] Commit in gnome-calendar/repos (3 files)
Jan Steffens
heftig at gemini.archlinux.org
Sat Apr 2 21:54:55 UTC 2022
Date: Saturday, April 2, 2022 @ 21:54:55
Author: heftig
Revision: 441324
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gnome-calendar/repos/gnome-unstable-x86_64/
gnome-calendar/repos/gnome-unstable-x86_64/0001-weather-service-Reduce-location-accuracy.patch
(from rev 441322, gnome-calendar/trunk/0001-weather-service-Reduce-location-accuracy.patch)
gnome-calendar/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 441322, gnome-calendar/trunk/PKGBUILD)
-----------------------------------------------------+
0001-weather-service-Reduce-location-accuracy.patch | 23 ++++++++
PKGBUILD | 47 ++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: gnome-calendar/repos/gnome-unstable-x86_64/0001-weather-service-Reduce-location-accuracy.patch (from rev 441322, gnome-calendar/trunk/0001-weather-service-Reduce-location-accuracy.patch)
===================================================================
--- gnome-unstable-x86_64/0001-weather-service-Reduce-location-accuracy.patch (rev 0)
+++ gnome-unstable-x86_64/0001-weather-service-Reduce-location-accuracy.patch 2022-04-02 21:54:55 UTC (rev 441324)
@@ -0,0 +1,23 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <heftig at archlinux.org>
+Date: Sat, 2 Apr 2022 21:40:40 +0000
+Subject: [PATCH] weather service: Reduce location accuracy
+
+This avoids activating the compass.
+---
+ src/weather/gcal-weather-service.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/weather/gcal-weather-service.c b/src/weather/gcal-weather-service.c
+index f8f45e33ebb2..8d05ee16ceac 100644
+--- a/src/weather/gcal-weather-service.c
++++ b/src/weather/gcal-weather-service.c
+@@ -1117,7 +1117,7 @@ gcal_weather_service_run (GcalWeatherService *self,
+ g_cancellable_reset (self->location_cancellable);
+
+ gclue_simple_new (APPLICATION_ID,
+- GCLUE_ACCURACY_LEVEL_EXACT,
++ GCLUE_ACCURACY_LEVEL_CITY,
+ self->location_cancellable,
+ (GAsyncReadyCallback) on_gclue_simple_creation_cb,
+ self);
Copied: gnome-calendar/repos/gnome-unstable-x86_64/PKGBUILD (from rev 441322, gnome-calendar/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2022-04-02 21:54:55 UTC (rev 441324)
@@ -0,0 +1,47 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-calendar
+pkgver=42.0
+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 libsoup libadwaita libgweather-4 geoclue
+ geocode-glib gsettings-desktop-schemas gnome-control-center)
+makedepends=(git meson)
+groups=(gnome)
+options=(debug)
+_commit=f49bec413e41a0d41be8fc59056e3029971ae846 # tags/42.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-calendar.git#commit=$_commit"
+ 0001-weather-service-Reduce-location-accuracy.patch)
+sha256sums=('SKIP'
+ '45441d15d60131ea2a8bd20f04aaf803ebb3e351800c1a577e77a737f770a111')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+
+ # https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/216
+ git apply -3 ../0001-weather-service-Reduce-location-accuracy.patch
+}
+
+build() {
+ arch-meson $pkgname build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list