Commit 5bea832a authored by Zeeshan Ali's avatar Zeeshan Ali

HACKING: Remove extra indentation

Some lines were more indented than needed.
parent 1d3581f3
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
is already included in your distro/OS, you should be able to use the is already included in your distro/OS, you should be able to use the
package manager's command to install all build depedndancies. package manager's command to install all build depedndancies.
* gio (>= 2.44.0) * gio (>= 2.44.0)
* gobject-introspection * gobject-introspection
* json-glib * json-glib
* libsoup2.4 (>= 2.42) * libsoup2.4 (>= 2.42)
* pkg-config * pkg-config
Fedora: Fedora:
...@@ -26,22 +26,22 @@ ...@@ -26,22 +26,22 @@
avahi-client and avahi-glib. You want the latter two if you want to use the avahi-client and avahi-glib. You want the latter two if you want to use the
[geoclue-share app](https://wiki.gnome.org/Apps/GeoclueShare). [geoclue-share app](https://wiki.gnome.org/Apps/GeoclueShare).
Fedora: Fedora:
```shell ```shell
sudo dnf install ModemManager-devel sudo dnf install ModemManager-devel
sudo dnf install avahi-devel sudo dnf install avahi-devel
sudo dnf install avahi-glib sudo dnf install avahi-glib
``` ```
Debian and Ubuntu: Debian and Ubuntu:
```shell ```shell
sudo apt install modemmanager sudo apt install modemmanager
sudo apt install libavahi-client3 sudo apt install libavahi-client3
sudo apt install libavahi-glib1 sudo apt install libavahi-glib1
sudo apt install libnotify-dev sudo apt install libnotify-dev
``` ```
- [Install meson](https://mesonbuild.com/Getting-meson.html). - [Install meson](https://mesonbuild.com/Getting-meson.html).
...@@ -50,31 +50,31 @@ ...@@ -50,31 +50,31 @@
- Build and install geoclue. - Build and install geoclue.
```shell ```shell
meson --prefix=/usr --sysconfdir /etc -Ddbus-srv-user=geoclue build meson --prefix=/usr --sysconfdir /etc -Ddbus-srv-user=geoclue build
# you may need to pass --libdir=/usr/lib64 on some systems (eg. Fedora) # you may need to pass --libdir=/usr/lib64 on some systems (eg. Fedora)
ninja -C build ninja -C build
sudo ninja -C build install sudo ninja -C build install
``` ```
- Then you can run it as: - Then you can run it as:
```shell ```shell
sudo su geoclue sudo su geoclue
G_MESSAGES_DEBUG=Geoclue /usr/libexec/geoclue G_MESSAGES_DEBUG=Geoclue /usr/libexec/geoclue
``` ```
If you get the following error, make sure ``geoclue`` process is not already If you get the following error, make sure ``geoclue`` process is not already
running: running:
``` ```
> Failed to acquire name 'org.freedesktop.GeoClue2' on system bus or lost it > Failed to acquire name 'org.freedesktop.GeoClue2' on system bus or lost it
``` ```
- Test - Test
```shell ```shell
/usr/libexec/geoclue-2.0/demos/where-am-i /usr/libexec/geoclue-2.0/demos/where-am-i
``` ```
It will give your current location. It will give your current location.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment