Commit graph

64 commits

Author SHA1 Message Date
Ben Darwin 411c5684fd vtk: 9.2.5 -> 9.2.6 2023-03-04 11:41:04 -05:00
Weijia Wang 5fec1e59cf
Merge pull request #212488 from bcdarwin/update-vtk9
vtk: 9.2.2 -> 9.2.5
2023-01-30 05:26:21 +01:00
Weijia Wang 8cc844c094 vtk_9_withQt5: fix build on aarch64-darwin 2023-01-26 02:05:28 +01:00
Ben Darwin e0f27aee10 vtk: 9.2.2 -> 9.2.5 2023-01-24 14:04:34 -05:00
Ben Gamari 79d6df1b09 vtk: Don't open-code python.sitePackages
As suggested by @SuperSandro2000 in #208522.
2023-01-09 18:36:50 -05:00
Ben Gamari 06ca784b25 vtk: Generate egg-info
VTK's cmake build system fails to generate an `.egg-info` file, which
various libraries in the Python package system (e.g. `pkg_resources`)
would use to identify the package. Work around this by generating an
`egg-info` file ourselves.

This will allow us to drop a workaround in `mayavi`.
2023-01-08 20:06:46 -05:00
Ben Darwin cf339f3d14 vtk_9: propagate libX11 and libGL on Linux 2022-12-19 18:17:46 -05:00
Ben Darwin d876d4383b vtk_9: 9.1.0 -> 9.2.2 2022-11-19 16:04:27 -05:00
Artturin 7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Ben Darwin 1d28e5aa47 vtk_7: remove 2022-09-04 13:36:24 -04:00
Ben Darwin a2bbcde74e vtk_9: 9.0.3 -> 9.1.0 2022-08-06 17:30:35 -04:00
Josef Kemetmüller bcd7045998 treewide: Remove now-unneeded LD_LIBRARY_PATH in cmake derivations
Since the setting DCMAKE_SKIP_BUILD_RPATH was disabled, we can now run
the checkPhase of cmake derivations without having to tweak the
LD_LIBRARY_PATH anymore.
2022-07-04 03:49:01 +03:00
Dmitry Kalinkin 59d4abf424
vtk_9: unbreak on darwin using VTK_VERSIONED_INSTALL
This fixed VTK that was broken on darwin in #158778 with "mv: Argument
list too long".

Reverts: 16a1b346 ('vtk: create versionless symlinks in /lib')
Reverts: 63599248 ('vtk: move headers out of /include/vtk-*')
This partially reverts: 010f6ee3 ('treewide: mark broken for darwin')
2022-06-19 22:36:36 -04:00
Rick van Schijndel 010f6ee30d
treewide: mark broken for darwin 2022-05-30 13:42:58 +02:00
Jan Tojnar 20eabe3386 vtk_9: Fix build
Backport patch from 9.1.0 – unfortunately updating breaks vtk_9_withQt5.
2022-05-10 01:25:37 +02:00
ckie 635992489c
vtk: move headers out of /include/vtk-*
I believe this is a remanant of a global /usr/include which isn't
required with Nix and only complicates dependants' build scripts.

Backwards compatibility is maintained by way of a symlink.
2022-02-13 10:28:11 +02:00
ckie 16a1b346d4
vtk: create versionless symlinks in /lib
A little quality-of-life change for consumers of this library. Depending
on the upstream version in dependant derivations is inconveninent.
2022-02-09 13:05:04 +02:00
Thiago Franco de Moraes 6285fa7f9d
vtk_9: 9.0.1 -> 9.0.3 2021-09-11 19:06:41 -03:00
Jan Tojnar e6f94dea3e
vtk_7: Fix enableQt build
VTK 7 builds with Qt 4 by default but we only support Qt 5, so let’s switch to that.
Also Qt changed some headers so let’s backport the VTK patch to fix the build.
2021-09-01 17:17:59 +02:00
Jan Tojnar e6caf52f64
vtk_9: do not vendor libpng and libtiff
Previously ldd did not show the dependencies so presumably,
VTK 9 started linking them statically after build system changes,
as hinted by the following CMake warning:
    Manually-specified variables were not used by the project:
        VTK_USE_SYSTEM_PNG
        VTK_USE_SYSTEM_TIFF
2021-09-01 17:04:55 +02:00
Jan Tojnar c82ceee2ed
vtk_9: fix Qt support
Passing enableQt to the package does not build QVTK and CMake warns:
    Manually-specified variables were not used by the project:
        VTK_Group_Qt
