1 |
pva 08/05/06 08:11:45 |
2 |
|
3 |
Modified: fdo-mime.eclass |
4 |
Log: |
5 |
make fdo-mime.eclass ready for eclass-manpages, bug #211223, thank mren for report. foser retired moved maintaining to freedesktop-bugs. |
6 |
|
7 |
Revision Changes Path |
8 |
1.7 eclass/fdo-mime.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/fdo-mime.eclass?rev=1.7&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/fdo-mime.eclass?rev=1.7&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/fdo-mime.eclass?r1=1.6&r2=1.7 |
13 |
|
14 |
Index: fdo-mime.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/fdo-mime.eclass,v |
17 |
retrieving revision 1.6 |
18 |
retrieving revision 1.7 |
19 |
diff -u -r1.6 -r1.7 |
20 |
--- fdo-mime.eclass 10 Feb 2008 14:47:14 -0000 1.6 |
21 |
+++ fdo-mime.eclass 6 May 2008 08:11:45 -0000 1.7 |
22 |
@@ -1,36 +1,35 @@ |
23 |
-# Copyright 1999-2004 Gentoo Foundation |
24 |
+# Copyright 1999-2008 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/fdo-mime.eclass,v 1.6 2008/02/10 14:47:14 eva Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/fdo-mime.eclass,v 1.7 2008/05/06 08:11:45 pva Exp $ |
28 |
|
29 |
-# Author: |
30 |
-# foser <foser@g.o> |
31 |
+# @ECLASS: fdo-mime.eclass |
32 |
+# @MAINTAINER: freedesktop-bugs@g.o |
33 |
+# |
34 |
+# |
35 |
+# Original author: foser <foser@g.o> |
36 |
+# @BLURB: Utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations |
37 |
|
38 |
-# utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations |
39 |
-# <references here> |
40 |
|
41 |
- |
42 |
-# Updates the desktop database |
43 |
+# @FUNCTION: fdo-mime_desktop_database_update |
44 |
+# @DESCRIPTION: |
45 |
+# Updates the desktop database. |
46 |
# Generates a list of mimetypes linked to applications that can handle them |
47 |
- |
48 |
fdo-mime_desktop_database_update() { |
49 |
- |
50 |
if [ -x "${ROOT}/usr/bin/update-desktop-database" ] |
51 |
then |
52 |
einfo "Updating desktop mime database ..." |
53 |
"${ROOT}/usr/bin/update-desktop-database" -q "${ROOT}/usr/share/applications" |
54 |
fi |
55 |
- |
56 |
} |
57 |
|
58 |
-# Update the mime database |
59 |
+# @FUNCTION: fdo-mime_mime_database_update |
60 |
+# @DESCRIPTION: |
61 |
+# Update the mime database. |
62 |
# Creates a general list of mime types from several sources |
63 |
- |
64 |
fdo-mime_mime_database_update() { |
65 |
- |
66 |
if [ -x "${ROOT}/usr/bin/update-mime-database" ] |
67 |
then |
68 |
einfo "Updating shared mime info database ..." |
69 |
"${ROOT}/usr/bin/update-mime-database" "${ROOT}/usr/share/mime" |
70 |
fi |
71 |
- |
72 |
} |
73 |
|
74 |
|
75 |
|
76 |
-- |
77 |
gentoo-commits@l.g.o mailing list |