8,048
edits
Line 19: | Line 19: | ||
== Options == | == Options == | ||
Options behavior depends on the build type: | |||
* If building a shared version, dependency resolution is: | |||
** if --with-static-option= then use that static path to link. | |||
** if --with-option=path then use that shared object to link to. | |||
** try to find shared lib with pkg-config | |||
* If building a static version: | |||
** if --with-static-option= then use that path to link. | |||
** download and build dependency ourselves | |||
''--with-static-option'' can receive ''SELF'' as value which the script will interpret as ''download and build a static version for me''. | |||
=== ''--build-static'' (default: false) === | === ''--build-static'' (default: false) === | ||
Line 27: | Line 38: | ||
=== ''--with-gecko-sdk='' === | === ''--with-gecko-sdk='' === | ||
'''variable''': ''GECKO_SDK_PATH'' | '''variable''': ''GECKO_SDK_PATH''. Path to ''sdk/'' of xulrunner-sdk or gecko-sdk. | ||
Debian package: xulrunner-1.9-dev (ubuntu maverick and before, debian 6) [https://developer.mozilla.org/en/Gecko_SDK Gecko_SDK] | Debian package: xulrunner-1.9-dev (ubuntu maverick and before, debian 6) [https://developer.mozilla.org/en/Gecko_SDK Gecko_SDK] | ||
=== ''--with-z'' === | === ''--with-z='' === | ||
'''variable''': '' | '''variable''': ''ZLIB_LDFLAGS''. Path to ''libz.so''. | ||
Debian package: zlib1g | |||
=== ''--with-static-z='' === | |||
'''variable''': ''ZLIB_LDFLAGS''. Path to ''libz.a''. | |||
Debian package: zlib1g-dev | Debian package: zlib1g-dev | ||
=== ''--with- | === ''--with-xapian='' === | ||
'''variable''': '' | '''variable''': ''XAPIAN_LDFLAGS''. Path to ''libxapian.so''. | ||
Debian package: libxapian22 | |||
=== ''--with-xapian'' === | === ''--with-static-xapian='' === | ||
'''variable''': '' | '''variable''': ''XAPIAN_LDFLAGS''. Path to ''libxapian.a''. | ||
Debian package: libxapian-dev | Debian package: libxapian-dev | ||
=== ''--with-icu'' === | === ''--with-icu='' === | ||
'''variable''': '' | '''variable''': ''ICU_LDFLAGS''. Path to '''folder''' containing ''libicudata.so'', ''libicule.so'', ''libiculx.so'', ''libicuio.so'', ''libicuuc.so'', ''libicui18n.so'', ''libicutu.so''. | ||
Debian package: | Debian package: libicu44 | ||
=== ''--with-icu='' === | === ''--with-static-icu='' === | ||
'''variable''': '' | '''variable''': ''ICU_LDFLAGS''. Path to '''folder''' containing ''libicudata.a'', ''libicule.a'', ''libiculx.a'', ''libicuio.a'', ''libicuuc.a'', ''libicui18n.a'', ''libicutu.a''. | ||
Debian package: libicu-dev | |||
=== ''--with-sqlite='' === | === ''--with-sqlite='' === | ||
'''variable''': '' | '''variable''': ''SQLITE_LDFLAGS''. Path to ''libsqlite3.so''. | ||
Debian package: libsqlite3 | |||
Debian package: | === ''--with-static-sqlite='' === | ||
'''variable''': ''SQLITE_LDFLAGS''. Path to ''libsqlite3.a''. | |||
Debian package: libsqlite3-dev | |||
=== ''--with-uuid='' === | === ''--with-uuid='' === | ||
'''variable''': '' | '''variable''': ''UUID_LDFLAGS''. Path to ''libuuid.so''. | ||
Debian package: uuid-dev | |||
=== ''--with-static-uuid='' === | |||
'''variable''': ''UUID_LDFLAGS''. Path to ''libuuid.a''. | |||
Debian package: uuid-dev | |||
e2fsprogs-utils | |||
=== ''--with-microhttpd='' === | === ''--with-microhttpd='' === | ||
'''variable''': '' | '''variable''': ''LIBMICROHTTPD_LDFLAGS''. Path to ''libmicrohttpd.so''. | ||
Debian package: libmicrohttpd5 | |||
=== ''--with- | === ''--with-static-microhttpd='' === | ||
'''variable''': '' | '''variable''': ''LIBMICROHTTPD_LDFLAGS''. Path to ''libmicrohttpd.a''. | ||
Debian package: | Debian package: libmicrohttpd-dev | ||
=== ''--with-lzma='' === | === ''--with-lzma='' === | ||
'''variable''': '' | '''variable''': ''LZMA_LDFLAGS''. Path to ''liblzma.so''. | ||
Debian package: liblzma2 | |||
Debian package: | === ''--with-static-lzma='' === | ||
'''variable''': ''LZMA_LDFLAGS''. Path to ''liblzma.a''. | |||
Debian package: liblzma-dev | |||
=== ''--with-cares='' === | === ''--with-cares='' === | ||
'''variable''': '' | '''variable''': ''CARES_LDFLAGS''. Path to ''libcares.so''. | ||
Debian package: libc-ares2 | |||
=== ''--with-static-cares='' === | |||
'''variable''': ''CARES_LDFLAGS''. Path to ''libcares.a''. | |||
Debian package: libc-ares-dev | |||
=== ''--with-aria2='' === | === ''--with-aria2='' === | ||
'''variable''': '' | '''variable''': ''ARIA2_LDFLAGS''. Path to ''aria2c''. | ||
Debian package: aria2 ('''/! Kiwix now requires version 1.14 which is not yet in debian/ubuntu) | |||
=== ''--with-static-aria2='' === | |||
'''variable''': ''ARIA2_LDFLAGS''. Path to ''aria2c''. | |||
=== ''--with-clucene='' === | === ''--with-clucene='' === | ||
'''variable''': '' | '''variable''': ''CLUCENE_LDFLAGS''. Path to 'clucene.so''. | ||
Debian package: libclucene0ldbl | |||
=== ''--with-static-clucene='' === | |||
'''variable''': ''CLUCENE_LDFLAGS''. Path to 'clucene.a''. | |||
Debian package: libclucene-dev | |||
=== ''--without-clucene'' (default: true) === | === ''--without-clucene'' (default: true) === |
edits