svn commit: r568579 - head/x11-toolkits/gtk30
Jan Beich
jbeich at FreeBSD.org
Tue Mar 16 16:35:12 UTC 2021
Author: jbeich
Date: Tue Mar 16 16:35:12 2021
New Revision: 568579
URL: https://svnweb.freebsd.org/changeset/ports/568579
Log:
x11-toolkits/gtk30: depend on gsettings-desktop-schemas
Gtk on Wayland uses gsettings to get cursor theme but without schemes
installed it falls back to "default" theme which doesn't exist.
$ gsettings get org.gnome.desktop.interface cursor-theme
No such schema “org.gnome.desktop.interface”
$ MOZ_ENABLE_WAYLAND=1 firefox
[...]
Gdk-Message: 15:15:20.123: Unable to load hand2 from the cursor theme
Gdk-Message: 15:15:20.300: Unable to load hand2 from the cursor theme
Gdk-Message: 15:15:20.536: Unable to load hand2 from the cursor theme
Gdk-Message: 15:15:52.250: Unable to load hand2 from the cursor theme
Gdk-Message: 15:15:52.350: Unable to load hand2 from the cursor theme
Gdk-Message: 15:15:52.834: Unable to load hand2 from the cursor theme
Gdk-Message: 15:15:52.933: Unable to load hand2 from the cursor theme
$ emacs -Q # --with-pgtk
Gdk-Message: 15:16:34.736: Unable to load sb_v_double_arrow from the cursor theme
Gdk-Message: 15:16:34.736: Unable to load sb_h_double_arrow from the cursor theme
Gdk-Message: 15:16:35.272: Unable to load hand2 from the cursor theme
Gdk-Message: 15:16:35.272: Unable to load sb_h_double_arrow from the cursor theme
Gdk-Message: 15:16:35.272: Unable to load sb_v_double_arrow from the cursor theme
$ truss emacs -Q 2>&1 | fgrep /cursor
[...]
open("/home/foo/.icons/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00) ERR#2 'No such file or directory'
open("/usr/share/icons/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00) ERR#2 'No such file or directory'
open("/usr/share/pixmaps/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00) ERR#2 'No such file or directory'
open("/home/foo/.cursors/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00) ERR#2 'No such file or directory'
open("/usr/share/cursors/xorg-x11/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00) ERR#2 'No such file or directory'
open("/usr/local/share/icons/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00) ERR#2 'No such file or directory'
[...]
PR: 253742
Submitted by: Evgeniy Khramtsov <2khramtsov at gmail.com>
Modified:
head/x11-toolkits/gtk30/Makefile (contents, props changed)
Modified: head/x11-toolkits/gtk30/Makefile
==============================================================================
--- head/x11-toolkits/gtk30/Makefile Tue Mar 16 16:34:54 2021 (r568578)
+++ head/x11-toolkits/gtk30/Makefile Tue Mar 16 16:35:12 2021 (r568579)
@@ -5,6 +5,7 @@
PORTNAME= gtk
PORTVERSION= 3.24.24
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= GNOME/sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMESUFFIX= 3
@@ -81,7 +82,8 @@ WAYLAND_CONFIGURE_ENABLE= wayland-backend
WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
-WAYLAND_RUN_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
+WAYLAND_RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
+ wayland-protocols>=0:graphics/wayland-protocols
WAYLAND_USES= gl
WAYLAND_USE= GL=egl
More information about the svn-ports-head
mailing list