cups-filters: 1.25.12 -> 1.28.10

enable tests
enable braille embosser support
This commit is contained in:
Artturin 2021-09-22 03:33:47 +03:00
parent 8e7ed326b8
commit a6f470897c

View file

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, pkg-config, cups, poppler, poppler_utils, fontconfig
, libjpeg, libpng, perl, ijs, qpdf, dbus, avahi
, makeWrapper, coreutils, gnused, bc, gawk, gnugrep, which, ghostscript
, mupdf
, mupdf, dejavu_fonts, liblouis
}:
let
@ -9,11 +9,11 @@ let
in stdenv.mkDerivation rec {
pname = "cups-filters";
version = "1.25.12";
version = "1.28.10";
src = fetchurl {
url = "https://openprinting.org/download/cups-filters/${pname}-${version}.tar.xz";
sha256 = "1kv25011iyzvd33n5zmmn1z2p6pzk26hmmw6qvjjnx8p3sp7raqn";
sha256 = "sha256-z4yQRpTETPaJtXJORtI9qa5RJdVDdLNAxkIHfMKcqDc=";
};
nativeBuildInputs = [ pkg-config makeWrapper ];
@ -21,6 +21,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
cups poppler poppler_utils fontconfig libjpeg libpng perl
ijs qpdf dbus avahi ghostscript mupdf
liblouis # braille embosser support
];
configureFlags = [
@ -33,7 +34,7 @@ in stdenv.mkDerivation rec {
"--enable-imagefilters"
"--with-rcdir=no"
"--with-shell=${stdenv.shell}"
"--with-test-font-path=/path-does-not-exist"
"--with-test-font-path=${dejavu_fonts}/share/fonts/truetype/DejaVuSans.ttf"
];
makeFlags = [ "CUPS_SERVERBIN=$(out)/lib/cups" "CUPS_DATADIR=$(out)/share/cups" "CUPS_SERVERROOT=$(out)/etc/cups" ];
@ -60,7 +61,7 @@ in stdenv.mkDerivation rec {
'';
enableParallelBuilding = true;
doCheck = false; # fails 4 out of 6 tests
doCheck = true;
meta = {
homepage = "http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters";