-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Port to libsecret, #239 #351
Conversation
40112b8
to
4935363
Compare
@raveit65 Would you also like a commit removing old, deprecated libgnome-keyring? Or do you want to keep it for the time being? |
4935363
to
a5b4e5b
Compare
@NP-Hardass |
@NP-Hardass I think you can remove I mean
instead
|
we need deprecated |
Of every pkg listed at v1.24.x on repology, every distro has libsecret support except Linux Mint.
As is, libgnome-keyring is available if someone enables it, but off by default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just build and installed a rebase of this against today's master, with the very old libgnome-keyring 1.12 finally removed from my system. Note that that package is NOT offered in Debian Unstable at this time. Didn't realize a rebuild without libgnome-keyring would have removed support for/dependency on it and let the package function.
Anyway, this build runs normally and suspending works fine.
Got these runtime warnings, unsure if they have anything to do with this PR, one appears to relate to systemd and the other to key mappings:
(mate-power-manager:218930): PowerManager-WARNING **: 01:58:35.670: Failed to get session for pid 218930: The name org.freedesktop.ConsoleKit was not provided by any .service files
(mate-power-manager:218930): PowerManager-WARNING **: 01:58:35.682: could not map keysym 1008ffa8 to keycode
Linux Mint is based on ubuntu and debian, so, I suppose it has libsecret |
Libsecret I have, it's the old deprecated libgnome-keyring that is no longer in Sid. This is one of the reasons we need this PR |
@NP-Hardass |
I can certainly try. I don't have any meson experience though.
…On Thu, Sep 3, 2020, 7:33 AM raveit65 ***@***.***> wrote:
@NP-Hardass <https://github.com/NP-Hardass>
Can you please rebase with master and update PR for meson?
#338 <#338> is
merged now
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#351 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6E2P5UKCBQQYVHPBM5UWDSD55JVANCNFSM4PS73BQA>
.
|
a5b4e5b
to
6e83c51
Compare
If someone could verify it works properly, as I don't have meson configured atm... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Autotools build worked fine on desktop, though note that desktops support only limited features on mate-power-manager.
Meson build with
meson build/ --prefix /usr
ninja -C build
completed fine.
Installation with
sudo ninja -C build install
stalled temporarily twice but eventually restarted and appeared to finish and return.
This meson build once installed did not run, generated these warnings
** (mate-power-manager:8937): WARNING **: 18:20:10.435: Failed to get session for pid 8937: The name org.freedesktop.ConsoleKit was not provided by any .service files
** (mate-power-manager:8937): WARNING **: 18:20:11.252: could not map keysym 1008ffa8 to keycode
** (mate-power-manager:8937): ERROR **: 18:20:11.259: failed to get value: Failed to execute child process “/usr/sbin/mate-power-backlight-helper” (No such file or directory)
Trace/breakpoint trap
luke@ubuntu:~/Desktop/Development/MATE_Development_Work/mate-power-manager_test-9-4-2020$
The third warning is the one causing the crash and is happened only in the meson build and not the autotools build.
Looks like /usr/sbin/mate-power-backlight-helper either was not installed or was installed to the wrong place and not found
On Uninstall:
install finished.
Deleted: 571
Failed: 0
Remember that files created by custom scripts have not been removed.
That's easy: meson build -Dprefix=/usr (w/h -Dprefix it's /usr/local/) dist: |
There is a conflict with master. You should do a |
@NP-Hardass @lukefromdc
The other warnings we get with using autotools too. They are not new. |
Just posted my results to #338 (comment) and yes, I agree we should revert the Meson PR, merge this, fix the Meson stuff, then merge it again. I agree that master should not be allowed to remain broken at any time |
@NP-Hardass |
6579d33
to
16138ac
Compare
Done |
@NP-Hardass |
@NP-Hardass |
Don't think i like to use tabs in code but they are used all over this file, so we should respect it.
Does this looks better, or not? |
16138ac
to
fc9be06
Compare
Updated accordingly. The only change you made that stuck out to me was the above quoted, because it changes a line that existed for KEYRING to wrap. I have no feelings one way or the other though. |
fc9be06
to
3edba3b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,
thanks.
@mate-desktop/core-team |
Builds and runs fine on my desktop with libsecret support enabled, same warnings I've always gotten on starting from terminal
Nothing in the warnings seems to come from this change. |
Adds libsecret support. I'll leave it up to you guys to decide at a future time about dropping libgnome-keyring support. This should close out Issue #239.
I wasn't able to runtime test the code in-situ, but copied it to a standalone file and it locked the databased as expected.