gnu: icecat: Add libxscrnsaver to runtime LD_LIBRARY_PATH
IceCat loads libXss.so at runtime to inhibit screen locking if other interfaces are unavailable. * gnu/packages/gnuzilla.scm (icecat)[arguments]: Add libxscrnsaver to wrap-program arguments. Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
This commit is contained in:
		
							parent
							
								
									ce9c5bb79c
								
							
						
					
					
						commit
						f11d429071
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -1115,10 +1115,12 @@ from forcing GEXP-PROMISE."
 | 
				
			||||||
                    (mesa (assoc-ref inputs "mesa"))
 | 
					                    (mesa (assoc-ref inputs "mesa"))
 | 
				
			||||||
                    (mesa-lib (string-append mesa "/lib"))
 | 
					                    (mesa-lib (string-append mesa "/lib"))
 | 
				
			||||||
                    (pulseaudio (assoc-ref inputs "pulseaudio"))
 | 
					                    (pulseaudio (assoc-ref inputs "pulseaudio"))
 | 
				
			||||||
                    (pulseaudio-lib (string-append pulseaudio "/lib")))
 | 
					                    (pulseaudio-lib (string-append pulseaudio "/lib"))
 | 
				
			||||||
 | 
					                    (libxscrnsaver (assoc-ref inputs "libxscrnsaver"))
 | 
				
			||||||
 | 
					                    (libxscrnsaver-lib (string-append libxscrnsaver "/lib")))
 | 
				
			||||||
               (wrap-program (car (find-files lib "^icecat$"))
 | 
					               (wrap-program (car (find-files lib "^icecat$"))
 | 
				
			||||||
                 `("XDG_DATA_DIRS" prefix (,gtk-share))
 | 
					                 `("XDG_DATA_DIRS" prefix (,gtk-share))
 | 
				
			||||||
                 `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib)))
 | 
					                 `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib ,libxscrnsaver-lib)))
 | 
				
			||||||
               #t))))))
 | 
					               #t))))))
 | 
				
			||||||
    (home-page "https://www.gnu.org/software/gnuzilla/")
 | 
					    (home-page "https://www.gnu.org/software/gnuzilla/")
 | 
				
			||||||
    (synopsis "Entirely free browser derived from Mozilla Firefox")
 | 
					    (synopsis "Entirely free browser derived from Mozilla Firefox")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue