Subject: bug#58237: closed (Re: [bug#58237] [PATCH] gnu: celluloid: Do not install icon cache.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 06 Oct 2022 14:01:02 +0000

Your bug report

#58237: [PATCH] gnu: celluloid: Do not install icon cache.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
58237: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58237
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#58237] [PATCH] gnu: celluloid: Do not install icon cache.
From: Efraim Flashner <[email-masked]>
To: Michael Rohleder <[email-masked]>
Cc: [email-masked]
Date: Thu, 6 Oct 2022 17:00:45 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks. Patch pushed!

Make sure to check celluloid to see if it does indeed fix bug 58207.

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH] gnu: celluloid: Do not install icon cache.
From: Michael Rohleder <[email-masked]>
To: [email-masked]
Cc: Michael Rohleder <[email-masked]>
Date: Sun, 2 Oct 2022 00:56:44 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixes <https://issues.guix.gnu.org/58207>.

* gnu/packages/video.scm (celluloid)[arguments]: Add phase
disable-postinstall-script so postinstall-script does nothing.
[native-inputs]: Remove gtk:bin.
---
 gnu/packages/video.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6a14a85b74..f22c145b8f 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -785,12 +785,19 @@ (define-public celluloid
        (sha256
         (base32 "0ns9xh582c8kajw4v2x5ap5jfiba3gxywqc2klc0v6fc3id1gqii"))))
     (build-system meson-build-system)
+    (arguments
+     (list
+      #:glib-or-gtk? #t
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'disable-postinstall-script
+            (lambda _
+              (setenv "DESTDIR" "/"))))))
     (native-inputs
      (list
       desktop-file-utils           ; for update-desktop-database
       intltool
       `(,glib "bin")               ; for glib-compile-resources
-      `(,gtk "bin")                ; for gtk-update-icon-cache
       pkg-config
       python-wrapper))             ; for generate-authors.py
     (inputs
-- 
2.37.3