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 = 9855b6d802d7fe5b7bd5b196a2271655 107 name = zlib-1.3.1.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 (SOLAR_JAVA==TRUE && (ENABLE_MEDIAWIKI==YES || ENABLE_REPORTBUILDER==YES)) 130 MD5 = e8e197d628436490886d17cffa108fe3 131 name = commons-logging-1.1.3-src.tar.gz 132 URL1 = https://archive.apache.org/dist/commons/logging/source/$(name) 133 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 134 135if (SYSTEM_LIBPNG != YES) 136 MD5 = 3ca98347a5541a2dad55cd6d07ee60a9 137 name = libpng-1.5.26.tar.gz 138 URL1 = https://sourceforge.net/projects/libpng/files/libpng15/older-releases/1.5.26/$(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) 154 MD5 = c15e53a62711002901d3515ac8b30b86 155 name = openssl-3.0.13.tar.gz 156 URL1 = https://www.openssl.org/source/$(name) 157 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 158 159# On Windows, we need Strawberry Perl to build OpenSSL 3: 160if (SYSTEM_OPENSSL!=YES && GUI==WNT) 161 MD5 = 93fdfe261588bc82ab3a0bd4f5945b60 162 name = strawberry-perl-5.32.1.1-32bit-portable.zip 163 URL1 = https://strawberryperl.com/download/5.32.1.1/$(name) 164 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 165 166if (SYSTEM_LIBXML != YES) 167 MD5 = 10942a1dc23137a8aa07f0639cbfece5 168 name = libxml2-2.9.10.tar.gz 169 URL1 = http://xmlsoft.org/sources/$(name) 170 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 171 172if (SYSTEM_LIBXSLT != YES) 173 MD5 = db8765c8d076f1b6caafd9f2542a304a 174 name = libxslt-1.1.34.tar.gz 175 URL1 = http://xmlsoft.org/sources/$(name) 176 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 177 178if (SOLAR_JAVA == TRUE) 179 MD5 = 63574e3ada44f473892a61a2da433a59 180 name = apache-tomcat-5.5.36-src.tar.gz 181 URL1 = https://archive.apache.org/dist/tomcat/tomcat-5/v5.5.36/src/apache-tomcat-5.5.36-src.tar.gz 182 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 183 184if (SOLAR_JAVA == TRUE) 185 MD5 = 980143f96b3f6ce45d2e4947da21a5e9 186 name = stax-src-1.2.0.zip 187 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 188 URL2 = http://maven.ibiblio.org/maven/stax/jars/stax-src-1.2.0.zip 189 190if (ENABLE_MEDIAWIKI == YES) 191 MD5 = a7983f859eafb2677d7ff386a023bc40 192 name = xsltml_2.1.2.zip 193 URL1 = https://sourceforge.net/projects/xsltml/files/xsltml/v.2.1.2/$(name) 194 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 195 196if (SYSTEM_PYTHON != YES) 197 MD5 = 38c84292658ed4456157195f1c9bcbe1 198 name = Python-2.7.18.tgz 199 URL1 = https://www.python.org/ftp/python/2.7.18/$(name) 200 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 201 202if (SYSTEM_BOOST != YES) 203 MD5 = d6eef4b4cacb2183f2bf265a5a03a354 204 name = boost_1_55_0.tar.bz2 205 URL1 = https://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2 206 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 207 208if (SYSTEM_VIGRA != YES) 209 MD5 = d62650a6f908e85643e557a236ea989c 210 name = vigra1.6.0.tar.gz 211 URL1 = https://src.fedoraproject.org/lookaside/extras/vigra/vigra1.6.0.tar.gz/d62650a6f908e85643e557a236ea989c/$(name) 212 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 213 214if (SYSTEM_EXPAT != YES) 215 MD5 = 5e9974d422dc4b157f300568ad28ebf6 216 name = expat-2.5.0.tar.bz2 217 URL1 = https://sourceforge.net/projects/expat/files/expat/2.5.0/$(name) 218 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 219 220if (SYSTEM_CURL != YES) 221 MD5 = 92f7a11836678b725e2cb59fef10c273 222 name = curl-8.7.1.tar.gz 223 URL1 = https://curl.haxx.se/download/$(name) 224 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 225 226if (WITH_CATA_FONTS == YES) 227 MD5 = d0efec10b9f110a32e9b8f796e21782c 228 name = dejavu-fonts-ttf-2.37.tar.bz2 229 URL1 = https://sourceforge.net/projects/dejavu/files/dejavu/2.37/$(name) 230 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 231 232if (WITH_CATA_FONTS==YES) 233 MD5 = 3c90ac73fd13bd79684d9dc073840328 234 name = croscorefonts-1.31.0.tar.bz2 235 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 236 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 237 238if (WITH_CATA_FONTS==YES) 239 MD5 = 368f114c078f94214a308a74c7e991bc 240 name = crosextrafonts-20130214.tar.gz 241 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 242 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 243 244if ( true ) 245 MD5 = fdb27bfe2dbe2e7b57ae194d9bf36bab 246 name = SampleICC-1.3.2.tar.gz 247 # This seems to be the original host, but the MD5 sum does not match. 248 # URL1 = https://sourceforge.net/projects/sampleicc/files/sampleicc/SampleICC%201.3.2/SampleICC-1.3.2.zip 249 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 250 251if (RAT_JAR_HOME==BUILD) 252 MD5 = 0f926196d42577addec7e1aa5b510605 253 name = apache-rat-0.10-bin.tar.bz2 254 URL1 = https://archive.apache.org/dist/creadur/apache-rat-0.10/$(name) 255 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 256 257if (SOLAR_JAVA==TRUE && SYSTEM_BSH!=YES) 258 MD5 = 34c726044fc4e2c7c3cf489fc239cdd5 259 name = bsh-2.1.0-src.zip 260 URL1 = https://github.com/beanshell/beanshell/releases/download/2.1.0/$(name) 261 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 262 263############################################################################### 264# Libraries with category B license 265# 266 267if (ENABLE_CATEGORY_B==YES && SYSTEM_COINMP!=YES) 268 MD5 = 1cce53bf4b40ae29790d2c5c9f8b1129 269 name = CoinMP-1.7.6.tgz 270 URL1 = https://www.coin-or.org/download/source/CoinMP/$(name) 271 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 272 273if (WITH_CATB_FONTS==YES) 274 MD5 = c74b7223abe75949b4af367942d96c7a 275 name = crosextrafonts-carlito-20130920.tar.gz 276 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 277 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 278 279if (WITH_CATB_FONTS == YES) 280 MD5 = 1725634df4bb3dcb1b2c91a6175f8789 281 name = GentiumBasic_1102.zip 282 URL1 = https://software.sil.org/downloads/r/gentium/GentiumBasic_1102.zip 283 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 284 285if (ENABLE_CATEGORY_B==YES && SYSTEM_HYPH!=YES) 286 MD5 = 48a9f787f43a09c0a9b7b00cd1fddbbf 287 name = hyphen-2.7.1.tar.gz 288 URL1 = https://sourceforge.net/projects/hunspell/files/Hyphen/2.7/$(name) 289 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 290 291if (ENABLE_CATEGORY_B==YES && SYSTEM_HUNSPELL!=YES) 292 MD5 = 4967da60b23413604c9e563beacc63b4 293 name = hunspell-1.3.3.tar.gz 294 URL1 = https://sourceforge.net/projects/hunspell/files/Hunspell/1.3.3/$(name) 295 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 296 297if (ENABLE_CATEGORY_B==YES && SOLAR_JAVA==TRUE && ENABLE_JAVASCRIPT==YES) 298 MD5 = 99d94103662a8d0b571e247a77432ac5 299 name = rhino1_7R3.zip 300 URL1 = https://ftp.mozilla.org/pub/js/$(name) 301 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 302 303if (ENABLE_CATEGORY_B==YES && ENABLE_NSS_MODULE==YES) 304 MD5 = 8ac77166663de5c33bba6cb3d0066929 305 name = nss-3.39-with-nspr-4.20.tar.gz 306 URL1 = https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_39_RTM/src/$(name) 307 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 308 309if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 310 MD5 = 24be19595acad0a2cae931af77a0148a 311 name = LICENSE_source-9.0.0.7-bj.html 312 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 313 314if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 315 MD5 = 48470d662650c3c074e1c3fabbc67bbd 316 name = README_source-9.0.0.7-bj.txt 317 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 318 319if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 320 MD5 = ada24d37d8d638b3d8a9985e80bc2978 321 name = source-9.0.0.7-bj.zip 322 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 323 324if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 325 MD5 = 377a60170e5185eb63d3ed2fae98e621 326 name = README_silgraphite-2.3.1.txt 327 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 328 329if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 330 MD5 = d35724900f6a4105550293686688bbb3 331 name = silgraphite-2.3.1.tar.gz 332 URL1 = https://sourceforge.net/projects/silgraphite/files/silgraphite/2.3.1/$(name) 333 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 334 335if (ENABLE_CATEGORY_B==YES && SYSTEM_CAIRO!=YES && ENABLE_CAIRO==TRUE) 336 MD5 = 4ea70ea87b47e92d318d4e7f5b940f47 337 name = cairo-1.8.0.tar.gz 338 URL1 = https://www.cairographics.org/releases/$(name) 339 340if (ENABLE_CATEGORY_B==YES && SYSTEM_CAIRO!=YES && ENABLE_CAIRO==TRUE) 341 MD5 = 09357cc74975b01714e00c5899ea1881 342 name = pixman-0.12.0.tar.gz 343 URL1 = https://www.cairographics.org/releases/$(name) 344