[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: hplip: Do not keep reference to GCC.
From: |
guix-commits |
Subject: |
04/08: gnu: hplip: Do not keep reference to GCC. |
Date: |
Fri, 15 Mar 2019 18:29:38 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ea843715b56c935cfb73c6fed23c31c32ec13712
Author: Ludovic Courtès <address@hidden>
Date: Fri Mar 15 22:14:01 2019 +0100
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.
---
gnu/packages/cups.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index fa6e3ae..b943444 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -430,9 +430,19 @@ should only be used as part of the Guix cups-pk-helper
service.")
(lambda (file stat)
(elf-file? file))))
(delete-file "prnt/hpcups/ImageProcessor.h")
+
;; Fix type mismatch.
(substitute* "prnt/hpcups/genPCLm.cpp"
(("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))))
(build-system gnu-build-system)
(home-page "https://developers.hp.com/hp-linux-imaging-and-printing")
- branch master updated (39c0a3f -> 41dfe40), guix-commits, 2019/03/15
- 01/08: build-system/glib-or-gtk: Support #:disallowed-references., guix-commits, 2019/03/15
- 02/08: gnu: gnome-shell: Remove references to Inkscape and more., guix-commits, 2019/03/15
- 03/08: gnu: hplip: Remove pre-built executable from the source., guix-commits, 2019/03/15
- 04/08: gnu: hplip: Do not keep reference to GCC.,
guix-commits <=
- 08/08: pack: Construct inferior package names correctly., guix-commits, 2019/03/15
- 05/08: gnu: hplip-minimal: Remove dependency on Python & co., guix-commits, 2019/03/15
- 07/08: services: mpd: add more configuration options, guix-commits, 2019/03/15
- 06/08: pack: "-RR" produces PRoot-enabled relocatable binaries., guix-commits, 2019/03/15