{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/35533","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35533/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35533/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35533/events","html_url":"https://github.com/Homebrew/homebrew/pull/35533","id":53326750,"number":35533,"title":"geoclue2 2.1.10 (new formula)","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/new+formula","name":"new formula","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-04T06:12:41Z","updated_at":"2015-01-04T19:05:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/35533","html_url":"https://github.com/Homebrew/homebrew/pull/35533","diff_url":"https://github.com/Homebrew/homebrew/pull/35533.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/35533.patch"},"body":"New formula for GeoClue2.\r\n\r\nAn increasing amount of GNOME stuff is requiring this, boo."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/68644421","html_url":"https://github.com/Homebrew/homebrew/pull/35533#issuecomment-68644421","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35533","id":68644421,"user":{"login":"bfontaine","id":1334295,"avatar_url":"https://avatars.githubusercontent.com/u/1334295?v=3","gravatar_id":"","url":"https://api.github.com/users/bfontaine","html_url":"https://github.com/bfontaine","followers_url":"https://api.github.com/users/bfontaine/followers","following_url":"https://api.github.com/users/bfontaine/following{/other_user}","gists_url":"https://api.github.com/users/bfontaine/gists{/gist_id}","starred_url":"https://api.github.com/users/bfontaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfontaine/subscriptions","organizations_url":"https://api.github.com/users/bfontaine/orgs","repos_url":"https://api.github.com/users/bfontaine/repos","events_url":"https://api.github.com/users/bfontaine/events{/privacy}","received_events_url":"https://api.github.com/users/bfontaine/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T19:05:33Z","updated_at":"2015-01-04T19:05:33Z","body":"It’s built when installing, and the executable is located at:\r\n\r\n    $(brew --prefix geoclue2)/libexec/geoclue-2.0/demos/where-am-i\r\n\r\nBut it doesn’t work:\r\n\r\n    ** (where-am-i:59676): CRITICAL **: Failed to connect to GeoClue2 service: Could not connect: No such file or directory\r\n\r\nThere’s another executable named `geoclue`:\r\n\r\n    $(brew --prefix geoclue2)/libexec/geoclue\r\n\r\nBut here again it doesn’t work:\r\n\r\n    (geoclue:59760): Geoclue-CRITICAL **: Failed to acquire name 'org.freedesktop.GeoClue2' on system bus or lost it.\r\n\r\nAccording to [this][1] and [this][2] it must be installed with `--sysconfdir=/etc` and `--prefix=/usr`:\r\n\r\n> A couple of things to note here. First, if you don’t use the --prefix=/usr flags, then the dbus files get put in /usr/local/share instead of /usr/share. Second, you have to use root credentials to do the install because you’re installing dubs services.\r\n\r\n[1]: http://uxscrutiny.com/2013/10/building-geocode2-from-source/\r\n[2]: http://permalink.gmane.org/gmane.comp.gnome.geoclue/573"}}