Commit graph

407 commits

Author SHA1 Message Date
Andreas Herrmann 79e145a970 gnuplot: Improve startup performance
Before executing the gnuplot executable the environment variable `GDFONTPATH`
is populated with a list of font directories, which is obtained from `fc-list`.
In that process we iterated over each line and called `dirname` on it, which
introduces a performance hit for loading and executing the external executable
`dirname` every time.

The new version avoids the loop.

The author of this patch measured a 42 fold performance improvement:

old version:

    $ time ./gnuplot_old/bin/gnuplot -e ''
    real    0m3.828s
    user    0m0.392s
    sys     0m0.465s

new version:

    $ time ./gnuplot_new2/bin/gnuplot -e ''
    real    0m0.091s
    user    0m0.112s
    sys     0m0.014s

The correctness of the value of `GDFONTPATH` was confirmed with the following
command and comparing its output between versions:

    $ gnuplot -e 'print system("echo $GDFONTPATH")'
2016-01-11 15:37:07 +01:00
Robert Helgesson f54ed09096 jhead: add libjpeg as dependency
The `jpegtran` tool from libjpeg is required for the `-autorot` command.
2016-01-06 20:38:20 +01:00
Tobias Geerinckx-Rice eed2fa3de4 qrdecode: remove dead package
Never maintained, no updates since 2010, and broken since 2013. Bye.
2016-01-06 03:10:56 +01:00
Robert Helgesson 3af583d976 pdf2svg: add autoreconf hook (close #11888)
This fixes builds that may fail due to all files in the archive having
the same timestamp.
2015-12-23 07:36:25 +01:00
Thomas Tuegel 97f7eb1e64 kst: Qt 5 infrastructure update 2015-12-20 07:56:50 -06:00
Arseniy Seroka 05d08e400c Merge pull request #11823 from rycee/bump/jhead
jhead: 2.87 -> 3.00
2015-12-19 19:05:51 +03:00
Robert Helgesson 1b3930ca04 pdf2svg: 0.2.2 -> 0.2.3
Also minor style changes and upstream source is now on GitHub.
2015-12-19 00:50:46 +01:00
Robert Helgesson 8296346207 jhead: 2.87 -> 3.00
Also clean up the package quite a bit and add myself as maintainer.
2015-12-19 00:29:32 +01:00
Eric Sagnes f22aefbba0 vips: 8.0.2 -> 8.1.1 2015-12-15 03:46:35 +09:00
Thomas Tuegel 269ae2e29d gnuplot: use texlive-new 2015-12-12 10:47:03 -06:00
Frederik Rietdijk 4bcfa14480 pdfread: use pillow instead of pil 2015-12-08 15:15:40 +01:00
Frederik Rietdijk 47dc242b9d pdfread: broken, not found 2015-12-08 15:14:45 +01:00
Pascal Wittmann 6d25c0f1b3 Remove unneeded 'with's from meta.platforms 2015-11-25 23:06:09 +01:00
Joachim Fasting 8aa63b34da qrdecode: reimplement using mkDerivation
Also mark as broken; I have verified that the build fails with
the original build recipe.
2015-11-24 14:45:15 +01:00
Joachim Fasting 34fda4cbe2 cfdg: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
Joachim Fasting b0e5edae35 zbar: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
Joachim Fasting 2889b153c5 barcode: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
zimbatm 2273bd5b30 gifsicle: 1.87 -> 1.88
+ fix for gifview flag
+ tests
2015-11-15 11:50:20 +01:00
William A. Kennington III 6602f49495 Revert "Revert "Merge pull request #9543 from NixOS/staging.post-15.06""
This reverts commit 741bf840da.

This reverts the fallout from reverting the major changes.
2015-11-14 12:32:51 -08:00
William A. Kennington III 9579c9ec7f Merge commit 'cb21b77' into master.upstream
This is a partial merge of staging for builds which are working
2015-11-13 15:53:10 -08:00
Pascal Wittmann f5d1642a22 Merge pull request #10659 from jb55/wkhtmltopdf-bump
wkhtmltopdf: 0.12.1 -> 0.12.2.4
2015-11-09 13:32:32 +01:00
William A. Kennington III a26c8e9b83 Merge branch 'master.upstream' into staging.upstream 2015-11-07 15:51:51 -08:00
Sergey Sofeychuk 998934bf89 imgur-screenshot: init at 1.5.4 2015-11-06 23:48:32 +03:00
William A. Kennington III dd2de66d61 Merge branch 'master.upstream' into staging.upstream 2015-10-30 17:16:07 -07:00
Jude Taylor 4318329714 link graphviz with libc++ instead of nothing on darwin 2015-10-28 16:09:51 -07:00
John Wiegley ef8c8a3b7c Merge pull request #10568 from datakurre/datakurre-graphviz
darwin: graphviz: remove -lstdc++ on darwin
2015-10-28 15:46:47 -07:00
William Casarin feb1e8f046 wkhtmltopdf: add myself as maintainer 2015-10-27 17:20:26 -07:00
William Casarin 9838265ab3 wkhtmltopdf: 0.12.1 -> 0.12.2.4 2015-10-27 17:15:40 -07:00
Pascal Wittmann 2c190bedd2 logstalgia: 1.0.6 -> 1.0.7 2015-10-26 14:45:13 +01:00
Cillian de Róiste 1ee8280543 dcraw: update from 9.22 to 9.26.0 2015-10-25 19:06:58 +01:00
Tuomas Tynkkynen ebb060c351 sng: init at 1.0.6 2015-10-25 16:17:44 +02:00
Asko Soukka d8cb19b22e darwin: graphviz: remove -lstdc++ on darwin 2015-10-24 03:40:37 +03:00
Vladimír Čunát 4917a4f8b3 Merge master into staging 2015-10-23 01:57:14 +02:00
Brian McKenna d0de36ba7a leela: init at 12.fe7a35a 2015-10-16 21:59:49 +11:00
Eelco Dolstra 741bf840da Revert "Merge pull request #9543 from NixOS/staging.post-15.06"
This reverts commit f61176c539, reversing
changes made to a27ca029ee.

Conflicts:
	pkgs/development/libraries/ncurses/default.nix
2015-10-06 15:24:20 +02:00
Tobias Geerinckx-Rice 8c45057764 enblend-enfuse: 4.1.3 -> 4.1.4 2015-10-02 05:34:33 +02:00
Vladimír Čunát 76ef7a93e3 Merge: xlibs and x11 attribute cleanup
Frequently using multiple *almost* identical attributes is bad.
2015-09-23 10:42:34 +02:00
Matthias Beyer 8bb71e992c maim: 3.3.41 -> 3.4.46 2015-09-22 01:57:58 +02:00
William A. Kennington III fc2b0e9d10 argyllcms: gcc5 compat 2015-09-16 21:58:53 -07:00
William A. Kennington III 773b4deb7c Merge commit 'a6f6c0e' into master.upstream
This is a partial merge of staging where we have up to date binaries for
all packages.
2015-09-15 12:16:49 -07:00
Vladimír Čunát 88c9f8b574 xlibs: replace occurrences by xorg
This seems to have been confusing people, using both xlibs and xorg, etc.
- Avoided renaming local (and different) xlibs binding in gcc*.
- Fixed cases where both xorg and xlibs were used.
Hopefully everything still works as before.
2015-09-15 12:54:34 +02:00
Vladimír Čunát 21e3ff658a x11: replace its usage by xlibsWrapper directly
Scilab note: the parameters already had pointed to nonexistent dirs
before this set of refactoring. But that config wasn't even used by
default.
2015-09-15 12:08:24 +02:00
Vladimír Čunát 0c74f18e4c xlibs.xlibs: remove
It was really ugly that `xlibs.xlibs` meant something else than `xlibs`,
especially when using `with xlibs`, such as in wine.
Also, now `xlibs` is the same as `xorg`.
2015-09-15 11:59:33 +02:00
Mathnerd314 eb7404d97a all-packages: Use callPackage where possible 2015-09-14 22:27:19 -06:00
Samuel Rivas 7cc66a1c95 Update to 1.8.2 and make curl look like mozilla
This commit is supposed to be squashed, keeping it just for traceability during
the pull request.
2015-09-13 22:08:40 +02:00
Samuel Rivas 6ef885defb argyllcms 1.4.0 -> 1.8.1 2015-09-07 11:41:39 +02:00
Vladimír Čunát 8f33b8cc93 mass rewrite of find parameters to cross-platform style
Fixes #9044, close #9667. Thanks to @taku0 for suggesting this solution.
Now we have no modes starting with `/` or `+`.

Rewrite the `-perm` parameters of find:
 - completely safe: rewrite `/0100` and `+100` to `-0100`,
 - slightly semantics-changing: rewrite `+111` to `-0100`.
I cross-verified the `find` manual pages for Linux, Darwin, FreeBSD.
2015-09-06 10:26:30 +02:00
Luca Bruno 4f320818e2 dmtx-utils: depend on imagemagick (ZHF) 2015-07-28 17:57:11 +02:00
Nikolay Amiantov 3a2275dd84 imgurbash: add package 2015-07-28 12:33:29 +03:00
goibhniu a076e4bee6 Merge pull request #8864 from rycee/package/gmic
gmic: init at 1.6.5.0
2015-07-16 22:50:16 +02:00