mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Remove cups-pdf-filter
It has been obsoleted by the cups-filters package.
This commit is contained in:
parent
7f053d6157
commit
006002d16f
@ -1,39 +0,0 @@
|
||||
{ stdenv, fetchurl, pkgconfig, cups, poppler }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cups-pdf-filter-${cups.version}";
|
||||
|
||||
inherit (cups) src;
|
||||
|
||||
buildInputs = [ pkgconfig cups poppler ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -e 's@\.\./cups/$(LIBCUPS)@@' -e 's@$(LIBCUPSIMAGE)@@' -i filter/Makefile
|
||||
'';
|
||||
|
||||
NIX_LDFLAGS="-L${cups}/lib";
|
||||
|
||||
configureFlags = ''
|
||||
--localstatedir=/var --enable-dbus
|
||||
--enable-image --with-pdftops=pdftops'';
|
||||
|
||||
buildPhase = ''
|
||||
cd filter
|
||||
make pdftops
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out/lib/cups/filter $out/share/cups/mime
|
||||
cp -v pdftops $out/lib/cups/filter
|
||||
echo >$out/share/cups/mime/pdftops.convs 'application/pdf application/vnd.cups-postscript 66 pdftops'
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
homepage = http://www.cups.org/;
|
||||
description = "Image and pdf filters for CUPS";
|
||||
license = "GPLv2";
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -8663,8 +8663,6 @@ let
|
||||
|
||||
cups = callPackage ../misc/cups { };
|
||||
|
||||
cups_pdf_filter = callPackage ../misc/cups/pdf-filter.nix { };
|
||||
|
||||
gutenprint = callPackage ../misc/drivers/gutenprint { };
|
||||
|
||||
gutenprintBin = callPackage ../misc/drivers/gutenprint/bin.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user