mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-05-25 13:08:28 -04:00
Add more info about unsecure JXR plugin
This commit is contained in:
@@ -7,5 +7,5 @@ Dependencies:
|
|||||||
Options:
|
Options:
|
||||||
test-before-installing: True
|
test-before-installing: True
|
||||||
require-passing-tests-on: ['Linux', 'FreeBSD', 'Windows']
|
require-passing-tests-on: ['Linux', 'FreeBSD', 'Windows']
|
||||||
cmake-options: "-DKIMAGEFORMATS_JXR=ON -DKIMAGEFORMATS_HEIF=ON -DKIMAGEFORMATS_HEIF_TEST:STRING=OFF -DKIMAGEFORMATS_HEJ2_TEST:STRING=OFF -DKIMAGEFORMATS_AVCI_TEST:STRING=OFF"
|
cmake-options: "-DKIMAGEFORMATS_WITH_KNOWN_CRASHES_JXR=ON -DKIMAGEFORMATS_HEIF=ON -DKIMAGEFORMATS_HEIF_TEST:STRING=OFF -DKIMAGEFORMATS_HEJ2_TEST:STRING=OFF -DKIMAGEFORMATS_AVCI_TEST:STRING=OFF"
|
||||||
per-test-timeout: 90
|
per-test-timeout: 90
|
||||||
|
|||||||
@@ -97,9 +97,10 @@ set_package_properties(LibRaw PROPERTIES
|
|||||||
PURPOSE "Required for the QImage plugin for RAW images"
|
PURPOSE "Required for the QImage plugin for RAW images"
|
||||||
)
|
)
|
||||||
|
|
||||||
# JXR plugin disabled by default due to security issues
|
# JXR plugin disabled by default due to security issues.
|
||||||
option(KIMAGEFORMATS_JXR "Enable plugin for JPEG XR format" OFF)
|
# You should not enable it unless you know what you are doing.
|
||||||
if(KIMAGEFORMATS_JXR)
|
option(KIMAGEFORMATS_WITH_KNOWN_CRASHES_JXR "Enable plugin for JPEG XR format" OFF)
|
||||||
|
if(KIMAGEFORMATS_WITH_KNOWN_CRASHES_JXR)
|
||||||
find_package(LibJXR)
|
find_package(LibJXR)
|
||||||
endif()
|
endif()
|
||||||
add_feature_info(LibJXR LibJXR_FOUND "required for the QImage plugin for JPEG XR images")
|
add_feature_info(LibJXR LibJXR_FOUND "required for the QImage plugin for JPEG XR images")
|
||||||
|
|||||||
@@ -394,7 +394,12 @@ plugin:
|
|||||||
### The JXR plugin
|
### The JXR plugin
|
||||||
|
|
||||||
**This plugin is disabled by default. It can be enabled by settings
|
**This plugin is disabled by default. It can be enabled by settings
|
||||||
`KIMAGEFORMATS_JXR` to `ON` in your cmake options.**
|
`KIMAGEFORMATS_WITH_KNOWN_CRASHES_JXR` to `ON` in your cmake options.**
|
||||||
|
|
||||||
|
> [!caution]
|
||||||
|
> The plugin disabled by default due to security issues in [jxrlib](https://github.com/4creators/jxrlib):
|
||||||
|
> the upstream jxrlib is dead and there is no "hope" they will fix the issues.
|
||||||
|
> **You should not enable it unless you know what you are doing.**
|
||||||
|
|
||||||
The following defines can be defined in cmake to modify the behavior of the
|
The following defines can be defined in cmake to modify the behavior of the
|
||||||
plugin:
|
plugin:
|
||||||
|
|||||||
Reference in New Issue
Block a user