gnu: Use 'search-input-directory' and 'search-input-file' where appropriate.
This changes some of the remaining uses of this idiom: (string-append (assoc-ref inputs "LABEL") "FILE") to one of: (search-input-file inputs "FILE") (search-input-directory inputs "FILE") * gnu/packages/axoloti.scm (axoloti-patcher): Use 'search-input-directory'. (axoloti-patcher-next): Likewise. * gnu/packages/bioinformatics.scm (java-picard): Likewise. * gnu/packages/bootloaders.scm (grub-hybrid): Likewise. (u-boot-puma-rk3399): Likewise. (u-boot-rock64-rk3328): Likewise. (u-boot-firefly-rk3399): Likewise. (u-boot-rockpro64-rk3399): Likewise. (u-boot-pinebook-pro-rk3399): Likewise. * gnu/packages/cran.scm (r-shiny): Likewise. (r-shinytree): Likewise. * gnu/packages/education.scm (anki): Likewise. * gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Likewise. (emacs-rime): Likewise. * gnu/packages/emulators.scm (dolphin-emu): Likewise. * gnu/packages/games.scm (bsd-games): Likewise. (seahorse-adventures): Likewise. (einstein): Likewise. * gnu/packages/gimp.scm (gimp-fourier): Likewise. * gnu/packages/gnome.scm (gspell): Likewise. * gnu/packages/guile-xyz.scm (guile-libyaml): Likewise. * gnu/packages/java.scm (icedtea-7): Likewise. * gnu/packages/language.scm (nimf): Likewise. * gnu/packages/lxde.scm (spacefm): Likewise. * gnu/packages/mail.scm (claws-mail): Likewise. * gnu/packages/netpbm.scm (netpbm): Likewise. * gnu/packages/networking.scm (blueman): Likewise. * gnu/packages/scheme.scm (scm): Likewise. * gnu/packages/security-token.scm (python-fido2): Likewise. * gnu/packages/syndication.scm (rtv): Likewise. * gnu/packages/tls.scm (acme-client): Likewise. * gnu/packages/web.scm (netsurf): Likewise. * gnu/packages/wine.scm (wine-staging): Likewise. * gnu/packages/wxwidgets.scm (wxwidgets): Likewise.
This commit is contained in:
		
							parent
							
								
									828cfdc47e
								
							
						
					
					
						commit
						d468a03a00
					
				
					 26 changed files with 81 additions and 100 deletions
				
			
		| 
						 | 
					@ -318,8 +318,8 @@ runtime.")
 | 
				
			||||||
                   (lambda ()
 | 
					                   (lambda ()
 | 
				
			||||||
                     (let* ((dir       (string-append (assoc-ref outputs "out")
 | 
					                     (let* ((dir       (string-append (assoc-ref outputs "out")
 | 
				
			||||||
                                                      "/share/axoloti"))
 | 
					                                                      "/share/axoloti"))
 | 
				
			||||||
                            (runtime   (string-append (assoc-ref inputs "axoloti-runtime")
 | 
					                            (runtime   (search-input-directory inputs
 | 
				
			||||||
                                                      "/share/axoloti"))
 | 
					                                                               "share/axoloti"))
 | 
				
			||||||
                            (toolchain (assoc-ref inputs "cross-toolchain"))
 | 
					                            (toolchain (assoc-ref inputs "cross-toolchain"))
 | 
				
			||||||
                            (includes  (string-append
 | 
					                            (includes  (string-append
 | 
				
			||||||
                                        toolchain
 | 
					                                        toolchain
 | 
				
			||||||
| 
						 | 
					@ -530,8 +530,8 @@ patcher application.")))
 | 
				
			||||||
               ;; Install old firmware
 | 
					               ;; Install old firmware
 | 
				
			||||||
               (let ((target (string-append share "/old_firmware/firmware-1.0.12"))
 | 
					               (let ((target (string-append share "/old_firmware/firmware-1.0.12"))
 | 
				
			||||||
                     (old-firmware
 | 
					                     (old-firmware
 | 
				
			||||||
                      (string-append (assoc-ref inputs "axoloti-runtime")
 | 
					                      (search-input-directory inputs
 | 
				
			||||||
                                     "/share/axoloti/firmware/")))
 | 
					                                              "share/axoloti/firmware")))
 | 
				
			||||||
                 (mkdir-p target)
 | 
					                 (mkdir-p target)
 | 
				
			||||||
                 (install-file (string-append old-firmware
 | 
					                 (install-file (string-append old-firmware
 | 
				
			||||||
                                              "flasher/flasher_build/flasher.bin")
 | 
					                                              "flasher/flasher_build/flasher.bin")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4222,9 +4222,8 @@ manipulating HTS data.")
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (substitute* "build.xml"
 | 
					             (substitute* "build.xml"
 | 
				
			||||||
               (("\\$\\{htsjdk\\}/lib")
 | 
					               (("\\$\\{htsjdk\\}/lib")
 | 
				
			||||||
                (string-append (assoc-ref inputs "java-htsjdk")
 | 
					                (search-input-directory inputs
 | 
				
			||||||
                               "/share/java/htsjdk/")))
 | 
					                                        "share/java/htsjdk")))))
 | 
				
			||||||
             #t))
 | 
					 | 
				
			||||||
         (add-after 'unpack 'make-test-target-independent
 | 
					         (add-after 'unpack 'make-test-target-independent
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (substitute* "build.xml"
 | 
					             (substitute* "build.xml"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -351,7 +351,7 @@ menu to select one of the installed operating systems.")
 | 
				
			||||||
        `(modify-phases ,phases
 | 
					        `(modify-phases ,phases
 | 
				
			||||||
           (add-after 'install 'install-non-efi
 | 
					           (add-after 'install 'install-non-efi
 | 
				
			||||||
             (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					             (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
				
			||||||
               (let ((input-dir (string-append (assoc-ref inputs "grub")
 | 
					               (let ((input-dir (search-input-directory inputs
 | 
				
			||||||
                                                        "/lib/grub"))
 | 
					                                                        "/lib/grub"))
 | 
				
			||||||
                     (output-dir (string-append (assoc-ref outputs "out")
 | 
					                     (output-dir (string-append (assoc-ref outputs "out")
 | 
				
			||||||
                                                "/lib/grub")))
 | 
					                                                "/lib/grub")))
 | 
				
			||||||
| 
						 | 
					@ -852,9 +852,8 @@ to Novena upstream, does not load u-boot.img from the first partition.")
 | 
				
			||||||
           `(modify-phases ,phases
 | 
					           `(modify-phases ,phases
 | 
				
			||||||
              (add-after 'unpack 'set-environment
 | 
					              (add-after 'unpack 'set-environment
 | 
				
			||||||
                (lambda* (#:key inputs #:allow-other-keys)
 | 
					                (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
                  (setenv "BL31" (string-append (assoc-ref inputs "firmware")
 | 
					                  (setenv "BL31"
 | 
				
			||||||
                                                "/bl31.elf"))
 | 
					                          (search-input-file inputs "/bl31.elf"))))
 | 
				
			||||||
                  #t))
 | 
					 | 
				
			||||||
              ;; Phases do not succeed on the bl31 ELF.
 | 
					              ;; Phases do not succeed on the bl31 ELF.
 | 
				
			||||||
              (delete 'strip)
 | 
					              (delete 'strip)
 | 
				
			||||||
              (delete 'validate-runpath)))))
 | 
					              (delete 'validate-runpath)))))
 | 
				
			||||||
| 
						 | 
					@ -894,10 +893,8 @@ to Novena upstream, does not load u-boot.img from the first partition.")
 | 
				
			||||||
          `(modify-phases ,phases
 | 
					          `(modify-phases ,phases
 | 
				
			||||||
             (add-after 'unpack 'set-environment
 | 
					             (add-after 'unpack 'set-environment
 | 
				
			||||||
               (lambda* (#:key inputs #:allow-other-keys)
 | 
					               (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
                 (let ((bl31 (string-append (assoc-ref inputs "firmware")
 | 
					                 (let ((bl31 (search-input-file inputs "/bl31.elf")))
 | 
				
			||||||
                                            "/bl31.elf")))
 | 
					                   (setenv "BL31" bl31))))))))
 | 
				
			||||||
                   (setenv "BL31" bl31))
 | 
					 | 
				
			||||||
                 #t))))))
 | 
					 | 
				
			||||||
      (native-inputs
 | 
					      (native-inputs
 | 
				
			||||||
       `(("firmware" ,arm-trusted-firmware-rk3328)
 | 
					       `(("firmware" ,arm-trusted-firmware-rk3328)
 | 
				
			||||||
         ,@(package-native-inputs base))))))
 | 
					         ,@(package-native-inputs base))))))
 | 
				
			||||||
| 
						 | 
					@ -912,9 +909,7 @@ to Novena upstream, does not load u-boot.img from the first partition.")
 | 
				
			||||||
           `(modify-phases ,phases
 | 
					           `(modify-phases ,phases
 | 
				
			||||||
              (add-after 'unpack 'set-environment
 | 
					              (add-after 'unpack 'set-environment
 | 
				
			||||||
                (lambda* (#:key inputs #:allow-other-keys)
 | 
					                (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
                  (setenv "BL31" (string-append (assoc-ref inputs "firmware")
 | 
					                  (setenv "BL31" (search-input-file inputs "/bl31.elf"))))
 | 
				
			||||||
                                                "/bl31.elf"))
 | 
					 | 
				
			||||||
                  #t))
 | 
					 | 
				
			||||||
              ;; Phases do not succeed on the bl31 ELF.
 | 
					              ;; Phases do not succeed on the bl31 ELF.
 | 
				
			||||||
              (delete 'strip)
 | 
					              (delete 'strip)
 | 
				
			||||||
              (delete 'validate-runpath)))))
 | 
					              (delete 'validate-runpath)))))
 | 
				
			||||||
| 
						 | 
					@ -932,9 +927,8 @@ to Novena upstream, does not load u-boot.img from the first partition.")
 | 
				
			||||||
           `(modify-phases ,phases
 | 
					           `(modify-phases ,phases
 | 
				
			||||||
              (add-after 'patch-rockpro64-config 'set-environment
 | 
					              (add-after 'patch-rockpro64-config 'set-environment
 | 
				
			||||||
                (lambda* (#:key inputs #:allow-other-keys)
 | 
					                (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
                  (setenv "BL31" (string-append (assoc-ref inputs "firmware")
 | 
					                  (setenv "BL31"
 | 
				
			||||||
                                                "/bl31.elf"))
 | 
					                          (search-input-file inputs "/bl31.elf"))))
 | 
				
			||||||
                  #t))
 | 
					 | 
				
			||||||
              ;; Phases do not succeed on the bl31 ELF.
 | 
					              ;; Phases do not succeed on the bl31 ELF.
 | 
				
			||||||
              (delete 'strip)
 | 
					              (delete 'strip)
 | 
				
			||||||
              (delete 'validate-runpath)))))
 | 
					              (delete 'validate-runpath)))))
 | 
				
			||||||
| 
						 | 
					@ -954,9 +948,8 @@ to Novena upstream, does not load u-boot.img from the first partition.")
 | 
				
			||||||
           `(modify-phases ,phases
 | 
					           `(modify-phases ,phases
 | 
				
			||||||
              (add-after 'unpack 'set-environment
 | 
					              (add-after 'unpack 'set-environment
 | 
				
			||||||
                (lambda* (#:key inputs #:allow-other-keys)
 | 
					                (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
                  (setenv "BL31" (string-append (assoc-ref inputs "firmware")
 | 
					                  (setenv "BL31"
 | 
				
			||||||
                                                "/bl31.elf"))
 | 
					                          (search-input-file inputs "/bl31.elf"))))
 | 
				
			||||||
                  #t))
 | 
					 | 
				
			||||||
              ;; Phases do not succeed on the bl31 ELF.
 | 
					              ;; Phases do not succeed on the bl31 ELF.
 | 
				
			||||||
              (delete 'strip)
 | 
					              (delete 'strip)
 | 
				
			||||||
              (delete 'validate-runpath)))))
 | 
					              (delete 'validate-runpath)))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1986,16 +1986,16 @@ previewing themes in real time.")
 | 
				
			||||||
               ;; replace them.
 | 
					               ;; replace them.
 | 
				
			||||||
               (with-directory-excursion "inst/www/shared"
 | 
					               (with-directory-excursion "inst/www/shared"
 | 
				
			||||||
                 (replace-file "strftime/strftime-min.js"
 | 
					                 (replace-file "strftime/strftime-min.js"
 | 
				
			||||||
                               (string-append (assoc-ref inputs "js-strftime")
 | 
					                               (search-input-file inputs
 | 
				
			||||||
                                                  "/share/javascript/strftime.min.js"))
 | 
					                                                  "/share/javascript/strftime.min.js"))
 | 
				
			||||||
                 (replace-file "highlight/highlight.pack.js"
 | 
					                 (replace-file "highlight/highlight.pack.js"
 | 
				
			||||||
                               (string-append (assoc-ref inputs "js-highlight")
 | 
					                               (search-input-file inputs
 | 
				
			||||||
                                                  "/share/javascript/highlight.min.js"))
 | 
					                                                  "/share/javascript/highlight.min.js"))
 | 
				
			||||||
                 (replace-file "datatables/js/jquery.dataTables.min.js"
 | 
					                 (replace-file "datatables/js/jquery.dataTables.min.js"
 | 
				
			||||||
                               (string-append (assoc-ref inputs "js-datatables")
 | 
					                               (search-input-file inputs
 | 
				
			||||||
                                                  "/share/javascript/jquery.dataTables.min.js"))
 | 
					                                                  "/share/javascript/jquery.dataTables.min.js"))
 | 
				
			||||||
                 (replace-file "selectize/js/selectize.min.js"
 | 
					                 (replace-file "selectize/js/selectize.min.js"
 | 
				
			||||||
                               (string-append (assoc-ref inputs "js-selectize")
 | 
					                               (search-input-file inputs
 | 
				
			||||||
                                                  "/share/javascript/selectize.min.js"))
 | 
					                                                  "/share/javascript/selectize.min.js"))
 | 
				
			||||||
                 (for-each (match-lambda
 | 
					                 (for-each (match-lambda
 | 
				
			||||||
                             ((source . target)
 | 
					                             ((source . target)
 | 
				
			||||||
| 
						 | 
					@ -2100,7 +2100,7 @@ responsive, and powerful applications with minimal effort.")
 | 
				
			||||||
         (add-after 'unpack 'replace-minified-javascript
 | 
					         (add-after 'unpack 'replace-minified-javascript
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (with-directory-excursion "inst/www/jsTree-3.3.7/"
 | 
					             (with-directory-excursion "inst/www/jsTree-3.3.7/"
 | 
				
			||||||
               (symlink (string-append (assoc-ref inputs "js-requirejs")
 | 
					               (symlink (search-input-file inputs
 | 
				
			||||||
                                           "/share/javascript/require.min.js")
 | 
					                                           "/share/javascript/require.min.js")
 | 
				
			||||||
                        "libs/require.js")
 | 
					                        "libs/require.js")
 | 
				
			||||||
               (call-with-values
 | 
					               (call-with-values
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -867,8 +867,8 @@ stored and user can review his performance in any time.")
 | 
				
			||||||
                                    (string-prefix? "python-" label)))
 | 
					                                    (string-prefix? "python-" label)))
 | 
				
			||||||
                                 inputs)))
 | 
					                                 inputs)))
 | 
				
			||||||
                   (qtwebengineprocess
 | 
					                   (qtwebengineprocess
 | 
				
			||||||
                    (string-append (assoc-ref inputs "qtwebengine")
 | 
					                    (search-input-file inputs
 | 
				
			||||||
                                   "/lib/qt5/libexec/QtWebEngineProcess")))
 | 
					                                       "lib/qt5/libexec/QtWebEngineProcess")))
 | 
				
			||||||
               ;; The program fails to find the QtWebEngineProcess program, so
 | 
					               ;; The program fails to find the QtWebEngineProcess program, so
 | 
				
			||||||
               ;; we set QTWEBENGINEPROCESS_PATH to help it.  PYTHONPATH is
 | 
					               ;; we set QTWEBENGINEPROCESS_PATH to help it.  PYTHONPATH is
 | 
				
			||||||
               ;; wrapped to avoid declaring Python libraries as propagated
 | 
					               ;; wrapped to avoid declaring Python libraries as propagated
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5512,11 +5512,11 @@ for Flow files.")
 | 
				
			||||||
             (make-file-writable "flycheck-grammalecte.el")
 | 
					             (make-file-writable "flycheck-grammalecte.el")
 | 
				
			||||||
             (emacs-substitute-variables "flycheck-grammalecte.el"
 | 
					             (emacs-substitute-variables "flycheck-grammalecte.el"
 | 
				
			||||||
               ("flycheck-grammalecte-grammalecte-directory"
 | 
					               ("flycheck-grammalecte-grammalecte-directory"
 | 
				
			||||||
                (string-append (assoc-ref inputs "grammalecte")
 | 
					                (search-input-directory
 | 
				
			||||||
                               "/lib/python"
 | 
					                 inputs
 | 
				
			||||||
 | 
					                 (string-append "lib/python"
 | 
				
			||||||
                                ,(version-major+minor (package-version python))
 | 
					                                ,(version-major+minor (package-version python))
 | 
				
			||||||
                               "/site-packages/grammalecte")))
 | 
					                                "/site-packages/grammalecte"))))))
 | 
				
			||||||
             #t))
 | 
					 | 
				
			||||||
         (add-after 'unpack 'do-not-phone-home
 | 
					         (add-after 'unpack 'do-not-phone-home
 | 
				
			||||||
           ;; The package wants to check upstream Grammalecte version to
 | 
					           ;; The package wants to check upstream Grammalecte version to
 | 
				
			||||||
           ;; decide if an update is in order.  Always return version
 | 
					           ;; decide if an update is in order.  Always return version
 | 
				
			||||||
| 
						 | 
					@ -26613,9 +26613,8 @@ REPL appropriate to the current major mode.")
 | 
				
			||||||
             (make-file-writable "rime.el")
 | 
					             (make-file-writable "rime.el")
 | 
				
			||||||
             (emacs-substitute-variables "rime.el"
 | 
					             (emacs-substitute-variables "rime.el"
 | 
				
			||||||
               ("rime-share-data-dir"
 | 
					               ("rime-share-data-dir"
 | 
				
			||||||
                (string-append (assoc-ref inputs "rime-data")
 | 
					                (search-input-directory inputs
 | 
				
			||||||
                               "/share/rime-data")))
 | 
					                                        "share/rime-data")))))
 | 
				
			||||||
             #t))
 | 
					 | 
				
			||||||
         (add-before 'install 'build-emacs-module
 | 
					         (add-before 'install 'build-emacs-module
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (invoke "make" "lib"))))))
 | 
					             (invoke "make" "lib"))))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -283,7 +283,7 @@ console.")
 | 
				
			||||||
           (add-before 'configure 'generate-fonts&hardcore-libvulkan-path
 | 
					           (add-before 'configure 'generate-fonts&hardcore-libvulkan-path
 | 
				
			||||||
             (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					             (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
				
			||||||
               (let ((fontfile
 | 
					               (let ((fontfile
 | 
				
			||||||
                      (string-append (assoc-ref inputs "font-wqy-microhei")
 | 
					                      (search-input-file inputs
 | 
				
			||||||
                                         "/share/fonts/truetype/wqy-microhei.ttc"))
 | 
					                                         "/share/fonts/truetype/wqy-microhei.ttc"))
 | 
				
			||||||
                     (libvulkan
 | 
					                     (libvulkan
 | 
				
			||||||
                      (search-input-file inputs "/lib/libvulkan.so")))
 | 
					                      (search-input-file inputs "/lib/libvulkan.so")))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,7 +5,7 @@
 | 
				
			||||||
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Eric Bavier <bavier@posteo.net>
 | 
					;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Eric Bavier <bavier@posteo.net>
 | 
				
			||||||
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
 | 
					;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
 | 
				
			||||||
;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net>
 | 
					;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net>
 | 
				
			||||||
;;; Copyright © 2014, 2015, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2014, 2015, 2018, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2014, 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
 | 
					;;; Copyright © 2014, 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
 | 
				
			||||||
;;; Copyright © 2014, 2015, 2019 Mark H Weaver <mhw@netris.org>
 | 
					;;; Copyright © 2014, 2015, 2019 Mark H Weaver <mhw@netris.org>
 | 
				
			||||||
;;; Copyright © 2015, 2016 Andreas Enge <andreas@enge.fr>
 | 
					;;; Copyright © 2015, 2016 Andreas Enge <andreas@enge.fr>
 | 
				
			||||||
| 
						 | 
					@ -678,8 +678,7 @@ possible, while battling many vicious aliens.")
 | 
				
			||||||
                    (bin (string-append out "/bin"))
 | 
					                    (bin (string-append out "/bin"))
 | 
				
			||||||
                    (doc (string-append out "/share/doc/bsd-games-" ,version))
 | 
					                    (doc (string-append out "/share/doc/bsd-games-" ,version))
 | 
				
			||||||
                    (man (string-append out "/share/man"))
 | 
					                    (man (string-append out "/share/man"))
 | 
				
			||||||
                    (word-list (string-append (assoc-ref inputs "miscfiles")
 | 
					                    (word-list (search-input-file inputs "/share/web2"))
 | 
				
			||||||
                                              "/share/web2"))
 | 
					 | 
				
			||||||
                    (static-data (string-append out "/share/games/bsd-games"))
 | 
					                    (static-data (string-append out "/share/games/bsd-games"))
 | 
				
			||||||
                    ;; Not a "./" because of substitute* in 'patch-install
 | 
					                    ;; Not a "./" because of substitute* in 'patch-install
 | 
				
			||||||
                    ;; below.  The .// allow us not to mess with the games'
 | 
					                    ;; below.  The .// allow us not to mess with the games'
 | 
				
			||||||
| 
						 | 
					@ -2346,8 +2345,8 @@ can be explored and changed freely.")
 | 
				
			||||||
           (lambda* (#:key outputs inputs #:allow-other-keys)
 | 
					           (lambda* (#:key outputs inputs #:allow-other-keys)
 | 
				
			||||||
             (let* ((out (assoc-ref outputs "out"))
 | 
					             (let* ((out (assoc-ref outputs "out"))
 | 
				
			||||||
                    (data (string-append out "/share/seahorse-adventures"))
 | 
					                    (data (string-append out "/share/seahorse-adventures"))
 | 
				
			||||||
                    (vera (string-append (assoc-ref inputs "font-bitstream-vera")
 | 
					                    (vera (search-input-file
 | 
				
			||||||
                                         "/share/fonts/truetype/Vera.ttf")))
 | 
					                           inputs "/share/fonts/truetype/Vera.ttf")))
 | 
				
			||||||
               (let ((themes-dir (string-append data "/data/themes/")))
 | 
					               (let ((themes-dir (string-append data "/data/themes/")))
 | 
				
			||||||
                 (for-each
 | 
					                 (for-each
 | 
				
			||||||
                  (lambda (theme)
 | 
					                  (lambda (theme)
 | 
				
			||||||
| 
						 | 
					@ -4772,8 +4771,8 @@ players.")
 | 
				
			||||||
          (replace 'configure
 | 
					          (replace 'configure
 | 
				
			||||||
          (lambda* (#:key outputs inputs #:allow-other-keys)
 | 
					          (lambda* (#:key outputs inputs #:allow-other-keys)
 | 
				
			||||||
            (let ((out (assoc-ref outputs "out"))
 | 
					            (let ((out (assoc-ref outputs "out"))
 | 
				
			||||||
                  (dejavu (string-append (assoc-ref inputs "font-dejavu")
 | 
					                  (dejavu (search-input-file
 | 
				
			||||||
                                         "/share/fonts/truetype/DejaVuSans.ttf")))
 | 
					                           inputs "/share/fonts/truetype/DejaVuSans.ttf")))
 | 
				
			||||||
              (substitute* "Makefile"
 | 
					              (substitute* "Makefile"
 | 
				
			||||||
                (("PREFIX=/usr/local") (string-append "PREFIX=" out)))
 | 
					                (("PREFIX=/usr/local") (string-append "PREFIX=" out)))
 | 
				
			||||||
              ;; The patch above registers a free font for use by the binary,
 | 
					              ;; The patch above registers a free font for use by the binary,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2014, 2015, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
 | 
					;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
 | 
				
			||||||
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
					;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
| 
						 | 
					@ -367,7 +367,7 @@ that is extensible via a plugin system.")
 | 
				
			||||||
         (replace 'configure
 | 
					         (replace 'configure
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (mkdir-p "tmppkgconfig")
 | 
					             (mkdir-p "tmppkgconfig")
 | 
				
			||||||
             (copy-file (string-append (assoc-ref inputs "gegl")
 | 
					             (copy-file (search-input-file inputs
 | 
				
			||||||
                                           "/lib/pkgconfig/gegl-0.4.pc")
 | 
					                                           "/lib/pkgconfig/gegl-0.4.pc")
 | 
				
			||||||
                        "tmppkgconfig/gegl-0.3.pc")
 | 
					                        "tmppkgconfig/gegl-0.3.pc")
 | 
				
			||||||
             (setenv "PKG_CONFIG_PATH"
 | 
					             (setenv "PKG_CONFIG_PATH"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10196,9 +10196,7 @@ that support the Assistive Technology Service Provider Interface (AT-SPI).")
 | 
				
			||||||
             ;; Allow Enchant and its Aspell backend to find the en_US
 | 
					             ;; Allow Enchant and its Aspell backend to find the en_US
 | 
				
			||||||
             ;; dictionary.
 | 
					             ;; dictionary.
 | 
				
			||||||
             (setenv "ASPELL_DICT_DIR"
 | 
					             (setenv "ASPELL_DICT_DIR"
 | 
				
			||||||
                     (string-append (assoc-ref inputs "aspell-dict-en")
 | 
					                     (search-input-directory inputs "/lib/aspell")))))))
 | 
				
			||||||
                                    "/lib/aspell"))
 | 
					 | 
				
			||||||
             #t)))))
 | 
					 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("gtk+" ,gtk+)
 | 
					     `(("gtk+" ,gtk+)
 | 
				
			||||||
       ("glib" ,glib)
 | 
					       ("glib" ,glib)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4671,8 +4671,8 @@ schedulers.")
 | 
				
			||||||
                           "yaml/libyaml.scm"
 | 
					                           "yaml/libyaml.scm"
 | 
				
			||||||
                           ;; This file is mismatched with the generated FFI code.
 | 
					                           ;; This file is mismatched with the generated FFI code.
 | 
				
			||||||
                           "yaml/ffi-help-rt.scm"))
 | 
					                           "yaml/ffi-help-rt.scm"))
 | 
				
			||||||
               (copy-file (string-append (assoc-ref inputs "nyacc")
 | 
					               (copy-file (search-input-file
 | 
				
			||||||
                                         "/share/guile/site/3.0/system/ffi-help-rt.scm")
 | 
					                           inputs "/share/guile/site/3.0/system/ffi-help-rt.scm")
 | 
				
			||||||
                          "yaml/ffi-help-rt.scm")
 | 
					                          "yaml/ffi-help-rt.scm")
 | 
				
			||||||
               (substitute* "yaml/ffi-help-rt.scm"
 | 
					               (substitute* "yaml/ffi-help-rt.scm"
 | 
				
			||||||
                 (("system ffi-help-rt") "yaml ffi-help-rt"))
 | 
					                 (("system ffi-help-rt") "yaml ffi-help-rt"))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1569,8 +1569,8 @@ bootstrapping purposes.")
 | 
				
			||||||
           (add-after 'install 'install-keystore
 | 
					           (add-after 'install 'install-keystore
 | 
				
			||||||
             (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					             (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
				
			||||||
               (let* ((keystore  "cacerts")
 | 
					               (let* ((keystore  "cacerts")
 | 
				
			||||||
                      (certs-dir (string-append (assoc-ref inputs "nss-certs")
 | 
					                      (certs-dir (search-input-directory inputs
 | 
				
			||||||
                                                "/etc/ssl/certs"))
 | 
					                                                         "etc/ssl/certs"))
 | 
				
			||||||
                      (keytool   (string-append (assoc-ref outputs "jdk")
 | 
					                      (keytool   (string-append (assoc-ref outputs "jdk")
 | 
				
			||||||
                                                "/bin/keytool")))
 | 
					                                                "/bin/keytool")))
 | 
				
			||||||
                 (define (extract-cert file target)
 | 
					                 (define (extract-cert file target)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -130,8 +130,7 @@
 | 
				
			||||||
           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
				
			||||||
             (substitute* "configure.ac"
 | 
					             (substitute* "configure.ac"
 | 
				
			||||||
               (("/usr/share/anthy/anthy.dic")
 | 
					               (("/usr/share/anthy/anthy.dic")
 | 
				
			||||||
                (string-append (assoc-ref inputs "anthy")
 | 
					                (search-input-file inputs "/share/anthy/anthy.dic")))
 | 
				
			||||||
                               "/share/anthy/anthy.dic")))
 | 
					 | 
				
			||||||
             (substitute* "configure.ac"
 | 
					             (substitute* "configure.ac"
 | 
				
			||||||
               (("/usr/bin:\\$GTK3_LIBDIR/libgtk-3-0")
 | 
					               (("/usr/bin:\\$GTK3_LIBDIR/libgtk-3-0")
 | 
				
			||||||
                (string-append (assoc-ref inputs "gtk+:bin")
 | 
					                (string-append (assoc-ref inputs "gtk+:bin")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2014, 2016, 2018 Eric Bavier <bavier@member.fsf.org>
 | 
					;;; Copyright © 2014, 2016, 2018 Eric Bavier <bavier@member.fsf.org>
 | 
				
			||||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 | 
					;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 | 
				
			||||||
;;; Copyright © 2015, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2015, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2016 Dennis Mungai <dmngaie@gmail.com>
 | 
					;;; Copyright © 2016 Dennis Mungai <dmngaie@gmail.com>
 | 
				
			||||||
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2016, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
 | 
					;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@
 | 
				
			||||||
;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
 | 
					;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
 | 
				
			||||||
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
					;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;; Copyright © 2018 ison <ison@airmail.cc>
 | 
					;;; Copyright © 2018 ison <ison@airmail.cc>
 | 
				
			||||||
;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2018, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net>
 | 
					;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -370,8 +370,7 @@ with freedesktop.org standard.")
 | 
				
			||||||
               #t)))
 | 
					               #t)))
 | 
				
			||||||
         (add-after 'patch-share-dirs 'patch-mime-dirs
 | 
					         (add-after 'patch-share-dirs 'patch-mime-dirs
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (let* ((mime (string-append (assoc-ref inputs "shared-mime-info")
 | 
					             (let* ((mime (search-input-directory inputs "/share/mime")))
 | 
				
			||||||
                                         "/share/mime")))
 | 
					 | 
				
			||||||
               (with-directory-excursion "src"
 | 
					               (with-directory-excursion "src"
 | 
				
			||||||
                 (substitute* '("mime-type/mime-type.c" "ptk/ptk-file-menu.c")
 | 
					                 (substitute* '("mime-type/mime-type.c" "ptk/ptk-file-menu.c")
 | 
				
			||||||
                   (("/usr(/local)?/share/mime") mime)))
 | 
					                   (("/usr(/local)?/share/mime") mime)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2014, 2015, 2017, 2020 Mark H Weaver <mhw@netris.org>
 | 
					;;; Copyright © 2014, 2015, 2017, 2020 Mark H Weaver <mhw@netris.org>
 | 
				
			||||||
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
 | 
					;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
 | 
				
			||||||
;;; Copyright © 2014 Sou Bunnbu <iyzsong@gmail.com>
 | 
					;;; Copyright © 2014 Sou Bunnbu <iyzsong@gmail.com>
 | 
				
			||||||
| 
						 | 
					@ -1632,7 +1632,7 @@ compresses it.")
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (substitute* "src/procmime.c"
 | 
					             (substitute* "src/procmime.c"
 | 
				
			||||||
               (("/usr/share/mime/globs")
 | 
					               (("/usr/share/mime/globs")
 | 
				
			||||||
                (string-append (assoc-ref inputs "shared-mime-info")
 | 
					                (search-input-directory inputs
 | 
				
			||||||
                                        "/share/mime/globs"))))))))
 | 
					                                        "/share/mime/globs"))))))))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("bison" ,bison)
 | 
					     `(("bison" ,bison)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
 | 
					;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
 | 
				
			||||||
;;; Copyright © 2015, 2016 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2015, 2016, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
					;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
| 
						 | 
					@ -132,8 +132,7 @@
 | 
				
			||||||
             (display (string-append "LDFLAGS += -Wl,-rpath=" %output "/lib") f)
 | 
					             (display (string-append "LDFLAGS += -Wl,-rpath=" %output "/lib") f)
 | 
				
			||||||
             (close-port f))
 | 
					             (close-port f))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
           (let ((rgb (string-append (assoc-ref inputs "xorg-rgb")
 | 
					           (let ((rgb (search-input-file inputs "/share/X11/rgb.txt")))
 | 
				
			||||||
                                     "/share/X11/rgb.txt")))
 | 
					 | 
				
			||||||
             (substitute* "config.mk"
 | 
					             (substitute* "config.mk"
 | 
				
			||||||
               (("/usr/share/netpbm/rgb.txt") rgb))
 | 
					               (("/usr/share/netpbm/rgb.txt") rgb))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -655,7 +655,7 @@ systems with no further dependencies.")
 | 
				
			||||||
             (substitute* '("blueman/main/NetConf.py"
 | 
					             (substitute* '("blueman/main/NetConf.py"
 | 
				
			||||||
                            "blueman/main/PPPConnection.py")
 | 
					                            "blueman/main/PPPConnection.py")
 | 
				
			||||||
               (("/usr/sbin/bluetoothd")
 | 
					               (("/usr/sbin/bluetoothd")
 | 
				
			||||||
                (string-append (assoc-ref inputs "bluez")
 | 
					                (search-input-directory inputs
 | 
				
			||||||
                                        "/libexec/bluetooth/bluetoothd"))
 | 
					                                        "/libexec/bluetooth/bluetoothd"))
 | 
				
			||||||
               (("/sbin/iptables")
 | 
					               (("/sbin/iptables")
 | 
				
			||||||
                (search-input-file inputs "/sbin/iptables"))
 | 
					                (search-input-file inputs "/sbin/iptables"))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
 | 
					;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
 | 
				
			||||||
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
 | 
					;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
 | 
				
			||||||
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 | 
					;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 | 
				
			||||||
;;; Copyright © 2014, 2017, 2019 Eric Bavier <bavier@member.fsf.org>
 | 
					;;; Copyright © 2014, 2017, 2019 Eric Bavier <bavier@member.fsf.org>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2013, 2014, 2015, 2016, 2018, 2020 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2013, 2014, 2015, 2016, 2018, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 | 
					;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 | 
				
			||||||
;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch>
 | 
					;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch>
 | 
				
			||||||
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
| 
						 | 
					@ -621,8 +621,7 @@ utility functions for all standard Scheme implementations.")
 | 
				
			||||||
         (replace 'build
 | 
					         (replace 'build
 | 
				
			||||||
                  (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					                  (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
				
			||||||
                    (setenv "SCHEME_LIBRARY_PATH"
 | 
					                    (setenv "SCHEME_LIBRARY_PATH"
 | 
				
			||||||
                            (string-append (assoc-ref inputs "slib")
 | 
					                            (search-input-directory inputs "lib/slib"))
 | 
				
			||||||
                                           "/lib/slib/"))
 | 
					 | 
				
			||||||
                    (invoke "make" "scmlit" "CC=gcc")
 | 
					                    (invoke "make" "scmlit" "CC=gcc")
 | 
				
			||||||
                    (invoke "make" "all")))
 | 
					                    (invoke "make" "all")))
 | 
				
			||||||
         (add-after 'install 'post-install
 | 
					         (add-after 'install 'post-install
 | 
				
			||||||
| 
						 | 
					@ -632,8 +631,7 @@ utility functions for all standard Scheme implementations.")
 | 
				
			||||||
                        (delete-file req)
 | 
					                        (delete-file req)
 | 
				
			||||||
                        (format (open req (logior O_WRONLY O_CREAT))
 | 
					                        (format (open req (logior O_WRONLY O_CREAT))
 | 
				
			||||||
                                "(define (library-vicinity) ~s)\n"
 | 
					                                "(define (library-vicinity) ~s)\n"
 | 
				
			||||||
                                (string-append (assoc-ref inputs "slib")
 | 
					                                (search-input-directory inputs "lib/slib"))
 | 
				
			||||||
                                               "/lib/slib/"))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        ;; We must generate the slibcat file.
 | 
					                        ;; We must generate the slibcat file.
 | 
				
			||||||
                        (invoke (string-append out "/bin/scm")
 | 
					                        (invoke (string-append out "/bin/scm")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2014, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 | 
					;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 | 
				
			||||||
;;; Copyright © 2016 Mike Gerwitz <mtg@gnu.org>
 | 
					;;; Copyright © 2016 Mike Gerwitz <mtg@gnu.org>
 | 
				
			||||||
;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
 | 
					;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
 | 
				
			||||||
| 
						 | 
					@ -614,10 +614,11 @@ your existing infrastructure.")
 | 
				
			||||||
         (add-after 'unpack 'install-public-suffix-list
 | 
					         (add-after 'unpack 'install-public-suffix-list
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (copy-file
 | 
					             (copy-file
 | 
				
			||||||
              (string-append (assoc-ref inputs "public-suffix-list")
 | 
					              (search-input-file inputs
 | 
				
			||||||
 | 
					                                 (string-append
 | 
				
			||||||
                                  "/share/public-suffix-list-"
 | 
					                                  "/share/public-suffix-list-"
 | 
				
			||||||
                                  ,(package-version public-suffix-list)
 | 
					                                  ,(package-version public-suffix-list)
 | 
				
			||||||
                             "/public_suffix_list.dat")
 | 
					                                  "/public_suffix_list.dat"))
 | 
				
			||||||
              "fido2/public_suffix_list.dat")
 | 
					              "fido2/public_suffix_list.dat")
 | 
				
			||||||
             #t)))))
 | 
					             #t)))))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -434,9 +434,8 @@ a simple interface that makes it easy to organize and browse feeds.")
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (setenv "HOME" (getcwd))
 | 
					             (setenv "HOME" (getcwd))
 | 
				
			||||||
             (setenv "TERM" "linux")
 | 
					             (setenv "TERM" "linux")
 | 
				
			||||||
             (setenv "TERMINFO" (string-append (assoc-ref inputs "ncurses")
 | 
					             (setenv "TERMINFO"
 | 
				
			||||||
                                               "/share/terminfo"))
 | 
					                     (search-input-directory inputs "share/terminfo")))))
 | 
				
			||||||
             #t)))
 | 
					 | 
				
			||||||
       #:tests? #f)) ; tests fail: _curses.error: nocbreak() returned ERR
 | 
					       #:tests? #f)) ; tests fail: _curses.error: nocbreak() returned ERR
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("python-beautifulsoup4" ,python-beautifulsoup4)
 | 
					     `(("python-beautifulsoup4" ,python-beautifulsoup4)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -867,8 +867,7 @@ number generator")
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-after 'unpack 'patch-paths
 | 
					         (add-after 'unpack 'patch-paths
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (let ((pem (string-append (assoc-ref inputs "libressl")
 | 
					             (let ((pem (search-input-file inputs "/etc/ssl/cert.pem")))
 | 
				
			||||||
                                       "/etc/ssl/cert.pem")))
 | 
					 | 
				
			||||||
               (substitute* "http.c"
 | 
					               (substitute* "http.c"
 | 
				
			||||||
                 (("/etc/ssl/cert.pem") pem))
 | 
					                 (("/etc/ssl/cert.pem") pem))
 | 
				
			||||||
               #t)))
 | 
					               #t)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
 | 
					;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
 | 
				
			||||||
;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
 | 
					;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
 | 
				
			||||||
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
 | 
					;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
 | 
				
			||||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
 | 
					;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
 | 
				
			||||||
| 
						 | 
					@ -5725,7 +5725,7 @@ w3c webidl files and a binding configuration file.")
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (substitute* '("test/bloom.c" "test/hashtable.c")
 | 
					             (substitute* '("test/bloom.c" "test/hashtable.c")
 | 
				
			||||||
               (("/usr/share/dict/words")
 | 
					               (("/usr/share/dict/words")
 | 
				
			||||||
                (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
 | 
					                (search-input-file inputs "/share/web2")))
 | 
				
			||||||
             #t))
 | 
					             #t))
 | 
				
			||||||
         (add-after 'install 'install-more
 | 
					         (add-after 'install 'install-more
 | 
				
			||||||
           (lambda* (#:key outputs #:allow-other-keys)
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -417,10 +417,10 @@ integrate Windows applications into your desktop.")
 | 
				
			||||||
                    (let* ((out (assoc-ref outputs "out"))
 | 
					                    (let* ((out (assoc-ref outputs "out"))
 | 
				
			||||||
                           (icd (string-append out "/share/vulkan/icd.d")))
 | 
					                           (icd (string-append out "/share/vulkan/icd.d")))
 | 
				
			||||||
                      (mkdir-p icd)
 | 
					                      (mkdir-p icd)
 | 
				
			||||||
                      (copy-file (string-append (assoc-ref inputs "mesa")
 | 
					                      (copy-file (search-input-file inputs
 | 
				
			||||||
                                 "/share/vulkan/icd.d/radeon_icd.i686.json")
 | 
					                                 "/share/vulkan/icd.d/radeon_icd.i686.json")
 | 
				
			||||||
                                 (string-append icd "/radeon_icd.i686.json"))
 | 
					                                 (string-append icd "/radeon_icd.i686.json"))
 | 
				
			||||||
                      (copy-file (string-append (assoc-ref inputs "mesa")
 | 
					                      (copy-file (search-input-file inputs
 | 
				
			||||||
                                 "/share/vulkan/icd.d/intel_icd.i686.json")
 | 
					                                 "/share/vulkan/icd.d/intel_icd.i686.json")
 | 
				
			||||||
                                 (string-append icd "/intel_icd.i686.json"))
 | 
					                                 (string-append icd "/intel_icd.i686.json"))
 | 
				
			||||||
                      (wrap-program (string-append out "/bin/wine-preloader")
 | 
					                      (wrap-program (string-append out "/bin/wine-preloader")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -100,8 +100,7 @@
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-after 'unpack 'refer-to-inputs
 | 
					         (add-after 'unpack 'refer-to-inputs
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (let* ((mime (string-append (assoc-ref inputs "shared-mime-info")
 | 
					             (let* ((mime (search-input-directory inputs "/share/mime")))
 | 
				
			||||||
                                         "/share/mime")))
 | 
					 | 
				
			||||||
               (substitute* "src/unix/utilsx11.cpp"
 | 
					               (substitute* "src/unix/utilsx11.cpp"
 | 
				
			||||||
                 (("wxExecute\\(xdg_open \\+")
 | 
					                 (("wxExecute\\(xdg_open \\+")
 | 
				
			||||||
                  (string-append "wxExecute(\"" (which "xdg-open") "\"")))
 | 
					                  (string-append "wxExecute(\"" (which "xdg-open") "\"")))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue