all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Clément Lassieur" <clement@lassieur.org>
To: 67941@debbugs.gnu.org
Cc: "Clément Lassieur" <clement@lassieur.org>,
	"Clément Lassieur" <clement@lassieur.org>,
	"Jonathan Brielmaier" <jonathan.brielmaier@web.de>
Subject: [bug#67941] [PATCH] gnu: icecat-minimal: Fix dependency to libcanberra.
Date: Wed, 20 Dec 2023 20:50:59 +0100	[thread overview]
Message-ID: <a63e3805f97bfe13c9d62775c6979e771ce0db87.1703101859.git.clement@lassieur.org> (raw)

* gnu/packages/gnuzilla.scm (icecat-minimal)[arguments]: Add
'libcanberra/lib/gtk-3.0/modules' to LD_LIBRARY_PATH in the 'wrap-program'
phase.

Change-Id: I508dbf0a8133634c329c4c1ff20088752311ff91
---
 gnu/packages/gnuzilla.scm | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index b268ae8b7c6d..e0fbabfb68eb 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1092,18 +1092,22 @@ (define-public icecat-minimal
               (let* ((lib (string-append #$output "/lib"))
                      (gtk #$(this-package-input "gtk+"))
                      (gtk-share (string-append gtk "/share"))
-                     (ld-libs '#$(map (lambda (label)
-                                        (file-append (this-package-input label) "/lib"))
-                                      '("libpng-apng"
-                                        "libxscrnsaver"
-                                        "mesa"
-                                        "pciutils"
-                                        "mit-krb5"
-                                        "eudev"
-                                        "pulseaudio"
-                                        ;; For the integration of native notifications
-                                        ;; (same reason as icedove)
-                                        "libnotify"))))
+                     (ld-libs '#$(cons
+                                  (file-append
+                                   (this-package-input "libcanberra")
+                                   "/lib/gtk-3.0/modules")
+                                  (map (lambda (label)
+                                         (file-append (this-package-input label) "/lib"))
+                                       '("libpng-apng"
+                                         "libxscrnsaver"
+                                         "mesa"
+                                         "pciutils"
+                                         "mit-krb5"
+                                         "eudev"
+                                         "pulseaudio"
+                                         ;; For the integration of native notifications
+                                         ;; (same reason as icedove)
+                                         "libnotify")))))
                 (wrap-program (car (find-files lib "^icecat$"))
                   `("XDG_DATA_DIRS" prefix (,gtk-share))
                   ;; The following line is commented out because the icecat

base-commit: bb3ab24a296ffa5273b2e82a02ed057e90c095f3
prerequisite-patch-id: 51e2c2aaf5262d0d9001b0b5c37836060291f55d
prerequisite-patch-id: ea15ff59ebfaff0fce3c9a1d42a3c345f8618aab
prerequisite-patch-id: 459d954ba63d5c0c15f8b519aa5aef331f218cc6
prerequisite-patch-id: cc5c8cd318ced4bb10d30f2e00b41b1be1309226
prerequisite-patch-id: 32045c6f50d674987ad6be5b15b8f4f010123c37
prerequisite-patch-id: c0b3ddac8628924c3db8daf2d9694e0de9fb7e5e
prerequisite-patch-id: 9c1d2bed61258b47220ac60fbb889348877ebfb7
prerequisite-patch-id: 4d717985fc3ba49304969527f92f2d854b677fae
-- 
2.41.0





             reply	other threads:[~2023-12-20 19:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20 19:50 Clément Lassieur [this message]
2023-12-21 11:23 ` [bug#67941] [PATCH] gnu: icecat-minimal: Fix dependency to libcanberra Jonathan Brielmaier via Guix-patches via
2023-12-21 12:07   ` Clément Lassieur
2024-01-04  3:39     ` Maxim Cournoyer
2024-01-04 10:12       ` bug#67941: " Clément Lassieur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a63e3805f97bfe13c9d62775c6979e771ce0db87.1703101859.git.clement@lassieur.org \
    --to=clement@lassieur.org \
    --cc=67941@debbugs.gnu.org \
    --cc=jonathan.brielmaier@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.