Re: gtk4-query-immodules: command not found

2018-03-27 Thread Emmanuele Bassi
On 27 March 2018 at 17:11, Stefan Salewski  wrote:

> On Sun, 2018-03-25 at 14:05 +0200, Stefan Salewski wrote:
> > /opt/gtk/bin $ LD_LIBRARY_PATH="../lib64" ./gtk4-demo
> >
> > (gtk4-demo:14466): GLib-GIO-WARNING **: 14:03:06.071: Can't find
> > module
> > 'dconf' specified in GSETTINGS_BACKEND
> > GLib-GIO-Message: 14:03:06.071: Using the 'memory' GSettings
> > backend.  Your settings will not be saved or shared with other
> > applications.
>
> The reason seems to be that meson automatically installs latest glib,
> which does not contain dconf.


dconf is not part of GLib; it's a separate module, which provides a backend
for GSettings on Unix-like systems.

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: gtk4-query-immodules: command not found

2018-03-27 Thread Stefan Salewski
On Sun, 2018-03-25 at 14:05 +0200, Stefan Salewski wrote:
> /opt/gtk/bin $ LD_LIBRARY_PATH="../lib64" ./gtk4-demo
> 
> (gtk4-demo:14466): GLib-GIO-WARNING **: 14:03:06.071: Can't find
> module
> 'dconf' specified in GSETTINGS_BACKEND
> GLib-GIO-Message: 14:03:06.071: Using the 'memory' GSettings
> backend.  Your settings will not be saved or shared with other
> applications.

The reason seems to be that meson automatically installs latest glib,
which does not contain dconf. Fix is:

cd /opt/dconf-0.28.0
meson --prefix /opt/gtk builddir
ninja
ninja install

After that, I can launch gtk4-demo as user:
/opt/gtk/bin $ LD_LIBRARY_PATH="../lib64" ./gtk4-demo

Seems to work, font size is correct. Fishbowl is fast, but I don't know
if it is Vulkan or plain OpenGL.
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: gtk4-query-immodules: command not found

2018-03-25 Thread Stefan Salewski
On Sun, 2018-03-25 at 13:43 +0200, Stefan Salewski wrote:
> What may be the best way to fix this issue?

Well, obvious

PATH=$PATH:/opt/gtk/bin/
export PATH
ninja install
LD_LIBRARY_PATH="/opt/gtk/lib64" ninja install

works,

but then still I get tiny fonts with

/opt/gtk/bin $ LD_LIBRARY_PATH="../lib64" ./gtk4-demo

(gtk4-demo:14466): GLib-GIO-WARNING **: 14:03:06.071: Can't find module
'dconf' specified in GSETTINGS_BACKEND
GLib-GIO-Message: 14:03:06.071: Using the 'memory' GSettings
backend.  Your settings will not be saved or shared with other
applications.
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


gtk4-query-immodules: command not found

2018-03-25 Thread Stefan Salewski
Following GTK4 install into /opt/gtk from 
https://developer.gnome.org/gtk4/3.93/gtk-building.html

I get for last step "ninja install"

Running custom install script '/opt/gtk+-3.93.0/build-aux/meson/post-
install.sh 4.0 4.0.0 /opt/gtk/lib64 /opt/gtk/share'
Compiling GSettings schemas...
Updating desktop database...
Updating icon cache...
Updating input method modules cache...
/opt/gtk+-3.93.0/build-aux/meson/post-install.sh: line 20: gtk4-query-
immodules: command not found
Failed to run install script '/opt/gtk+-3.93.0/build-aux/meson/post-
install.sh 4.0 4.0.0 /opt/gtk/lib64 /opt/gtk/share'
FAILED: meson-install 
/usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal
install /opt/gtk+-3.93.0/builddir/meson-private/install.dat
ninja: build stopped: subcommand failed.

I guess this may be the reason for that I get only tiny default fonts
for gtk4 apps launched under gnome3 wayland.

What may be the best way to fix this issue?

___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list