Commit Graph

31 Commits

Author SHA1 Message Date
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +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
Markus S. Wamser
9ed8e03a09 mupdf: mark 1.17 as insecure but as still required as dependency 2020-11-09 09:57:38 -08:00
David Anderson
3a38cef8f9 jasper: remove, abandoned upstream.
Jasper has been marked insecure for a while, and upstream has not
been responsive to CVEs for over a year.

Fixes #55388.

Signed-off-by: David Anderson <dave@natulte.net>
2020-09-09 18:29:42 +00:00
Daniel Fullmer
5f29d7e9a5 k2pdfopt: set env var to find OCR language files 2020-08-29 18:08:24 -07:00
Daniel Fullmer
8bdcaa713d k2pdfopt: 2.51a -> 2.53 2020-08-28 19:41:04 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
f9f46dc327
treewide: NIX_*_FLAGS -> string 2019-12-31 00:15:46 +01:00
c0bw3b
ab8889d8b1 k2pdfopt: disable JPEG2000 support by default
jasper has unfixed CVE
2019-11-17 19:32:27 +01:00
Daniel Fullmer
1fff932e7f k2pdfopt: Fix patch for mupdf 1.16.1 2019-09-15 17:18:18 +09:00
Daniel Fullmer
740d4c22ec k2pdfopt: Fix build and clean up 2019-09-14 21:52:06 +09: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
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Robert Scott
a7b397295b k2pdfopt: patch custom leptonica with security fixes
this is what you get to inherit if you insist on old versions. cross-port
of r19.03's 0861ad591a96ad7246335c9cb35f51126874ea12.
2019-05-11 16:15:24 +01:00
Daniel Fullmer
2d2f104751
k2pdfopt: 2.42 -> 2.51a
Merge #55150.
2019-02-07 14:42:46 +01:00
Piotr Bogdan
472c14af60 k2pdfopt: link with pthreads explicitly 2019-01-04 21:44:20 +00:00
Erik Arvstedt
aaaed13077
tesseract: add a wrapper to setup languages
Tesseract is now decoupled from the tessdata language corpus.

This avoids recompilation when building Tesseract with a custom set
of languages.

Update k2pdfopt to use the new wrapper interface.
2018-12-19 18:08:16 +01:00
Patrick Hilhorst
9ec40cc3bf
treewide: Fix overrides having wrong versions 2018-11-06 00:06:21 +01:00
Ryan Mulligan
b189247ba0 treewide: use more HTTPS URLs
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.

Also fixes jbake source URL, which was broken.
2018-03-24 22:04:25 -07:00
Clemens Fruhwirth
bbb5cee20c k2pdfopt: Patch openjpeg version into mupdf as in #31852. 2017-12-07 16:49:21 +01:00
Daniel Fullmer
3200f7a576 mupdf and k2pdfopt: update mirror 2017-10-05 17:44:18 -04:00
Daniel Fullmer
7f511709de k2pdfopt: fix mupdf linking 2017-10-03 20:26:54 -04:00
Daniel Fullmer
8c2895400f k2pdfopt: 2.32 -> 2.42 2017-09-09 02:22:58 -04:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
7517563efb k2pdfopt: turn off format hardening 2016-02-11 01:35:33 +00:00
Clemens Fruhwirth
e7f9bdcba1 Bump k2pdfopt to 2.32, fixes #9631 2015-09-03 12:48:50 +02:00
Domen Kožar
e0e08f1465 whitespace change to fix k2pdfopt build
(cherry picked from commit 896036d8e5ec2ad35e74fc43da3d6305ef43b253)
Signed-off-by: Domen Kožar <domen@dev.si>
2014-12-12 18:39:01 +01:00
Benno Fünfstück
f8af3e2e47 k2pdfopt: update and fix build 2014-12-07 21:54:53 +01:00
Pascal Wittmann
8df0e0b151 Fixed many descriptions 2014-11-11 14:36:34 +01:00
Boris Sukholitko
f9c2cb6b27 Add k2pdfopt: mobile PDF/DJVU optimizer 2014-10-19 10:55:06 +03:00