/[gentoo-x86]/eclass/xorg-2.eclass
Gentoo

Diff of /eclass/xorg-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.22 Revision 1.42
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.22 2011/01/15 17:55:21 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.42 2011/05/08 12:20:46 scarabeus Exp $
4# 4#
5# @ECLASS: xorg-2.eclass 5# @ECLASS: xorg-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# x11@gentoo.org 7# x11@gentoo.org
8# @BLURB: Reduces code duplication in the modularized X11 ebuilds. 8# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
20# Author: Tomáš Chvátal <scarabeus@gentoo.org> 20# Author: Tomáš Chvátal <scarabeus@gentoo.org>
21# Author: Donnie Berkholz <dberkholz@gentoo.org> 21# Author: Donnie Berkholz <dberkholz@gentoo.org>
22 22
23GIT_ECLASS="" 23GIT_ECLASS=""
24if [[ ${PV} == *9999* ]]; then 24if [[ ${PV} == *9999* ]]; then
25 GIT_ECLASS="git" 25 GIT_ECLASS="git-2"
26 XORG_EAUTORECONF="yes" 26 XORG_EAUTORECONF="yes"
27 SRC_URI=""
28fi 27fi
29 28
30# If we're a font package, but not the font.alias one 29# If we're a font package, but not the font.alias one
31FONT_ECLASS="" 30FONT_ECLASS=""
32if [[ ${PN} == font* \ 31if [[ ${PN} == font* \
36 # Activate font code in the rest of the eclass 35 # Activate font code in the rest of the eclass
37 FONT="yes" 36 FONT="yes"
38 FONT_ECLASS="font" 37 FONT_ECLASS="font"
39fi 38fi
40 39
41inherit eutils base libtool multilib toolchain-funcs flag-o-matic autotools \ 40inherit autotools-utils eutils libtool multilib toolchain-funcs flag-o-matic autotools \
42 ${FONT_ECLASS} ${GIT_ECLASS} 41 ${FONT_ECLASS} ${GIT_ECLASS}
43 42
44EXPORTED_FUNCTIONS="src_unpack src_compile src_install pkg_postinst pkg_postrm" 43EXPORTED_FUNCTIONS="src_unpack src_compile src_install pkg_postinst pkg_postrm"
45case "${EAPI:-0}" in 44case "${EAPI:-0}" in
46 3|4) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare src_configure" ;; 45 3|4) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare src_configure" ;;
47 *) die "EAPI-UNSUPPORTED" ;; 46 *) die "EAPI=${EAPI} is not supported" ;;
48esac 47esac
49 48
50# exports must be ALWAYS after inherit 49# exports must be ALWAYS after inherit
51EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} 50EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
52 51
57# @DESCRIPTION: 56# @DESCRIPTION:
58# If set to 'yes' and configure.ac exists, eautoreconf will run. Set 57# If set to 'yes' and configure.ac exists, eautoreconf will run. Set
59# before inheriting this eclass. 58# before inheriting this eclass.
60: ${XORG_EAUTORECONF:="no"} 59: ${XORG_EAUTORECONF:="no"}
61 60
61# @ECLASS-VARIABLE: XORG_BASE_INDIVIDUAL_URI
62# @DESCRIPTION:
62# Set up SRC_URI for individual modular releases 63# Set up SRC_URI for individual modular releases. If set to an empty
64# string, no SRC_URI will be provided by the eclass.
63BASE_INDIVIDUAL_URI="http://xorg.freedesktop.org/releases/individual" 65: ${XORG_BASE_INDIVIDUAL_URI="http://xorg.freedesktop.org/releases/individual"}
66
64# @ECLASS-VARIABLE: MODULE 67# @ECLASS-VARIABLE: XORG_MODULE
65# @DESCRIPTION: 68# @DESCRIPTION:
66# The subdirectory to download source from. Possible settings are app, 69# The subdirectory to download source from. Possible settings are app,
67# doc, data, util, driver, font, lib, proto, xserver. Set above the 70# doc, data, util, driver, font, lib, proto, xserver. Set above the
68# inherit to override the default autoconfigured module. 71# inherit to override the default autoconfigured module.
69if [[ -z ${MODULE} ]]; then 72if [[ -z ${XORG_MODULE} ]]; then
70 case ${CATEGORY} in 73 case ${CATEGORY} in
71 app-doc) MODULE="doc" ;; 74 app-doc) XORG_MODULE=doc/ ;;
72 media-fonts) MODULE="font" ;; 75 media-fonts) XORG_MODULE=font/ ;;
73 x11-apps|x11-wm) MODULE="app" ;; 76 x11-apps|x11-wm) XORG_MODULE=app/ ;;
74 x11-misc|x11-themes) MODULE="util" ;; 77 x11-misc|x11-themes) XORG_MODULE=util/ ;;
75 x11-drivers) MODULE="driver" ;;
76 x11-base) MODULE="xserver" ;; 78 x11-base) XORG_MODULE=xserver/ ;;
79 x11-drivers) XORG_MODULE=driver/ ;;
77 x11-proto) MODULE="proto" ;; 80 x11-proto) XORG_MODULE=proto/ ;;
78 x11-libs) MODULE="lib" ;; 81 x11-libs) XORG_MODULE=lib/ ;;
79 *) MODULE="" ;; 82 *) XORG_MODULE= ;;
80 esac 83 esac
81fi 84fi
82 85
83# @ECLASS-VARIABLE: PACKAGE_NAME 86# @ECLASS-VARIABLE: XORG_PACKAGE_NAME
84# @DESCRIPTION: 87# @DESCRIPTION:
85# For git checkout the git repository migth differ from package name. 88# For git checkout the git repository might differ from package name.
86# This variable can be used for proper directory specification 89# This variable can be used for proper directory specification
87: ${PACKAGE_NAME:=${PN}} 90: ${XORG_PACKAGE_NAME:=${PN}}
88 91
89if [[ -n ${GIT_ECLASS} ]]; then 92if [[ -n ${GIT_ECLASS} ]]; then
90 EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/${MODULE}/${PACKAGE_NAME}" 93 : ${EGIT_REPO_URI:="git://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}"}
91else 94elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then
92 SRC_URI+=" ${BASE_INDIVIDUAL_URI}/${MODULE}/${P}.tar.bz2" 95 SRC_URI="${XORG_BASE_INDIVIDUAL_URI}/${XORG_MODULE}${P}.tar.bz2"
93fi 96fi
94 97
95: ${SLOT:=0} 98: ${SLOT:=0}
96 99
97# Set the license for the package. This can be overridden by setting 100# Set the license for the package. This can be overridden by setting
104XORG_EAUTORECONF_ARCHES="x86-interix ppc-aix x86-winnt" 107XORG_EAUTORECONF_ARCHES="x86-interix ppc-aix x86-winnt"
105EAUTORECONF_DEPEND+=" 108EAUTORECONF_DEPEND+="
106 >=sys-devel/libtool-2.2.6a 109 >=sys-devel/libtool-2.2.6a
107 sys-devel/m4" 110 sys-devel/m4"
108if [[ ${PN} != util-macros ]] ; then 111if [[ ${PN} != util-macros ]] ; then
109 EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.11.0" 112 EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.13.0"
110 # Required even by xorg-server 113 # Required even by xorg-server
111 [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.1.1-r1" 114 [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.2.0"
112fi 115fi
113WANT_AUTOCONF="latest" 116WANT_AUTOCONF="latest"
114WANT_AUTOMAKE="latest" 117WANT_AUTOMAKE="latest"
115for arch in ${XORG_EAUTORECONF_ARCHES}; do 118for arch in ${XORG_EAUTORECONF_ARCHES}; do
116 EAUTORECONF_DEPENDS+=" ${arch}? ( ${EAUTORECONF_DEPEND} )" 119 EAUTORECONF_DEPENDS+=" ${arch}? ( ${EAUTORECONF_DEPEND} )"
123if [[ ${FONT} == yes ]]; then 126if [[ ${FONT} == yes ]]; then
124 RDEPEND+=" media-fonts/encodings 127 RDEPEND+=" media-fonts/encodings
125 x11-apps/mkfontscale 128 x11-apps/mkfontscale
126 x11-apps/mkfontdir" 129 x11-apps/mkfontdir"
127 PDEPEND+=" media-fonts/font-alias" 130 PDEPEND+=" media-fonts/font-alias"
128 DEPEND+=" >=media-fonts/font-util-1.1.1-r1" 131 DEPEND+=" >=media-fonts/font-util-1.2.0"
129 132
130 # @ECLASS-VARIABLE: FONT_DIR 133 # @ECLASS-VARIABLE: FONT_DIR
131 # @DESCRIPTION: 134 # @DESCRIPTION:
132 # If you're creating a font package and the suffix of PN is not equal to 135 # If you're creating a font package and the suffix of PN is not equal to
133 # the subdirectory of /usr/share/fonts/ it should install into, set 136 # the subdirectory of /usr/share/fonts/ it should install into, set
172 IUSE+=" static-libs" 175 IUSE+=" static-libs"
173fi 176fi
174 177
175DEPEND+=" >=dev-util/pkgconfig-0.23" 178DEPEND+=" >=dev-util/pkgconfig-0.23"
176 179
177# Check deps on xorg-server 180# @ECLASS-VARIABLE: XORG_DRI
178has dri ${IUSE//+} && DEPEND+=" dri? ( >=x11-base/xorg-server-1.6.3.901-r2[-minimal] )" 181# @DESCRIPTION:
179[[ -n "${DRIVER}" ]] && DEPEND+=" x11-base/xorg-server[xorg]" 182# Possible values are "always" or the value of the useflag DRI capabilities
183# are required for. Default value is "no"
184#
185# Eg. XORG_DRI="opengl" will pull all dri dependant deps for opengl useflag
186: ${XORG_DRI:="no"}
187
188DRI_COMMON_DEPEND="
189 x11-base/xorg-server[-minimal]
190 x11-libs/libdrm
191"
192DRI_DEPEND="
193 x11-proto/xf86driproto
194 x11-proto/glproto
195 x11-proto/dri2proto
196"
197case ${XORG_DRI} in
198 no)
199 ;;
200 always)
201 COMMON_DEPEND+=" ${DRI_COMMON_DEPEND}"
202 DEPEND+=" ${DRI_DEPEND}"
203 ;;
204 *)
205 COMMON_DEPEND+=" ${XORG_DRI}? ( ${DRI_COMMON_DEPEND} )"
206 DEPEND+=" ${XORG_DRI}? ( ${DRI_DEPEND} )"
207 IUSE+=" ${XORG_DRI}"
208 ;;
209esac
210unset DRI_DEPEND
211unset DRI_COMMONDEPEND
212
213if [[ -n "${DRIVER}" ]]; then
214 COMMON_DEPEND+="
215 x11-base/xorg-server[xorg]
216 "
217fi
218if [[ -n "${DRIVER}" && ${PN} == xf86-video-* ]]; then
219 DEPEND+="
220 x11-proto/inputproto
221 "
222fi
223if [[ -n "${DRIVER}" && ${PN} == xf86-video-* ]]; then
224 COMMON_DEPEND+="
225 x11-libs/libpciaccess
226 "
227 # we also needs some protos and libs in all cases
228 DEPEND+="
229 x11-proto/fontsproto
230 x11-proto/randrproto
231 x11-proto/renderproto
232 x11-proto/videoproto
233 x11-proto/xextproto
234 x11-proto/xineramaproto
235 x11-proto/xproto
236 "
237fi
238
239# @ECLASS-VARIABLE: XORG_DOC
240# @DESCRIPTION:
241# Possible values are "always" or the value of the useflag doc packages
242# are required for. Default value is "no"
243#
244# Eg. XORG_DOC="manual" will pull all doc dependant deps for manual useflag
245: ${XORG_DOC:="no"}
246
247DOC_DEPEND="
248 doc? (
249 app-text/asciidoc
250 app-text/xmlto
251 app-doc/doxygen
252 app-text/docbook-xml-dtd:4.1.2
253 app-text/docbook-xml-dtd:4.2
254 app-text/docbook-xml-dtd:4.3
255 )
256"
257case ${XORG_DOC} in
258 no)
259 ;;
260 always)
261 DEPEND+=" ${DOC_DEPEND}"
262 ;;
263 *)
264 DEPEND+=" ${XORG_DOC}? ( ${DOC_DEPEND} )"
265 IUSE+=" ${XORG_DOC}"
266 ;;
267esac
268unset DOC_DEPEND
269
270DEPEND+=" ${COMMON_DEPEND}"
271RDEPEND+=" ${COMMON_DEPEND}"
272unset COMMON_DEPEND
273
274debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: DEPEND=${DEPEND}"
275debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: RDEPEND=${RDEPEND}"
276debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: PDEPEND=${PDEPEND}"
180 277
181# @FUNCTION: xorg-2_pkg_setup 278# @FUNCTION: xorg-2_pkg_setup
182# @DESCRIPTION: 279# @DESCRIPTION:
183# Setup prefix compat 280# Setup prefix compat
184xorg-2_pkg_setup() { 281xorg-2_pkg_setup() {
192# Simply unpack source code. 289# Simply unpack source code.
193xorg-2_src_unpack() { 290xorg-2_src_unpack() {
194 debug-print-function ${FUNCNAME} "$@" 291 debug-print-function ${FUNCNAME} "$@"
195 292
196 if [[ -n ${GIT_ECLASS} ]]; then 293 if [[ -n ${GIT_ECLASS} ]]; then
197 git_src_unpack 294 git-2_src_unpack
198 else 295 else
199 unpack ${A} 296 unpack ${A}
200 fi 297 fi
201 298
202 [[ -n ${FONT_OPTIONS} ]] && einfo "Detected font directory: ${FONT_DIR}" 299 [[ -n ${FONT_OPTIONS} ]] && einfo "Detected font directory: ${FONT_DIR}"
212 # Patch directory is ${WORKDIR}/patch 309 # Patch directory is ${WORKDIR}/patch
213 # See epatch() in eutils.eclass for more documentation 310 # See epatch() in eutils.eclass for more documentation
214 EPATCH_SUFFIX=${EPATCH_SUFFIX:=patch} 311 EPATCH_SUFFIX=${EPATCH_SUFFIX:=patch}
215 312
216 [[ -d "${EPATCH_SOURCE}" ]] && epatch 313 [[ -d "${EPATCH_SOURCE}" ]] && epatch
217 base_src_prepare "$@" 314 autotools-utils_src_prepare "$@"
218} 315}
219 316
220# @FUNCTION: xorg-2_reconf_source 317# @FUNCTION: xorg-2_reconf_source
221# @DESCRIPTION: 318# @DESCRIPTION:
222# Run eautoreconf if necessary, and run elibtoolize. 319# Run eautoreconf if necessary, and run elibtoolize.
239# @DESCRIPTION: 336# @DESCRIPTION:
240# Prepare a package after unpacking, performing all X-related tasks. 337# Prepare a package after unpacking, performing all X-related tasks.
241xorg-2_src_prepare() { 338xorg-2_src_prepare() {
242 debug-print-function ${FUNCNAME} "$@" 339 debug-print-function ${FUNCNAME} "$@"
243 340
244 [[ -n ${GIT_ECLASS} ]] && git_src_prepare
245 xorg-2_patch_source 341 xorg-2_patch_source
246 xorg-2_reconf_source 342 xorg-2_reconf_source
247} 343}
248 344
249# @FUNCTION: xorg-2_font_configure 345# @FUNCTION: xorg-2_font_configure
251# If a font package, perform any necessary configuration steps 347# If a font package, perform any necessary configuration steps
252xorg-2_font_configure() { 348xorg-2_font_configure() {
253 debug-print-function ${FUNCNAME} "$@" 349 debug-print-function ${FUNCNAME} "$@"
254 350
255 if has nls ${IUSE//+} && ! use nls; then 351 if has nls ${IUSE//+} && ! use nls; then
352 if grep -q -s "disable-all-encodings" ${ECONF_SOURCE:-.}/configure; then
256 FONT_OPTIONS+=" 353 FONT_OPTIONS+="
354 --disable-all-encodings"
355 else
356 FONT_OPTIONS+="
257 --disable-iso8859-2 357 --disable-iso8859-2
258 --disable-iso8859-3 358 --disable-iso8859-3
259 --disable-iso8859-4 359 --disable-iso8859-4
260 --disable-iso8859-5 360 --disable-iso8859-5
261 --disable-iso8859-6 361 --disable-iso8859-6
262 --disable-iso8859-7 362 --disable-iso8859-7
263 --disable-iso8859-8 363 --disable-iso8859-8
264 --disable-iso8859-9 364 --disable-iso8859-9
265 --disable-iso8859-10 365 --disable-iso8859-10
266 --disable-iso8859-11 366 --disable-iso8859-11
267 --disable-iso8859-12 367 --disable-iso8859-12
268 --disable-iso8859-13 368 --disable-iso8859-13
269 --disable-iso8859-14 369 --disable-iso8859-14
270 --disable-iso8859-15 370 --disable-iso8859-15
271 --disable-iso8859-16 371 --disable-iso8859-16
272 --disable-jisx0201 372 --disable-jisx0201
273 --disable-koi8-r" 373 --disable-koi8-r"
374 fi
274 fi 375 fi
275} 376}
276 377
277# @FUNCTION: xorg-2_flags_setup 378# @FUNCTION: xorg-2_flags_setup
278# @DESCRIPTION: 379# @DESCRIPTION:
296# @FUNCTION: xorg-2_src_configure 397# @FUNCTION: xorg-2_src_configure
297# @DESCRIPTION: 398# @DESCRIPTION:
298# Perform any necessary pre-configuration steps, then run configure 399# Perform any necessary pre-configuration steps, then run configure
299xorg-2_src_configure() { 400xorg-2_src_configure() {
300 debug-print-function ${FUNCNAME} "$@" 401 debug-print-function ${FUNCNAME} "$@"
301 local myopts=""
302 402
303 xorg-2_flags_setup 403 xorg-2_flags_setup
404
405 # @VARIABLE: XORG_CONFIGURE_OPTIONS
406 # @DESCRIPTION:
407 # Array of an additional options to pass to configure.
408 # @DEFAULT_UNSET
409 if [[ $(declare -p XORG_CONFIGURE_OPTIONS 2>&-) != "declare -a"* ]]; then
410 # fallback to CONFIGURE_OPTIONS, deprecated.
411 [[ -n "${CONFIGURE_OPTIONS}" ]] && \
412 ewarn "QA: CONFIGURE_OPTIONS are deprecated. Please migrate to XORG_CONFIGURE_OPTIONS to preserve namespace."
413 local xorgconfadd=(${CONFIGURE_OPTIONS})
414 else
415 local xorgconfadd=("${XORG_CONFIGURE_OPTIONS[@]}")
416 fi
417
304 [[ -n "${FONT}" ]] && xorg-2_font_configure 418 [[ -n "${FONT}" ]] && xorg-2_font_configure
305 419 local myeconfargs=(
306 # @VARIABLE: CONFIGURE_OPTIONS
307 # @DESCRIPTION:
308 # Any options to pass to configure
309 # @DEFAULT_UNSET
310 CONFIGURE_OPTIONS=${CONFIGURE_OPTIONS:=""}
311 if [[ -x ${ECONF_SOURCE:-.}/configure ]]; then
312 if has static-libs ${IUSE//+}; then
313 myopts+=" $(use_enable static-libs static)"
314 fi
315 econf \
316 --disable-dependency-tracking \ 420 --disable-dependency-tracking
317 ${FONT_OPTIONS} \ 421 ${FONT_OPTIONS}
318 ${CONFIGURE_OPTIONS} \ 422 "${xorgconfadd[@]}"
319 ${myopts} 423 )
320 fi 424
425 autotools-utils_src_configure "$@"
321} 426}
322 427
323# @FUNCTION: xorg-2_src_compile 428# @FUNCTION: xorg-2_src_compile
324# @DESCRIPTION: 429# @DESCRIPTION:
325# Compile a package, performing all X-related tasks. 430# Compile a package, performing all X-related tasks.
326xorg-2_src_compile() { 431xorg-2_src_compile() {
327 debug-print-function ${FUNCNAME} "$@" 432 debug-print-function ${FUNCNAME} "$@"
328 433
329 base_src_compile "$@" 434 autotools-utils_src_compile "$@"
330} 435}
331 436
332# @FUNCTION: xorg-2_src_install 437# @FUNCTION: xorg-2_src_install
333# @DESCRIPTION: 438# @DESCRIPTION:
334# Install a built package to ${D}, performing any necessary steps. 439# Install a built package to ${D}, performing any necessary steps.
335# Creates a ChangeLog from git if using live ebuilds. 440# Creates a ChangeLog from git if using live ebuilds.
336xorg-2_src_install() { 441xorg-2_src_install() {
337 debug-print-function ${FUNCNAME} "$@" 442 debug-print-function ${FUNCNAME} "$@"
338 443
339 if [[ ${CATEGORY} == x11-proto ]]; then 444 if [[ ${CATEGORY} == x11-proto ]]; then
340 emake \ 445 autotools-utils_src_install \
341 ${PN/proto/}docdir=${EPREFIX}/usr/share/doc/${PF} \ 446 ${PN/proto/}docdir="${EPREFIX}/usr/share/doc/${PF}" \
342 docdir=${EPREFIX}/usr/share/doc/${PF} \ 447 docdir="${EPREFIX}/usr/share/doc/${PF}"
343 DESTDIR="${D}" \
344 install || die "emake install failed"
345 else 448 else
346 emake \ 449 autotools-utils_src_install \
347 docdir=${EPREFIX}/usr/share/doc/${PF} \ 450 docdir="${EPREFIX}/usr/share/doc/${PF}"
348 DESTDIR="${D}" \
349 install || die "emake install failed"
350 fi 451 fi
351 452
352 if [[ -n ${GIT_ECLASS} ]]; then 453 if [[ -n ${GIT_ECLASS} ]]; then
353 pushd "${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}" > /dev/null 454 pushd "${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}" > /dev/null
354 git log ${EGIT_COMMIT} > "${S}"/ChangeLog 455 git log ${EGIT_COMMIT} > "${S}"/ChangeLog
356 fi 457 fi
357 458
358 if [[ -e "${S}"/ChangeLog ]]; then 459 if [[ -e "${S}"/ChangeLog ]]; then
359 dodoc "${S}"/ChangeLog || die "dodoc failed" 460 dodoc "${S}"/ChangeLog || die "dodoc failed"
360 fi 461 fi
361 # @VARIABLE: DOCS
362 # @DESCRIPTION:
363 # Any documentation to install
364 # @DEFAULT_UNSET
365 if [[ -n ${DOCS} ]]; then
366 dodoc ${DOCS} || die "dodoc failed"
367 fi
368 462
369 # Don't install libtool archives for server modules 463 # Don't install libtool archives (even with static-libs)
370 if [[ -e "${D%/}${EPREFIX}/usr/$(get_libdir)/xorg/modules" ]]; then 464 remove_libtool_files all
371 find "${D%/}${EPREFIX}/usr/$(get_libdir)/xorg/modules" -name '*.la' \
372 -exec rm -f {} ';'
373 fi
374 465
375 [[ -n ${FONT} ]] && remove_font_metadata 466 [[ -n ${FONT} ]] && remove_font_metadata
376} 467}
377 468
378# @FUNCTION: xorg-2_pkg_postinst 469# @FUNCTION: xorg-2_pkg_postinst

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20