[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: hplip: Remove pre-built executable from the source.
From: |
guix-commits |
Subject: |
03/08: gnu: hplip: Remove pre-built executable from the source. |
Date: |
Fri, 15 Mar 2019 18:29:37 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7a7d5f66412fb74eb94439f3a566230a30ea2f7d
Author: Ludovic Courtès <address@hidden>
Date: Fri Mar 15 22:12:07 2019 +0100
gnu: hplip: Remove pre-built executable from the source.
* gnu/packages/cups.scm (hplip)[source](snippet): Remove all the files
matching 'elf-file?', not just ".so" files. This includes the
'locatedriver' executable found in the upstream tarball.
---
gnu/packages/cups.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 9f23b8e..fa6e3ae 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Ricardo Wurmus <address@hidden>
-;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <address@hidden>
+;;; Copyright © 2015, 2016, 2017, 2019 Ludovic Courtès <address@hidden>
;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Danny Milosavljevic <address@hidden>
;;; Copyright © 2017 Leo Famulari <address@hidden>
@@ -423,8 +423,12 @@ should only be used as part of the Guix cups-pk-helper
service.")
(patches (search-patches "hplip-remove-imageprocessor.patch"))
(snippet
'(begin
- ;; Delete non-free blobs
- (for-each delete-file (find-files "." "\\.so$"))
+ ;; Delete non-free blobs: .so files, pre-compiled
+ ;; 'locatedriver' executable, etc.
+ (for-each delete-file
+ (find-files "."
+ (lambda (file stat)
+ (elf-file? file))))
(delete-file "prnt/hpcups/ImageProcessor.h")
;; Fix type mismatch.
(substitute* "prnt/hpcups/genPCLm.cpp"
- 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 <=
- 04/08: gnu: hplip: Do not keep reference to GCC., guix-commits, 2019/03/15
- 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