Add new packages and build scripts for various libraries

- Added Nuklear GUI library with build script and configuration.
- Introduced OpenH264 encoder/decoder with build configuration.
- Added PortAudio library for audio I/O with custom build script.
- Included Python Execnet for multi-Python deployment.
- Added Pytest Xdist plugin for distributed testing.
- Introduced Shaderc for shader compilation tools.
- Added Snappy compression library with necessary patches and configuration.
- Included SoundTouch audio processing library with build configuration.
- Added SRT library for secure reliable transport.
- Introduced VapourSynth video processing framework with configuration.
- Added Vid.stab for video stabilization.
- Included WebRTC Audio Processing library with build configuration.
- Added X264 video encoding library with patches for POSIX compliance.
- Introduced X265 video encoder with build configuration.
- Added XKeyboard Config for X keyboard configuration files.
- Included Xorg XKBComp for keyboard description compilation.
- Added Xvidcore MPEG-4 video codec library with configuration.
- Introduced ZeroMQ messaging system with patches and build configuration.
- Added Zimg library for scaling and colorspace conversion.
This commit is contained in:
2026-03-25 05:32:53 -05:00
parent 49bf7bbb5d
commit 47993f6730
99 changed files with 3752 additions and 3 deletions
+35
View File
@@ -0,0 +1,35 @@
--- a/DevIL/src-IL/src/il_jp2.cpp
+++ b/DevIL/src-IL/src/il_jp2.cpp
@@ -313,14 +313,32 @@ }
-
+// Hack to compile against different versions of Jasper which expect
+// slightly different function types for their callbacks. The defined()
+// checks are just looking for sybols that happen to have arrived around
+// the same time as the API change, so no reason they won't break in the
+// future :-( Hopefully by the time it does nobody will care about pre-2.0.20
+// versions of jasper
+//
+// see: https://github.com/OSGeo/gdal/commit/9ef8e16e27c5fc4c491debe50bf2b7f3e94ed334
+// https://github.com/DentonW/DevIL/issues/90
+#if defined(PRIjas_seqent)
+static ssize_t iJp2_file_read(jas_stream_obj_t *obj, char *buf, size_t cnt)
+#else
static int iJp2_file_read(jas_stream_obj_t *obj, char *buf, int cnt)
+#endif
{
obj;
return iread(buf, 1, cnt);
}
+#if defined(JAS_INCLUDE_JP2_CODEC)
+static ssize_t iJp2_file_write(jas_stream_obj_t *obj, const char *buf, size_t cnt)
+#elif defined(PRIjas_seqent)
+static int iJp2_file_write(jas_stream_obj_t *obj, char *buf, unsigned cnt)
+#else
static int iJp2_file_write(jas_stream_obj_t *obj, char *buf, int cnt)
+#endif
{
obj;
return iwrite(buf, 1, cnt);