| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 source pkg_info | |
| 7 source ../../build_tools/common.sh | |
| 8 | 6 |
| 9 export EXTRA_CONFIGURE_ARGS="--prefix= --exec-prefix=" | 7 export EXTRA_CONFIGURE_ARGS="--prefix= --exec-prefix=" |
| 10 export EXTRA_CONFIGURE_ARGS="${EXTRA_CONFIGURE_ARGS} \ | 8 export EXTRA_CONFIGURE_ARGS="${EXTRA_CONFIGURE_ARGS} \ |
| 11 --disable-native-texlive-build \ | 9 --disable-native-texlive-build \ |
| 12 --enable-build-in-source-tree \ | 10 --enable-build-in-source-tree \ |
| 13 --disable-shared \ | 11 --disable-shared \ |
| 14 --disable-lcdf-typetools \ | 12 --disable-lcdf-typetools \ |
| 15 --disable-largefile \ | 13 --disable-largefile \ |
| 16 --without-luatex \ | 14 --without-luatex \ |
| 17 --enable-mktextex-default \ | 15 --enable-mktextex-default \ |
| 18 --without-x \ | 16 --without-x \ |
| 19 --without-system-freetype \ | 17 --without-system-freetype \ |
| 20 --without-system-freetype2 \ | 18 --without-system-freetype2 \ |
| 21 --without-system-gd \ | 19 --without-system-gd \ |
| 22 --without-system-graphite \ | 20 --without-system-graphite \ |
| 23 --without-system-icu \ | 21 --without-system-icu \ |
| 24 --without-system-kpathsea \ | 22 --without-system-kpathsea \ |
| 25 --without-system-ptexenc \ | 23 --without-system-ptexenc \ |
| 26 --without-system-t1lib \ | 24 --without-system-t1lib \ |
| 27 --without-system-teckit \ | 25 --without-system-teckit \ |
| 28 --without-system-xpdf" | 26 --without-system-xpdf" |
| 29 | 27 |
| 30 export NACLPORTS_LDFLAGS="${NACLPORTS_LDFLAGS} -Wl,--as-needed" | 28 export NACLPORTS_LDFLAGS="${NACLPORTS_LDFLAGS} -Wl,--as-needed" |
| 31 | 29 |
| 32 ConfigureStep() { | 30 ConfigureStep() { |
| 33 local SRC_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} | |
| 34 ChangeDir ${SRC_DIR} | 31 ChangeDir ${SRC_DIR} |
| 35 | 32 |
| 36 # TODO(phosek): we should be able to run reautoconf at this point, but | 33 # TODO(phosek): we should be able to run reautoconf at this point, but |
| 37 # this requires automake > 1.12 which is not currently shipped in Ubuntu | 34 # this requires automake > 1.12 which is not currently shipped in Ubuntu |
| 38 #${SRC_DIR}/reautoconf | 35 #${SRC_DIR}/reautoconf |
| 39 | 36 |
| 40 local build_host=$(${SRC_DIR}/build-aux/config.guess) | 37 local build_host=$(${SRC_DIR}/build-aux/config.guess) |
| 41 | 38 |
| 42 ( | 39 ( |
| 43 export LIBS="-ltar -lppapi_simple -lnacl_io \ | 40 export LIBS="-ltar -lppapi_simple -lnacl_io \ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 84 |
| 88 InstallNaClTerm ${ASSEMBLY_DIR} | 85 InstallNaClTerm ${ASSEMBLY_DIR} |
| 89 LogExecute cp ${START_DIR}/background.js ${ASSEMBLY_DIR} | 86 LogExecute cp ${START_DIR}/background.js ${ASSEMBLY_DIR} |
| 90 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} | 87 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} |
| 91 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} | 88 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} |
| 92 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} | 89 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} |
| 93 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} | 90 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} |
| 94 ChangeDir ${PUBLISH_DIR} | 91 ChangeDir ${PUBLISH_DIR} |
| 95 LogExecute zip -r texlive-2013.zip texlive | 92 LogExecute zip -r texlive-2013.zip texlive |
| 96 } | 93 } |
| 97 | |
| 98 PackageInstall | |
| 99 exit 0 | |
| OLD | NEW |