[MacPorts] #65283: rawtherapee: build currently broken, due to recent segregation of gtk-osx-application-gtk3

MacPorts noreply at macports.org
Fri Jun 3 14:27:52 UTC 2022


#65283: rawtherapee: build currently broken, due to recent segregation of gtk-osx-
application-gtk3
---------------------+-------------------------
 Reporter:  mascguy  |      Owner:  jasonliu--
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.7.2
 Keywords:           |       Port:  rawtherapee
---------------------+-------------------------
 Due to recent changes needed to segregate the various `gtk-osx-
 application-xx` subports, `rawtherapee` is currently broken.

 In short, while most of the Gnome-related components are searched for via
 pkgconfig - which is arguably the right approach - upstream isn't doing so
 for the `gtkmacintegration` components. As such, if they aren't in the
 expected location, they aren't found.

 I took an initial stab at fixing, with the following additional configure
 arguments:

 {{{
     -DMACINTEGRATION_INCLUDE_DIR=${prefix}/include/gtkmacintegration-
 gtk3/gtkmacintegration
     -DMACINTEGRATION_LIBRARY=${prefix}/lib/gtkmacintegration-gtk3
 }}}

 And while that fixes both configure and compilation, linking still fails:
 It appears that, despite CMake finding the components, the lib isn't being
 added to the link-time arguments.

 So I'm clearly missing something, but it isn't immediately obvious as to
 what.

 p.s. We should bring this to upstream's attention, as the current approach
 is a bit brittle. And given that a pkgconfig is provided for `gtk-mac-
 integration-gtk3`, there's no reason not to use it. (And it would
 eliminate this issue entirely, ensuring everything is found properly...
 without having to specify paths.)

-- 
Ticket URL: <https://trac.macports.org/ticket/65283>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list