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

            Bug ID: 528520
           Summary: macOS build fails: app/CMakeLists.txt references
                    deleted MacOSXBundleInfo.plist.in
    Classification: Applications
           Product: gwenview
      Version First 26.08.2
       Reported In:
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Gwenview won’t build on macOS

Product: gwenview · Component: general · Version: 26.08.2 · Platform: macOS
(Apple Silicon)
Summary: macOS build fails: app/CMakeLists.txt references deleted
MacOSXBundleInfo.plist.in
Building Gwenview 26.08.2 on macOS (via KDE Craft, arm64) fails at CMake
generate:

  CMake Error: Target gwenview Info.plist template
".../gwenview-26.08.2/app/MacOSXBundleInfo.plist.in" could not be found.

app/CMakeLists.txt (inside if (APPLE)) still sets:

  set_target_properties(gwenview PROPERTIES MACOSX_BUNDLE_INFO_PLIST
${CMAKE_CURRENT_SOURCE_DIR}/MacOSXBundleInfo.plist.in)

but app/MacOSXBundleInfo.plist.in does not exist in the 26.08.2 tarball or on
master, so every macOS build stops here.

Fix options: restore the template, or drop that set_target_properties line and
let CMake use its default template. I worked around it by supplying a standard
template (CFBundleIdentifier org.kde.gwenview, plus a CFBundleDocumentTypes
entry for public.image / public.svg-image so Finder offers Gwenview under "Open
With"). With that in place, Gwenview builds and runs.

Also in the same block: MACOSX_BUNDLE_DISPLAY_NAME is still set to "Gwenview5".

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

Reply via email to