)]}'
{
  "commit": "23bdc7a6c4f5ea8c0ee15a13bb4176603c5c24c9",
  "tree": "4cdf6a05cafd8f42754bbd6745b177e0fab9b979",
  "parents": [
    "69a3e5bfd10e3d6d8b093dbfe8777002755496d4"
  ],
  "author": {
    "name": "Cosmin Truta",
    "email": "ctruta@gmail.com",
    "time": "Mon Apr 28 20:44:53 2025 +0300"
  },
  "committer": {
    "name": "Cosmin Truta",
    "email": "ctruta@gmail.com",
    "time": "Mon Apr 28 20:44:53 2025 +0300"
  },
  "message": "build: Add the CMake build option `PNG_LIBCONF_HEADER`\n\nRunning the pnglibconf scripts (script/*.awk) is not always possible.\nAn AWK interpreter is not always guaranteed to be available; and even\nif it is, there are limitations when making cross-platform libpng\nbuilds, especially when the differences between the host platform and\nthe target platform are significant. For example:\n * Building for the Windows (MinGW) target on a Unix development host;\n * Building for the iOS target on a macOS development host;\n * Building for the Android target on any development host.\n\nIn such scenarios, a preconfigured (i.e. prebuilt) pnglibconf.h file,\neither taken from the libpng source tree or provided by the user who\nwants to make a custom libpng build, becomes a necessity.\n\nIn this commit we introduce the build option `PNG_LIBCONF_HEADER` in\norder to address this specific use case.\n\nWe also specify a version range (3.14...4.0) for the minimum required\nCMake program, to future-proof the CMake build for just a little bit\nlonger.\n\nSigned-off-by: Cosmin Truta \u003cctruta@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "748b9728d0db69c808ff7f96f080a5bbebc8f1d8",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "805d0afe2fad6f78d06b15ef3d1360e68b074993",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "14430bb361a3ccaa69ca38478b609eb4134e9ea1",
      "new_mode": 33188,
      "new_path": "scripts/cmake/PNGCheckLibconf.cmake"
    }
  ]
}
