Bug 258399 - devel/dconf: update to 0.40.0
Summary: devel/dconf: update to 0.40.0
Status: New
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-17 17:19 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (desktop)


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 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 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 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 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 2021-09-17 17:19:24 UTC
Ping.