Commit Graph

32 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
Anderson Torres
c9deae12d7 treewide: remove viric from meta.maintainers [no orphans]
Since theey is not active from at least six years.
2024-07-28 10:47:12 -03:00
Randy Eckenrode
f9b7f4ec09
tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
Robert Scott
2d9773b720 freeimage: mark with knownVulnerabilties 2024-01-13 23:09:05 +00:00
Jan Malakhovski
591ccfe5b9 treewide: noop: refer to src.name or similar where appropriate, part 3: more use cases
This continues where d8f7f6a5ce left off. Similarly
to that commit, this commit this also points `sourceRoot`s to `src.name` and similar
instead of keeping hardcoded names, and edits other derivation attrs do do the same,
where appropriate.

Also, similarly to d8f7f6a5ce some of expressions this
edits use `srcs` attribute with customly-named sources, so they have to be moved
into `let` blocks to keep evaluation efficient (the other, worse, way to do this
would to recurcively refer to `elemAt n finalAttrs.srcs` or, similarly, with `rec`).
2023-08-11 09:20:44 +00:00
Weijia Wang
fd0989d64c freeimage: fix build on aarch64-darwin 2022-10-12 18:46:32 +02:00
Kevin Mehall
6ffe410983 freeimage: cleanup suggestions from code review
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-06-03 13:38:13 -07:00
Kevin Mehall
5dcb09d3cb freeimage: Add patch to fix build with libtiff 4.4.0 2022-06-02 14:50:17 -07:00
Las Safin
2bc097e409
freeimage: unstable-2020-07-04 -> unstable-2021-11-01 2021-12-22 14:23:54 +00:00
Tristan
857507f690
freeimage: fix build on aarch64-darwin (#145785) 2021-11-13 20:04:15 -05:00
Rick van Schijndel
4f4ab52f4f freeimage: support cross-compilation
Co-authored-by: Doron Behar <doron.behar@gmail.com>
2021-09-06 12:09:53 +02:00
Uri Baghin
a4026fb952
perceptualdiff: fix darwin support (#121646) 2021-05-05 22:36:08 -04:00
Dmitry Kalinkin
a157fc89a0
freeimage: fix for darwin 2021-04-22 08:54:24 -04:00
Las
be94ded77f freeimage: 3.18.0 -> unstable-2020-07-04, unbundle dependencies, fix aarch64 support
The unreleased version of freeimage contains many important fixes,
amongst others CVEs, and is taken from the svn repository (r1859).

We also unbundle all the dependencies to make it fit into the Nixpkgs ecosystem.

All the changes needed to unbundle and make it compile with Nix is contained in unbundle.diff.

Fixes #77653
Replaces #77655
2021-01-10 20:47:29 +00:00
Emily
089c6660b0 freeimage: mark as broken on aarch64 2020-05-13 20:17:27 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Orivej Desh
88825bbbde freeimage: 3.17.0 -> 3.18.0 2019-09-08 14:46:31 +00:00
Orivej Desh
214b35d115 freeimage: fix build with glibc 2.27 2018-06-03 20:38:08 +00:00
Vladimír Čunát
1e32c3ee35
freeimage: fetchpatch -> fetchurl
These aren't generated patches, so there's no benefit in fetchpatch.
/cc #30729.
2017-10-24 21:32:40 +02:00
Piotr Bogdan
a3dde9d13d freeimage: fix CVE-2015-0852 & CVE-2016-5684 2017-10-23 16:13:49 +01:00
Robin Gloster
d31b3a9e6d
freeimage: fix build with gcc6 2017-01-25 20:12:40 +01:00
Anthony Cowley
7850a6b0ec freeimage: darwin compatibility 2016-11-03 12:18:14 -04:00
Lluís Batlle i Rossell
d2c00001f8 freeimage: updating to 3.17
It is buggy in 32-bit: sizeof(uint64) != 8 !!.
2016-03-31 12:35:57 +02:00
Lluís Batlle i Rossell
031af8f0cf Making freeimage build and install freeimageplus too.
I need it for the pgf command line tool (next commit)

(cherry picked from commit f6856be9ee)
2015-01-23 16:09:31 +01:00
Lluís Batlle i Rossell
3b04eca150 freeimage: update to 3.15.3
Patch sent by Carles Pagès.
2012-09-21 18:02:44 +02:00
Lluís Batlle i Rossell
5142fda2bf Updating freeimage.
svn path=/nixpkgs/trunk/; revision=26560
2011-03-28 10:22:55 +00:00
Lluís Batlle i Rossell
93718907e4 Updating freeimage
svn path=/nixpkgs/trunk/; revision=24630
2010-11-09 14:30:58 +00:00
Lluís Batlle i Rossell
7b9ccbd457 Updating freeimage.
svn path=/nixpkgs/trunk/; revision=20972
2010-04-07 15:04:04 +00:00
Lluís Batlle i Rossell
c66b4ee26d Updating freeimage, and setting me as maintainer on some packages.
svn path=/nixpkgs/trunk/; revision=17584
2009-10-02 07:39:03 +00:00
Lluís Batlle i Rossell
c1d2a2e2d1 Fixing the version in the name of freeimage.
svn path=/nixpkgs/trunk/; revision=15606
2009-05-14 15:03:31 +00:00
Lluís Batlle i Rossell
1f8e1f296d Updating freeimage and vxl.
svn path=/nixpkgs/trunk/; revision=15307
2009-04-25 16:21:56 +00:00
Peter Simons
6fb297513a Committing Lluís Batlle's submissions from mailing list posting
<45219fb00901110456i6f21db35tbd1894eaea2146ff@mail.gmail.com>:

 * nixpkgs-ccrypt-1.7-new.patch
 * nixpkgs-cmake-add-ccmake.patch
 * nixpkgs-cpufrequtils-005-new.patch
 * nixpkgs-dwm-5.1-fix.patch
 * nixpkgs-freeimage-3.11.0-new.patch
 * nixpkgs-proxychains-3.1-new.patch
 * nixpkgs-psi-to-0.12.patch
 * nixpkgs-skype-to-2.0.0.72.patch
 * nixpkgs-truecrypt-6.1a-fix.patch
 * nixpkgs-vxl-1.11.0-new.patch
 * nixpkgs-xkb-popular-esperanto-symbols.patch
 * nixpkgs-xorg-via-video-fix.patch

svn path=/nixpkgs/trunk/; revision=13751
2009-01-12 21:12:07 +00:00