|
|
| version 1.28, 2019/11/30 22:17:48 | version 1.36, 2021/01/28 16:24:43 |
|---|---|
| Line 36 for PARAM in "$@"; do | Line 36 for PARAM in "$@"; do |
| options="$options --with-mailreceive=$project_dir/gnome" | options="$options --with-mailreceive=$project_dir/gnome" |
| build_gmime="yes" | build_gmime="yes" |
| ;; | ;; |
| "--with-system-mailreceive") | |
| printf ", with mail receiving" | |
| options="$options --with-mailreceive" | |
| ;; | |
| "--strip") | "--strip") |
| printf ", without debug information" | printf ", without debug information" |
| build_stripped="yes" | build_stripped="yes" |
| Line 46 for PARAM in "$@"; do | Line 50 for PARAM in "$@"; do |
| ;; | ;; |
| "--help") | "--help") |
| echo | echo |
| echo "Usage: buildall [--without-xml] [--with-apache] [--with-mailreceive] [--strip] [--direct-download] [--disable-safe-mode] [other configure options ...]" | echo "Usage: buildall [--without-xml] [--with-apache] [--with-mailreceive] [--with-system-mailreceive] [--strip] [--direct-download] [--disable-safe-mode] [other configure options ...]" |
| exit 1 | exit 1 |
| ;; | ;; |
| *) | *) |
| Line 82 fi | Line 86 fi |
| prepare () { | prepare () { |
| cd $project_dir/src | cd $project_dir/src |
| if test ! -f "temp $1"; then | if test ! -f "$1"; then |
| if test "$direct_download" = "yes"; then | if test "$direct_download" = "yes"; then |
| echo "Downloading $lib from $2..." | echo "Downloading $lib from $2..." |
| $download $2$1 | $download $2$1 |
| Line 119 echo | Line 123 echo |
| mkdir src >/dev/null 2>&1 | mkdir src >/dev/null 2>&1 |
| if test ! -f "$project_dir/gc/lib/libgc.a"; then | if test ! -f "$project_dir/gc/lib/libgc.a"; then |
| lib="libatomic_ops-7.6.2" | |
| prepare_gz ${lib}.tar.gz http://www.hboehm.info/gc/gc_source/ | |
| lib="gc-8.0.4" | lib="gc-8.0.4" |
| prepare_gz ${lib}.tar.gz http://www.hboehm.info/gc/gc_source/ | prepare_gz ${lib}.tar.gz http://www.hboehm.info/gc/gc_source/ |
| mv ../libatomic_ops-7.6.2 libatomic_ops | |
| echo "Configuring $lib..." | echo "Configuring $lib..." |
| CPPFLAGS="-DUSE_MMAP -DDONT_ADD_BYTE_AT_END" \ | CPPFLAGS="-DUSE_MMAP -DDONT_ADD_BYTE_AT_END" \ |
| ./configure --prefix=$project_dir/gc \ | ./configure --prefix=$project_dir/gc \ |
| --disable-threads \ | |
| --disable-shared \ | --disable-shared \ |
| --disable-parallel-mark \ | |
| --silent $cflags | --silent $cflags |
| echo "Building $lib..." | echo "Building $lib..." |
| make install | make install |
| Line 159 if test "$build_xml" = "yes" -a ! -f "$p | Line 168 if test "$build_xml" = "yes" -a ! -f "$p |
| ./configure --prefix=$project_dir/gnome \ | ./configure --prefix=$project_dir/gnome \ |
| --without-catalog \ | --without-catalog \ |
| --without-iconv \ | --without-iconv \ |
| --without-threads \ | |
| --without-debug \ | --without-debug \ |
| --without-iso8859x \ | --without-iso8859x \ |
| --without-legacy \ | --without-legacy \ |
| Line 253 fi | Line 261 fi |
| cd $parser3_dir | cd $parser3_dir |
| if test ! -f "Makefile"; then | if test ! -f "Makefile"; then |
| echo "Configuring parser3..." | echo "Configuring parser3..." |
| ./configure --prefix=$install_directory "--with-sendmail=$sendmail_command" $options --silent $cflags $gmime_cflags | ./configure --prefix=$install_directory \ |
| --sysconfdir=$install_directory/bin \ | |
| --datadir=$install_directory/bin \ | |
| --datarootdir="\$confdir" \ | |
| --libdir="\$confdir/lib" \ | |
| --with-sendmail="$sendmail_command" \ | |
| $options $cflags $gmime_cflags | |
| fi | fi |
| echo "Building parser3..." | echo "Building parser3..." |