diff options
author | Hilton Chain <hako@ultrarare.space> | 2025-04-10 20:09:59 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2025-04-10 20:17:57 +0800 |
commit | d18387f467ec86b5f0df408c60d7605bb4d96e51 (patch) | |
tree | 3dbe97fab0875875b57ca267239aba5d8bc2749b /nongnu | |
parent | 7fe5058817cda2a21611d7869ac7017a94239ff8 (diff) |
nongnu: Deprecate firefox-esr-wayland.
Since Firefox ESR has already been above version 121, this variable can be
deprecated.
* nongnu/packages/mozilla.scm (firefox-esr/wayland): Deprecated by
firefox-esr.
Diffstat (limited to 'nongnu')
-rw-r--r-- | nongnu/packages/mozilla.scm | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/nongnu/packages/mozilla.scm b/nongnu/packages/mozilla.scm index 8476a8b..4656d28 100644 --- a/nongnu/packages/mozilla.scm +++ b/nongnu/packages/mozilla.scm @@ -517,42 +517,6 @@ the official icon and the name \"firefox\". This is the Extended Support Release (ESR) version.") (license license:mpl2.0))) -(define-public firefox-esr/wayland - (package - (inherit firefox-esr) - (name "firefox-esr-wayland") - (native-inputs '()) - (inputs - `(("bash" ,bash-minimal) - ("firefox-esr" ,firefox-esr))) - (build-system trivial-build-system) - (arguments - '(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let* ((bash (assoc-ref %build-inputs "bash")) - (firefox (assoc-ref %build-inputs "firefox-esr")) - (out (assoc-ref %outputs "out")) - (exe (string-append out "/bin/firefox"))) - (mkdir-p (dirname exe)) - - (call-with-output-file exe - (lambda (port) - (format port "#!~a -MOZ_ENABLE_WAYLAND=1 exec ~a $@\n" - (string-append bash "/bin/bash") - (string-append firefox "/bin/firefox")))) - (chmod exe #o555) - - ;; Provide the manual and .desktop file. - (copy-recursively (string-append firefox "/share") - (string-append out "/share")) - (substitute* (string-append - out "/share/applications/firefox.desktop") - ((firefox) out)) - #t)))))) - ;; Update this id with every firefox update to its release date. ;; It's used for cache validation and therefore can lead to strange bugs. (define %firefox-build-id "20250331082115") @@ -609,5 +573,7 @@ the official icon and the name \"firefox\"."))) ;; As of Firefox 121.0, Firefox uses Wayland by default. This means we no ;; longer need a seperate package for Firefox on Wayland. +(define-public firefox-esr/wayland + (deprecated-package "firefox-esr-wayland" firefox-esr)) (define-public firefox-wayland (deprecated-package "firefox-wayland" firefox)) |