[Bug 213926] New: gtk.immodules has "${prefix}" in it instead of actual install prefix
https://bugzilla.novell.com/show_bug.cgi?id=213926 Summary: gtk.immodules has "${prefix}" in it instead of actual install prefix Product: openSUSE 10.2 Version: Alpha 5 plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME - Platform AssignedTo: bnc-team-gnome-platform@forge.provo.novell.com ReportedBy: danw@ximian.com QAContact: qa@suse.de eg: "/opt/gnome/lib/gtk-2.0/2.10.0/immodules/im-xim.so" "xim" "X Input Method" "gtk20" "${prefix}/share/locale" "*" in SLED10, the "${prefix}" is replaced by "/opt/gnome" This breaks localization of those modules: open("/home/danw/${prefix}/share/locale/en_US.utf8/LC_MESSAGES/gtk20.mo", O_RDONLY) = -1 ENOENT (No such file or directory) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-gnome- |jhargadon@novell.com |platform@forge.provo.novell.| |com | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 jhargadon@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from jhargadon@novell.com 2006-10-24 15:03 MST ------- Closing as fixed. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 jhargadon@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #2 from jhargadon@novell.com 2006-10-24 15:04 MST ------- Closed wrong bug. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.hanke@gmx-topmail.de Severity|Normal |Critical ------- Comment #3 from andreas.hanke@gmx-topmail.de 2006-11-01 21:35 MST ------- These unexpanded variables, caused by changes in autoconf 2.60, are a disease. It's the same as what we had with Inkscape before. Rebuilding gtk2 produces the following in config.h: /* Define the location where the catalogs will be installed */ #define GTK_LOCALEDIR "${prefix}/share/locale" But this time it's really severe because it comes from /opt/gnome/share/aclocal/glib-gettext.m4 and might break *many* packages. It's the AM_GLIB_DEFINE_LOCALEDIR function. Upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=343825 I don't know what to do about this - either patch glib-gettext.m4 or fix all individual packages. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Major ------- Comment #4 from andreas.hanke@gmx-topmail.de 2006-11-01 21:36 MST ------- Sorry, wanted to raise to "Major", not "Critical" -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 ------- Comment #5 from andreas.hanke@gmx-topmail.de 2006-11-02 00:22 MST ------- It breaks at least gtk2 and glib2 itself. # strings /opt/gnome/lib/libgtk-x11-2.0.so | grep '${prefix}' ${prefix}/share/locale # strings /opt/gnome/lib/libglib-2.0.so | grep '${prefix}' ${prefix}/share/locale Wait, it breaks much more: # cd /opt/gnome/lib # for i in *; do if strings $i | grep -q '${prefix}'; then echo $i; fi; done libatk-1.0.so libatk-1.0.so.0 libatk-1.0.so.0.1213.0 libglib-2.0.a libglib-2.0.so libglib-2.0.so.0 libglib-2.0.so.0.1200.4 libgnome-2.a libgnome-2.so libgnome-2.so.0 libgnome-2.so.0.1600.0 libgnomeui-2.a libgnomeui-2.so libgnomeui-2.so.0 libgnomeui-2.so.0.1600.1 libgtk-x11-2.0.so libgtk-x11-2.0.so.0 libgtk-x11-2.0.so.0.1000.6 I already noticed that the gtk2 file dialogs are untranslated, but didn't know why. Maybe it's caused by this? Maybe we should really hack glib-gettext.m4 to expand its localedir properly. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 ------- Comment #6 from andreas.hanke@gmx-topmail.de 2006-11-02 00:32 MST ------- This does indeed break the localization of all gtk2 dialogs in all applications for all locales. :-( -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 ------- Comment #7 from andreas.hanke@gmx-topmail.de 2006-11-02 06:31 MST ------- Created an attachment (id=103514) --> (https://bugzilla.novell.com/attachment.cgi?id=103514&action=view) glib2 patch This patch expands $localedir repeatedly until it doesn't change anymore, based on similar code in gstreamer. While not a perfect solution, it's IMHO better than touching all affected packages individually (and overlooking many...) and it works for self-compiled software as well. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 jhargadon@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #8 from jhargadon@novell.com 2006-11-02 15:06 MST ------- I applied the patch to glib2. Then I built gtk2 against the new glib2. It seemed to clear up the problems with ${prefix} not being expanded correctly. So I have submitted the new glib2 and am going to close this bug as fixed. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213926 User gekker@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=213926#c9 Gary Ekker <gekker@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|GNOME - Platform |GNOME --- Comment #9 from Gary Ekker <gekker@novell.com> 2008-03-26 12:06:28 MST --- Changing to component GNOME. Sorry for the spam. -- 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.
participants (1)
-
bugzilla_noreply@novell.com