summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/gnuzilla.scm4
-rw-r--r--gnu/packages/patches/icecat-adjust-mozilla-desktop.patch15
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