diff options
| author | Aloys Berger <me@aloysberger.com> | 2026-06-05 13:24:58 +1000 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2026-06-13 23:07:59 +0900 |
| commit | 4489e726ef210156b66a4fa4ed84c9a35f246b39 (patch) | |
| tree | 08b796e6a04f48f5c863a93e1ddc8d744347f11b /gnu | |
| parent | 4fda8fb9c8f084a81a3225c71275de32ac6fec2e (diff) | |
gnu: scantailor-advanced: Improve package style.
* gnu/packages/image-processing.scm (scantailor-advanced):
[arguments]: Convert to gexps. Move above inputs.
[inputs]: Switch from label format to list format.
Merges: https://codeberg.org/guix/guix/pulls/9088
Reviewed-by: bdunahu <bdunahu@operationnull.com>
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/image-processing.scm | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index 654127009b7..ab2812678d3 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm | |||
| @@ -1888,25 +1888,25 @@ substituted by matching images.") | |||
| 1888 | (base32 | 1888 | (base32 |
| 1889 | "0kixwjb2x457dq7927hkh34c803p7yh1pmn6n61rk9shqrcg492h")))) | 1889 | "0kixwjb2x457dq7927hkh34c803p7yh1pmn6n61rk9shqrcg492h")))) |
| 1890 | (build-system qt-build-system) | 1890 | (build-system qt-build-system) |
| 1891 | (arguments | ||
| 1892 | (list | ||
| 1893 | #:phases | ||
| 1894 | #~(modify-phases %standard-phases | ||
| 1895 | ;; Some tests require a display and fail with offscreen mode. | ||
| 1896 | (add-after 'unpack 'disable-failing-tests | ||
| 1897 | (lambda _ | ||
| 1898 | (setenv "ARGS" "--exclude-regex \"imageproc_.*\"")))))) | ||
| 1891 | (native-inputs | 1899 | (native-inputs |
| 1892 | (list qttools-5)) | 1900 | (list qttools-5)) |
| 1893 | (inputs | 1901 | (inputs |
| 1894 | `(("boost" ,boost) | 1902 | (list boost |
| 1895 | ("libjpeg" ,libjpeg-turbo) | 1903 | libjpeg-turbo |
| 1896 | ("libpng" ,libpng) | 1904 | libpng |
| 1897 | ("libtiff" ,libtiff) | 1905 | libtiff |
| 1898 | ("qtbase" ,qtbase-5) | 1906 | qtbase-5 |
| 1899 | ("qtsvg-5" ,qtsvg-5) | 1907 | qtsvg-5 |
| 1900 | ("qtwayland-5" ,qtwayland-5) | 1908 | qtwayland-5 |
| 1901 | ("zlib" ,zlib))) | 1909 | zlib)) |
| 1902 | (arguments | ||
| 1903 | `(#:phases | ||
| 1904 | (modify-phases %standard-phases | ||
| 1905 | ;; Some tests require a display and fail with offscreen mode. | ||
| 1906 | (add-after 'unpack 'disable-failing-tests | ||
| 1907 | (lambda _ | ||
| 1908 | (setenv "ARGS" "--exclude-regex \"imageproc_.*\"") | ||
| 1909 | #t))))) | ||
| 1910 | (home-page "https://github.com/4lex4/scantailor-advanced") | 1910 | (home-page "https://github.com/4lex4/scantailor-advanced") |
| 1911 | (synopsis "Clean up scanned pages") | 1911 | (synopsis "Clean up scanned pages") |
| 1912 | (description "Scan Tailor is an interactive post-processing tool for | 1912 | (description "Scan Tailor is an interactive post-processing tool for |
