more documentation of scripts. disable java for gettext. disable docs for fontconfig

master
don bright 2014-06-02 16:12:54 -07:00
parent 1999898508
commit eb45f9bc36
2 changed files with 31 additions and 19 deletions

View File

@ -3,6 +3,9 @@
# used by OpenSCAD. # used by OpenSCAD.
# It's supposed to be included from the system specific scripts. # It's supposed to be included from the system specific scripts.
# #
# scripts/uni-build-dependencies.sh - generic linux/bsd
# scripts/macosx-build- - mac osx options
# scripts/mingw-x-build- - not used, MXE handles all dependencies.
build_freetype() build_freetype()
{ {
@ -67,7 +70,7 @@ build_fontconfig()
tar xzf "fontconfig-$version.tar.gz" tar xzf "fontconfig-$version.tar.gz"
cd "fontconfig-$version" cd "fontconfig-$version"
export PKG_CONFIG_PATH="$DEPLOYDIR/lib/pkgconfig" export PKG_CONFIG_PATH="$DEPLOYDIR/lib/pkgconfig"
./configure --prefix="$DEPLOYDIR" --enable-libxml2 ./configure --prefix="$DEPLOYDIR" --enable-libxml2 --disable-docs
unset PKG_CONFIG_PATH unset PKG_CONFIG_PATH
make -j$NUMCPU make -j$NUMCPU
make install make install
@ -113,7 +116,7 @@ build_gettext()
tar xzf "gettext-$version.tar.gz" tar xzf "gettext-$version.tar.gz"
cd "gettext-$version" cd "gettext-$version"
./configure --prefix="$DEPLOYDIR" ./configure --prefix="$DEPLOYDIR" --disable-java
make -j$NUMCPU make -j$NUMCPU
make install make install
} }

View File

@ -532,23 +532,29 @@ build_eigen()
# glib2 and dependencies # glib2 and dependencies
build_gettext() #build_gettext()
{ #{
version=$1 # version=$1
echo "Building gettext $version..." # ls -l $DEPLOYDIR/include/gettext-po.h
# if [ -e $DEPLOYDIR/include/gettext-po.h ]; then
cd "$BASEDIR"/src # echo "gettext already installed. not building"
rm -rf "gettext-$version" # return
if [ ! -f "glib-$version.tar.gz" ]; then # fi
curl --insecure -LO "http://ftpmirror.gnu.org/gettext/gettext-$version.tar.gz" #
fi # echo "Building gettext $version..."
tar xzf "gettext-$version.tar.gz" #
cd "gettext-$version" # cd "$BASEDIR"/src
# rm -rf "gettext-$version"
./configure --prefix="$DEPLOYDIR" # if [ ! -f "glib-$version.tar.gz" ]; then
make -j$NUMCPU # curl --insecure -LO "http://ftpmirror.gnu.org/gettext/gettext-$version.tar.gz"
make install # fi
} # tar xzf "gettext-$version.tar.gz"
# cd "gettext-$version"
#
# ./configure --prefix="$DEPLOYDIR"
# make -j$NUMCPU
# make install
#}
build_pkgconfig() build_pkgconfig()
{ {
@ -743,7 +749,10 @@ build_cgal 4.0.2
build_glew 1.9.0 build_glew 1.9.0
build_opencsg 1.3.2 build_opencsg 1.3.2
build_gettext 0.18.3.1 build_gettext 0.18.3.1
exit 1
build_glib2 2.38.2 build_glib2 2.38.2
# the following are only needed for text()
build_freetype 2.5.0.1 build_freetype 2.5.0.1
build_libxml2 2.9.1 build_libxml2 2.9.1
build_fontconfig 2.11.0 build_fontconfig 2.11.0