Kristyna: > I tried to build gnome keyboard switcher under opensolaris (indiana) > with gnu utilities but compilation failed. > > Does anybody suggest me correct procedure to do it (how to correctly > use SunStudio compilers)? Does anybody have an experience with this?
First thing you need to do is build libxklavier. Unfortunately there is no spec-file for it in SFE. Would be handy if someone created one to help people build this. If you are complaining about a compile issue, I'm guessing this might be where you are having problems? We used to build libxklavier into the SUWNgnome-panel package on Solaris 10, but removed it in Nevada because it doesn't work well when the server and client aren't using the same Xserver, and became a high-support call issue. I'm attaching the old Solaris 10 spec-file. We also used to apply a patch. This spec file builds the old 1.0.2 version, and now the 3.6 version seems to be released. However, someone might be able to update the spec-file so it works and builds the latest code. Note this spec-file is in the old Solaris 10 spec-file format and would require some work to make it work with our latest CDE tools. Would be good to write a new top-level spec-file for it rather than including it in SUNWgnome-panel like we did on Solaris 10. At any rate, this might be a starting point. Perhaps the patch will help if they haven't fixed that issue in the new version. Then you should use the CBE to rebuild SUNWgnome-applets and SUNWgnome-desktop-prefs, but modify the gnome-applets and control-center spec-files to avoid using the --disable-gwitchit option when calling configure. Might be nicer if we modified the spec files so that you could build with gswitchit if you add a pkgtool option. Brian -------------- next part -------------- A non-text attachment was scrubbed... Name: libxklavier.spec Type: text/x-rpm-spec Size: 3193 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20080805/0bb8feca/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: libxklavier-01-null-dpy-pointer.diff Type: text/x-patch Size: 724 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20080805/0bb8feca/attachment-0001.bin>
