diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-10-31 12:20:28 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-10-31 12:40:31 +0900 |
| commit | 66599e2e775f16703e65e446d31b8fc75d308525 (patch) | |
| tree | 1930a66c04c41fd89ea0217189da90b65aff0c6f /gnu | |
| parent | e08fffcd9a0b0c5474e114152ed861bd30e0bd26 (diff) | |
gnu: icecat: Patch to .desktop file, to fix opening file or links.
* gnu/packages/patches/icecat-adjust-mozilla-desktop.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gnuzilla.scm (icecat-minimal)
[#phases] {apply-guix-specific-patches}: Apply it.
Fixes: #3566
Suggested-by: Ron Nazarov <ron@noisytoot.org>
Change-Id: I1fcc0829a4d079e4154be2f186bf9bab4da92e3f
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/local.mk | 1 | ||||
| -rw-r--r-- | gnu/packages/gnuzilla.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/patches/icecat-adjust-mozilla-desktop.patch | 15 |
3 files changed, 19 insertions, 1 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index abedd37ff7a..9ba15ccbcf9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1583,6 +1583,7 @@ dist_patch_DATA = \ %D%/packages/patches/hurd-startup.patch \ %D%/packages/patches/hwloc-1-test-btrfs.patch \ %D%/packages/patches/i7z-gcc-10.patch \ + %D%/packages/patches/icecat-adjust-mozilla-desktop.patch \ %D%/packages/patches/icecat-makeicecat.patch \ %D%/packages/patches/icecat-avoid-bundled-libraries.patch \ %D%/packages/patches/icecat-compare-paths.patch \ diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 259f9a6fc6e..b54189a56a9 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -941,7 +941,9 @@ preferences/advanced-scripts.dtd" #$(local-file (search-patch "icecat-use-system-wide-dir.patch")) #$(local-file - (search-patch "icecat-fhs-configure-option.patch")))))) + (search-patch "icecat-fhs-configure-option.patch")) + #$(local-file + (search-patch "icecat-adjust-mozilla-desktop.patch")))))) (add-after 'apply-guix-specific-patches 'remove-bundled-libraries (lambda _ ;; Remove bundled libraries that we don't use, since they may diff --git a/gnu/packages/patches/icecat-adjust-mozilla-desktop.patch b/gnu/packages/patches/icecat-adjust-mozilla-desktop.patch new file mode 100644 index 00000000000..263c5e3846a --- /dev/null +++ b/gnu/packages/patches/icecat-adjust-mozilla-desktop.patch @@ -0,0 +1,15 @@ +Upstream-status: https://phabricator.services.mozilla.com/D270791 + +diff --git a/toolkit/mozapps/installer/linux/rpm/mozilla.desktop b/toolkit/mozapps/installer/linux/rpm/mozilla.desktop +index 79048fcf7c94..13c103f683b0 100644 +--- a/toolkit/mozapps/installer/linux/rpm/mozilla.desktop ++++ b/toolkit/mozapps/installer/linux/rpm/mozilla.desktop +@@ -8,7 +8,7 @@ Version=1.0 + Name=@MOZ_APP_DISPLAYNAME@ + GenericName=Web Browser + Comment=Your web, the way you like it +-Exec=@MOZ_APP_NAME@ ++Exec=@MOZ_APP_NAME@ %u + Icon=@MOZ_APP_NAME@ + Terminal=false + Type=Application |
