---------- Forwarded message ----------
From: Barry Kauler <[email protected]>
Date: Tue, 31 Mar 2015 18:52:09 +0800
Subject: Re: [t2] Compiling seamonkey the "proper" way fixes bug
To: René Rebe <[email protected]>

Rene

On 3/31/15, René Rebe <[email protected]> wrote:
> Hello again,
>
> you may be right that not using configure directly and using the client.mk
> results in a different build sometimes with less “random issues”.
>
> Thunderbird would not build without ldap for me using configure, using
> client.mk I think it just built, … Will do more testing over the next days,
> ...
>
>

Rene,
Hi, I should have got back to you about SeaMonkey.
In the .conf file that I sent before, I did a manual install. The
officially recommended way to install is "make -f client.mk install",
but that was failing -- however, I found that was because I had
disabled ldap.

Probably could have patched it to install with --disable-ldap, but
just changed to --enable-ldap.

It seems that the way installing is done in T2 is mostly for historical reasons.

Here is my seamonkey.conf, that I used for 2.33 (note, I am not using
mozilla-conf.in):

-------------------------------
runconf=0
autogen=0

sm_fix_pre()
{
 #create mozconfig:
 echo "mk_add_options MOZ_MAKE_FLAGS='-j1'
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-sm-release
mk_add_options MOZ_CO_PROJECT=suite
ac_add_options --enable-application=suite
ac_add_options --enable-system-hunspell
ac_add_options --localstatedir=/var
ac_add_options --sysconfdir=/etc
ac_add_options --prefix=/usr
ac_add_options --host=${arch_target}
ac_add_options --disable-dbus
ac_add_options --disable-accessibility
ac_add_options --with-system-bz2
ac_add_options --disable-updater
ac_add_options --disable-parental-controls
ac_add_options --enable-places
ac_add_options --disable-gnomevfs
ac_add_options --enable-system-sqlite
ac_add_options --enable-system-cairo
ac_add_options --enable-strip
ac_add_options --without-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --enable-libxul
ac_add_options --enable-storage
ac_add_options --disable-tests
ac_add_options --with-default-mozilla-five-home=${libdir}/seamonkey
ac_add_options --enable-jsd
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-crashreporter
ac_add_options --disable-libnotify
ac_add_options --with-system-libvpx
ac_add_options --enable-gio
ac_add_options --enable-chrome-format=omni
ac_add_options --disable-necko-wifi
ac_add_options --disable-gconf
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --enable-ldap
ac_add_options --disable-angle
ac_add_options --with-system-icu
ac_add_options --disable-pulseaudio
ac_add_options --enable-system-ffi
ac_add_options --disable-gnomeui
ac_add_options --with-pthreads
ac_add_options --enable-system-pixman
ac_add_options --disable-logging
ac_add_options --disable-debug
ac_add_options --disable-profilesharing
ac_add_options --enable-mathml
ac_add_options --enable-crypto
ac_add_options --with-system-icu
ac_add_options --with-system-libevent
ac_add_options --enable-optimize='-Os'" > mozconfig

 if pkginstalled gstreamer; then
  echo "ac_add_options --enable-gstreamer=1.0" >> mozconfig
 else
  if pkginstalled gstreamer0; then
   echo "ac_add_options --enable-gstreamer" >> mozconfig
  else
   echo "ac_add_options --disable-gstreamer" >> mozconfig
  fi
 fi

 #have to do this due to a bug...
 mkdir mozilla/objdir-sm-release

 if [[ $libdir == *lib64 ]];then
  export LDFLAGS='-L/usr/X11R7/lib64'
 else
  export LDFLAGS='-L/usr/X11R7/lib'
 fi
 export CPLUS_INCLUDE_PATH=/usr/X11R7/include
 export C_INCLUDE_PATH=/usr/X11R7/include
}
hook_add premake 5 'sm_fix_pre'

makeopt='-f client.mk'

makeinstopt='-f client.mk install'

-------------------------
But of course, those config options are specific to my build, and you
would want to take most out, or at least put in tests for packages
installed.

Regards,
Barry

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to