Bug 265107

Summary: sysutils/gnome-settings-daemon: Update gsettings keys
Product: Ports & Packages Reporter: Olivier Duchateau <duchateau.olivier>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me CC: arrowd
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to update gsettings keys none

Description Olivier Duchateau 2022-07-09 09:35:54 UTC
Created attachment 235145 [details]
Patch to update gsettings keys

This patch fix gsettings keys for suspend. Currently .gschema.xml.override has no effect, suspend is always enabled (whereas it should be disable). Desktops environment which depend of sysutils/gnome-settings-deamon crash when there is no activity.
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2023-01-25 16:22:58 UTC
If .gschema.xml.override file has no effect, why keep it at all? Can't it just be removed?
Comment 2 Olivier Duchateau 2023-01-27 17:34:58 UTC
(In reply to Gleb Popov from comment #1)

In fact, keys in .override file force to disable suspend and resume, but they were renamed by upstream and not updated with the latest update of GNOME in ports tree.

I don't know if this file is important or not.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-01-27 18:51:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d7ca5caf3e06c3fe5ecd5a0c9770108088250ed2

commit d7ca5caf3e06c3fe5ecd5a0c9770108088250ed2
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2023-01-27 18:48:07 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-01-27 18:51:12 +0000

    sysutils/gnome-settings-daemon: Update gsettings overrides.

    PR:             265107
    Approved by:    gnome (timeout)

 sysutils/gnome-settings-daemon/Makefile                               | 1 +
 .../org.gnome.settings-daemon.plugins.power.gschema.xml.override      | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-01-27 18:53:56 UTC
A commit in branch 2023Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39d4f616c14435c2a1f4dd31da7e03fc46179261

commit 39d4f616c14435c2a1f4dd31da7e03fc46179261
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2023-01-27 18:48:07 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-01-27 18:52:18 +0000

    sysutils/gnome-settings-daemon: Update gsettings overrides.

    PR:             265107
    Approved by:    gnome (timeout)

    (cherry picked from commit d7ca5caf3e06c3fe5ecd5a0c9770108088250ed2)

 sysutils/gnome-settings-daemon/Makefile                               | 1 +
 .../org.gnome.settings-daemon.plugins.power.gschema.xml.override      | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)
Comment 5 Gleb Popov freebsd_committer freebsd_triage 2023-01-27 18:54:44 UTC
Pushed in, thanks!