Message ID | a63e3805f97bfe13c9d62775c6979e771ce0db87.1703101859.git.clement@lassieur.org |
---|---|
State | New |
Headers | show |
Series | [bug#67941] gnu: icecat-minimal: Fix dependency to libcanberra. | expand |
Salut Clément, Am 20.12.23 um 20:50 schrieb Clément Lassieur: > * gnu/packages/gnuzilla.scm (icecat-minimal)[arguments]: Add > 'libcanberra/lib/gtk-3.0/modules' to LD_LIBRARY_PATH in the 'wrap-program' > phase. I assume this fixes some problems with sound themes of Icecat? If I understand correctly what "libcanberra" is supposed to do... ~Jonathan
On Thu, Dec 21, 2023, at 11:23 AM, Jonathan Brielmaier wrote: > Salut Clément, Hey Jonathan :) > Am 20.12.23 um 20:50 schrieb Clément Lassieur: > > * gnu/packages/gnuzilla.scm (icecat-minimal)[arguments]: Add > > 'libcanberra/lib/gtk-3.0/modules' to LD_LIBRARY_PATH in the 'wrap-program' > > phase. > > I assume this fixes some problems with sound themes of Icecat? If I > understand correctly what "libcanberra" is supposed to do... It fixes this message on Icecat startup: Gtk-Message: 13:05:56.635: Failed to load module "canberra-gtk-module" Gtk-Message: 13:05:56.636: Failed to load module "canberra-gtk-module" I'll add this to the commit message.
Hello, Clément Lassieur <clement@lassieur.org> writes: > On Thu, Dec 21, 2023, at 11:23 AM, Jonathan Brielmaier wrote: >> Salut Clément, > > Hey Jonathan :) > >> Am 20.12.23 um 20:50 schrieb Clément Lassieur: >> > * gnu/packages/gnuzilla.scm (icecat-minimal)[arguments]: Add >> > 'libcanberra/lib/gtk-3.0/modules' to LD_LIBRARY_PATH in the 'wrap-program' >> > phase. >> >> I assume this fixes some problems with sound themes of Icecat? If I >> understand correctly what "libcanberra" is supposed to do... > > It fixes this message on Icecat startup: > > Gtk-Message: 13:05:56.635: Failed to load module "canberra-gtk-module" > Gtk-Message: 13:05:56.636: Failed to load module "canberra-gtk-module" > > I'll add this to the commit message. Ping :-). LGTM.
On Wed, Jan 03 2024, Maxim Cournoyer wrote: >> It fixes this message on Icecat startup: >> >> Gtk-Message: 13:05:56.635: Failed to load module "canberra-gtk-module" >> Gtk-Message: 13:05:56.636: Failed to load module "canberra-gtk-module" >> >> I'll add this to the commit message. > > Ping :-). LGTM. Pushed, thanks!
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