- Similar to https://github.com/termux/termux-packages/pull/24897, but `jsoncpp` instead of `qt6-qtbase`
- Fixes this error that might occur sometimes when some projects attempt to import `jsoncpp` through CMake:
```
CMake Error at /data/data/com.termux/files/usr/lib/cmake/jsoncpp/jsoncpp-targets.cmake:94 (message):
The imported target "jsoncpp_object" references the file
"/data/data/com.termux/files/usr/lib/objects-Release/jsoncpp_object/json_reader.cpp.o"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/data/data/com.termux/files/usr/lib/cmake/jsoncpp/jsoncpp-targets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/data/data/com.termux/files/usr/lib/cmake/jsoncpp/jsoncppConfig.cmake:30 (include)
src/cmake/FindJsonCpp.cmake:68 (find_package)
src/CMakeLists.txt:129 (find_package)
-- Configuring incomplete, errors occurred!
```
- Replaces fd1b62d216
- Found while attempting to compile this software: https://github.com/KhronosGroup/OpenXR-SDK-Source
- @truboxl wants to remove the unconventional "`lib/objects-*/*/*.c*.o`" files that have begun appearing in some packages, and after some time, I believe I have found a way to do so without causing `CMake Error` to happen - using `-DBUILD_OBJECT_LIBS=OFF` appears to be capable of removing these files, but without causing the `CMake Error`.
- Context: similar to https://github.com/termux/termux-packages/pull/24956. This might be helpful for a future nested dependency of Blender.
- Fixes this error when some projects import `opensubdiv` through CMake, by preventing the generation of a malformed path `/data/data/com.termux/files/usr//data/data/com.termux/files/usr/lib` in `OpenSubdivConfig.cmake`:
```
CMake Error at /data/data/com.termux/files/usr/lib/cmake/OpenSubdiv/OpenSubdivConfig.cmake:11 (message):
File or directory
/data/data/com.termux/files/usr//data/data/com.termux/files/usr/lib
referenced by variable OpenSubdiv_LIB_DIR does not exist !
Call Stack (most recent call first):
/data/data/com.termux/files/usr/lib/cmake/OpenSubdiv/OpenSubdivConfig.cmake:28 (set_and_check)
cmake/defaults/Packages.cmake:225 (find_package)
CMakeLists.txt:23 (include)
-- Configuring incomplete, errors occurred!
```
- Copied and pasted from https://github.com/PixarAnimationStudios/OpenSubdiv/pull/1315
- Context: similar to https://github.com/termux/termux-packages/pull/24956. This is needed as a deeply-nested dependency of a potential improved Blender package.
- Enable manpages
- New files provided after this change:
```diff
/data/data/com.termux/files/usr/lib/pkgconfig/libwebpdemux.pc
/data/data/com.termux/files/usr/lib/pkgconfig/libwebpmux.pc
/data/data/com.termux/files/usr/share
+/data/data/com.termux/files/usr/share/WebP
+/data/data/com.termux/files/usr/share/WebP/cmake
+/data/data/com.termux/files/usr/share/WebP/cmake/WebPConfig.cmake
+/data/data/com.termux/files/usr/share/WebP/cmake/WebPConfigVersion.cmake
+/data/data/com.termux/files/usr/share/WebP/cmake/WebPTargets-release.cmake
+/data/data/com.termux/files/usr/share/WebP/cmake/WebPTargets.cmake
/data/data/com.termux/files/usr/share/doc
/data/data/com.termux/files/usr/share/doc/libwebp
/data/data/com.termux/files/usr/share/doc/libwebp/copyright
+/data/data/com.termux/files/usr/share/man
+/data/data/com.termux/files/usr/share/man/man1
+/data/data/com.termux/files/usr/share/man/man1/cwebp.1.gz
+/data/data/com.termux/files/usr/share/man/man1/dwebp.1.gz
+/data/data/com.termux/files/usr/share/man/man1/gif2webp.1.gz
+/data/data/com.termux/files/usr/share/man/man1/img2webp.1.gz
+/data/data/com.termux/files/usr/share/man/man1/webpinfo.1.gz
+/data/data/com.termux/files/usr/share/man/man1/webpmux.1.gz
```
- Compare Arch Linux: 8aad1cd0f1/PKGBUILD
- Context: similar to https://github.com/termux/termux-packages/pull/24956. This is needed as a deeply-nested dependency of a potential improved Blender package.
- An equivalent change to `0004-fix-dcmtk.pc.patch` has been implemented upstream in 04b0d6ceef, making this patch no longer necessary.
- At least some header files are changed, which implies possible function signature changes, so revision-bumping its reverse dependency in termux-packages, `libvxl`
- Context: This package is currently orphaned because @T-Dynamos wanted it for Blender in 2022, so it was added, but appears to have never used it despite it being in the main termux-packages repository because it was failing to build for aarch64: https://github.com/termux/termux-packages/pull/11800#issuecomment-1236346483
- However, the reason I am bumping it is because I want it for an improved Blender package in TUR, but awkwardly, its package already exists unused in the main repository, so in order to build against it in TUR, I must first edit the main repository so that it propagates into TUR.
- No longer failing to build for aarch64
- `0002-fix-ambiguous-user.patch` is no longer necessary
- `0001-check-__arm__-instead-of-_M_ARM.patch` was for fixing a build-time error for 32-bit ARM, which is no longer happening without the patch, so the patch is no longer necessary