summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2010-07-04 17:33:18 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2010-07-04 17:33:18 +0000
commitbadc33a2406d79c04eefe508a704ad238e3d8baa (patch)
tree720e905eb976f98d6d392be6fe0a00e32f9a2a78 /www-client
parentppc64 stable wrt #299388 (diff)
downloadgentoo-2-badc33a2406d79c04eefe508a704ad238e3d8baa.tar.gz
gentoo-2-badc33a2406d79c04eefe508a704ad238e3d8baa.tar.bz2
gentoo-2-badc33a2406d79c04eefe508a704ad238e3d8baa.zip
Added MimeType field to the .desktop file, so that .html and other files can be opened with Chromium. Patch by Daniel Schoemer <daniel.schoemer@gmx.net>, bug #326863.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/chromium/ChangeLog8
-rw-r--r--www-client/chromium/chromium-6.0.453.1.ebuild5
-rw-r--r--www-client/chromium/chromium-9999.ebuild5
3 files changed, 13 insertions, 5 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog
index ea199a4a9f43..8f65fefdf2be 100644
--- a/www-client/chromium/ChangeLog
+++ b/www-client/chromium/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-client/chromium
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.131 2010/07/03 14:25:20 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.132 2010/07/04 17:33:18 phajdan.jr Exp $
+
+ 04 Jul 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ chromium-6.0.453.1.ebuild, chromium-9999.ebuild:
+ Added MimeType field to the .desktop file, so that .html and other files
+ can be opened with Chromium. Patch by Daniel Schoemer
+ <daniel.schoemer@gmx.net>, bug #326863.
03 Jul 2010; Pacho Ramos <pacho@gentoo.org> chromium-5.0.375.99.ebuild:
amd64 stable, security bug #326717
diff --git a/www-client/chromium/chromium-6.0.453.1.ebuild b/www-client/chromium/chromium-6.0.453.1.ebuild
index 96b9b54219c9..e36346527679 100644
--- a/www-client/chromium/chromium-6.0.453.1.ebuild
+++ b/www-client/chromium/chromium-6.0.453.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-6.0.453.1.ebuild,v 1.1 2010/07/03 09:34:47 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-6.0.453.1.ebuild,v 1.2 2010/07/04 17:33:18 phajdan.jr Exp $
EAPI="2"
@@ -193,7 +193,8 @@ src_install() {
# Install icon and desktop entry.
newicon out/Release/product_logo_48.png ${PN}-browser.png
dosym "$(get_chromium_home)/chromium-launcher.sh" /usr/bin/chromium
- make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser"
+ make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser" \
+ "MimeType=text/html;text/xml;application/xhtml+xml;"
sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \
|| die "desktop file sed failed"
diff --git a/www-client/chromium/chromium-9999.ebuild b/www-client/chromium/chromium-9999.ebuild
index d56bbf942165..e6f7a616b5ea 100644
--- a/www-client/chromium/chromium-9999.ebuild
+++ b/www-client/chromium/chromium-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.64 2010/07/03 09:34:47 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.65 2010/07/04 17:33:18 phajdan.jr Exp $
EAPI="2"
@@ -235,7 +235,8 @@ src_install() {
# Install icon and desktop entry.
newicon out/Release/product_logo_48.png ${PN}-browser.png
dosym "$(get_chromium_home)/chromium-launcher.sh" /usr/bin/chromium
- make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser"
+ make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser" \
+ "MimeType=text/html;text/xml;application/xhtml+xml;"
sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \
|| die "desktop file sed failed"