diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-01-12 21:34:52 +0100 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-01-29 20:42:52 +0100 |
| commit | 5ccabfd2708797c6d72abfaed8d0ad0d2f09bde5 (patch) | |
| tree | 0a1be3ad9e748e6ba21c8345d0407dea2827e58b /gnu/packages/image-processing.scm | |
| parent | 0b2a4276c35d9781df9f809b619d24ff060e88d3 (diff) | |
gnu: itk-snap: Add Wayland.
* gnu/packages/image-processing.scm (itk-snap)[inputs]: Add qtwayland.
[arguments]<#:phases>{wrap-executable}: Fix it.
Change-Id: I1293b81baeee02a1e2126b2b77706326d281056b
Diffstat (limited to 'gnu/packages/image-processing.scm')
| -rw-r--r-- | gnu/packages/image-processing.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index 404bec4818d..2e30bf5450a 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm | |||
| @@ -1645,7 +1645,17 @@ combine the information contained in both.") | |||
| 1645 | (list (string-append #$(this-package-input "qtbase") | 1645 | (list (string-append #$(this-package-input "qtbase") |
| 1646 | "/lib/qt6/plugins") | 1646 | "/lib/qt6/plugins") |
| 1647 | (string-append #$(this-package-input "qtdeclarative") | 1647 | (string-append #$(this-package-input "qtdeclarative") |
| 1648 | "/lib/qt6/plugins"))))))))) | 1648 | "/lib/qt6/plugins") |
| 1649 | (string-append #$(this-package-input "qtwayland") | ||
| 1650 | "/lib/qt6/plugins")))) | ||
| 1651 | ;; The application uses argv[0] to locate itself. The wrapper | ||
| 1652 | ;; generated by wrap-program uses 'exec -a "${0##*/}"' which sets | ||
| 1653 | ;; argv[0] to just "itksnap" without a path, causing "Error | ||
| 1654 | ;; locating executable" on startup. Remove the -a flag so | ||
| 1655 | ;; argv[0] contains the full path to .itksnap-real. | ||
| 1656 | (substitute* (string-append #$output "/bin/itksnap") | ||
| 1657 | (("exec -a \"\\$\\{0##\\*/\\}\" ") | ||
| 1658 | "exec "))))))) | ||
| 1649 | (inputs | 1659 | (inputs |
| 1650 | (list curl | 1660 | (list curl |
| 1651 | freetype | 1661 | freetype |
| @@ -1657,6 +1667,7 @@ combine the information contained in both.") | |||
| 1657 | mesa-opencl | 1667 | mesa-opencl |
| 1658 | qtbase | 1668 | qtbase |
| 1659 | qtdeclarative | 1669 | qtdeclarative |
| 1670 | qtwayland | ||
| 1660 | vtk)) | 1671 | vtk)) |
| 1661 | (native-inputs | 1672 | (native-inputs |
| 1662 | (list | 1673 | (list |
