1# Format of this file: 2# 3# Comments start with '#' and are ignored. Empty lines (only whitespace) are ignored. 4# 5# All other lines have one of two different formats: 6# 7# if (<logical-expression>) 8# starts a block that specifies the download site(s) of an external library. 9# 10# <name>=<value> 11# defines a variable. A definition after an "if" statement is only valid up to the next 12# "if" statement. Previous definitions are replaced. 13# <value> can contain references to other variables in the form $(<other-variable>) 14# 15# Some variables have special names: 16# MD5 defines the MD5 check-sum of a library 17# URL1 to URL9 define alternative download sites. The first one that provides the library 18# with matching MD5 wins. 19# name is the name under which the library tar-ball is stored. It overrides the name of the 20# downloaded file. 21 22# Wherever possible the external tar-balls are loaded from their original distribution sites. 23# Where that is not possible (version is not archived any longer, project does not exist any 24# longer, server is temporarily not available) a fallback server is used. 25 26# The primary fallback site. 27OOO_EXTRAS=https://sourceforge.net/projects/oooextras.mirror/files/ 28 29 30############################################################################### 31# Libraries with category A license 32# 33 34if ( true ) 35 MD5 = 0168229624cfac409e766913506961a8 36 name = ucpp-1.3.2.tar.gz 37 URL1 = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ucpp/ucpp-1.3.2.tar.gz 38 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 39 40if (ENABLE_UNIT_TESTS == YES) 41 MD5 = 2d6ec8ccdf5c46b05ba54a9fd1d130d7 42 name = gtest-1.7.0.zip 43 URL1 = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/googletest/gtest-1.7.0.zip 44 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 45 46if ( true ) 47 MD5 = 067201ea8b126597670b5eff72e1f66c 48 name = mythes-1.2.0.tar.gz 49 URL1 = https://sourceforge.net/projects/hunspell/files/MyThes/1.2.0/mythes-1.2.0.tar.gz 50 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 51 52if (SYSTEM_MDDS != YES) 53 MD5 = 0dd138efff4412c707e239290fb82d4f 54 name = mdds_0.3.1.tar.bz2 55 URL1 = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/multidimalgorithm/mdds_0.3.1.tar.bz2 56 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 57 58if (SYSTEM_LIBTEXTCAT != YES) 59 MD5 = 128cfc86ed5953e57fe0f5ae98b62c2e 60 name = libtextcat-2.2.tar.gz 61 URL1 = https://software.wise-guys.nl/download/libtextcat-2.2.tar.gz 62 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 63 64if (SOLAR_JAVA == TRUE) 65 MD5 = 17410483b5b5f267aa18b7e00b65e6e0 66 name = hsqldb_1_8_0.zip 67 URL1 = https://sourceforge.net/projects/hsqldb/files/hsqldb/hsqldb_1_8_0/hsqldb_1_8_0_10.zip 68 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 69 70if ( true ) 71 MD5 = 1756c4fa6c616ae15973c104cd8cb256 72 name = Adobe-Core35_AFMs-314.tar.gz 73 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 74 75if (SOLAR_JAVA==TRUE && SYSTEM_LUCENE!=YES) 76 MD5 = 17960f35b2239654ba608cf1f3e256b3 77 name = lucene-2.9.4-src.tar.gz 78 URL1 = https://archive.apache.org/dist/lucene/java/2.9.4/lucene-2.9.4-src.tar.gz 79 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 80 81if (ENABLE_NSS_MODULE!=NO && SYSTEM_NSS!=YES) 82 MD5 = 1f24ab1d39f4a51faf22244c94a6203f 83 name = xmlsec1-1.2.14.tar.gz 84 URL1 = http://xmlsoft.org/sources/xmlsec/releases/$(name) 85 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 86 87if (SYSTEM_REDLAND != YES) 88 MD5 = a39f6c07ddb20d7dd2ff1f95fa21e2cd 89 name = raptor2-2.0.15.tar.gz 90 URL1 = http://download.librdf.org/source/raptor2-2.0.15.tar.gz 91 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 92 93if (SYSTEM_REDLAND != YES) 94 MD5 = e5be03eda13ef68aabab6e42aa67715e 95 name = redland-1.0.17.tar.gz 96 URL1 = http://download.librdf.org/source/redland-1.0.17.tar.gz 97 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 98 99if (SYSTEM_REDLAND != YES) 100 MD5 = 1f5def51ca0026cd192958ef07228b52 101 name = rasqal-0.9.33.tar.gz 102 URL1 = http://download.librdf.org/source/rasqal-0.9.33.tar.gz 103 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 104 105if (GUI!=UNX || SYSTEM_ZLIB!=YES) 106 MD5 = 60df6a37c56e7c1366cca812414f7b85 107 name = zlib-1.2.7.tar.gz 108 URL1 = https://www.zlib.net/fossils/$(name) 109 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 110 111if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 112 MD5 = 2c9b0f83ed5890af02c0df1c1776f39b 113 name = commons-httpclient-3.1-src.tar.gz 114 URL1 = https://archive.apache.org/dist/httpcomponents/commons-httpclient/source/$(name) 115 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 116 117if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 118 MD5 = db87f7004cefc9d17f7ac841f86122bd 119 name = commons-codec-1.9-src.tar.gz 120 URL1 = https://archive.apache.org/dist/commons/codec/source/$(name) 121 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 122 123if ( true ) 124 MD5 = 2f6ecca935948f7db92d925d88d0d078 125 name = icu4c-4_0_1-src.tgz 126 URL1 = https://sourceforge.net/projects/icu/files/ICU4C/4.0.1/$(name) 127 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 128 129if ( true ) 130 SHA1 = f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd 131 name = serf-1.2.1.tar.bz2 132 URL1 = https://archive.apache.org/dist/serf/serf-1.2.1.tar.bz2 133 URL2 = $(OOO_EXTRAS)$(SHA1)-$(name) 134 135if (SOLAR_JAVA==TRUE && (ENABLE_MEDIAWIKI==YES || ENABLE_REPORTBUILDER==YES)) 136 MD5 = e8e197d628436490886d17cffa108fe3 137 name = commons-logging-1.1.3-src.tar.gz 138 URL1 = https://archive.apache.org/dist/commons/logging/source/$(name) 139 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 140 141if (SYSTEM_JPEG != YES) 142 MD5 = 52654eb3b2e60c35731ea8fc87f1bd29 143 name = jpeg-8d.tar.gz 144 URL1 = https://www.ijg.org/files/jpegsrc.v8d.tar.gz 145 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 146 147if (SOLAR_JAVA==TRUE) 148 MD5 = 4c8c505cc3cba4c467c479e3e0f09ba4 149 name = commons-lang3-3.3-src.tar.gz 150 URL1 = https://archive.apache.org/dist/commons/lang/source/$(name) 151 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 152 153if (SYSTEM_OPENSSL!=YES && DISABLE_OPENSSL!=TRUE) 154 MD5 = cdc2638f789ecc2db2c91488265686c1 155 name = openssl-1.0.2u.tar.gz 156 URL1 = https://www.openssl.org/source/old/1.0.2/$(name) 157 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 158 159if ( true ) 160 MD5 = 0759294408daace192c935b7c9e76e04 161 name = apr-1.6.5.tar.gz 162 URL1 = https://archive.apache.org/dist/apr/$(name) 163 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 164 165if ( true ) 166 MD5 = bd502b9a8670a8012c4d90c31a84955f 167 name = apr-util-1.6.1.tar.gz 168 URL1 = https://archive.apache.org/dist/apr/$(name) 169 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 170 171if (SYSTEM_LIBXML != YES) 172 MD5 = 10942a1dc23137a8aa07f0639cbfece5 173 name = libxml2-2.9.10.tar.gz 174 URL1 = http://xmlsoft.org/sources/$(name) 175 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 176 177if (SYSTEM_LIBXSLT != YES) 178 MD5 = db8765c8d076f1b6caafd9f2542a304a 179 name = libxslt-1.1.34.tar.gz 180 URL1 = http://xmlsoft.org/sources/$(name) 181 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 182 183if (SOLAR_JAVA == TRUE) 184 MD5 = 63574e3ada44f473892a61a2da433a59 185 name = apache-tomcat-5.5.36-src.tar.gz 186 URL1 = https://archive.apache.org/dist/tomcat/tomcat-5/v5.5.36/src/apache-tomcat-5.5.36-src.tar.gz 187 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 188 189if (SOLAR_JAVA == TRUE) 190 MD5 = 980143f96b3f6ce45d2e4947da21a5e9 191 name = stax-src-1.2.0.zip 192 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 193 URL2 = http://maven.ibiblio.org/maven/stax/jars/stax-src-1.2.0.zip 194 195if (ENABLE_MEDIAWIKI == YES) 196 MD5 = a7983f859eafb2677d7ff386a023bc40 197 name = xsltml_2.1.2.zip 198 URL1 = https://sourceforge.net/projects/xsltml/files/xsltml/v.2.1.2/$(name) 199 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 200 201if (SYSTEM_PYTHON != YES) 202 MD5 = 38c84292658ed4456157195f1c9bcbe1 203 name = Python-2.7.18.tgz 204 URL1 = https://www.python.org/ftp/python/2.7.18/$(name) 205 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 206 207if (SYSTEM_BOOST != YES) 208 MD5 = d6eef4b4cacb2183f2bf265a5a03a354 209 name = boost_1_55_0.tar.bz2 210 URL1 = https://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2 211 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 212 213if (SYSTEM_VIGRA != YES) 214 MD5 = d62650a6f908e85643e557a236ea989c 215 name = vigra1.6.0.tar.gz 216 URL1 = https://src.fedoraproject.org/lookaside/extras/vigra/vigra1.6.0.tar.gz/d62650a6f908e85643e557a236ea989c/$(name) 217 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 218 219if (SYSTEM_EXPAT != YES) 220 MD5 = 9d60de01cc0126dfd11121b04838e154 221 name = expat-2.2.10.tar.bz2 222 URL1 = https://sourceforge.net/projects/expat/files/expat/2.2.10/$(name) 223 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 224 225if (SYSTEM_CURL != YES) 226 MD5 = 7422feb126df677d2d33294a1fd079ea 227 name = curl-7.72.0.tar.gz 228 URL1 = https://curl.haxx.se/download/$(name) 229 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 230 231if (WITH_CATA_FONTS == YES) 232 MD5 = d0efec10b9f110a32e9b8f796e21782c 233 name = dejavu-fonts-ttf-2.37.tar.bz2 234 URL1 = https://sourceforge.net/projects/dejavu/files/dejavu/2.37/$(name) 235 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 236 237if (WITH_CATA_FONTS==YES) 238 MD5 = 3c90ac73fd13bd79684d9dc073840328 239 name = croscorefonts-1.31.0.tar.bz2 240 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 241 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 242 243if (WITH_CATA_FONTS==YES) 244 MD5 = 368f114c078f94214a308a74c7e991bc 245 name = crosextrafonts-20130214.tar.gz 246 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 247 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 248 249if ( true ) 250 MD5 = fdb27bfe2dbe2e7b57ae194d9bf36bab 251 name = SampleICC-1.3.2.tar.gz 252 # This seems to be the original host, but the MD5 sum does not match. 253 # URL1 = https://sourceforge.net/projects/sampleicc/files/sampleicc/SampleICC%201.3.2/SampleICC-1.3.2.zip 254 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 255 256if (RAT_JAR_HOME==BUILD) 257 MD5 = 0f926196d42577addec7e1aa5b510605 258 name = apache-rat-0.10-bin.tar.bz2 259 URL1 = https://archive.apache.org/dist/creadur/apache-rat-0.10/$(name) 260 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 261 262if (SOLAR_JAVA==TRUE && SYSTEM_BSH!=YES) 263 MD5 = 34c726044fc4e2c7c3cf489fc239cdd5 264 name = bsh-2.1.0-src.zip 265 URL1 = https://github.com/beanshell/beanshell/releases/download/2.1.0/$(name) 266 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 267 268############################################################################### 269# Libraries with category B license 270# 271 272if (ENABLE_CATEGORY_B==YES && SYSTEM_COINMP!=YES) 273 MD5 = 1cce53bf4b40ae29790d2c5c9f8b1129 274 name = CoinMP-1.7.6.tgz 275 URL1 = https://www.coin-or.org/download/source/CoinMP/$(name) 276 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 277 278if (WITH_CATB_FONTS==YES) 279 MD5 = c74b7223abe75949b4af367942d96c7a 280 name = crosextrafonts-carlito-20130920.tar.gz 281 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 282 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 283 284if (WITH_CATB_FONTS == YES) 285 MD5 = 1725634df4bb3dcb1b2c91a6175f8789 286 name = GentiumBasic_1102.zip 287 URL1 = https://software.sil.org/downloads/r/gentium/GentiumBasic_1102.zip 288 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 289 290if (ENABLE_CATEGORY_B==YES && SYSTEM_HYPH!=YES) 291 MD5 = 48a9f787f43a09c0a9b7b00cd1fddbbf 292 name = hyphen-2.7.1.tar.gz 293 URL1 = https://sourceforge.net/projects/hunspell/files/Hyphen/2.7/$(name) 294 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 295 296if (ENABLE_CATEGORY_B==YES && SYSTEM_HUNSPELL!=YES) 297 MD5 = 4967da60b23413604c9e563beacc63b4 298 name = hunspell-1.3.3.tar.gz 299 URL1 = https://sourceforge.net/projects/hunspell/files/Hunspell/1.3.3/$(name) 300 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 301 302if (ENABLE_CATEGORY_B==YES && SOLAR_JAVA==TRUE && ENABLE_JAVASCRIPT==YES) 303 MD5 = 99d94103662a8d0b571e247a77432ac5 304 name = rhino1_7R3.zip 305 URL1 = https://ftp.mozilla.org/pub/js/$(name) 306 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 307 308if (ENABLE_CATEGORY_B==YES && ENABLE_NSS_MODULE==YES) 309 MD5 = 4ec9a36c0f7c9360b149491c013b8d50 310 name = nss-3.25-with-nspr-4.12.tar.gz 311 URL1 = https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_25_RTM/src/$(name) 312 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 313 314if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 315 MD5 = 24be19595acad0a2cae931af77a0148a 316 name = LICENSE_source-9.0.0.7-bj.html 317 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 318 319if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 320 MD5 = 48470d662650c3c074e1c3fabbc67bbd 321 name = README_source-9.0.0.7-bj.txt 322 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 323 324if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 325 MD5 = ada24d37d8d638b3d8a9985e80bc2978 326 name = source-9.0.0.7-bj.zip 327 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 328 329if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 330 MD5 = 377a60170e5185eb63d3ed2fae98e621 331 name = README_silgraphite-2.3.1.txt 332 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 333 334if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 335 MD5 = d35724900f6a4105550293686688bbb3 336 name = silgraphite-2.3.1.tar.gz 337 URL1 = https://sourceforge.net/projects/silgraphite/files/silgraphite/2.3.1/$(name) 338 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 339 340if (ENABLE_CATEGORY_B==YES && SYSTEM_CAIRO!=YES && ENABLE_CAIRO==TRUE) 341 MD5 = 4ea70ea87b47e92d318d4e7f5b940f47 342 name = cairo-1.8.0.tar.gz 343 URL1 = https://www.cairographics.org/releases/$(name) 344 345if (ENABLE_CATEGORY_B==YES && SYSTEM_CAIRO!=YES && ENABLE_CAIRO==TRUE) 346 MD5 = 09357cc74975b01714e00c5899ea1881 347 name = pixman-0.12.0.tar.gz 348 URL1 = https://www.cairographics.org/releases/$(name) 349