##################################################################### ## ## Seamonkey v1.1.11 for AIX 5L GTK2 ## ## Build platform: RS/6000 7043P 150 ## Compilers used: VisualAge C++ 6.0 (Patchlevel Aug 2004) ## Build date : Sep 05 2008 ## Build by : Uli Link ( ul.mcamafia (at) linkitup.de ) ## ##################################################################### This build of Seamonkey 1.1.12 was produced on a powerpc-ibm-aix5.1.0.0 platform, but configured to use the common processor model running on all RS/6000 machines. For specific CPU type optimized builds visit my website: http://www.linkitup.de/ForAIX/Mozilla Questions about this build can be addressed to Uli Link ( ul.mcamafia (at) linkitup.de ). Any bugs or issues should be reported to the Mozilla Bugzilla site (http://bugzilla.mozilla.org). This README blatantly ripped off from the README for previous Solaris 8/GTK1 Seamonkey releases by Michael Kelleher. ##################################################################### ## COMPILERS AND LIBRARIES USED ##################################################################### The following tools/libraries were used during compilation: IBM AIX 5.1 with Maintenance Level 9 IBM VisualAge C++ 6.0 with August 2004 service pack and the following RPM packages from IBM's AIX Toolbox ORBit2-2.8.1-1 ORBit2-devel-2.8.1-1 r atk-1.10.3-2 atk-devel-1.10.3-2 autoconf213-2.13-1 automake-1.8.5-1 bash-3.0-1 bison-1.875-3 r cairo-1.0.2-6 cairo-devel-1.0.2-6 cvs-1.11.17-2 db-3.3.11-4 diffutils-2.8.1-1 r expat-1.95.7-4 expat-devel-1.95.7-4 flex-2.5.4a-6 r fontconfig-2.2.2-5 fontconfig-devel-2.2.2-5 r freetype2-2.1.7-5 freetype2-devel-2.1.7-5 gawk-3.1.3-1 gdbm-1.8.3-2 gdbm-devel-1.8.3-2 r gettext-0.10.40-6 r glib2-2.8.1-3 glib2-devel-2.8.1-3 r gtk2-2.8.3-9 gtk2-devel-2.8.3-9 r libIDL-0.8.6-2 libIDL-devel-0.8.6-2 r libjpeg-6b-6 libjpeg-devel-6b-6 r libpng-1.2.8-5 libpng-devel-1.2.8-5 r libtiff-3.6.1-4 libtiff-devel-3.6.1-4 m4-1.4.1-1 make-3.80-1 r pango-1.10.0-2 pango-devel-1.10.0-2 pkg-config-0.19-2 popt-1.7-1 sed-4.1.1-1 tar-1.14-1 unzip-5.51-1 r xcursor-1.0.2-3 xcursor-devel-1.0.2-3 r xft-2.1.6-5 r xrender-0.8.4-7 zip-2.3-3 r zlib-1.2.3-3 zlib-devel-1.2.3-3 plus: render-0.8-7 from Groupe Bull's bullfreeware Site The RPMs marked with a leading (r) are needed for runtime, the others are needed at built-time only ##################################################################### ## INSTALLATION NOTES ##################################################################### * Extract the tarball to an appropriate installation location (recommended: /opt): # cd / # bunzip2 -c //seamonkey-1.1.12.en-US.aix5.1.0.0-common.tar.bz2 | tar xf - * For easy execution, symbolically link the seamonkey application: # cd /usr/bin # ln -s //seamonkey/seamonkey * Place any desired plugins into //seamonkey/plugins. * This build should work properly with the Adobe Reader, and Java plugins. * Executables are dynamically linked against GTK2, but should not require the setting of any additional locations in LD_LIBRARY_PATH on a standard AIX 5.x installation. * No other special installation requirements should exist. ##################################################################### ## CONFIGURATION OPTIONS USED ##################################################################### The .mozconfig file used for this build was: mk_add_options MOZ_CO_PROJECT=suite mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/AIX-51/com mk_add_options MOZ_CO_LOCALES=en-US export MOZ_ENABLE_COREXFONTS=1 mk_add_options MOZILLA_OFFICIAL=1 export MOZILLA_OFFICIAL=1 mk_add_options BUILD_OFFICIAL=1 export BUILD_OFFICIAL=1 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/freeware/lib/pkgconfig ac_add_options --enable-application=suite ac_add_options --prefix=/opt/seamonkey ac_add_options --bindir=/opt/seamonkey ac_add_options --datadir=/opt/seamonkey ac_add_options --enable-default-mozilla-five-home=/opt/seamonkey ac_add_options --enable-extensions=default,tasks ac_add_options --disable-gnomevfs ac_add_options --enable-crypto ac_add_options --enable-default-toolkit=gtk2 ac_add_options --enable-svg ac_add_options --enable-system-cairo ac_add_options --disable-xft ac_add_options --disable-tests ac_add_options --disable-auto-deps ac_add_options --disable-debug # To avoid shared lib name clash with IBM's Java # ac_add_options --with-system-jpeg ac_add_options --with-system-png ac_add_options --with-system-zlib ac_add_options --enable-optimize="-O2 -qarch=com -qalign=full -qmaxmem=-1 -qlanglvl=stdc99 -qalias=noansi" ##################################################################### ## BUILD ENVIRONMENT AND COMMANDS ##################################################################### The following build environment and commands were used: $ MOZ_CO_PROJECT=suite $ CONFIG_SHELL=/usr/bin/bash $ CONFIGURE_ENV_ARGS=/usr/bin/bash $ CC=xlc_r $ CXX=xlC_r $ LDFLAGS=-bh:5 $ export MOZ_CO_PROJECT CONFIG_SHELL CONFIGURE_ENV_ARGS CC CXX LDFLAGS $ gmake -f client.mk build $ cd $MOZ_OBJDIR/xpinstall/packager $ gmake and the following patch after checking out the CVS tag SEAMONKEY_1_1_12_RELEASE Index: mozilla/configure.in =================================================================== RCS file: /cvsroot/mozilla/configure.in,v retrieving revision 1.1503.2.111 diff -u -8 -p -r1.1503.2.111 configure.in --- mozilla/configure.in 26 Mar 2008 19:03:05 -0000 1.1503.2.111 +++ mozilla/configure.in 5 Sep 2008 17:54:29 -0000 @@ -1036,17 +1036,17 @@ CYGWIN32_NT|CYGWIN_NT*|MINGW*_NT*) # the uname.exe in the MSYS tools. # OS_RELEASE=`expr $OS_ARCH : '.*NT-\(.*\)'` OS_ARCH=WINNT OS_TARGET=WINNT ;; AIX) OS_RELEASE=`uname -v`.`uname -r` - OS_TEST=`uname -p` + OS_TEST=${target_cpu} ;; BSD_386) OS_ARCH=BSD ;; dgux) OS_ARCH=DGUX ;; IRIX64) @@ -1134,17 +1134,17 @@ fi # Only set CPU_ARCH if we recognize the value of OS_TEST case "$OS_TEST" in *86 | i86pc) CPU_ARCH=x86 ;; -powerpc* | ppc) +powerpc* | ppc | rs6000) CPU_ARCH=ppc ;; Alpha | alpha | ALPHA) CPU_ARCH=Alpha ;; sun4u) @@ -1441,16 +1441,18 @@ case "$target" in else AIX_OBJMODEL=compat fi AC_SUBST(AIX_OBJMODEL) DSO_LDOPTS='-qmkshrobj=1' DSO_CFLAGS='-qflag=w:w' DSO_PIC_CFLAGS= LDFLAGS="$LDFLAGS -Wl,-brtl -blibpath:/usr/lib:/lib" + AC_MSG_WARN([Clearing MOZ_FIX_LINK_PATHS till we can fix bug 332075.]) + MOZ_FIX_LINK_PATHS= MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@' MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@' if test "$COMPILE_ENVIRONMENT"; then AC_LANG_SAVE AC_LANG_CPLUSPLUS AC_MSG_CHECKING([for VisualAge C++ compiler version >= 5.0.2.0]) AC_TRY_COMPILE([], [#if (__IBMCPP__ < 502) Index: mozilla/browser/app/Makefile.in =================================================================== RCS file: /cvsroot/mozilla/browser/app/Makefile.in,v retrieving revision 1.85.2.12 diff -u -8 -p -r1.85.2.12 Makefile.in --- mozilla/browser/app/Makefile.in 12 May 2008 18:25:50 -0000 1.85.2.12 +++ mozilla/browser/app/Makefile.in 5 Sep 2008 17:54:31 -0000 @@ -188,16 +188,20 @@ ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_ ifdef BUILD_STATIC_LIBS LIBS += -framework QuickTime -framework IOKit ifdef USE_PREBINDING BIN_FLAGS += -Wl,-headerpad -Wl,5a0c endif endif endif +ifeq ($(OS_ARCH), AIX) +EXTRA_DSO_LIBS += -lpangox-1.0 -lXrender +endif + ifeq ($(MOZ_WIDGET_TOOLKIT),photon) LIBS += -lphexlib endif ifeq ($(OS_ARCH),WINNT) # # Control the default heap size. # This is the heap returned by GetProcessHeap(). Index: mozilla/embedding/browser/gtk/tests/Makefile.in =================================================================== RCS file: /cvsroot/mozilla/embedding/browser/gtk/tests/Makefile.in,v retrieving revision 1.33.8.2 diff -u -8 -p -r1.33.8.2 Makefile.in --- mozilla/embedding/browser/gtk/tests/Makefile.in 24 Mar 2006 16:10:37 -0000 1.33.8.2 +++ mozilla/embedding/browser/gtk/tests/Makefile.in 5 Sep 2008 17:54:42 -0000 @@ -79,17 +79,17 @@ ifdef MOZ_ENABLE_GTK LIBS += \ -lgtkembedmoz \ -lgtksuperwin \ $(NULL) endif ifdef MOZ_ENABLE_GTK2 LIBS += \ - -lgtkembedmoz \ + -lgtkembedmoz -lXrender -lgthread-2.0 \ $(XLDFLAGS) \ $(XLIBS) \ $(NULL) endif include $(topsrcdir)/config/config.mk # Force applications to be built non-statically Index: mozilla/layout/build/Makefile.in =================================================================== RCS file: /cvsroot/mozilla/layout/build/Makefile.in,v retrieving revision 1.127.8.7 diff -u -8 -p -r1.127.8.7 Makefile.in --- mozilla/layout/build/Makefile.in 17 Jul 2006 19:05:13 -0000 1.127.8.7 +++ mozilla/layout/build/Makefile.in 5 Sep 2008 17:54:58 -0000 @@ -225,17 +225,17 @@ EXTRA_DSO_LDOPTS += $(MOZ_LIBART_LIBS) \ endif ifdef MOZ_ENABLE_GTK2 EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS) \ $(NULL) endif ifneq (,$(MOZ_ENABLE_CANVAS)$(MOZ_SVG_RENDERER_CAIRO)) -EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_LIBS) \ +EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_LIBS) -lXrender -lX11 \ $(NULL) endif ifneq (,$(filter mac cocoa gtk,$(MOZ_WIDGET_TOOLKIT))) EXTRA_DSO_LDOPTS += \ $(TK_LIBS) \ $(NULL) endif Index: mozilla/modules/libpr0n/encoders/jpeg/nsJPEGEncoder.h =================================================================== RCS file: /cvsroot/mozilla/modules/libpr0n/encoders/jpeg/nsJPEGEncoder.h,v retrieving revision 1.1.14.1 diff -u -8 -p -r1.1.14.1 nsJPEGEncoder.h --- mozilla/modules/libpr0n/encoders/jpeg/nsJPEGEncoder.h 20 May 2006 17:20:48 -0000 1.1.14.1 +++ mozilla/modules/libpr0n/encoders/jpeg/nsJPEGEncoder.h 5 Sep 2008 17:55:10 -0000 @@ -33,16 +33,18 @@ * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ #include "imgIEncoder.h" #ifdef MOZILLA_1_8_BRANCH +#undef imgIEncoder +#undef NS_DECL_IMGIENCODER #define imgIEncoder imgIEncoder_MOZILLA_1_8_BRANCH #define NS_DECL_IMGIENCODER NS_DECL_IMGIENCODER_MOZILLA_1_8_BRANCH #endif // needed for JPEG library #include extern "C" { Index: mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.h =================================================================== RCS file: /cvsroot/mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.h,v retrieving revision 1.1.18.1 diff -u -8 -p -r1.1.18.1 nsPNGEncoder.h --- mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.h 20 May 2006 17:20:49 -0000 1.1.18.1 +++ mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.h 5 Sep 2008 17:55:11 -0000 @@ -32,20 +32,23 @@ * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ #include "imgIEncoder.h" #ifdef MOZILLA_1_8_BRANCH +#undef imgIEncoder +#undef NS_DECL_IMGIENCODER #define imgIEncoder imgIEncoder_MOZILLA_1_8_BRANCH #define NS_DECL_IMGIENCODER NS_DECL_IMGIENCODER_MOZILLA_1_8_BRANCH #endif + #include #define NS_PNGENCODER_CID \ { /* 38d1592e-b81e-432b-86f8-471878bbfe07 */ \ 0x38d1592e, \ 0xb81e, \ 0x432b, \ {0x86, 0xf8, 0x47, 0x18, 0x78, 0xbb, 0xfe, 0x07} \