e49c527bb1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/scantailor-advanced/versions.
Version release notes (from GitHub)
*Note: x32 version supports Windows XP.*
Changelog:
* Implemented the [guides feature](https://github.com/4lex4/scantailor-advanced#guides).
* Change the way of the adjustment of the despeckle strength.
Now that's set via the slider. It allows to adjust the despeckle strength more smoothly and exactly. Value 1.0 matches the old cautious mode, 2.0 - normal and 3.0 - aggressive.
* Improve and return [black on white detection feature](https://github.com/4lex4/scantailor-advanced#black-on-white-detection).
* Added native color scheme and made various fixes and improvements on the Dark and Light schemes.
* Improvements on the thumbnails view:
* Saving selection of pages on filter switch.
* Separate highlighting for selection leader in thumbnails.
* Navigating between selected pages. Use **`Shift+PgUp/Q`** and **`Shift+PgDown/W`** to navigate between selected pages.
* More accurate multi-column list handling *(Author: Alexander Trufanov)*.
* Scaling thumbnails via **`Alt+Wheel`** *(Author: Alexander Trufanov)*.
* Added options in the settings to manage the quality and size of thumbnails.
* Added order by completeness sort on the output stage.
Moving incompleted pages to the end allows to process them in batch mode without processing the completed pages.
* Improved the lasso mode on zone creation.
Also the hotkey is changed to **`Shift+Alt+LMB`** due to the old combination did not work on Linux.
* Added fill offcut option at the output stage.
* Now split layers are removed if the color mode was changed to any except mixed.
* Fixed portability issues and added CPack packaging support. [(More info)](f68c459e69
)
* Fixed blink of the image view on Windows.
* Other fixes and improvements.</details>
These checks were done:
- built on NixOS
- Warning: no invocation of /nix/store/kzpf34q5hwcqg4kkshcy500pza27qmv7-scantailor-advanced-1.0.15/bin/scantailor had a zero exit code or showed the expected version
- 0 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 1.0.15 with grep in /nix/store/kzpf34q5hwcqg4kkshcy500pza27qmv7-scantailor-advanced-1.0.15
- directory tree listing: https://gist.github.com/c96081fbc93cb6843d76a19ec6139c10
- du listing: https://gist.github.com/a04cc534b6883f69c54c23ada5c8df2f
49 lines
1.5 KiB
Nix
49 lines
1.5 KiB
Nix
{ stdenv, fetchFromGitHub, makeDesktopItem
|
|
, cmake, libjpeg, libpng, libtiff, boost
|
|
, qtbase, qttools }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "scantailor-advanced-${version}";
|
|
version = "1.0.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "4lex4";
|
|
repo = "scantailor-advanced";
|
|
rev = "v${version}";
|
|
sha256 = "031jqk64ig6lmscl5yg5lp116zwn0jl7xs9rlniqf6a8g4wfbjk9";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake qttools ];
|
|
buildInputs = [ libjpeg libpng libtiff boost qtbase ];
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/share/icons/hicolor/scalable/apps
|
|
cp $src/resources/appicon.svg $out/share/icons/hicolor/scalable/apps/scantailor.svg
|
|
|
|
mkdir -p $out/share/applications
|
|
cp $desktopItem/share/applications/* $out/share/applications/
|
|
for entry in $out/share/applications/*.desktop; do
|
|
substituteAllInPlace $entry
|
|
done
|
|
'';
|
|
|
|
desktopItem = makeDesktopItem {
|
|
name = "scantailor-advanced";
|
|
exec = "scantailor %f";
|
|
icon = "scantailor";
|
|
comment = meta.description;
|
|
desktopName = "Scan Tailor Advanced";
|
|
genericName = "Scan Processing Software";
|
|
mimeType = "image/png;image/tif;image/jpeg;";
|
|
categories = "Graphics;";
|
|
startupNotify = "true";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/4lex4/scantailor-advanced;
|
|
description = "Interactive post-processing tool for scanned pages";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ jfrankenau ];
|
|
platforms = platforms.gnu ++ platforms.linux;
|
|
};
|
|
}
|