guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/09: gnu: calibre: Don't create uninstaller.


From: Marius Bakke
Subject: 09/09: gnu: calibre: Don't create uninstaller.
Date: Fri, 19 May 2017 17:58:15 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 1326166ebe15be3936c1a0497fd860f2fe69b5fa
Author: Brendan Tildesley <address@hidden>
Date:   Tue May 16 10:53:44 2017 +1000

    gnu: calibre: Don't create uninstaller.
    
    * gnu/packages/ebook.scm (calibre)[arguments]<#:phases>. Add 'patch-source' 
phase.
    
    Co-authored-by: Marius Bakke <address@hidden>
---
 gnu/packages/ebook.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 9db5536..1d64e9b 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -142,6 +142,12 @@
        #:use-setuptools? #f
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* "src/calibre/linux.py"
+               ;; We can't use the uninstaller in Guix. Don't build it.
+               (("self\\.create_uninstaller()") ""))
+             #t))
          (add-before 'build 'configure
           (lambda* (#:key inputs #:allow-other-keys)
             (let ((podofo (assoc-ref inputs "podofo"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]