derle.sh 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. noextract=(35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
  2. 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
  3. a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
  4. 0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
  5. language-subtag-registry-2019-04-03.tar.bz2
  6. 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
  7. d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
  8. ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
  9. pdfium-3794.tar.bz2
  10. lxml-4.1.1.tgz
  11. Firebird-3.0.0.32483-0.tar.bz2
  12. libstaroffice-0.0.6.tar.xz
  13. libzmf-0.0.2.tar.xz
  14. poppler-0.74.0.tar.xz
  15. beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip
  16. 8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar
  17. odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies-971c54fd38a968f5860014b44301872706f9e540.jar
  18. 884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf
  19. 185d60944ea767075d27247c3162b3bc-unowinreg.dll
  20. )
  21. # move external sources into place
  22. mkdir "${SRC}"/ext_sources && pushd "${SRC}"/ext_sources
  23. for source in "${noextract[@]}"; do
  24. ln -s "${KAYNAKLAR_DEPO}"/$source .
  25. done
  26. popd
  27. # unowinreg.dll must be a file not a symlink or the result will become a broken symlink
  28. # /usr/share/libreoffice/sdk/classes/win/unowinreg.dll -> /build/libreoffice/src/185d60944ea767075d27247c3162b3bc-unowinreg.dll
  29. rm "${SRC}"/ext_sources/185d60944ea767075d27247c3162b3bc-unowinreg.dll
  30. cp -f "${KAYNAKLAR_DEPO}"/185d60944ea767075d27247c3162b3bc-unowinreg.dll "${SRC}"/ext_sources
  31. # fix not upstreamable pyuno paths - FS#54250
  32. #patch -Np1 -i "${SRC}"/make-pyuno-work-with-system-wide-module-install.diff
  33. #use the CFLAGS but remove the LibO overridden ones
  34. for i in $CFLAGS; do
  35. case "$i" in
  36. -O?|-pipe|-Wall|-g|-fexceptions) continue;;
  37. esac
  38. ARCH_FLAGS="$ARCH_FLAGS $i"
  39. done
  40. # strip -s from Makeflags in case you use it to shorten build logs
  41. _MAKEFLAGS=${MAKEJOBS/-s/}
  42. # http://site.icu-project.org/download/61#TOC-Migration-Issues
  43. CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
  44. ./autogen.sh --with-build-version="${surum}-${devir}" \
  45. --with-vendor="Milis Linux" \
  46. --enable-split-app-modules \
  47. --with-parallelism=${_MAKEFLAGS/-j/} \
  48. --with-external-tar="${SRC}/ext_sources" \
  49. --disable-fetch-external \
  50. --enable-release-build \
  51. --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
  52. --libdir=/usr/lib --mandir=/usr/share/man \
  53. --with-lang="tr" \
  54. --with-help=html \
  55. --disable-avahi \
  56. --enable-dbus \
  57. --enable-gio\
  58. --enable-qt5 \
  59. --enable-gtk3 \
  60. --enable-introspection \
  61. --disable-gstreamer-0-10 \
  62. --enable-openssl \
  63. --enable-odk\
  64. --enable-python=system \
  65. --enable-scripting-javascript \
  66. --disable-dconf \
  67. --disable-report-builder \
  68. --disable-online-update \
  69. --enable-ext-wiki-publisher \
  70. --enable-ext-nlpsolver \
  71. --without-fonts\
  72. --with-system-apr \
  73. --with-system-libcdr \
  74. --with-system-mdds\
  75. --without-myspell-dicts \
  76. --with-system-libvisio \
  77. --with-system-libcmis \
  78. --with-system-libmspub \
  79. --with-system-libexttextcat \
  80. --with-system-orcus \
  81. --with-system-liblangtag \
  82. --with-system-libodfgen \
  83. --with-system-libmwaw \
  84. --with-system-libetonyek \
  85. --with-system-libfreehand \
  86. --without-system-firebird \
  87. --with-system-libtommath \
  88. --with-system-libatomic-ops \
  89. --with-system-libebook \
  90. --with-system-libabw \
  91. --with-system-coinmp \
  92. --with-system-dicts \
  93. --with-external-dict-dir=/usr/share/hunspell \
  94. --with-external-hyph-dir=/usr/share/hyphen \
  95. --with-external-thes-dir=/usr/share/mythes \
  96. --with-system-cppunit\
  97. --with-system-graphite\
  98. --with-system-glm \
  99. --with-system-libnumbertext \
  100. --with-system-libwpg \
  101. --with-system-libwps \
  102. --with-system-redland\
  103. --with-system-gpgmepp \
  104. --with-system-serf \
  105. --with-jdk-home="/usr/lib/jvm/java-8-openjdk" \
  106. --with-ant-home="/usr/share/apache-ant"\
  107. --without-junit \
  108. --with-system-boost\
  109. --with-system-icu \
  110. --with-system-cairo \
  111. --with-system-libs \
  112. --with-system-mythes \
  113. --with-system-headers \
  114. --without-system-hsqldb \
  115. --with-system-clucene \
  116. --disable-dependency-tracking \
  117. --without-system-poppler \
  118. --without-system-libzmf \
  119. --without-system-libstaroffice \
  120. --without-system-jfreereport \
  121. --without-system-apache-commons \
  122. --without-system-beanshell \
  123. --without-doxygen
  124. touch src.downloaded
  125. sed -i '/bootstrap: check-if-root compilerplugins/c\bootstrap: compilerplugins' Makefile
  126. make build-nocheck
  127. mkdir "${SRC}"/fakeinstall
  128. make DESTDIR="${SRC}"/fakeinstall distro-pack-install