Opened 19 years ago

Closed 16 years ago

Last modified 16 years ago

#3688 closed update (fixed)

UPDATE: VTK-4.4.2

Reported by: cssdev@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: vtk

Description (last modified by ryandesign (Ryan Carsten Schmidt))

VTK 4.2 follows one version of the VTK API, but VTK 4.4 provides a transition API moving toward VTK 5. There are "interim" releases available from the VTK website:

It would be useful to have a way to grab this interim release for use with code that targets the newer API. The CVS HEAD does include development for 4.4.x, but the interim releases might be a little more stable than checking out the latest bleeding edge code from CVS. Technically, the devel variant should be version 4.4, not 4.3. Since VTK 4.2 and VTK 4.4 are considered different, how might DarwinPorts support both these versions?

Attachments (3)

patch-Portfile.diff (2.5 KB) - added by cssdev 17 years ago.
update to vtk 4.4 with adjusted patches
vtk44-patches.tar.gz (2.2 KB) - added by cssdev 17 years ago.
patches for build vtk 4.4 with gcc4
patch-Portfile.2.diff (3.3 KB) - added by cssdev 16 years ago.
updated Portfile for Leopard and x11prefix

Download all attachments as: .zip

Change History (23)

comment:1 Changed 19 years ago by cssdev@…

I checked out the latest version from cvs (-D 2005/07/07), and it works fine with the resolution to BUG #3895 put into place. I can provide VTK-20050707.tar.bz2 for use in compiling the latest development version of VTK 4.5. What might be the best way to differentiate between the different versions? Should I name the new port 'vtk-interim' or 'vtk5', for example?

comment:2 Changed 19 years ago by olegb@…

any update on this Chris?

maybe name the port vtk4 vtk5 or somethin' ?

comment:3 Changed 19 years ago by cssdev@…

I'm working on a separate vtk5 port now that VTK 5.0.0 has been released by Kitware.

comment:4 Changed 18 years ago by markd@…

Type: defectenhancement

comment:5 Changed 18 years ago by cssdev

Owner: changed from julian9@… to css@…

Reassigning bug to port maintainer.

comment:6 Changed 18 years ago by cssdev

Status: newassigned

comment:7 Changed 18 years ago by pipping@…

Milestone: Available Ports

comment:8 Changed 18 years ago by pipping@…

Milestone: Available PortsPort Enhancements

comment:9 Changed 18 years ago by cssdev

I'll create a separate vtk44 port in addition to a newer vtk5 port.

comment:10 Changed 17 years ago by nox@…

Milestone: Port EnhancementsPort Requests
Priority: ExpectedNormal
Version: 1.0

comment:11 Changed 17 years ago by cssdev

Milestone: Port RequestsPort Updates
Summary: RFE: VTK-4.4 interim releasesUPDATE: VTK-4.4.2

VTK 4.4.2 is listed by Kitware as the previous release. so this port should change from something new to an update.

Changed 17 years ago by cssdev

Attachment: patch-Portfile.diff added

update to vtk 4.4 with adjusted patches

Changed 17 years ago by cssdev

Attachment: vtk44-patches.tar.gz added

patches for build vtk 4.4 with gcc4

comment:12 Changed 17 years ago by bfulgham@…

Resolution: fixed
Status: assignedclosed

comment:13 Changed 17 years ago by cssdev

I hope this worked ... I didn't finish testing before it was committed.

comment:14 Changed 17 years ago by cssdev

Resolution: fixed
Status: closedreopened

Changes are still uncommitted for VTK 4.4, and I'm reopening the ticket because it's a completely different version from the newer vtk5.

comment:15 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: vtk added

comment:16 Changed 16 years ago by cssdev

Picking this back up ... I'll apply the patches for gcc4 if ${os.major} >= 8, and that should fix several things. I'll need to look more closely at the X11 handling, because I need to make sure that it looks in ${x11prefix} and can properly utilize MacPorts libs in addition to the regular Mac OS X X11 libs.

Changed 16 years ago by cssdev

Attachment: patch-Portfile.2.diff added

updated Portfile for Leopard and x11prefix

comment:17 in reply to:  16 Changed 16 years ago by cssdev

Replying to css@…:

I'll need to look more closely at the X11 handling

I'm concerned about messages like:

CMake Warning at Rendering/Testing/Cxx/CMakeLists.txt:29 (ADD_EXECUTABLE):
  Cannot generate a safe linker search path for target TimeRenderer because
  there is a cycle in the constraint graph:

    dir 0 is [.]
    dir 1 is [/opt/local/var/macports/build/_Users_Shared_macports_dports_graphics_vtk/work/VTK/bin]
    dir 2 is [/usr/X11R6/lib]
      dir 3 must precede it due to link library [libSM.dylib]
    dir 3 is [/opt/local/lib]
      dir 2 must precede it due to link library [libGLU.dylib]

  Some of these libraries may not be found correctly.

I'll start a build this morning, and I'll take a look at the results later.

comment:18 Changed 16 years ago by cssdev

Resolution: fixed
Status: reopenedclosed

Committed to r47882!

comment:19 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:20 Changed 16 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.