View previous topic :: View next topic |
Author |
Message |
Faldrian n00b

Joined: 28 Feb 2006 Posts: 20
|
Posted: Mon Jan 23, 2012 10:29 pm Post subject: GTK-Theme is not used by some applications |
|
|
Since a few weeks ago I have the problem that some applications are failing to use the current gtk-theme.
I use XFCE and x11-themes/gtk-engines-murrine with the Shiki-Wise theme.
For rhythmbox 0.13.3 and before, the shiki-theme is used. If I upgrade to 2.95, the theme is not found or not used and a fallback-theme seems to be used.
Here are two screenshots of windows to show what I mean:
Application with wrong theme (or maybe fallback-theme):
http://www7.pic-upload.de/23.01.12/7znhydlex5.png
Application with normal theme (Shiki-Wise using murrine-engine):
http://www7.pic-upload.de/23.01.12/3mbvw151cypa.png
These screenshots are made without changing anything in between - so it's not a global error but may be something related to dependencys.
I suspect gtk+ to be part of this confusion (installed 2.24.8-r1 and 3.0.12-r1) - but deja-dup (as shown above with the wrong theme) is using gtk+:2 according to equery).
Any clues? |
|
Back to top |
|
 |
megabaks Apprentice


Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Tue Jan 24, 2012 12:35 am Post subject: |
|
|
from ebuild 2.95 Code: | >=x11-libs/gtk+-3.2:3[introspection] |
|
|
Back to top |
|
 |
Faldrian n00b

Joined: 28 Feb 2006 Posts: 20
|
Posted: Tue Jan 24, 2012 7:23 am Post subject: |
|
|
That is true for rhythmbox. But I have this problem with some other applications (like the deja-dup settings, as you can see in the screenshot above) which depend on
`-- x11-libs/gtk+-2.24.8-r1 (x11-libs/gtk+) amd64
(via equery depgraph)
So an upgrade (and the use flag introspection is enabled) won't do. |
|
Back to top |
|
 |
megabaks Apprentice


Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Tue Jan 24, 2012 10:34 am Post subject: |
|
|
part of Makefile Code: | ./widgets/Makefile:DUP_CFLAGS = -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/gnome-keyring-1
./widgets/Makefile:DUP_LIBS = -pthread -Wl,--export-dynamic -lgtk-3 -lgdk-3 -latk-1.0 -lcairo-gobject -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgnome-keyring -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
./widgets/Makefile:GTK_MODULE = gtk+-3.0
./widgets/Makefile:PREF_CFLAGS = -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm
./widgets/Makefile:PREF_LIBS = -pthread -lgtk-3 -lgdk-3 -latk-1.0 -lcairo-gobject -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
./widgets/Makefile:WIDGETS_CFLAGS = -pthread -DGSEAL_ENABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm
./widgets/Makefile:WIDGETS_LIBS = -Wl,--export-dynamic -pthread -lgtk-3 -lgdk-3 -latk-1.0 -lcairo-gobject -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
./widgets/Makefile: --pkg gtk+-3.0 \
| just use 'ldd' for subj's binary
this app-backup/deja-dup-21.2.ebuild about
//sorry my bad english |
|
Back to top |
|
 |
Faldrian n00b

Joined: 28 Feb 2006 Posts: 20
|
Posted: Tue Jan 24, 2012 11:29 am Post subject: |
|
|
I don't understand what I should change in that makefile... it compiles ok.
I don't think it's app-specific - midori for example has the same problem as noted above. It seems there are some software versions that use "newer" features or something that won't respect my theme setting... |
|
Back to top |
|
 |
megabaks Apprentice


Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Tue Jan 24, 2012 11:42 am Post subject: |
|
|
Quote: | I don't understand what I should change in that makefile... it compiles ok. |
facepalm...
ebuild incorrect
IRL this version need gtk+:3
and you have it in the system
again - try Code: | ldd `qlist deja-dup` | grep gtk |
>=midori-0.4.2-r300 need gtk+:3 too
in the gentoo's tree only =midori-0.4.2-r200 use gtk+:2 |
|
Back to top |
|
 |
|