gnu: hplip: Do not keep reference to GCC.
Previously the 'dat2drv' and 'locatedriver' programs would be installed to share/hplip, and thus they would not get stripped during the 'strip' phase. Consequently, they retained references to GCC. * gnu/packages/cups.scm (hplip)[source](snippet): Change "data2drvdir" and "locatedriverdir" in Makefile.in.
This commit is contained in:
parent
7a7d5f6641
commit
ea843715b5
|
@ -430,9 +430,19 @@ should only be used as part of the Guix cups-pk-helper service.")
|
||||||
(lambda (file stat)
|
(lambda (file stat)
|
||||||
(elf-file? file))))
|
(elf-file? file))))
|
||||||
(delete-file "prnt/hpcups/ImageProcessor.h")
|
(delete-file "prnt/hpcups/ImageProcessor.h")
|
||||||
|
|
||||||
;; Fix type mismatch.
|
;; Fix type mismatch.
|
||||||
(substitute* "prnt/hpcups/genPCLm.cpp"
|
(substitute* "prnt/hpcups/genPCLm.cpp"
|
||||||
(("boolean") "bool"))
|
(("boolean") "bool"))
|
||||||
|
|
||||||
|
;; Install binaries under libexec/hplip instead of
|
||||||
|
;; share/hplip; that'll at least ensure they get stripped.
|
||||||
|
;; It's not even clear that they're of any use though...
|
||||||
|
(substitute* "Makefile.in"
|
||||||
|
(("^dat2drvdir =.*")
|
||||||
|
"dat2drvdir = $(pkglibexecdir)\n")
|
||||||
|
(("^locatedriverdir =.*")
|
||||||
|
"locatedriverdir = $(pkglibexecdir)\n"))
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(home-page "https://developers.hp.com/hp-linux-imaging-and-printing")
|
(home-page "https://developers.hp.com/hp-linux-imaging-and-printing")
|
||||||
|
|
Loading…
Reference in New Issue