mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
Merge pull request #270223 from Stunkymonkey/xsane-remove-override-libpng
xsane: remove override libpng
This commit is contained in:
commit
0eb1ee9fdb
@ -11,6 +11,7 @@
|
||||
, gimpSupport ? false
|
||||
, gimp
|
||||
, nix-update-script
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -25,6 +26,13 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-oOg94nUsT9LLKnHocY0S5g02Y9a1UazzZAjpEI/s+yM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://src.fedoraproject.org/rpms/xsane/raw/rawhide/f/xsane-0.998-libpng.patch";
|
||||
hash = "sha256-0z292+Waa2g0PCQpUebdWprl9VDyBOY0XgqMJaIcRb8=";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
sed -e '/SANE_CAP_ALWAYS_SETTABLE/d' -i src/xsane-back-gtk.c
|
||||
chmod a+rX -R .
|
||||
|
@ -41530,10 +41530,7 @@ with pkgs;
|
||||
|
||||
xpad = callPackage ../applications/misc/xpad { };
|
||||
|
||||
xsane = callPackage ../applications/graphics/sane/xsane.nix {
|
||||
libpng = libpng12;
|
||||
sane-backends = sane-backends.override { libpng = libpng12; };
|
||||
};
|
||||
xsane = callPackage ../applications/graphics/sane/xsane.nix { };
|
||||
|
||||
xsser = python3Packages.callPackage ../tools/security/xsser { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user