1 |
scarabeus 10/08/22 08:23:24 |
2 |
|
3 |
Modified: xorg-2.eclass |
4 |
Log: |
5 |
Cleanup eclassdoc. |
6 |
|
7 |
Revision Changes Path |
8 |
1.10 eclass/xorg-2.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?rev=1.10&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?rev=1.10&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?r1=1.9&r2=1.10 |
13 |
|
14 |
Index: xorg-2.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v |
17 |
retrieving revision 1.9 |
18 |
retrieving revision 1.10 |
19 |
diff -u -r1.9 -r1.10 |
20 |
--- xorg-2.eclass 11 Aug 2010 09:20:09 -0000 1.9 |
21 |
+++ xorg-2.eclass 22 Aug 2010 08:23:24 -0000 1.10 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2010 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.9 2010/08/11 09:20:09 scarabeus Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.10 2010/08/22 08:23:24 scarabeus Exp $ |
27 |
# |
28 |
# @ECLASS: xorg-2.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -165,7 +165,6 @@ |
31 |
[[ -n "${DRIVER}" ]] && DEPEND+=" x11-base/xorg-server[xorg]" |
32 |
|
33 |
# @FUNCTION: xorg-2_pkg_setup |
34 |
-# @USAGE: |
35 |
# @DESCRIPTION: |
36 |
# Setup prefix compat |
37 |
xorg-2_pkg_setup() { |
38 |
@@ -173,7 +172,6 @@ |
39 |
} |
40 |
|
41 |
# @FUNCTION: xorg-2_src_unpack |
42 |
-# @USAGE: |
43 |
# @DESCRIPTION: |
44 |
# Simply unpack source code. |
45 |
xorg-2_src_unpack() { |
46 |
@@ -187,7 +185,6 @@ |
47 |
} |
48 |
|
49 |
# @FUNCTION: xorg-2_patch_source |
50 |
-# @USAGE: |
51 |
# @DESCRIPTION: |
52 |
# Apply all patches |
53 |
xorg-2_patch_source() { |
54 |
@@ -201,7 +198,6 @@ |
55 |
} |
56 |
|
57 |
# @FUNCTION: xorg-2_reconf_source |
58 |
-# @USAGE: |
59 |
# @DESCRIPTION: |
60 |
# Run eautoreconf if necessary, and run elibtoolize. |
61 |
xorg-2_reconf_source() { |
62 |
@@ -218,7 +214,6 @@ |
63 |
} |
64 |
|
65 |
# @FUNCTION: xorg-2_src_prepare |
66 |
-# @USAGE: |
67 |
# @DESCRIPTION: |
68 |
# Prepare a package after unpacking, performing all X-related tasks. |
69 |
xorg-2_src_prepare() { |
70 |
@@ -228,7 +223,6 @@ |
71 |
} |
72 |
|
73 |
# @FUNCTION: xorg-2_font_configure |
74 |
-# @USAGE: |
75 |
# @DESCRIPTION: |
76 |
# If a font package, perform any necessary configuration steps |
77 |
xorg-2_font_configure() { |
78 |
@@ -255,7 +249,6 @@ |
79 |
} |
80 |
|
81 |
# @FUNCTION: x-modular_flags_setup |
82 |
-# @USAGE: |
83 |
# @DESCRIPTION: |
84 |
# Set up CFLAGS for a debug build |
85 |
xorg-2_flags_setup() { |
86 |
@@ -266,7 +259,6 @@ |
87 |
} |
88 |
|
89 |
# @FUNCTION: xorg-2_src_configure |
90 |
-# @USAGE: |
91 |
# @DESCRIPTION: |
92 |
# Perform any necessary pre-configuration steps, then run configure |
93 |
xorg-2_src_configure() { |
94 |
@@ -275,9 +267,10 @@ |
95 |
xorg-2_flags_setup |
96 |
[[ -n "${FONT}" ]] && xorg-2_font_configure |
97 |
|
98 |
-# @VARIABLE: CONFIGURE_OPTIONS |
99 |
-# @DESCRIPTION: |
100 |
-# Any options to pass to configure |
101 |
+ # @VARIABLE: CONFIGURE_OPTIONS |
102 |
+ # @DESCRIPTION: |
103 |
+ # Any options to pass to configure |
104 |
+ # @DEFAULT_UNSET |
105 |
CONFIGURE_OPTIONS=${CONFIGURE_OPTIONS:=""} |
106 |
if [[ -x ${ECONF_SOURCE:-.}/configure ]]; then |
107 |
if has static-libs ${IUSE//+}; then |
108 |
@@ -291,7 +284,6 @@ |
109 |
} |
110 |
|
111 |
# @FUNCTION: xorg-2_src_compile |
112 |
-# @USAGE: |
113 |
# @DESCRIPTION: |
114 |
# Compile a package, performing all X-related tasks. |
115 |
xorg-2_src_compile() { |
116 |
@@ -299,7 +291,6 @@ |
117 |
} |
118 |
|
119 |
# @FUNCTION: xorg-2_src_install |
120 |
-# @USAGE: |
121 |
# @DESCRIPTION: |
122 |
# Install a built package to ${D}, performing any necessary steps. |
123 |
# Creates a ChangeLog from git if using live ebuilds. |
124 |
@@ -326,9 +317,10 @@ |
125 |
if [[ -e "${S}"/ChangeLog ]]; then |
126 |
dodoc "${S}"/ChangeLog |
127 |
fi |
128 |
-# @VARIABLE: DOCS |
129 |
-# @DESCRIPTION: |
130 |
-# Any documentation to install |
131 |
+ # @VARIABLE: DOCS |
132 |
+ # @DESCRIPTION: |
133 |
+ # Any documentation to install |
134 |
+ # @DEFAULT_UNSET |
135 |
if [[ -n ${DOCS} ]]; then |
136 |
dodoc ${DOCS} || die "dodoc failed" |
137 |
fi |
138 |
@@ -343,7 +335,6 @@ |
139 |
} |
140 |
|
141 |
# @FUNCTION: xorg-2_pkg_postinst |
142 |
-# @USAGE: |
143 |
# @DESCRIPTION: |
144 |
# Run X-specific post-installation tasks on the live filesystem. The |
145 |
# only task right now is some setup for font packages. |
146 |
@@ -352,7 +343,6 @@ |
147 |
} |
148 |
|
149 |
# @FUNCTION: xorg-2_pkg_postrm |
150 |
-# @USAGE: |
151 |
# @DESCRIPTION: |
152 |
# Run X-specific post-removal tasks on the live filesystem. The only |
153 |
# task right now is some cleanup for font packages. |
154 |
@@ -363,7 +353,6 @@ |
155 |
} |
156 |
|
157 |
# @FUNCTION: setup_fonts |
158 |
-# @USAGE: |
159 |
# @DESCRIPTION: |
160 |
# Generates needed files for fonts and fixes font permissions |
161 |
setup_fonts() { |
162 |
@@ -373,7 +362,6 @@ |
163 |
} |
164 |
|
165 |
# @FUNCTION: remove_font_metadata |
166 |
-# @USAGE: |
167 |
# @DESCRIPTION: |
168 |
# Don't let the package install generated font files that may overlap |
169 |
# with other packages. Instead, they're generated in pkg_postinst(). |
170 |
@@ -385,7 +373,6 @@ |
171 |
} |
172 |
|
173 |
# @FUNCTION: create_fonts_scale |
174 |
-# @USAGE: |
175 |
# @DESCRIPTION: |
176 |
# Create fonts.scale file, used by the old server-side fonts subsystem. |
177 |
create_fonts_scale() { |
178 |
@@ -399,7 +386,6 @@ |
179 |
} |
180 |
|
181 |
# @FUNCTION: create_fonts_dir |
182 |
-# @USAGE: |
183 |
# @DESCRIPTION: |
184 |
# Create fonts.dir file, used by the old server-side fonts subsystem. |
185 |
create_fonts_dir() { |