ansel: fix compilation, remove libsoup_2_4 and make improvements#432089
ansel: fix compilation, remove libsoup_2_4 and make improvements#432089wolfgangwalther merged 8 commits intoNixOS:masterfrom
Conversation
|
|
|
Since #429473 is merged and CI failures seem to be unrelated to this pr. |
|
|
For Saxon, why not do the same thing darktable is doing on master?
|
@paperdigits This option is also okay for me. I just think a symlink is lighter and does the same job. Or do you see a reason we should not do it this way? |
wolfgangwalther
left a comment
There was a problem hiding this comment.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 432089 --skip-package darktable
Commit: 64ba28065a394c6ca93c3b855e40de34dad2dcd2
x86_64-linux
✅ 10 packages built:
- ansel
- jing (jing-trang)
- photoprism
- saxon
- saxon-he (saxon_12-he)
- saxon_11-he
- saxon_9-he
- saxonb (saxonb_8_8)
- saxonb_9_1
- xmloscopy
aarch64-linux
✅ 10 packages built:
- ansel
- jing (jing-trang)
- photoprism
- saxon
- saxon-he (saxon_12-he)
- saxon_11-he
- saxon_9-he
- saxonb (saxonb_8_8)
- saxonb_9_1
- xmloscopy
x86_64-darwin
✅ 8 packages built:
- jing (jing-trang)
- saxon
- saxon-he (saxon_12-he)
- saxon_11-he
- saxon_9-he
- saxonb (saxonb_8_8)
- saxonb_9_1
- xmloscopy
aarch64-darwin
✅ 8 packages built:
- jing (jing-trang)
- saxon
- saxon-he (saxon_12-he)
- saxon_11-he
- saxon_9-he
- saxonb (saxonb_8_8)
- saxonb_9_1
- xmloscopy
Building darktable the build was hanging, not sure why, so I skipped it in that review.
|
The only reason I thought to do it the same is that they're more or less the same package, same dependencies, so why have two different ways of doing things?
|
We're not having two different ways of doing it. We're doing it exactly the same way in both, but simpler - because we moved the symlink thing into |
Some projects that expect to be built on debian/ubuntu search for saxon-xslt instead of saxon.
use saxon instead of libxslt like darktable remove insecure libsoup_2_4 move libxml2 to buildInputs
ansel works with the current version of libavif
The upstream documentation does not require it We do not have any error message or warning without it either
We set BINARY_PACKAGE_BUILD=1 This removes the use of -march=native and also compiles some low-level function for different vector instruction sets The upstream repo uses it in ci and packaging instructions.
|
|
Thank you and welcome to Nixpkgs! |
This fixes compilation errors of ansel.
Secondly this removes a dependency to
libsoup_2_4that is insecure and unmaintained. (#360897)To remove
libsoup_2_4completely from ansel we depend on (#429473) to remove it fromosm-gps-map.The PR was tested with and without #429473.
buildInputssince it is unusedThings done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.