##################################################################### ## ## 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 : ## Build by : Uli Link ( ul.mcamafia (at) linkitup.de ) ## ##################################################################### This build of Seamonkey 1.1.11 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. 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.11.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 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 -q32 -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 Index: mozilla/configure =================================================================== RCS file: /cvsroot/mozilla/configure,v retrieving revision 1.1492.2.129 diff -u -8 -p -r1.1492.2.129 configure --- mozilla/configure 26 Mar 2008 19:13:06 -0000 1.1492.2.129 +++ mozilla/configure 11 Jul 2008 12:23:57 -0000 @@ -1,25 +1,25 @@ -#! /bin/sh +#! /usr/bin/bash # Read in '.mozconfig' script to set the initial options. # See the mozconfig2configure script for more details. _AUTOCONF_TOOLS_DIR=`dirname $0`/./build/autoconf . $_AUTOCONF_TOOLS_DIR/mozconfig2configure # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # Defaults: ac_help= -ac_default_prefix=/usr/local +ac_default_prefix=/opt # Any additions from configure.in: ac_help="$ac_help --disable-compile-environment Disable compiler/library checks." ac_help="$ac_help --enable-macos-target=VER (default=10.2/ppc, 10.4/x86) Set the minimum MacOS version needed at runtime" ac_help="$ac_help @@ -5106,17 +5106,17 @@ MOZ_JPEG_CFLAGS= MOZ_JPEG_LIBS='-L$(DIST)/lib -lmozjpeg' MOZ_ZLIB_CFLAGS= MOZ_ZLIB_LIBS='-L$(DIST)/lib -lmozz' MOZ_PNG_CFLAGS= MOZ_PNG_LIBS='-L$(DIST)/lib -lmozpng' MOZ_JS_LIBS='-L$(DIST)/bin -lmozjs' DYNAMIC_XPCOM_LIBS='-L$(DIST)/bin -lxpcom -lxpcom_core' -MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(DIST)/bin' +MOZ_FIX_LINK_PATHS= XPCOM_FROZEN_LDOPTS='-L$(DIST)/bin $(MOZ_FIX_LINK_PATHS) -lxpcom' LIBXUL_LIBS='$(XPCOM_FROZEN_LDOPTS) -lxul' XPCOM_GLUE_LDOPTS='$(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) $(XPCOM_FROZEN_LDOPTS)' XPCOM_STANDALONE_GLUE_LDOPTS='$(DIST)/lib/$(LIB_PREFIX)xpcomglue.$(LIB_SUFFIX)' MOZ_COMPONENT_NSPR_LIBS='-L$(DIST)/bin $(NSPR_LIBS)' MOZ_XPCOM_OBSOLETE_LIBS='-L$(DIST)/lib -lxpcom_compat' @@ -5804,17 +5804,17 @@ EOF fi else AIX_OBJMODEL=compat fi DSO_LDOPTS='-qmkshrobj=1' DSO_CFLAGS='-qflag=w:w' DSO_PIC_CFLAGS= - LDFLAGS="$LDFLAGS -Wl,-brtl -blibpath:/usr/lib:/lib" + LDFLAGS="$LDFLAGS -brtl -blibpath:/opt/seamonkey:/usr/lib:/lib" MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@' MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@' if test "$COMPILE_ENVIRONMENT"; then ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 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 11 Jul 2008 12:24:05 -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 11 Jul 2008 12:24:19 -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 11 Jul 2008 12:24:30 -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 11 Jul 2008 12:24:30 -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} \ Index: mozilla/security/coreconf/AIX.mk =================================================================== RCS file: /cvsroot/mozilla/security/coreconf/AIX.mk,v retrieving revision 1.10 diff -u -8 -p -r1.10 AIX.mk --- mozilla/security/coreconf/AIX.mk 16 Sep 2005 17:09:23 -0000 1.10 +++ mozilla/security/coreconf/AIX.mk 11 Jul 2008 12:24:37 -0000 @@ -68,32 +68,32 @@ CCC = xlC_r CPU_ARCH = rs6000 RANLIB = ranlib OS_CFLAGS = -DAIX -DSYSV OS_LIBS += -blibpath:/usr/lib:/lib -lc -lm DSO_LDOPTS = -brtl -bnortllib -bM:SRE -bnoentry -MKSHLIB = $(LD) $(DSO_LDOPTS) -blibpath:/usr/lib:/lib -lc -lm +MKSHLIB = $(LD) $(DSO_LDOPTS) -blibpath:/opt/seamonkey:/usr/lib:/lib -lc -lm AIX_WRAP = $(DIST)/lib/aixwrap.o AIX_TMP = $(OBJDIR)/_aix_tmp.o ifdef MAPFILE DSO_LDOPTS += -bexport:$(MAPFILE) else DSO_LDOPTS += -bexpall endif PROCESS_MAP_FILE = grep -v ';+' $< | grep -v ';-' | \ sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' > $@ ifdef BUILD_OPT - OPTIMIZER += -qmaxmem=-1 + OPTIMIZER += -O2 -qarch=com -qalign=full -qmaxmem=-1 -q32 endif ifeq ($(USE_64), 1) OS_CFLAGS += -DAIX_64BIT OBJECT_MODE=64 export OBJECT_MODE endif