mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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
This commit is contained in:
parent
e08fffcd9a
commit
66599e2e77
3 changed files with 19 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
15
gnu/packages/patches/icecat-adjust-mozilla-desktop.patch
Normal file
15
gnu/packages/patches/icecat-adjust-mozilla-desktop.patch
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue