Tell vtk configure what to look for if possible. Definitely check it doesn't pick up other optional deps if they're present (add configure flags to disable if possible, otherwise it may need patching).
--
Sent from a phone, apologies for poor formatting.
On 30 August 2024 13:17:27 "Johannes Thyssen Tishman" <johannes@thyssentishman.com> wrote:
2024-08-30T12:02:05Z Landry Breuil:Le Fri, Aug 30, 2024 at 01:29:53PM +0200, Johannes Thyssen Tishman a écrit :Given the following scenario:Port A dependencies: X, Y, ZPort B dependencies: A, X, Y, ZShould port B explicitly list the X, Y and Z dependencies in{RUN,BUILD,LIB}_DEPENDS, even if they are pulled by port A already?probably not the reply you want, but 'it depends'.if that's 'classic' dependencies that port A is unlikely to lose, thenits no need to list them. But say it's a python port where dependenciescome and go, it might be a good idea to list them in B, in case A losesthe dep on something B uses..for things that are for @tag (gtk4,-guic, desktop-file-utils)annotations its expected to list them, because the port installation*uses* them.for LIB_DEPENDS, keep it to the bare minimum untilport-lib-depends-check stops complaining, you don't see devel/glib2in all gtkX ports.for BUILD/RUN depends; generally you list the ones upstream specifies."Implicit" ones from dependencies .. that depends.it would have helped a lot if you said which port/language you werereferring to :pThanks for the quick reply Landry. I understand. I'm working on portingVTK as it is a dependency of FreeCAD. VTK requires the dependencieslisted below. When FreeCAD looks for VTK during the build configurationphase it looks for all of these as well.BUILD_DEPENDS = devel/utfcpp \math/exprtkLIB_DEPENDS = archivers/lz4 \archivers/xz \graphics/glew \graphics/jpeg \graphics/png \graphics/tiff \math/double-conversion \math/hdf5I believe FreeCAD looks for these because VTK can be compiled with manydifferent options (which may or may not cause these dependencies to berequired). However I built VTK mostly with the default options.Similarly, FreeCAD uses the x11/qt6 module which, among other packages,pulls the following:graphics/vulkan-loaderx11/xkbcommonThis are also looked for by FreeCAD explicitly.
No comments:
Post a Comment