From 7eba33ce7cc0e16714ef67536877667ad7f9f2a0 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Sun, 8 Jan 2012 11:35:42 +0000 Subject: Insert 'MimeType=x-scheme-handler/http;x-scheme-handler/https;' to the .desktop file so Links can be selected as default browser in, for example, the Xfce desktop environment. (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) --- www-client/links/ChangeLog | 7 ++++++- www-client/links/links-2.5.ebuild | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'www-client') diff --git a/www-client/links/ChangeLog b/www-client/links/ChangeLog index fe31f90ce10e..239b58d6f469 100644 --- a/www-client/links/ChangeLog +++ b/www-client/links/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/links # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.148 2012/01/03 12:38:15 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.149 2012/01/08 11:35:42 ssuominen Exp $ + + 08 Jan 2012; Samuli Suominen links-2.5.ebuild: + Insert 'MimeType=x-scheme-handler/http;x-scheme-handler/https;' to the + .desktop file so Links can be selected as default browser in, for example, + the Xfce desktop environment. 03 Jan 2012; Jeroen Roovers links-2.4-r2.ebuild: Stable for HPPA (bug #396519). diff --git a/www-client/links/links-2.5.ebuild b/www-client/links/links-2.5.ebuild index 70806bb10588..7626f6bbb9a8 100644 --- a/www-client/links/links-2.5.ebuild +++ b/www-client/links/links-2.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.5.ebuild,v 1.1 2012/01/03 09:41:23 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.5.ebuild,v 1.2 2012/01/08 11:35:42 ssuominen Exp $ EAPI=4 inherit autotools eutils @@ -106,7 +106,9 @@ src_install() { if use X; then newicon Links_logo.png ${PN}.png - make_desktop_entry "${PN} -g" Links ${PN} "Network;WebBrowser" + make_desktop_entry "${PN} -g" Links ${PN} 'Network;WebBrowser' + echo 'MimeType=x-scheme-handler/http;x-scheme-handler/https;' \ + >> "${ED}"usr/share/applications/*.desktop fi dohtml doc/links_cal/* -- cgit v1.2.3-65-gdbad