wok rev 11863

thunderbird: update mozconfig
author Dominique Corbex <domcox@slitaz.org>
date Mon Feb 27 20:16:43 2012 +0100 (2012-02-27)
parents ac3df216b91f
children 1001e5c1911c
files thunderbird/receipt thunderbird/stuff/thunderbird.mozconfig.conf
line diff
     1.1 --- a/thunderbird/receipt	Mon Feb 27 20:16:10 2012 +0100
     1.2 +++ b/thunderbird/receipt	Mon Feb 27 20:16:43 2012 +0100
     1.3 @@ -5,14 +5,14 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Mozilla's Thunderbird email application."
     1.6  MAINTAINER="domcox@slitaz.org"
     1.7 -DEPENDS="alsa-lib gtk+ dbus dbus-glib glib jpeg nss sqlite xorg-libX11 xorg-libXdamage \
     1.8 -xorg-libXt libnotify libevent libvpx"
     1.9 -BUILD_DEPENDS="alsa-lib-dev bzip2 dbus-dev dbus-glib-dev freetype-dev fontconfig-dev \
    1.10 -gtk+-dev libIDL libnotify-dev libvpx-dev nss-dev perl python-dev sqlite-dev \
    1.11 -tar wireless_tools-dev libevent-dev xorg-dev xorg-libXt-dev zip \
    1.12 -wireless_tools-dev yasm mesa-dev"
    1.13 +DEPENDS="alsa-lib gtk+ dbus dbus-glib glib jpeg libevent libnotify nspr nss \
    1.14 +         sqlite xorg-libX11 xorg-libXdamage xorg-libXt"
    1.15 +BUILD_DEPENDS="alsa-lib-dev bzip2 dbus-dev dbus-glib-dev freetype fontconfig \
    1.16 +         gtk+-dev libIDL libevent-dev libnotify-dev make mesa-dev nspr-dev \
    1.17 +         nss-dev perl pkg-config python sqlite-dev tar wireless_tools-dev \
    1.18 +         xorg-dev xorg-libXt-dev zip"
    1.19  TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
    1.20 -WEB_SITE="http://www.mozillamessaging.com/"
    1.21 +WEB_SITE="http://www.mozilla.org/"
    1.22  WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/source/$TARBALL"
    1.23  TAGS="email pop imap smtp"
    1.24  LANG="de es_ES fr en_GB pt_PT pt_BR ru"
    1.25 @@ -20,14 +20,15 @@
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	# WARNING:  long compile time.
    1.30 -	# Requirements: 
    1.31 -	# - 512MB RAM with lots of available swap space. Additional RAM will 
    1.32 -	#   significantly decrease build time. 
    1.33 -	# - At least 2.5 GB of disk space.
    1.34 -
    1.35 +	cat <<EOF
    1.36 +WARNING:  long compile time.
    1.37 +Requirements: 
    1.38 +- 512MB RAM with lots of available swap space. Additional RAM will 
    1.39 +  significantly decrease build time. 
    1.40 +- At least 2.5 GB of disk space.
    1.41 +EOF
    1.42  	# add config
    1.43 -	cp -a $stuff/thunderbird.mozconfig.conf $src/.mozconfig
    1.44 +    cp -a $stuff/thunderbird.mozconfig.conf $src/.mozconfig
    1.45  	# languages
    1.46  	echo "# languages" >> $src/.mozconfig
    1.47  	echo "mk_add_options MOZ_CO_LOCALES=\"$LANG\"" >> $src/.mozconfig
    1.48 @@ -58,3 +59,6 @@
    1.49  	mkdir -p $fs/usr/share/pixmaps
    1.50  	cp -a $stuff/thunderbird-icon.png $fs/usr/share/pixmaps
    1.51  }
    1.52 +
    1.53 +
    1.54 +
     2.1 --- a/thunderbird/stuff/thunderbird.mozconfig.conf	Mon Feb 27 20:16:10 2012 +0100
     2.2 +++ b/thunderbird/stuff/thunderbird.mozconfig.conf	Mon Feb 27 20:16:43 2012 +0100
     2.3 @@ -29,7 +29,6 @@
     2.4  # installed in a different prefix, modify the line below to fit
     2.5  # your needs (the config will always be written to /etc/gre.d)
     2.6  ac_add_options --prefix=/usr
     2.7 -ac_add_options --libdir=/usr/lib
     2.8  
     2.9  # apply a minimal level of optimization (-O)
    2.10  ac_add_options --enable-optimize
    2.11 @@ -43,7 +42,7 @@
    2.12  # Using the shipped version of libsqlite3 has been reported to cause
    2.13  # problems with other applications which were using sqlite3.
    2.14  # Only comment this line if you know exactly what you are doing!
    2.15 -# ac_add_options --enable-system-sqlite
    2.16 +ac_add_options --enable-system-sqlite
    2.17  
    2.18  # Comment this only if you want to use whatever patched version of cairo
    2.19  # is in the shipped mozilla tree, together with the system headers.
    2.20 @@ -59,11 +58,11 @@
    2.21  # system-installed versions of the Network Security Services (NSS)
    2.22  # and Netscape Portable Runtime (NSPR) libraries. Comment them if
    2.23  # you wish to use the included copies (not recommended).
    2.24 -# ac_add_options --with-system-nspr
    2.25 +#ac_add_options --with-system-nspr
    2.26  ac_add_options --with-system-nss
    2.27  
    2.28  # Comment this if you have not built png with the apng patch.
    2.29 -#ac_add_options --with-system-png
    2.30 +# ac_add_options --with-system-png
    2.31  
    2.32  # The pthreads option is only used when building nspr
    2.33  # Uncomment this if you build the included nspr.
    2.34 @@ -71,6 +70,7 @@
    2.35  
    2.36  # zlib is included in LFS. Do not comment this line.
    2.37  ac_add_options --with-system-zlib
    2.38 +ac_add_options --with-system-bz2
    2.39  
    2.40  # (Options to disable parts of the package)
    2.41  # This option is used to disable the a11y support in the Xulrunner
    2.42 @@ -78,7 +78,7 @@
    2.43  ac_add_options --disable-accessibility
    2.44  
    2.45  # Uncomment this if you did not build curl.
    2.46 -#ac_add_options --disable-crashreporter
    2.47 +ac_add_options --disable-crashreporter
    2.48  
    2.49  # Comment this if you have built dbus-glib.
    2.50  # ac_add_options --disable-dbus
    2.51 @@ -94,8 +94,7 @@
    2.52  
    2.53  # Enable the build of static internal libs (this is currently required, until
    2.54  # Thunderbird 3.1, DO NOT COMMENT, see note below about XulRunner).
    2.55 -#ac_add_options --enable-static
    2.56 -ac_add_options --enable-libxul
    2.57 +ac_add_options --enable-static
    2.58  
    2.59  # This option is added so that test libraries and programs are not
    2.60  # built. These would only be required for debugging purposes.
    2.61 @@ -114,7 +113,8 @@
    2.62  # This option is used to enable source tree included LDAP support in
    2.63  # the Firefox binaries.  This used to be required for mozab support in
    2.64  # OpenOffice, however, is now deprecated.
    2.65 -ac_add_options --enable-ldap
    2.66 +# note: --disable-ldap breaks thunderbird build
    2.67 +#ac_add_options --disable-ldap
    2.68  
    2.69  # This option is used so that the debugging symbols are removed from
    2.70  # the installed binaries during the installation process. Comment out
    2.71 @@ -137,13 +137,40 @@
    2.72  #ac_add_options --with-system-libxul
    2.73  #ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-devel-1.9.2.8
    2.74  
    2.75 -# Use system libevent
    2.76 -ac_add_options --with-system-libevent
    2.77 -
    2.78 -# Use system libvpx
    2.79 -ac_add_options --with-system-libvpx
    2.80 -
    2.81  # curl is required for the crash reporter.  
    2.82  # Use --disable-crashreporter to disable the crash reporter.
    2.83  ac_add_options --disable-crashreporter
    2.84  
    2.85 +# disable webm video format
    2.86 +ac_add_options --disable-webm
    2.87 +
    2.88 +# disable debug
    2.89 +ac_add_options --disable-debug
    2.90 +
    2.91 +# disable JavaScript debug library
    2.92 +#ac_add_options --disable-jsd
    2.93 +
    2.94 +# disable printing support
    2.95 +ac_add_options --disable-printing
    2.96 +
    2.97 +# disable building of ANGLE for WebGL->D3D translation
    2.98 +ac_add_options --disable-angle 
    2.99 +
   2.100 +# do not build test libraries & programs
   2.101 +ac_add_options --disable-tests
   2.102 +
   2.103 +# disable feed handling and processing components
   2.104 +ac_add_options --disable-feeds
   2.105 +
   2.106 +# disable mozStorage module and related components
   2.107 +ac_add_options --enable-storage
   2.108 +
   2.109 +# disable logging facilities
   2.110 +ac_add_options --disable-logging
   2.111 +
   2.112 +# use system libevent
   2.113 +ac_add_options --with-system-libevent
   2.114 +
   2.115 +# disable java
   2.116 +ac_ad_options --disable-javaxpcom
   2.117 +