[neon/kde/kwin/Neon/release] debian: make geoclue use a service that actually exists & works
Carlos De Maine
null at kde.org
Mon Jul 7 07:59:25 BST 2025
Git commit cc6e4882b0dbaef1440289940ca33b248f4bf7bc by Carlos De Maine.
Committed on 07/07/2025 at 06:59.
Pushed by carlosdem into branch 'Neon/release'.
make geoclue use a service that actually exists & works
M +12 -0 debian/kwin-wayland.postinst
https://invent.kde.org/neon/kde/kwin/-/commit/cc6e4882b0dbaef1440289940ca33b248f4bf7bc
diff --git a/debian/kwin-wayland.postinst b/debian/kwin-wayland.postinst
index 3c2967f..ac9ade0 100644
--- a/debian/kwin-wayland.postinst
+++ b/debian/kwin-wayland.postinst
@@ -20,6 +20,18 @@ if [ "$1" = configure ]; then
fi
fi
+# check if already exists
+if [ -e /etc/geoclue/conf.d/99-neon-kwin-wayland-beacondb.conf ]; then
+ rm /etc/geoclue/conf.d/99-neon-kwin-wayland-beacondb.conf
+ fi
+
+# make geoclue use a service that actually exists & works
+cat > /etc/geoclue/conf.d/99-neon-kwin-wayland-beacondb.conf <<EOF
+[wifi]
+enable=true
+url=https://api.beacondb.net/v1/geolocate
+EOF
+
#DEBHELPER#
exit 0
More information about the Neon-commits
mailing list