Commit Graph

12 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
Jan Tojnar
6e50bea208 lib2geom: pick patch from Inkscape 1.3.1
Inkscape 1.3.1 updates the lib2geom submodule as follows:
18fc32f997...cf523857e4

We already have the clang patch and do not care about mingw,
let’s backport the ellipsis patch since it affects rendering:

https://gitlab.com/inkscape/inkscape/-/issues/4445
2023-11-26 18:10:59 +01:00
Yureka
14c62b156a
lib2geom: skip failing test on musl (#266553) 2023-11-26 16:07:02 +01:00
leiserfg
aae20a0f43 lib2geom: 1.2.2 → 1.3
https://gitlab.com/inkscape/lib2geom/-/releases/1.3

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-10-26 13:38:06 +02:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Jan Tojnar
539d47e35e
Merge pull request #205890 from jtojnar/inkscape
inkscape: 1.2.1 → 1.2.2
2022-12-13 17:56:53 +01:00
Jan Tojnar
4c9a58643f lib2geom: 1.2 → 1.2.2 2022-12-13 01:16:57 +01:00
sg2002
0927d7e889 lib2geom: fix tests on i686 2022-12-12 17:34:49 +03:00
Jan Tojnar
96be7f5a90 lib2geom: 1.1 → 1.2
https://gitlab.com/inkscape/lib2geom/-/compare/1.1...1.2
2022-08-02 22:30:55 +02:00
Josef Kemetmüller
1ca04aa9f1 treewide: Stop setting CMAKE_SKIP_BUILD_RPATH=OFF
This is now the new default and thus doesn't need to be set manually
anymore.
2022-07-04 03:49:01 +03:00
Jordan Justen
ff8752a603
lib2geom: update 2020-03-12 -> 1.1
Reworks:
 * lgpl21 => lgpl21Only (jtojnar)
 * stdenv.lib => lib (jtojnar)
 * Use 1.1 tagged version rather than sha1 from inkscape 1.1 (jtojnar)
 * BUILD_SHARED_LIBS => 2GEOM_BUILD_SHARED (jtojnar)
 * Drop cmakeBuildType (jtojnar)
2021-05-26 00:20:44 -07:00
Jan Tojnar
9baeb63482
lib2geom: init at 1.0.0 2021-05-26 00:20:44 -07:00