2021-09-01 16:44:45 +02:00
Sandro Jäckel 57312f14e9
vtk: fix meta.broken on darwin 2021-03-05 18:14:35 +01:00
Sandro Jäckel 6a1e03fc1d
vtk_{7,8}: mark broken on darwin 2021-02-23 15:03:43 +01:00
Thomas Tuegel 5590e365e4
qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06:00
ppenguin d55425d2a0 vtk_7: add patches to fix build with gcc10/qt5.15
Closes #108424
2021-01-15 10:51:03 +01:00
ppenguin d959f1483e vtk_8: add patch to fix build with gcc10
Closes #108424
2021-01-15 10:51:03 +01:00
github-actions[bot] f89e74dbcc
Merge master into staging-next 2021-01-08 18:37:56 +00:00
Elliot Cameron 26dedb8398
vtk: use system png
VTK doesn't seem produce png symbols on aarch64. We could probably
figure out how to fix that but we can also just tell it to use the
libpng we already have, which already works on aarch64.
2021-01-08 10:25:37 -05:00
Ben Siraphob 3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Linus Heckemann e71634eece
vtk: clean up / reduce code repetition (#107617)
vtk: clean up / reduce code repetition

This refactors the vtk expressions to use a generic base expression,
which is used for all 3 versions.

vtk 7.x no longer uses gcc 8, since the quirk of it not building with
gcc 9 seems to have been fixed.

This also makes the python bindings available for all 3 versions, and
fixes building them for vtk 8 by adding a patch.
2020-12-26 23:27:39 +01:00
Thiago Franco de Moraes e78a2d39f0
vtk: qt514 -> qt515 2020-12-15 15:31:55 -03:00
Thiago Franco de Moraes dbf46a3da2 vtk_9: init at 9.0.1 2020-08-15 15:27:16 -07:00
Ben Darwin 5e716bf469 vtk: 7.1.1 -> 8.2.0
- also create vtk_7 as several packages don't build with 8.x:
  - itk5: vtkVersion.h header not found at compile time
  - ants: version in tree (2.2.0) is incompatible with 8.2
  - itk4: ants depends on both vtk and itk4, so use vtk_7
  - gdcm: vtk header issue
  - python3Packages.vtk: Python C API compilation error with Python 3.8

- upgrade vtkWithQt4 -> vtkWithQt5
2020-05-11 17:54:29 -04:00
Ben Darwin e72b2beab0 vtk: unbreak on OS X 2020-05-04 10:47:27 -04:00
Ben Darwin 948b38300d
vtkWithQt4: actually build QVTK libs/headers (#84772)
- VTK_USE_QT is obsolete and didn't have the intended effect
2020-04-29 19:11:14 -04:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Josef Kemetmüller de36c3b073
python37Packages.vtk: Fix build (#82336) 2020-03-13 18:12:34 -04:00
Josef Kemetmüller 4fb342d6e4 pythonPackages.vtk: init at 7.0.0 2020-02-09 10:08:43 +01:00
adisbladis 87e4e71e0f
vtk: Fix build with mesa 19.2.3 2019-11-09 10:34:51 +00:00
Robin Gloster 2d6fbcd94e
vtk: build with system libtiff
fixes vtktiff, therefore at least gdcm
2019-09-24 15:59:01 +02:00
Robin Gloster 616b8343c4
Merge remote-tracking branch 'upstream/master' into gcc-8 2019-08-25 18:55:46 +02:00
Daiderd Jordan 28f6abd7b3
vtk: remove cf-private 2019-07-03 22:20:18 +02:00
Robin Gloster 4a32649b82
vtk: 7.0.0 -> 7.1.1 2019-06-17 07:06:04 +02:00
Matthew Bauer 6ed49262f5 treewide: remove BUILD_TESTING flag
This is now set by CMake
2019-03-11 10:11:28 -04:00
Lengyel Balazs f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
Matthew Bauer 21eeb00a08 treewide: get rid of osx cmake flags
Flags that we now set globally:

- CMAKE_OSX_SYSROOT
- CMAKE_OSX_DEPLOYMENT_TARGET

can now be removed.

(cherry picked from commit 8742d5de30dfe2447c0fb56a2e7410b402effc80)
2018-11-05 13:30:42 -06:00
Lluís Batlle i Rossell 66d7126255 Take me (viric) out of most maintenance
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Alexander V. Nikolaev 0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Baptist BENOIST 7d72b9b74e Remove bbenoist from maintainers
Sorry guys but I did not used Nix since months and cannot spend time
maintaining my previous work...
2017-03-23 03:03:04 +01:00