GNOME Bugzilla – Bug 102227
AIX port
Last modified: 2009-08-15 18:40:50 UTC
To be able to compile nautilus with native compiler of AIX (xlC), the sources need some modification: - remove C++ style comments - remove comma at end of enum - set bitfields to int or unsigned int Moreover, some specific parts in component hardware and in libnautilus (volume monitor) needs to be ported. You can find a patch attached to this bug that try to correct all of that. The component hardware manages hardware using libgtop.
Created attachment 13281 [details] [review] Modification to port to AIX
Created attachment 13292 [details] [review] same patch + list of disk/cdrom + cpu frequency using lsdev/lsattr
Created attachment 13293 [details] screenshot of the result
I'd recommend mailing your patches to nautilus-list@gnome.org. Also to the best of my knowledge the hardware view is only supported on linux, and even then its disabled by default.
I applied this to HEAD, except the hardware view parts. It is disabled by default because we don't really care about it. I don't think it even builds on linux these days. I also didn't apply this part: -LIBNAUTILUS_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir $LIBNAUTILUS_MODULES | $srcdir/add-include-prefix`" +LIBNAUTILUS_IDL_INCLUDES_tmp="`$PKG_CONFIG --variable=idldir $LIBNAUTILUS_MODULES | $srcdir/add-include-prefix`" +LIBNAUTILUS_IDL_INCLUDES="" +for dir in ${LIBNAUTILUS_IDL_INCLUDES_tmp} +do + LIBNAUTILUS_IDL_INCLUDES="${LIBNAUTILUS_IDL_INCLUDES} -I${dir}" +done Is add-include-prefix not working for you? I also re-indented and made some trivial changes to the volume monitor part. Can you verify that it works? Also, Why was the math.h moves necessary?
Any news about that proposition, is it accepted/integrated or not ? Thanks. Jean-Pierre Dion
Hardware component seems to be enabled in Makefile.am in nautilus/components at least. Dave fixed the NautilusBackground build problems a while ago.
Adding the portability keyword.
is that still an issue with the current versions ?
Hi Laurent is no more working on this, but I checked things and I see that there is no more issue in version 2.8.1. Can close this. Thanks. Jean-Pierre Dion
Closed as requested