After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 102227 - AIX port
AIX port
Status: VERIFIED INCOMPLETE
Product: nautilus
Classification: Core
Component: general
2.0.x
Other AIX
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-12-30 16:48 UTC by Laurent Vivier
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Modification to port to AIX (43.07 KB, patch)
2002-12-30 16:49 UTC, Laurent Vivier
none Details | Review
same patch + list of disk/cdrom + cpu frequency using lsdev/lsattr (50.15 KB, patch)
2002-12-31 13:40 UTC, Laurent Vivier
committed Details | Review
screenshot of the result (26.15 KB, image/png)
2002-12-31 13:41 UTC, Laurent Vivier
  Details

Description Laurent Vivier 2002-12-30 16:48:40 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.
Comment 1 Laurent Vivier 2002-12-30 16:49:16 UTC
Created attachment 13281 [details] [review]
Modification to port to AIX
Comment 2 Laurent Vivier 2002-12-31 13:40:18 UTC
Created attachment 13292 [details] [review]
same patch + list of disk/cdrom + cpu frequency using lsdev/lsattr
Comment 3 Laurent Vivier 2002-12-31 13:41:34 UTC
Created attachment 13293 [details]
screenshot of the result
Comment 4 Dave Bordoley [Not Reading Bug Mail] 2003-01-04 08:16:52 UTC
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.
Comment 5 Alexander Larsson 2003-04-23 09:51:55 UTC
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?
Comment 6 Jean-Pierre Dion 2003-10-20 15:02:02 UTC
Any  news about that proposition, is it accepted/integrated or not ?

Thanks.

Jean-Pierre Dion
Comment 7 Kjartan Maraas 2003-10-28 21:46:54 UTC
Hardware component seems to be enabled in Makefile.am in
nautilus/components at least. Dave fixed the NautilusBackground build
problems a while ago.
Comment 8 alexander.winston 2004-01-29 17:33:35 UTC
Adding the portability keyword.
Comment 9 Sebastien Bacher 2005-01-22 23:05:29 UTC
is that still an issue with the current versions ?
Comment 10 Jean-Pierre Dion 2005-02-09 09:08:10 UTC
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
Comment 11 Aschwin van der Woude 2005-02-09 09:38:53 UTC
Closed as requested