xneur: build with enchant2

We are trying to remove enchant1 from Nixpkgs. Since there is no
new release we pull the patch from debian to build this with enchant2.

+9 -4
+8 -1
pkgs/applications/misc/xneur/default.nix
··· 2 , lib 3 , fetchurl 4 , fetchpatch 5 , intltool 6 , pkg-config 7 , wrapGAppsHook ··· 25 }; 26 27 nativeBuildInputs = [ 28 intltool 29 pkg-config 30 wrapGAppsHook ··· 52 url = "https://salsa.debian.org/debian/xneur/-/raw/da38ad9c8e1bf4e349f5ed4ad909f810fdea44c9/debian/patches/gcc-10.patch"; 53 sha256 = "0pc17a4sdrnrc4z7gz28889b9ywqsm5mzm6m41h67j2f5zh9k3fy"; 54 }) 55 ]; 56 57 postPatch = '' 58 - sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure 59 ''; 60 61 meta = with lib; {
··· 2 , lib 3 , fetchurl 4 , fetchpatch 5 + , autoreconfHook 6 , intltool 7 , pkg-config 8 , wrapGAppsHook ··· 26 }; 27 28 nativeBuildInputs = [ 29 + autoreconfHook 30 intltool 31 pkg-config 32 wrapGAppsHook ··· 54 url = "https://salsa.debian.org/debian/xneur/-/raw/da38ad9c8e1bf4e349f5ed4ad909f810fdea44c9/debian/patches/gcc-10.patch"; 55 sha256 = "0pc17a4sdrnrc4z7gz28889b9ywqsm5mzm6m41h67j2f5zh9k3fy"; 56 }) 57 + (fetchpatch { 58 + name = "enchant2.patch"; 59 + url = "https://salsa.debian.org/debian/xneur/-/raw/695b0fea56cde4ff6cf0f3988218c5cb9d7ff5ae/debian/patches/enchant2.patch"; 60 + sha256 = "02a3kkfzdvs5f8dfm6j5x3jcn5j8qah9ykfymp6ffqsf4fijp65n"; 61 + }) 62 ]; 63 64 postPatch = '' 65 + sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure.ac 66 ''; 67 68 meta = with lib; {
+1 -3
pkgs/top-level/all-packages.nix
··· 33710 33711 xmind = callPackage ../applications/misc/xmind { }; 33712 33713 - xneur = callPackage ../applications/misc/xneur { 33714 - enchant = enchant1; 33715 - }; 33716 33717 gxneur = callPackage ../applications/misc/gxneur { 33718 inherit (gnome2) libglade GConf;
··· 33710 33711 xmind = callPackage ../applications/misc/xmind { }; 33712 33713 + xneur = callPackage ../applications/misc/xneur { }; 33714 33715 gxneur = callPackage ../applications/misc/gxneur { 33716 inherit (gnome2) libglade GConf;