Bug 258399 - devel/dconf: update to 0.40.0
Summary: devel/dconf: update to 0.40.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
URL: https://gitlab.gnome.org/GNOME/dconf/...
Keywords: patch, patch-ready
Depends on:
Blocks:
 
Reported: 2021-09-10 08:28 UTC by Jan Beich
Modified: 2021-09-24 20:25 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments
v1 (apply via "git am") (1.64 KB, patch)
2021-09-10 08:28 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2021-09-10 08:28:52 UTC
Created attachment 227802 [details]
v1 (apply via "git am")

Tested via gtk3 on Wayland e.g.,

$ pkg install sway pam_xdg
$ echo 'session optional pam_xdg.so notroot runtime' >>/etc/pam.d/system
$ exit
<new login>
$ pkg install gtk3 dconf zuki-themes
$ gtk3-demo &
$ gsettings set org.gnome.desktop.interface gtk-theme Zukitre
$ gsettings set org.gnome.desktop.interface gtk-theme Zukitre-dark
Comment 1 Jan Beich freebsd_committer freebsd_triage 2021-09-10 08:33:25 UTC
(In reply to Jan Beich from comment #0)
> <new login>

Oops, missed "$ sway" after this. Bugzilla is unforgiving to mistakes (bug 191677).
Comment 2 Jan Beich freebsd_committer freebsd_triage 2021-09-10 08:50:34 UTC
Maybe I should've used cage package in the example but it's too late. XDG_RUNTIME_DIR also makes instructions unnecessarily complicated because when nesting compositors XDG_RUNTIME_DIR should have Wayland socket for the current compositor or WAYLAND_DISPLAY needs to be an absolute path.

Note, gtk3 on X11 doesn't use gsettings but ~/.config/gtk-3.0/settings.ini and XSETTINGS. Wonderfully confusing, right?
Comment 3 Jan Beich freebsd_committer freebsd_triage 2021-09-10 09:10:57 UTC
Something like this may work on KMS console and nested on X11/Wayland:

$ pkg install cage dconf gtk3 zuki-themes
$ env ${WAYLAND_DISPLAY+WAYLAND_DISPLAY=$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY} \
      XDG_RUNTIME_DIR=$(mktemp -dt run) \
      GDK_BACKEND=wayland cage -sd gtk3-demo &
$ gsettings set org.gnome.desktop.interface gtk-theme Zukitre
$ gsettings set org.gnome.desktop.interface gtk-theme Zukitre-dark
Comment 4 Jan Beich freebsd_committer freebsd_triage 2021-09-17 17:19:24 UTC
Ping.
Comment 5 Tobias C. Berner freebsd_committer freebsd_triage 2021-09-24 19:29:31 UTC
Moin moin 

Feel free to commit -- assuming it works.

mfg Tobias
Comment 6 commit-hook freebsd_committer freebsd_triage 2021-09-24 20:23:32 UTC
A commit in branch main references this bug:

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

commit eb7cda2f025b59d808eb135f960f5d174c02679c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-09-10 08:12:32 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-09-24 19:55:53 +0000

    devel/dconf: update to 0.40.0

    Change:         https://gitlab.gnome.org/GNOME/dconf/-/compare/0.38.0...0.40.0
    PR:             258399
    Approved by:    tcberner

 devel/dconf/Makefile  | 2 +-
 devel/dconf/distinfo  | 6 +++---
 devel/dconf/pkg-plist | 1 +
 3 files changed, 5 insertions(+), 4 deletions(-)