[Bug 369696] New: /etc/profile.d/gtk2.sh works too hard
https://bugzilla.novell.com/show_bug.cgi?id=369696 Summary: /etc/profile.d/gtk2.sh works too hard Product: openSUSE 11.0 Version: Alpha 2plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: vuntz@novell.com QAContact: qa@suse.de Found By: --- Currently, this script sets GTK_PATH to /usr/local/lib/gtk-2.0:/usr/lib/gtk-2.0 I see the point about /usr/local, but /usr is already searched by gtk+ since it's the prefix where it's installed. Right now, this environment variable breaks things for people having their own gtk+ in another prefix (like jhbuild users) since it means the gtk+ modules are the system ones, and not the modules in the other prefix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=369696
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=369696#c1
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=369696
User captain.magnus@opensuse.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=369696#c2
Magnus Boman
https://bugzilla.novell.com/show_bug.cgi?id=369696
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=369696#c3
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=369696
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=369696#c4
--- Comment #4 from Vincent Untz
I have just verified, that system path is now searched by default as last in resort.
But I do not see your problem - you can still install /etc/profile.d/zzzgtk2.sh to override defaults.
There is only tight difference: With current settings, system plugins take precedence. With shortened path, plugins in home will take precendence.
That's right, and I think it's not a good idea to have system plugins always taking precedence: it makes it impossible to test other plugins without installing them in your home, in /usr/local or in /usr. And someone hacking gtk+ won't do any of those three options, IMHO.
It is possible to do proposed change.
It is also possible to auto-resource /opt/*/lib/gtk-2.0, like other *PATH do.
It won't help people like me who have a jhbuilt gnome in another prefix, unfortunately. (a workaround can still be to unset GTK_PATH, of course) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=369696
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=369696
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=369696
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=369696#c5
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=369696
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=369696
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=369696#c6
--- Comment #6 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=369696
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=369696#c7
--- Comment #7 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=369696
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=369696
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=369696#c8
Stanislav Brabec
participants (1)
-
bugzilla_noreply@novell.com