-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make geoclue optional #14
Comments
In addition, when distros use a "weird"
|
@ikeycode you can set the location at compile time |
I don't doubt that you can :) However without any kind of configure or
build option summary, or digging into the Makefile (when the git submodules
repo uses justfile) - this isn't remotely obvious.
…On Sun, 21 Apr 2024, 18:21 Mitchel Stewart, ***@***.***> wrote:
@ikeycode <https://github.com/ikeycode> you can set the location at
compile time export
GEOCLUE_AGENT="/usr/lib64/geoclue/geoclue-2.0/demos/agent" cargo build...
—
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMWLIWQEPLF5WGAYHCZY36TY6PYQPAVCNFSM6AAAAABFHY4OT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYGE2DAMRQGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I was also seeing this issue when geoclue2 isn't installed. A more useful error message would be helpful. Is geoclue a hard requirement? It would be nice if the program didn't crash when its not available. |
… to pop-os/cosmic-settings-daemon#14, otherwise cosmic-settings-daemon will keep crashing with exit code 1 each time it is invoked. refresh metadata
If geoclue is not available for one reason or another, cosmic-settings-daemon will fail to run, the fix can be as simple as the below patch. I do however get the below stacktrace when doing this. I'm not sure if it's directly related or not. however this breaks setting theme in GTK applications. It takes a while for the segfault to occur. once it does occur, the theme can change once, and then never again afterwards.
Click me
EDIT: installed geoclue and recompiled the app with proper envvar and it now works fine without segfault, so it does seem related
The text was updated successfully, but these errors were encountered: