www.pegasos.org

Linux, BSD, Unix etc. - SeaMoneky and LinuxPPC

Trizt - Oct 23, 2005 - 08:20
Post subject: SeaMoneky and LinuxPPC
There seems to be some problems with later versions of SeaMoneky (Mozilla suite) and compiling it on LinuxPPC, there seems to be a bug in gcc which causes thorubles with the compile.

I have a dirty fix for this (seems to work on source from 20051021), do this before you done the configration.
Code:
--- configure   2005-10-23 11:17:06.055949664 +0200
+++ configure   2005-10-23 11:23:02.878704360 +0200
@@ -7544,13 +7544,15 @@
 #define HAVE_VISIBILITY_PRAGMA 1
 EOF

-        VISIBILITY_FLAGS='-I$(DIST)/include/system_wrappers -include $(topsrcdi
r)/config/gcc_hidden.h'
-        WRAP_SYSTEM_INCLUDES=1
+        VISIBILITY_FLAGS='-fvisibility=hidden'
+        WRAP_SYSTEM_INCLUDES=
       fi
    fi
 fi     # GNU_CC

-
+VISIBILITY_FLAGS='-fvisibility=hidden'
+WRAP_SYSTEM_INCLUDES=
+


 ac_header_dirent=no


Sadly I haven't managed to compile with qt toolkit, but the gtk+xft combination still works, but you need to patch the configure file, before you configure.

Code:
diff -Nur mozilla.orig/configure mozilla/configure
--- mozilla.orig/configure   2004-05-16 18:08:45.606427152 +0200
+++ mozilla/configure       2004-05-16 18:11:59.245989464 +0200
@@ -12923,4 +12923,1 @@

-if test "$MOZ_ENABLE_XFT" && test -z "$MOZ_ENABLE_GTK2"; then
-    { echo "configure: error: Cannot enable XFT support for non-GTK2 toolkits."
 1>&2; exit 1; }
-fi


When making a gtk+xft version of SeaMonkey, you can remove the bad dependencies toward Gnome2 and it seems to get smaller and faster too.

The "transfer animation" is nowdays quite uggly, if you like the M more, then you need to extract the animations from an older version of Mozilla (look for <1.7.5) and replace the images before you compile as they will be part of the themes.
All times are GMT + 1 Hour
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits