This is convenient to bundle the convenient library in xdg-app bundles. See attached patch.
Created attachment 121327 [details] [review] patch Add an option to disable the backend build With xdg-app, we will want to bundle the client convenience library with applications that require GeoClue, without having them ship all the backend service files, which will be shipped in the core OS. Introduce a --disable-backend build option that implements this policy.
Created attachment 121331 [details] [review] Move public-api directory to toplevel We're about to make the src directory optional; move this at the toplevel so that libgeoclue can include it directly.
Created attachment 121332 [details] [review] Add an option to disable the backend build With xdg-app, we will want to bundle the client convenience library with applications that require GeoClue, without having them ship all the backend service files, which will be shipped in the core OS.
Split into two separate patches as per Zeeshan's request.
(In reply to Cosimo Cecchi from comment #4) > Split into two separate patches as per Zeeshan's request. Thanks. Unfortunately these patches break distcheck.
Created attachment 121349 [details] [review] gclue-locator: remove redundant include This is already included in the header - don't include it again here.
Created attachment 121350 [details] [review] Move public-api directory to toplevel We're about to make the src directory optional; move this at the toplevel so that libgeoclue can include it directly.
Created attachment 121351 [details] [review] Add an option to disable the backend build With xdg-app, we will want to bundle the client convenience library with applications that require GeoClue, without having them ship all the backend service files, which will be shipped in the core OS. Introduce a --disable-backend build option that implements this policy.
Fixed distcheck now.
Pushed with some minor changes to git log. Attachment 121350 [details] pushed as 384e3e0 - Move public-api directory to toplevel
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.