diff --git a/.github/workflows/build-php.yml b/.github/workflows/build-php.yml index 71119449..4385f0ca 100644 --- a/.github/workflows/build-php.yml +++ b/.github/workflows/build-php.yml @@ -21,21 +21,57 @@ jobs: strategy: matrix: version: ["8.1", "8.2", "8.3", "8.4"] - os: ["macos-13", "macos-latest", "windows-latest", "ubuntu-latest"] + os: [ "macos-13", "macos-latest", "windows-latest", "ubuntu-latest", "ubuntu-24.04-arm" ] continue-on-error: true steps: - uses: actions/checkout@v4 + - name: Set SPC binary name + shell: bash + run: echo "SPC_BINARY=spc" >> $GITHUB_ENV + + - name: Set SPC URL for macos-13 + shell: bash + if: matrix.os == 'macos-13' + run: echo "SPC_URL=https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-macos-x86_64" >> $GITHUB_ENV + + - name: Set SPC URL for macos-latest + shell: bash + if: matrix.os == 'macos-latest' + run: echo "SPC_URL=https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-macos-aarch64" >> $GITHUB_ENV + + - name: Set SPC URL for ubuntu-latest and ubuntu-24.04 + shell: bash + if: matrix.os == 'ubuntu-latest' + run: echo "SPC_URL=https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-linux-x86_64" >> $GITHUB_ENV + + - name: Set SPC URL for ubuntu-24.04-arm + shell: bash + if: matrix.os == 'ubuntu-24.04-arm' + run: echo "SPC_URL=https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-linux-aarch64" >> $GITHUB_ENV + + - name: Set SPC URL for windows-latest + shell: bash + if: matrix.os == 'windows-latest' + run: | + echo "SPC_URL=https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-windows-x64.exe" >> $GITHUB_ENV + echo "SPC_BINARY=spc.exe" >> $GITHUB_ENV + - name: Download SPC shell: bash run: | cd .. - git clone https://github.com/crazywhalecc/static-php-cli.git - cd static-php-cli - git checkout main - cd ../ + curl -fsSL -o ${{ env.SPC_BINARY }} ${{ env.SPC_URL }} + chmod +x ${{ env.SPC_BINARY }} + [ ! -d static-php-cli/bin ] && mkdir -p static-php-cli/bin + mv ${{ env.SPC_BINARY }} static-php-cli/bin/ + + - name: Create php-bin directory + shell: bash + run: | + cd .. [ ! -d php-bin ] && mkdir -p php-bin cd php-bin @@ -48,13 +84,9 @@ jobs: run: echo "SPC_BUILD_ARCH=x64" >> $GITHUB_ENV - shell: bash - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-24.04-arm' run: echo "SPC_BUILD_ARCH=arm64" >> $GITHUB_ENV - - shell: bash - if: matrix.os == 'macos-13' - run: echo "SPC_BUILD_ARCH=x86" >> $GITHUB_ENV - - shell: bash if: contains(matrix.os, 'macos') run: | @@ -66,7 +98,7 @@ jobs: run: echo "SPC_BUILD_OS=win" >> $GITHUB_ENV - shell: bash - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' run: echo "SPC_BUILD_OS=linux" >> $GITHUB_ENV - name: Setup system PHP @@ -77,24 +109,10 @@ jobs: extensions: curl, openssl, mbstring, sodium, tokenizer ini-values: memory_limit=-1 - # Cache composer dependencies - - id: cache-spc-composer-deps - uses: actions/cache@v4 - with: - path: ../static-php-cli/vendor - key: composer-dependencies - - - name: Install SPC Composer dependencies - if: steps.cache-spc-composer-deps.outputs.cache-hit != 'true' - run: | - cd ../static-php-cli - composer update --no-dev --classmap-authoritative - cd ../php-bin - - name: SPC doctor run: | cd ../static-php-cli - ./bin/spc doctor + ./bin/${{ env.SPC_BINARY }} doctor cd ../php-bin - name: Read PHP extensions from file @@ -106,6 +124,14 @@ jobs: echo "PHP_EXTENSIONS=$EXTENSIONS" >> $GITHUB_ENV echo "PHP_EXT_HASH=$EXT_HASH" >> $GITHUB_ENV + - name: Read PHP libraries from file + id: read-libs + shell: bash + run: | + LIBRARIES=$(php -r "echo trim(file_get_contents('php-libraries.txt'));") + LIBRARIES_HASH=$(php -r "echo md5(getenv('LIBRARIES'));") + echo "PHP_LIBS=$LIBRARIES" >> $GITHUB_ENV + # Cache downloaded source - id: cache-spc-downloads uses: actions/cache@v4 @@ -117,29 +143,13 @@ jobs: if: steps.cache-spc-downloads.outputs.cache-hit != 'true' run: | cd ../static-php-cli - ./bin/spc download --with-php=${{ matrix.version }} --for-extensions "${{ env.PHP_EXTENSIONS }}" --prefer-pre-built - cd ../php-bin - - - name: Patch for windows 8.4 builds - if: matrix.os == 'windows-latest' - shell: bash - run: | - cd ../static-php-cli - cp downloads/micro/patches/cli_static.patch downloads/micro/patches/cli_static_80.patch - cp downloads/micro/patches/cli_static.patch downloads/micro/patches/cli_static_81.patch - cp downloads/micro/patches/cli_static.patch downloads/micro/patches/cli_static_82.patch - cp downloads/micro/patches/cli_static.patch downloads/micro/patches/cli_static_83.patch - cp downloads/micro/patches/cli_static.patch downloads/micro/patches/cli_static_84.patch - sed -i '18d' downloads/micro/patches/cli_static_84.patch - sed -i 's/+1160,11/+1160,10/' downloads/micro/patches/cli_static_84.patch - rm -f downloads/micro/patches/cli_static.patch - cat downloads/micro/patches/cli_static_84.patch + ./bin/${{ env.SPC_BINARY }} download --with-php=${{ matrix.version }} --for-extensions "${{ env.PHP_EXTENSIONS }}" --prefer-pre-built cd ../php-bin - name: Build PHP run: | cd ../static-php-cli - ./bin/spc build --build-cli "${{ env.PHP_EXTENSIONS }}" + ./bin/${{ env.SPC_BINARY }} build --build-cli "${{ env.PHP_EXTENSIONS }}" --with-libs="${{ env.PHP_LIBS }}" cd ../php-bin - name: Get built PHP version @@ -152,6 +162,13 @@ jobs: fi echo "PHP_VERSION_FULL=$PHP_VERSION_FULL" >> $GITHUB_ENV + - name: Create bin directories + shell: bash + run: | + mkdir -p bin/${{ env.SPC_BUILD_OS }}/${{ env.SPC_BUILD_ARCH }} + mkdir -p license-files + mkdir -p build-meta + - name: Zip PHP binary, copy metadata shell: bash run: | diff --git a/.gitignore b/.gitignore index e43b0f98..2991df03 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .DS_Store +.idea +vendor diff --git a/bin/linux/arm64/php-8.1.zip b/bin/linux/arm64/php-8.1.zip new file mode 100644 index 00000000..c132d2cc Binary files /dev/null and b/bin/linux/arm64/php-8.1.zip differ diff --git a/bin/linux/arm64/php-8.2.zip b/bin/linux/arm64/php-8.2.zip new file mode 100644 index 00000000..9172d50a Binary files /dev/null and b/bin/linux/arm64/php-8.2.zip differ diff --git a/bin/linux/arm64/php-8.3.zip b/bin/linux/arm64/php-8.3.zip new file mode 100644 index 00000000..dc7110e5 Binary files /dev/null and b/bin/linux/arm64/php-8.3.zip differ diff --git a/bin/linux/arm64/php-8.4.zip b/bin/linux/arm64/php-8.4.zip new file mode 100644 index 00000000..b062e038 Binary files /dev/null and b/bin/linux/arm64/php-8.4.zip differ diff --git a/bin/linux/x64/php-8.1.zip b/bin/linux/x64/php-8.1.zip index f72fed2b..f8f83b94 100644 Binary files a/bin/linux/x64/php-8.1.zip and b/bin/linux/x64/php-8.1.zip differ diff --git a/bin/linux/x64/php-8.2.zip b/bin/linux/x64/php-8.2.zip index e9322829..85259454 100644 Binary files a/bin/linux/x64/php-8.2.zip and b/bin/linux/x64/php-8.2.zip differ diff --git a/bin/linux/x64/php-8.3.zip b/bin/linux/x64/php-8.3.zip index 83b851c0..c0b50312 100644 Binary files a/bin/linux/x64/php-8.3.zip and b/bin/linux/x64/php-8.3.zip differ diff --git a/bin/linux/x64/php-8.4.zip b/bin/linux/x64/php-8.4.zip index cb2b7847..0aa738e2 100644 Binary files a/bin/linux/x64/php-8.4.zip and b/bin/linux/x64/php-8.4.zip differ diff --git a/bin/mac/arm64/php-8.1.zip b/bin/mac/arm64/php-8.1.zip index 5149f09c..00e87207 100644 Binary files a/bin/mac/arm64/php-8.1.zip and b/bin/mac/arm64/php-8.1.zip differ diff --git a/bin/mac/arm64/php-8.2.zip b/bin/mac/arm64/php-8.2.zip index 7d1e1d80..1289706b 100644 Binary files a/bin/mac/arm64/php-8.2.zip and b/bin/mac/arm64/php-8.2.zip differ diff --git a/bin/mac/arm64/php-8.3.zip b/bin/mac/arm64/php-8.3.zip index ba776b84..a70d10ee 100644 Binary files a/bin/mac/arm64/php-8.3.zip and b/bin/mac/arm64/php-8.3.zip differ diff --git a/bin/mac/arm64/php-8.4.zip b/bin/mac/arm64/php-8.4.zip index 62fd1fde..28189ffe 100644 Binary files a/bin/mac/arm64/php-8.4.zip and b/bin/mac/arm64/php-8.4.zip differ diff --git a/bin/mac/x64/php-8.1.zip b/bin/mac/x64/php-8.1.zip new file mode 100644 index 00000000..4f9656ca Binary files /dev/null and b/bin/mac/x64/php-8.1.zip differ diff --git a/bin/mac/x64/php-8.2.zip b/bin/mac/x64/php-8.2.zip new file mode 100644 index 00000000..e3b2fdcf Binary files /dev/null and b/bin/mac/x64/php-8.2.zip differ diff --git a/bin/mac/x64/php-8.3.zip b/bin/mac/x64/php-8.3.zip new file mode 100644 index 00000000..1fcdc7a7 Binary files /dev/null and b/bin/mac/x64/php-8.3.zip differ diff --git a/bin/mac/x64/php-8.4.zip b/bin/mac/x64/php-8.4.zip new file mode 100644 index 00000000..b2733c28 Binary files /dev/null and b/bin/mac/x64/php-8.4.zip differ diff --git a/bin/win/x64/php-8.1.zip b/bin/win/x64/php-8.1.zip index 36b264b6..784d7701 100644 Binary files a/bin/win/x64/php-8.1.zip and b/bin/win/x64/php-8.1.zip differ diff --git a/bin/win/x64/php-8.2.zip b/bin/win/x64/php-8.2.zip index 344e4384..21157754 100644 Binary files a/bin/win/x64/php-8.2.zip and b/bin/win/x64/php-8.2.zip differ diff --git a/bin/win/x64/php-8.3.zip b/bin/win/x64/php-8.3.zip index dc209791..8145e508 100644 Binary files a/bin/win/x64/php-8.3.zip and b/bin/win/x64/php-8.3.zip differ diff --git a/bin/win/x64/php-8.4.zip b/bin/win/x64/php-8.4.zip index 3af3dda3..eb4e8cc4 100644 Binary files a/bin/win/x64/php-8.4.zip and b/bin/win/x64/php-8.4.zip differ diff --git a/build-meta/build-libraries-linux.json b/build-meta/build-libraries-linux.json index 85de670e..117423b0 100644 --- a/build-meta/build-libraries-linux.json +++ b/build-meta/build-libraries-linux.json @@ -1,4 +1,8 @@ [ + "pkg-config", + "lib-base", + "micro", + "php", "bzip2", "zlib", "openssl", @@ -6,6 +10,9 @@ "libxml2", "curl", "libpng", + "libwebp", + "libjpeg", + "freetype", "sqlite", "libzip" ] \ No newline at end of file diff --git a/build-meta/build-libraries-mac.json b/build-meta/build-libraries-mac.json index 85de670e..117423b0 100644 --- a/build-meta/build-libraries-mac.json +++ b/build-meta/build-libraries-mac.json @@ -1,4 +1,8 @@ [ + "pkg-config", + "lib-base", + "micro", + "php", "bzip2", "zlib", "openssl", @@ -6,6 +10,9 @@ "libxml2", "curl", "libpng", + "libwebp", + "libjpeg", + "freetype", "sqlite", "libzip" ] \ No newline at end of file diff --git a/build-meta/build-libraries-win.json b/build-meta/build-libraries-win.json index c2c860c9..c638adad 100644 --- a/build-meta/build-libraries-win.json +++ b/build-meta/build-libraries-win.json @@ -1,4 +1,7 @@ [ + "lib-base", + "micro", + "php", "bzip2", "zlib", "openssl", @@ -8,6 +11,9 @@ "nghttp2", "curl", "libpng", + "libwebp", + "libjpeg", + "freetype", "sqlite", "xz", "libzip" diff --git a/cacert.pem b/cacert.pem index eb11b2fd..e8cc6c1c 100644 --- a/cacert.pem +++ b/cacert.pem @@ -1,7 +1,7 @@ ## ## Bundle of CA Root Certificates ## -## Certificate data from Mozilla as of: Tue Nov 26 13:58:25 2024 GMT +## Certificate data from Mozilla as of: Tue Dec 31 04:12:05 2024 GMT ## ## Find updated versions here: https://curl.se/docs/caextract.html ## @@ -16,7 +16,7 @@ ## Just configure this file as the SSLCACertificateFile. ## ## Conversion done with mk-ca-bundle.pl version 1.29. -## SHA256: 36105b01631f9fc03b1eca779b44a30a1a5890b9bf8dc07ccb001a07301e01cf +## SHA256: c99d6d3f8d3d4e47719ba2b648992f5b58b150128d3aca3c05c566d8dc98e116 ## @@ -584,27 +584,6 @@ NwUASZQDhETnv0Mxz3WLJdH0pmT1kvarBes96aULNmLazAZfNou2XjG4Kvte9nHfRCaexOYNkbQu dZWAUWpLMKawYqGT8ZvYzsRjdT9ZR7E= -----END CERTIFICATE----- -SecureSign RootCA11 -=================== ------BEGIN CERTIFICATE----- -MIIDbTCCAlWgAwIBAgIBATANBgkqhkiG9w0BAQUFADBYMQswCQYDVQQGEwJKUDErMCkGA1UEChMi -SmFwYW4gQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcywgSW5jLjEcMBoGA1UEAxMTU2VjdXJlU2lnbiBS -b290Q0ExMTAeFw0wOTA0MDgwNDU2NDdaFw0yOTA0MDgwNDU2NDdaMFgxCzAJBgNVBAYTAkpQMSsw -KQYDVQQKEyJKYXBhbiBDZXJ0aWZpY2F0aW9uIFNlcnZpY2VzLCBJbmMuMRwwGgYDVQQDExNTZWN1 -cmVTaWduIFJvb3RDQTExMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/XeqpRyQBTvL -TJszi1oURaTnkBbR31fSIRCkF/3frNYfp+TbfPfs37gD2pRY/V1yfIw/XwFndBWW4wI8h9uuywGO -wvNmxoVF9ALGOrVisq/6nL+k5tSAMJjzDbaTj6nU2DbysPyKyiyhFTOVMdrAG/LuYpmGYz+/3ZMq -g6h2uRMft85OQoWPIucuGvKVCbIFtUROd6EgvanyTgp9UK31BQ1FT0Zx/Sg+U/sE2C3XZR1KG/rP -O7AxmjVuyIsG0wCR8pQIZUyxNAYAeoni8McDWc/V1uinMrPmmECGxc0nEovMe863ETxiYAcjPitA -bpSACW22s293bzUIUPsCh8U+iQIDAQABo0IwQDAdBgNVHQ4EFgQUW/hNT7KlhtQ60vFjmqC+CfZX -t94wDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAKCh -OBZmLqdWHyGcBvod7bkixTgm2E5P7KN/ed5GIaGHd48HCJqypMWvDzKYC3xmKbabfSVSSUOrTC4r -bnpwrxYO4wJs+0LmGJ1F2FXI6Dvd5+H0LgscNFxsWEr7jIhQX5Ucv+2rIrVls4W6ng+4reV6G4pQ -Oh29Dbx7VFALuUKvVaAYga1lme++5Jy/xIWrQbJUb9wlze144o4MjQlJ3WN7WmmWAiGovVJZ6X01 -y8hSyn+B/tlr0/cR7SXf+Of5pPpyl4RTDaXQMhhRdlkUbA/r7F+AjHVDg8OFmP9Mni0N5HeDk061 -lgeLKBObjBmNQSdJQO7e5iNEOdyhIta6A/I= ------END CERTIFICATE----- - Microsec e-Szigno Root CA 2009 ============================== -----BEGIN CERTIFICATE----- @@ -2319,40 +2298,6 @@ hcErulWuBurQB7Lcq9CClnXO0lD+mefPL5/ndtFhKvshuzHQqp9HpLIiyhY6UFfEW0NnxWViA0kB dBb9HxEGmpv0 -----END CERTIFICATE----- -Entrust Root Certification Authority - G4 -========================================= ------BEGIN CERTIFICATE----- -MIIGSzCCBDOgAwIBAgIRANm1Q3+vqTkPAAAAAFVlrVgwDQYJKoZIhvcNAQELBQAwgb4xCzAJBgNV -BAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3Qu -bmV0L2xlZ2FsLXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxNSBFbnRydXN0LCBJbmMuIC0gZm9yIGF1 -dGhvcml6ZWQgdXNlIG9ubHkxMjAwBgNVBAMTKUVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1 -dGhvcml0eSAtIEc0MB4XDTE1MDUyNzExMTExNloXDTM3MTIyNzExNDExNlowgb4xCzAJBgNVBAYT -AlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3QubmV0 -L2xlZ2FsLXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxNSBFbnRydXN0LCBJbmMuIC0gZm9yIGF1dGhv -cml6ZWQgdXNlIG9ubHkxMjAwBgNVBAMTK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O3bll/9bGXp+aEJlLdWr+aumXIOTkdnrG0CSqkM0gkLpHZPt/B7NTeLUK -YvJzQ85BK4FqLoUWlFPUa19yIqtRLULVAJyZv967lDtX/Zr1hstWO1uIAeV8KEsD+UmDfLJ/fOPt -jqF/YFOOVZ1QNBIPt5d7bIdKROf1beyAN/BYGW5KaHbwH5Lk6rWS02FREAutp9lfx1/cH6NcjKF+ -m7ee01ZvZl4HliDtC3T7Zk6LERXpgUl+b7DUUH8i119lAg2m9IUe2K4GS0qn0jFmwvjO5QimpAKW -RGhXxNUzzxkvFMSUHHuk2fCfDrGA4tGeEWSpiBE6doLlYsKA2KSD7ZPvfC+QsDJMlhVoSFLUmQjA -JOgc47OlIQ6SwJAfzyBfyjs4x7dtOvPmRLgOMWuIjnDrnBdSqEGULoe256YSxXXfW8AKbnuk5F6G -+TaU33fD6Q3AOfF5u0aOq0NZJ7cguyPpVkAh7DE9ZapD8j3fcEThuk0mEDuYn/PIjhs4ViFqUZPT -kcpG2om3PVODLAgfi49T3f+sHw== ------END CERTIFICATE----- - Microsoft ECC Root Certificate Authority 2017 ============================================= -----BEGIN CERTIFICATE----- @@ -3170,36 +3115,6 @@ AwMDaAAwZQIxALGOWiDDshliTd6wT99u0nCK8Z9+aozmut6Dacpps6kFtZaSF4fC0urQe87YQVt8 rgIwRt7qy12a7DLCZRawTDBcMPPaTnOGBtjOiQRINzf43TNRnXCve1XYAS59BWQOhriR -----END CERTIFICATE----- -Security Communication RootCA3 -============================== ------BEGIN CERTIFICATE----- -MIIFfzCCA2egAwIBAgIJAOF8N0D9G/5nMA0GCSqGSIb3DQEBDAUAMF0xCzAJBgNVBAYTAkpQMSUw -IwYDVQQKExxTRUNPTSBUcnVzdCBTeXN0ZW1zIENPLixMVEQuMScwJQYDVQQDEx5TZWN1cml0eSBD -b21tdW5pY2F0aW9uIFJvb3RDQTMwHhcNMTYwNjE2MDYxNzE2WhcNMzgwMTE4MDYxNzE2WjBdMQsw -CQYDVQQGEwJKUDElMCM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flLl8cebsjqodEV+m9NU1Bu0soo5iyG9kLFwfl9+qd9XbXv8S2gVj/yP9kaWJ5rW4O -H3/uHWnlt3Jxs/6lATWUVCvAUm2PVcTJ0rjLyjQIUYWg9by0F1jqClx6vWPGOi//lkkZhOpn2ASx -YfQAW0q3nHE3GYV5v4GwxxMOdnE+OoAGrgYWp421wsTL/0ClXI2lyTrtcoHKXJg80jQDdwj98ClZ -XSEIx2C/pHF7uNkegr4Jr2VvKKu/S7XuPghHJ6APbw+LP6yVGPO5DtxnVW5inkYO0QR4ynKudtml -+LLfiAlhi+8kTtFZP1rUPcmTPCtk9YENFpb3ksP+MW/oKjJ0DvRMmEoYDjBU1cXrvMUVnuiZIesn -KwkK2/HmcBhWuwzkvvnoEKQTkrgc4NtnHVMDpCKn3F2SEDzq//wbEBrD2NCcnWXL0CsnMQMeNuE9 -dnUM/0Umud1RvCPHX9jYhxBAEg09ODfnRDwYwFMJZI//1ZqmfHAuc1Uh6N//g7kdPjIe1qZ9LPFm -6Vwdp6POXiUyK+OVrCoHzrQoeIY8LaadTdJ0MN1kURXbg4NR16/9M51NZg== ------END CERTIFICATE----- - Security Communication ECC RootCA1 ================================== -----BEGIN CERTIFICATE----- diff --git a/license-files/lib_curl_0.txt b/license-files/lib_curl_0.txt index d9e7e0be..3fa85ebb 100644 --- a/license-files/lib_curl_0.txt +++ b/license-files/lib_curl_0.txt @@ -1,6 +1,6 @@ COPYRIGHT AND PERMISSION NOTICE -Copyright (c) 1996 - 2024, Daniel Stenberg, , and many +Copyright (c) 1996 - 2025, Daniel Stenberg, , and many contributors, see the THANKS file. All rights reserved. diff --git a/license-files/lib_freetype_0.txt b/license-files/lib_freetype_0.txt new file mode 100644 index 00000000..8b9ce9e2 --- /dev/null +++ b/license-files/lib_freetype_0.txt @@ -0,0 +1,46 @@ +FREETYPE LICENSES +----------------- + +The FreeType 2 font engine is copyrighted work and cannot be used +legally without a software license. In order to make this project +usable to a vast majority of developers, we distribute it under two +mutually exclusive open-source licenses. + +This means that *you* must choose *one* of the two licenses described +below, then obey all its terms and conditions when using FreeType 2 in +any of your projects or products. + + - The FreeType License, found in the file `docs/FTL.TXT`, which is + similar to the original BSD license *with* an advertising clause + that forces you to explicitly cite the FreeType project in your + product's documentation. All details are in the license file. + This license is suited to products which don't use the GNU General + Public License. + + Note that this license is compatible to the GNU General Public + License version 3, but not version 2. + + - The GNU General Public License version 2, found in + `docs/GPLv2.TXT` (any later version can be used also), for + programs which already use the GPL. Note that the FTL is + incompatible with GPLv2 due to its advertisement clause. + +The contributed BDF and PCF drivers come with a license similar to +that of the X Window System. It is compatible to the above two +licenses (see files `src/bdf/README` and `src/pcf/README`). The same +holds for the source code files `src/base/fthash.c` and +`include/freetype/internal/fthash.h`; they were part of the BDF driver +in earlier FreeType versions. + +The gzip module uses the zlib license (see `src/gzip/zlib.h`) which +too is compatible to the above two licenses. + +The files `src/autofit/ft-hb.c` and `src/autofit/ft-hb.h` contain code +taken almost verbatim from the HarfBuzz file `hb-ft.cc`, which uses +the 'Old MIT' license, compatible to the above two licenses. + +The MD5 checksum support (only used for debugging in development +builds) is in the public domain. + + +--- end of LICENSE.TXT --- diff --git a/license-files/lib_libjpeg_0.txt b/license-files/lib_libjpeg_0.txt new file mode 100644 index 00000000..a785258b --- /dev/null +++ b/license-files/lib_libjpeg_0.txt @@ -0,0 +1,135 @@ +libjpeg-turbo Licenses +====================== + +libjpeg-turbo is covered by two compatible BSD-style open source licenses: + +- The IJG (Independent JPEG Group) License, which is listed in + [README.ijg](README.ijg) + + This license applies to the libjpeg API library and associated programs, + including any code inherited from libjpeg and any modifications to that + code. Note that the libjpeg-turbo SIMD source code bears the + [zlib License](https://opensource.org/licenses/Zlib), but in the context of + the overall libjpeg API library, the terms of the zlib License are subsumed + by the terms of the IJG License. + +- The Modified (3-clause) BSD License, which is listed below + + This license applies to the TurboJPEG API library and associated programs, as + well as the build system. Note that the TurboJPEG API library wraps the + libjpeg API library, so in the context of the overall TurboJPEG API library, + both the terms of the IJG License and the terms of the Modified (3-clause) + BSD License apply. + + +Complying with the libjpeg-turbo Licenses +========================================= + +This section provides a roll-up of the libjpeg-turbo licensing terms, to the +best of our understanding. This is not a license in and of itself. It is +intended solely for clarification. + +1. If you are distributing a modified version of the libjpeg-turbo source, + then: + + 1. You cannot alter or remove any existing copyright or license notices + from the source. + + **Origin** + - Clause 1 of the IJG License + - Clause 1 of the Modified BSD License + - Clauses 1 and 3 of the zlib License + + 2. You must add your own copyright notice to the header of each source + file you modified, so others can tell that you modified that file. (If + there is not an existing copyright header in that file, then you can + simply add a notice stating that you modified the file.) + + **Origin** + - Clause 1 of the IJG License + - Clause 2 of the zlib License + + 3. You must include the IJG README file, and you must not alter any of the + copyright or license text in that file. + + **Origin** + - Clause 1 of the IJG License + +2. If you are distributing only libjpeg-turbo binaries without the source, or + if you are distributing an application that statically links with + libjpeg-turbo, then: + + 1. Your product documentation must include a message stating: + + This software is based in part on the work of the Independent JPEG + Group. + + **Origin** + - Clause 2 of the IJG license + + 2. If your binary distribution includes or uses the TurboJPEG API, then + your product documentation must include the text of the Modified BSD + License (see below.) + + **Origin** + - Clause 2 of the Modified BSD License + +3. You cannot use the name of the IJG or The libjpeg-turbo Project or the + contributors thereof in advertising, publicity, etc. + + **Origin** + - IJG License + - Clause 3 of the Modified BSD License + +4. The IJG and The libjpeg-turbo Project do not warrant libjpeg-turbo to be + free of defects, nor do we accept any liability for undesirable + consequences resulting from your use of the software. + + **Origin** + - IJG License + - Modified BSD License + - zlib License + + +The Modified (3-clause) BSD License +=================================== + +Copyright (C)2009-2024 D. R. Commander. All Rights Reserved.
+Copyright (C)2015 Viktor Szathmáry. All Rights Reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +- Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +- Neither the name of the libjpeg-turbo Project nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS", +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + + +Why Two Licenses? +================= + +The zlib License could have been used instead of the Modified (3-clause) BSD +License, and since the IJG License effectively subsumes the distribution +conditions of the zlib License, this would have effectively placed +libjpeg-turbo binary distributions under the IJG License. However, the IJG +License specifically refers to the Independent JPEG Group and does not extend +attribution and endorsement protections to other entities. Thus, it was +desirable to choose a license that granted us the same protections for new code +that were granted to the IJG for code derived from their software. diff --git a/license-files/lib_libpng_0.txt b/license-files/lib_libpng_0.txt index 25f298f0..ea6df986 100644 --- a/license-files/lib_libpng_0.txt +++ b/license-files/lib_libpng_0.txt @@ -4,8 +4,8 @@ COPYRIGHT NOTICE, DISCLAIMER, and LICENSE PNG Reference Library License version 2 --------------------------------------- - * Copyright (c) 1995-2024 The PNG Reference Library Authors. - * Copyright (c) 2018-2024 Cosmin Truta. + * Copyright (c) 1995-2025 The PNG Reference Library Authors. + * Copyright (c) 2018-2025 Cosmin Truta. * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. * Copyright (c) 1996-1997 Andreas Dilger. * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. diff --git a/license-files/lib_libwebp_0.txt b/license-files/lib_libwebp_0.txt new file mode 100644 index 00000000..7a6f9954 --- /dev/null +++ b/license-files/lib_libwebp_0.txt @@ -0,0 +1,30 @@ +Copyright (c) 2010, Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + * Neither the name of Google nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/license-files/src_php-src_0.txt b/license-files/src_php-src_0.txt index 6a15be58..0815d7eb 100644 --- a/license-files/src_php-src_0.txt +++ b/license-files/src_php-src_0.txt @@ -1,6 +1,6 @@ -------------------------------------------------------------------- The PHP License, version 3.01 -Copyright (c) 1999 - 2021 The PHP Group. All rights reserved. +Copyright (c) 1999 - 2024 The PHP Group. All rights reserved. -------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/php-libraries.txt b/php-libraries.txt new file mode 100644 index 00000000..4dc08953 --- /dev/null +++ b/php-libraries.txt @@ -0,0 +1 @@ +libjpeg,freetype,libwebp \ No newline at end of file