Commit Graph

18 Commits

Author SHA1 Message Date
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Ben Siraphob
b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
caadar
5ee998bbc2
scantailor-advanced: fix startup using wrapQtAppsHook (#82174) 2020-03-09 19:40:37 -04:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Johannes Frankenau
e8e96e4b72 scantailor-advanced: 1.0.15 -> 1.0.16 (#43653) 2018-07-18 02:04:02 +02:00
R. RyanTM
e49c527bb1 scantailor-advanced: 1.0.14 -> 1.0.15 (#43162)
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
2018-07-09 16:09:01 +02:00
Will Dietz
4b7b083bcb treewide: stdenv.lib.platforms.gnu -> ... gnu ++ linux
Include all linux platforms.
2018-04-30 18:12:10 -05:00
Will Dietz
855e0463ab tree-wide: platforms = platforms.gnu; -> platforms = gnu ++ linux
"platforms.gnu" has been linux-only since at least 17.03:

$ nix eval -f channel:nixos-17.03 lib.platforms.gnu
[ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mips64el-linux" ]

Unlike platforms.linux, platforms.gnu indicates "must use glibc"
which for the most part is not intended.

Replacing platforms.gnu with platforms.linux would be the same "today"
but let's err on preserving existing behavior and be optimistic
about platforms these packages work on.
2018-04-30 18:08:48 -05:00
R. RyanTM
ec0495c032 scantailor-advanced: 1.0.12 -> 1.0.14
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.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.0.14 with grep in /nix/store/idixvv43hjsy4v0xp2mfcryw55wg88c3-scantailor-advanced-1.0.14
- directory tree listing: https://gist.github.com/1f4938c03503cfde35a6b4d10d6538d1
2018-04-10 10:27:18 -07:00
Johannes Frankenau
465a09b648 scantailor-advanced: init at 1.0.12 2018-03-04 17:11:19 +00:00
Lluís Batlle i Rossell
aeb1dff13d Update scantailor 2017-01-28 20:12:51 +01:00
Lluís Batlle i Rossell
b985a9e0a1 Adding scantailor.
(cherry picked from commit 7eda68709e9e50b1c4a608ab141f6c7065708c0f)
2014-12-29 10:23:27 +01:00