https://bugs.kde.org/show_bug.cgi?id=476451

Halla Rempt <ha...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |NEEDSINFO
         Resolution|---                         |WAITINGFORINFO
                 CC|                            |ha...@valdyas.org

--- Comment #1 from Halla Rempt <ha...@valdyas.org> ---
I'm afraid that this really is something that users of the Nix platform or the
Nix krita package maintainer need to investigate in way more detail, preferably
proposing a patch that doesn't break other platforms. None of the Krita
developers use Nix nor do we use platform builds of Krita.

It might be related or the same as the issue that prevents the openjpeg plugin
to be built on FreeBSD, but since the same holds for FreeBSD as for Nix (i.e.,
users of the platform need to fix the issue, because it's not a platform any of
use use), and nobody stepped up to help out, I was forced to disable the plugin
on freebsd:

commit 0018d78eeb099aaff7c606b75588cf1b07fe51dd
Author: Halla Rempt <ha...@valdyas.org>
Date:   Fri Nov 22 15:08:29 2019 +0100

    Don't build the jp2 plugin on freebsd

    It's broken, and I don't know why.

diff --git a/plugins/impex/CMakeLists.txt b/plugins/impex/CMakeLists.txt
index 80961161b5..499b1c97d0 100644
--- a/plugins/impex/CMakeLists.txt
+++ b/plugins/impex/CMakeLists.txt
@@ -27,7 +27,7 @@ if(Poppler_Qt5_FOUND)
     add_subdirectory(pdf)
 endif()

-if(OpenJPEG_FOUND)
+if(OpenJPEG_FOUND AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
     add_subdirectory(jp2)
 endif()

I'm not dismissing the issue, but without access to and knowledge of the
platform, we cannot begin to guess why cmake/modules/FindOpenJPEG.cmake
apparently doesn't provide the right include paths. Best would be to contact
the authors of the Krita nix package first, and then come back to us with more
information.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to