netsurf/browser: make the .desktop file actually call netsurf

Since the transition of netsurf to gtk3, the binary name is 'netsurf-gtk3', but
the .desktop file still uses 'netsurf-gtk'. Correct the 'Exec' entry of the
.desktop file accordingly.

Already reported before by Andinus <andinus () nand ! sh>, thanks!

OK kn@ and bentley@ (maintainer)
This commit is contained in:
cwen 2021-01-11 02:17:58 +00:00
parent 141cd718f9
commit 9dc95cf81c
2 changed files with 19 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.40 2020/05/28 15:25:26 cwen Exp $
# $OpenBSD: Makefile,v 1.41 2021/01/11 02:17:58 cwen Exp $
COMMENT = lightweight web browser, with GTK interface
NETSURF_PROJECT = netsurf
NETSURF_VERSION = 3.10
REVISION = 0
REVISION = 1
HOMEPAGE = https://www.netsurf-browser.org/
MASTER_SITES = https://download.netsurf-browser.org/netsurf/releases/source/

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-frontends_gtk_res_netsurf-gtk_desktop,v 1.1 2021/01/11 02:17:59 cwen Exp $
Make the .desktop file actually call Netsurf
See https://bugs.netsurf-browser.org/mantis/view.php?id=2805
Index: frontends/gtk/res/netsurf-gtk.desktop
--- frontends/gtk/res/netsurf-gtk.desktop.orig
+++ frontends/gtk/res/netsurf-gtk.desktop
@@ -57,7 +57,7 @@ GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[sk]=Internetový prehliadač
-Exec=netsurf-gtk %u
+Exec=netsurf-gtk3 %u
Terminal=false
X-MultipleArgs=false
Type=Application