Commit Graph

84 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
05dc9f36b3 gnuplot: 6.0.0 -> 6.0.1 2024-05-31 12:50:55 +00:00
R. Ryantm
b1264a33ea gnuplot: 5.4.10 -> 6.0.0 2023-12-31 06:01:48 +00:00
Pol Dellaiera
5e37e42588
Merge pull request #262709 from r-ryantm/auto-update/gnuplot
gnuplot: 5.4.9 -> 5.4.10
2023-11-27 20:46:49 +01:00
h7x4
b8054ecd8a treewide: add mainProgram 2023-11-23 21:04:16 +01:00
Vincenzo Mantova
48e9feabca gnuplot: replace texlive.combine with texliveSmall 2023-11-05 11:56:04 +00:00
R. Ryantm
81a45239fa gnuplot: 5.4.9 -> 5.4.10 2023-10-22 09:30:34 +00:00
R. Ryantm
7fed4e818c gnuplot: 5.4.8 -> 5.4.9 2023-09-24 07:52:24 +00:00
R. Ryantm
ff8c1f1cd6 gnuplot: 5.4.6 -> 5.4.8 2023-06-14 06:41:55 +00:00
Rick van Schijndel
c630a4f842
Merge pull request #230734 from Mindavi/gnuplot/cross
gnuplot: fix cross-compilation by disabling docs and demos
2023-05-21 20:36:33 +02:00
Sandro Jäckel
e97054e30b
gnuplot: use lib.makeBinPath to condense wrapper 2023-05-09 20:04:39 +02:00
Rick van Schijndel
e9d434cd03 gnuplot: fix cross-compilation by disabling docs and demos
Now we can cross-build rtl_433 completely!
2023-05-08 19:09:57 +02:00
K900
a2332386df gnuplot-qt: fix wrapper 2023-04-30 20:36:22 +03:00
R. Ryantm
688c4961cf gnuplot: 5.4.5 -> 5.4.6 2023-03-02 12:17:17 +00:00
Sandro
136fc9565e
Merge pull request #195910 from wegank/gnuplot-wxgtk 2022-11-04 01:20:04 +01:00
Weijia Wang
444a2bc174 gnuplot: migrate to wxGTK32 2022-10-14 06:46:56 +02:00
R. Ryantm
5bc624d91f gnuplot: 5.4.4 -> 5.4.5 2022-10-03 08:05:47 +00:00
R. Ryantm
7580e17e46 gnuplot: 5.4.3 -> 5.4.4 2022-07-28 06:44:00 +00:00
R. Ryantm
205971b02c gnuplot: 5.4.2 -> 5.4.3 2022-02-11 16:56:46 +00:00
Dmitry Kalinkin
e0532475bc
treewide: remove darwin-only manual wrapQtApp invocations 2021-09-28 10:29:46 -04:00
Michal Sojka
7f22c1851f
gnuplot: Allow compiling with libcaca (#137523)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-09-12 16:00:55 +02:00
R. RyanTM
2c97a3630c gnuplot: 5.4.1 -> 5.4.2 2021-06-05 08:14:31 +00:00
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
R. RyanTM
3313a5a347 gnuplot: 5.4.0 -> 5.4.1 2020-12-05 18:26:30 +00:00
R. RyanTM
0821147634 gnuplot: 5.2.8 -> 5.4.0 2020-07-21 00:47:58 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Dmitry Kalinkin
c0f2b7e289
gnuplot_qt: fix on darwin 2020-03-17 19:30:23 -04:00
Will Dietz
cf104600ab
gnuplot: 5.2.7 -> 5.2.8
http://www.gnuplot.info/ReleaseNotes_5_2_8.html
2020-01-07 16:16:29 -06:00
Anders Kaseorg
c55f48477a gnuplot_qt: Use qt mkDerivation
Fixes this error:

gnuplot> plot [-5:5] sin(x)
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could
be initialized. Reinstalling the application may fix this problem.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-12-06 21:14:26 -08:00
R. RyanTM
b99711b0a5 gnuplot: 5.2.6 -> 5.2.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gnuplot/versions
2019-06-01 12:30:19 -07:00
R. RyanTM
a435269abf gnuplot: 5.2.5 -> 5.2.6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gnuplot/versions
2019-03-21 18:50:10 -07:00
Will Dietz
ee56a8bba5 gnuplot: 5.2.4 -> 5.2.5
http://www.gnuplot.info/ReleaseNotes_5_2_5.html
2018-10-08 10:38:20 -05:00
Markus Kowalewski
2d31bede61
gnuplot: add license 2018-08-20 21:15:16 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Will Dietz
e32cdcb7e6 gnuplot: 5.2.3 -> 5.2.4 (#41505)
http://www.gnuplot.info/ReleaseNotes_5_2_4.html
2018-06-06 05:20:15 +00:00
R. RyanTM
941b2a17cb gnuplot: 5.2.2 -> 5.2.3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/gnuplot/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/3kixi49gqbpjnkrgdavmzkbsg7aaw51p-gnuplot-5.2.3/bin/gnuplot -h’ got 0 exit code
- ran ‘/nix/store/3kixi49gqbpjnkrgdavmzkbsg7aaw51p-gnuplot-5.2.3/bin/gnuplot --help’ got 0 exit code
- ran ‘/nix/store/3kixi49gqbpjnkrgdavmzkbsg7aaw51p-gnuplot-5.2.3/bin/.gnuplot-wrapped -h’ got 0 exit code
- ran ‘/nix/store/3kixi49gqbpjnkrgdavmzkbsg7aaw51p-gnuplot-5.2.3/bin/.gnuplot-wrapped --help’ got 0 exit code
- found 5.2.3 with grep in /nix/store/3kixi49gqbpjnkrgdavmzkbsg7aaw51p-gnuplot-5.2.3
- directory tree listing: https://gist.github.com/c09c0907f914e36a3f7c086d4b978dbf
2018-05-07 03:41:32 -07:00
Tuomas Tynkkynen
0ed9de2546 gnuplot: Use quoting syntax that's compatible with old and new Nix versions
There is probably a way to have it work with substituteInPlace, but
using sed is a cheap solution to not having to figure out how to escape
"'$'" in Nix that works in both versions.

Issue #31179.
Fixes #33833.
2018-01-15 00:03:38 +02:00
Orivej Desh
bf132e6464 gnuplot_qt: Qt 4 -> Qt 5 2017-12-10 19:30:57 +00:00
Orivej Desh
051cbf7cbe gnuplot: build with libcerf 2017-12-10 19:30:57 +00:00
Will Dietz
7b27b24690 gnuplot: 5.2.1 -> 5.2.2 2017-12-08 16:58:28 -06:00
Will Dietz
7390087b78 gnuplot: 5.2.0 -> 5.2.1 2017-11-08 01:48:40 -06:00
mimadrid
a6c5031197
gnuplot: 5.0.6 -> 5.2.0 2017-09-23 00:34:41 +02:00
mimadrid
2a00ff4a1c
gnuplot: 5.0.3 -> 5.0.6 2017-08-01 20:58:48 +02:00
Tuomas Tynkkynen
eda2dd3d2f treewide: Fix more 'lib.optional' misuses 2016-10-02 00:44:10 +03:00
Tuomas Tynkkynen
1bf5ded193 treewide: Lots of meta.hydraPlatforms -> meta.platforms
In all of these files, there is no meta.platforms but only
meta.hydraPlatforms, which doesn't seem to have any purpose except being
inconsistent.
2016-08-02 21:17:44 +03:00
Micxjo Funkcio
390abc547b
gnuplot: 5.0.0 -> 5.0.3 2016-04-21 20:31:58 -07:00
Vladimír Čunát
716aac2519 Merge branch 'staging' into closure-size 2016-01-19 09:55:31 +01:00
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
Vladimír Čunát
f9f6f41bff Merge branch 'master' into closure-size
TODO: there was more significant refactoring of qtbase and plasma 5.5
on master, and I'm deferring pointing to correct outputs to later.
2015-12-31 09:53:02 +01:00