Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2405.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
`globalRedirect` can now have redirect codes other than 301 through
`redirectCode`.

- `libjxl` 0.9.0 [dropped support for the butteraugli API](https://github.com/libjxl/libjxl/pull/2576). You will no longer be able to set `enableButteraugli` on `libaom`.

- The source of the `mockgen` package has changed to the [go.uber.org/mock](https://github.com/uber-go/mock) fork because [the original repository is no longer maintained](https://github.com/golang/mock#gomock).

- `security.pam.enableSSHAgentAuth` was renamed to `security.pam.sshAgentAuth.enable` and an `authorizedKeysFiles`
Expand Down
6 changes: 1 addition & 5 deletions pkgs/development/libraries/libaom/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib, stdenv, fetchzip, yasm, perl, cmake, pkg-config, python3
, enableButteraugli ? true, libjxl
, enableVmaf ? true, libvmaf
, gitUpdater
}:
Expand All @@ -23,8 +22,7 @@ stdenv.mkDerivation rec {
yasm perl cmake pkg-config python3
];

propagatedBuildInputs = lib.optional enableButteraugli libjxl
++ lib.optional enableVmaf libvmaf;
propagatedBuildInputs = lib.optional enableVmaf libvmaf;

preConfigure = ''
# build uses `git describe` to set the build version
Expand All @@ -42,8 +40,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DENABLE_TESTS=OFF"
] ++ lib.optionals enableButteraugli [
"-DCONFIG_TUNE_BUTTERAUGLI=1"
] ++ lib.optionals enableVmaf [
"-DCONFIG_TUNE_VMAF=1"
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
Expand Down
18 changes: 3 additions & 15 deletions pkgs/development/libraries/libjxl/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ stdenv, lib, fetchFromGitHub
, fetchpatch
, brotli
, cmake
, giflib
Expand All @@ -12,7 +11,6 @@
, openexr_3
, pkg-config
, zlib
, buildDocs ? true
, asciidoc
, graphviz
, doxygen
Expand All @@ -21,39 +19,29 @@

stdenv.mkDerivation rec {
pname = "libjxl";
version = "0.8.2";
version = "0.9.1";

outputs = [ "out" "dev" ];

src = fetchFromGitHub {
owner = "libjxl";
repo = "libjxl";
rev = "v${version}";
hash = "sha256-I3PGgh0XqRkCFz7lUZ3Q4eU0+0GwaQcVb6t4Pru1kKo=";
hash = "sha256-n5KNbbw6NQRROEM7Cojla/igRCFNawUq7nfhzJlMlPI=";
# There are various submodules in `third_party/`.
fetchSubmodules = true;
};

patches = [
# Add missing <atomic> content to fix gcc compilation for RISCV architecture
# https://github.com/libjxl/libjxl/pull/2211
(fetchpatch {
url = "https://github.com/libjxl/libjxl/commit/22d12d74e7bc56b09cfb1973aa89ec8d714fa3fc.patch";
hash = "sha256-X4fbYTMS+kHfZRbeGzSdBW5jQKw8UN44FEyFRUtw0qo=";
})
];

nativeBuildInputs = [
cmake
gtest
pkg-config
] ++ lib.optionals buildDocs [
asciidoc
doxygen
python3
];

depsBuildBuild = lib.optionals buildDocs [
depsBuildBuild = [
graphviz
];

Expand Down
5 changes: 1 addition & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22390,10 +22390,7 @@ with pkgs;

libantlr3c = callPackage ../development/libraries/libantlr3c { };

libaom = callPackage ../development/libraries/libaom {
# Remove circular dependency for libavif
libjxl = libjxl.override { buildDocs = false; };
};
libaom = callPackage ../development/libraries/libaom { };

libappindicator-gtk2 = libappindicator.override { gtkVersion = "2"; };
libappindicator-gtk3 = libappindicator.override { gtkVersion = "3"; };
Expand Down