blob: c1bd196cb38633815beb58bde30d25e5743fde6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# build in a separate directory (optional)
#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj-@CONFIG_GUESS@
export MOZILLA_OFFICIAL=1
export BUILD_OFFICIAL=1
export MOZ_STANDALONE_COMPOSER=1
mk_add_options MOZ_STANDALONE_COMPOSER=1
# if you want don't want to use gcc and g or want to use
# a specific version of the compilers, specify it in the
# two following lines and uncomment them
#export CC="gcc-3.0"
#export CXX="g-3.0"
export OS_LIBS="-lc -lpthread"
export CFLAGS="${CFLAGS}"
export CXXFLAGS="${CFLAGS}"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj-kompozer
# build the standalone composer, obviously
mk_add_options MOZ_CO_PROJECT=composer
ac_add_options --enable-application=composer
# change these two line to build in debug mode
ac_add_options --enable-optimize="${CFLAGS}"
#ac_add_options --disable-debug
# adapt the following lines according to your distribution
ac_add_options --prefix=/usr
ac_add_options --disable-tests
ac_add_options --enable-necko-protocols=http,ftp,file,jar,viewsource,res,data
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --enable-pango
ac_add_options --enable-postscript
ac_add_options --disable-xprint
ac_add_options --enable-mathml
ac_add_options --enable-svg
ac_add_options --enable-svg-renderer=cairo
ac_add_options --enable-system-cairo
ac_add_options --enable-canvas
ac_add_options --with-system-jpeg=/usr
ac_add_options --with-system-zlib=/usr
ac_add_options --enable-gnomevfs
ac_add_options --enable-single-profile
ac_add_options --disable-profilesharing
ac_add_options --enable-system-myspell
ac_add_options --disable-installer
ac_add_options --disable-xpfe-components
ac_add_options --with-default-mozilla-five-home=/usr/lib/kompozer
ac_add_options --with-distribution-id=nutyx.org
ac_add_options --without-system-nspr
ac_add_options --without-system-nss
ac_add_options --disable-elf-dynstr-gc
ac_add_options --disable-gtktest
ac_add_options --disable-strip
ac_add_options --disable-strip-lib
ac_add_options --disable-updater
|