From 3515500f5148ccc6763cd4aa8b209129c86aff6c Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Tue, 6 May 2008 08:11:45 +0000 Subject: make fdo-mime.eclass ready for eclass-manpages, bug #211223, thank mren for report. foser retired moved maintaining to freedesktop-bugs. --- eclass/fdo-mime.eclass | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'eclass/fdo-mime.eclass') diff --git a/eclass/fdo-mime.eclass b/eclass/fdo-mime.eclass index 925586964f19..fd5791fe6ecf 100644 --- a/eclass/fdo-mime.eclass +++ b/eclass/fdo-mime.eclass @@ -1,36 +1,35 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/fdo-mime.eclass,v 1.6 2008/02/10 14:47:14 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/fdo-mime.eclass,v 1.7 2008/05/06 08:11:45 pva Exp $ -# Author: -# foser +# @ECLASS: fdo-mime.eclass +# @MAINTAINER: freedesktop-bugs@gentoo.org +# +# +# Original author: foser +# @BLURB: Utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations -# utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations -# - -# Updates the desktop database +# @FUNCTION: fdo-mime_desktop_database_update +# @DESCRIPTION: +# Updates the desktop database. # Generates a list of mimetypes linked to applications that can handle them - fdo-mime_desktop_database_update() { - if [ -x "${ROOT}/usr/bin/update-desktop-database" ] then einfo "Updating desktop mime database ..." "${ROOT}/usr/bin/update-desktop-database" -q "${ROOT}/usr/share/applications" fi - } -# Update the mime database +# @FUNCTION: fdo-mime_mime_database_update +# @DESCRIPTION: +# Update the mime database. # Creates a general list of mime types from several sources - fdo-mime_mime_database_update() { - if [ -x "${ROOT}/usr/bin/update-mime-database" ] then einfo "Updating shared mime info database ..." "${ROOT}/usr/bin/update-mime-database" "${ROOT}/usr/share/mime" fi - } -- cgit v1.2.3-65-gdbad