Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GTK-Theme is not used by some applications
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Faldrian
n00b
n00b


Joined: 28 Feb 2006
Posts: 20

PostPosted: Mon Jan 23, 2012 10:29 pm    Post subject: GTK-Theme is not used by some applications Reply with quote

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
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Tue Jan 24, 2012 12:35 am    Post subject: Reply with quote

from ebuild 2.95
Code:
   >=x11-libs/gtk+-3.2:3[introspection]
Back to top
View user's profile Send private message
Faldrian
n00b
n00b


Joined: 28 Feb 2006
Posts: 20

PostPosted: Tue Jan 24, 2012 7:23 am    Post subject: Reply with quote

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
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Tue Jan 24, 2012 10:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Faldrian
n00b
n00b


Joined: 28 Feb 2006
Posts: 20

PostPosted: Tue Jan 24, 2012 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Tue Jan 24, 2012 11:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum