/[gentoo-x86]/eclass/x-modular.eclass
Gentoo

Diff of /eclass/x-modular.eclass

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

Revision 1.100 Revision 1.117
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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/x-modular.eclass,v 1.100 2008/05/28 01:48:10 dberkholz Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.117 2009/11/28 10:25:37 scarabeus Exp $
4# 4#
5# @ECLASS: x-modular.eclass 5# @ECLASS: x-modular.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org 7# Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org
8# @BLURB: Reduces code duplication in the modularized X11 ebuilds. 8# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
15# All you need to do in a basic ebuild is inherit this eclass and set 15# All you need to do in a basic ebuild is inherit this eclass and set
16# DESCRIPTION, KEYWORDS and RDEPEND/DEPEND. If your package is hosted 16# DESCRIPTION, KEYWORDS and RDEPEND/DEPEND. If your package is hosted
17# with the other X packages, you don't need to set SRC_URI. Pretty much 17# with the other X packages, you don't need to set SRC_URI. Pretty much
18# everything else should be automatic. 18# everything else should be automatic.
19 19
20if [[ ${PV} = 9999* ]]; then
21 GIT_ECLASS="git"
22 SNAPSHOT="yes"
23 SRC_URI=""
24fi
25
26# If we're a font package, but not the font.alias one
27FONT_ECLASS=""
28if [[ "${PN/#font-}" != "${PN}" ]] \
29 && [[ "${CATEGORY}" = "media-fonts" ]] \
30 && [[ "${PN}" != "font-alias" ]] \
31 && [[ "${PN}" != "font-util" ]]; then
32 # Activate font code in the rest of the eclass
33 FONT="yes"
34
35 # Whether to inherit the font eclass
36 FONT_ECLASS="font"
37fi
38
39inherit eutils libtool multilib toolchain-funcs flag-o-matic autotools \
40 ${FONT_ECLASS} ${GIT_ECLASS}
41
42EXPORTED_FUNCTIONS="src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm"
43
44case "${EAPI:-0}" in
45 0|1)
46 ;;
47 2)
48 EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare src_configure"
49 ;;
50 *)
51 die "Unknown EAPI ${EAPI}"
52 ;;
53esac
54
55# exports must be ALWAYS after inherit
56EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
57
20# @ECLASS-VARIABLE: XDIR 58# @ECLASS-VARIABLE: XDIR
21# @DESCRIPTION: 59# @DESCRIPTION:
22# Directory prefix to use for everything. If you want to install to a 60# Directory prefix to use for everything. If you want to install to a
23# non-default prefix (e.g., /opt/xorg), change XDIR. This has not been 61# non-default prefix (e.g., /opt/xorg), change XDIR. This has not been
24# recently tested. You may need to uncomment the setting of datadir and 62# recently tested. You may need to uncomment the setting of datadir and
35# If set to 'yes' and configure.ac exists, eautoreconf will run. Set 73# If set to 'yes' and configure.ac exists, eautoreconf will run. Set
36# before inheriting this eclass. 74# before inheriting this eclass.
37 SNAPSHOT="no" 75 SNAPSHOT="no"
38fi 76fi
39 77
40if [[ ${PV} = 9999* ]]; then
41 GIT_ECLASS="git"
42 SNAPSHOT="yes"
43 SRC_URI=""
44fi
45
46# Set up SRC_URI for individual modular releases 78# Set up SRC_URI for individual modular releases
47BASE_INDIVIDUAL_URI="http://xorg.freedesktop.org/releases/individual" 79BASE_INDIVIDUAL_URI="http://xorg.freedesktop.org/releases/individual"
48# @ECLASS-VARIABLE: MODULE 80# @ECLASS-VARIABLE: MODULE
49# @DESCRIPTION: 81# @DESCRIPTION:
50# The subdirectory to download source from. Possible settings are app, 82# The subdirectory to download source from. Possible settings are app,
51# doc, data, util, driver, font, lib, proto, xserver. Set above the 83# doc, data, util, driver, font, lib, proto, xserver. Set above the
52# inherit to override the default autoconfigured module. 84# inherit to override the default autoconfigured module.
53[[ -z ${MODULE} ]] && MODULE="" 85if [[ -z ${MODULE} ]]; then
86 MODULE=""
54case ${CATEGORY} in 87 case ${CATEGORY} in
55 app-doc) MODULE="doc" ;; 88 app-doc) MODULE="doc" ;;
56 media-fonts) MODULE="font" ;; 89 media-fonts) MODULE="font" ;;
57 x11-apps|x11-wm) MODULE="app" ;; 90 x11-apps|x11-wm) MODULE="app" ;;
58 x11-misc|x11-themes) MODULE="util" ;; 91 x11-misc|x11-themes) MODULE="util" ;;
59 x11-drivers) MODULE="driver" ;; 92 x11-drivers) MODULE="driver" ;;
60 x11-base) MODULE="xserver" ;; 93 x11-base) MODULE="xserver" ;;
61 x11-proto) MODULE="proto" ;; 94 x11-proto) MODULE="proto" ;;
62 x11-libs) MODULE="lib" ;; 95 x11-libs) MODULE="lib" ;;
63esac 96 esac
97fi
64 98
65if [[ -n ${GIT_ECLASS} ]]; then 99if [[ -n ${GIT_ECLASS} ]]; then
66 EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/${MODULE}/${PN}" 100 EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/${MODULE}/${PN}"
67else 101else
68 SRC_URI="${SRC_URI} ${BASE_INDIVIDUAL_URI}/${MODULE}/${P}.tar.bz2" 102 SRC_URI="${SRC_URI} ${BASE_INDIVIDUAL_URI}/${MODULE}/${P}.tar.bz2"
69fi 103fi
70 104
71SLOT="0" 105SLOT="0"
72 106
73# Set the license for the package. This can be overridden by setting 107# Set the license for the package. This can be overridden by setting
74# LICENSE after the inherit. 108# LICENSE after the inherit. Nearly all FreeDesktop-hosted X packages
75LICENSE=${PN} 109# are under the MIT license. (This is what Red Hat does in their rpms)
110LICENSE="MIT"
76 111
77# Set up shared dependencies 112# Set up shared dependencies
78if [[ -n "${SNAPSHOT}" ]]; then 113if [[ -n "${SNAPSHOT}" ]]; then
79# FIXME: What's the minimal libtool version supporting arbitrary versioning? 114# FIXME: What's the minimal libtool version supporting arbitrary versioning?
80 DEPEND="${DEPEND} 115 DEPEND="${DEPEND}
82 >=sys-devel/m4-1.4" 117 >=sys-devel/m4-1.4"
83 WANT_AUTOCONF="latest" 118 WANT_AUTOCONF="latest"
84 WANT_AUTOMAKE="latest" 119 WANT_AUTOMAKE="latest"
85fi 120fi
86 121
87# If we're a font package, but not the font.alias one 122if [[ -n "${FONT}" ]]; then
88FONT_ECLASS=""
89if [[ "${PN/#font-}" != "${PN}" ]] \
90 && [[ "${CATEGORY}" = "media-fonts" ]] \
91 && [[ "${PN}" != "font-alias" ]] \
92 && [[ "${PN}" != "font-util" ]]; then
93 # Activate font code in the rest of the eclass
94 FONT="yes"
95
96 # Whether to inherit the font eclass
97 FONT_ECLASS="font"
98
99 RDEPEND="${RDEPEND} 123 RDEPEND="${RDEPEND}
100 media-fonts/encodings 124 media-fonts/encodings
101 x11-apps/mkfontscale 125 x11-apps/mkfontscale
102 x11-apps/mkfontdir" 126 x11-apps/mkfontdir"
103 PDEPEND="${PDEPEND} 127 PDEPEND="${PDEPEND}
122 FONT_DIR=${FONT_DIR/ttf/TTF} 146 FONT_DIR=${FONT_DIR/ttf/TTF}
123 FONT_DIR=${FONT_DIR/otf/OTF} 147 FONT_DIR=${FONT_DIR/otf/OTF}
124 FONT_DIR=${FONT_DIR/type1/Type1} 148 FONT_DIR=${FONT_DIR/type1/Type1}
125 FONT_DIR=${FONT_DIR/speedo/Speedo} 149 FONT_DIR=${FONT_DIR/speedo/Speedo}
126 150
127 # Set up configure option 151 # Set up configure options, wrapped so ebuilds can override if need be
152 if [[ -z ${FONT_OPTIONS} ]]; then
128 FONT_OPTIONS="--with-fontdir=\"/usr/share/fonts/${FONT_DIR}\"" 153 FONT_OPTIONS="--with-fontdir=\"/usr/share/fonts/${FONT_DIR}\""
154 fi
129 155
130 if [[ -n "${FONT}" ]]; then 156 if [[ -n "${FONT}" ]]; then
131 if [[ ${PN##*-} = misc ]] || [[ ${PN##*-} = 75dpi ]] || [[ ${PN##*-} = 100dpi ]] || [[ ${PN##*-} = cyrillic ]]; then 157 if [[ ${PN##*-} = misc ]] || [[ ${PN##*-} = 75dpi ]] || [[ ${PN##*-} = 100dpi ]] || [[ ${PN##*-} = cyrillic ]]; then
132 IUSE="${IUSE} nls" 158 IUSE="${IUSE} nls"
133 fi 159 fi
157DEPEND="${DEPEND} 183DEPEND="${DEPEND}
158 >=dev-util/pkgconfig-0.18" 184 >=dev-util/pkgconfig-0.18"
159 185
160if [[ "${PN/util-macros}" = "${PN}" ]]; then 186if [[ "${PN/util-macros}" = "${PN}" ]]; then
161 DEPEND="${DEPEND} 187 DEPEND="${DEPEND}
162 >=x11-misc/util-macros-0.99.2 188 >=x11-misc/util-macros-1.3.0
163 >=sys-devel/binutils-2.16.1-r3" 189 sys-devel/binutils"
164fi 190fi
165 191
166RDEPEND="${RDEPEND} 192RDEPEND="${RDEPEND}
167 !<=x11-base/xorg-x11-6.9" 193 !<=x11-base/xorg-x11-6.9"
168# Provides virtual/x11 for temporary use until packages are ported 194# Provides virtual/x11 for temporary use until packages are ported
169# x11-base/x11-env" 195# x11-base/x11-env"
170
171inherit eutils libtool multilib toolchain-funcs flag-o-matic autotools \
172 ${FONT_ECLASS} ${GIT_ECLASS}
173 196
174# @FUNCTION: x-modular_specs_check 197# @FUNCTION: x-modular_specs_check
175# @USAGE: 198# @USAGE:
176# @DESCRIPTION: 199# @DESCRIPTION:
177# Make any necessary changes related to gcc specs (generally hardened) 200# Make any necessary changes related to gcc specs (generally hardened)
188# @DESCRIPTION: 211# @DESCRIPTION:
189# Ensures the server supports DRI if building a driver with DRI support 212# Ensures the server supports DRI if building a driver with DRI support
190x-modular_dri_check() { 213x-modular_dri_check() {
191 # (#120057) Enabling DRI in drivers requires that the server was built with 214 # (#120057) Enabling DRI in drivers requires that the server was built with
192 # support for it 215 # support for it
216 # Starting with xorg-server 1.5.3, DRI support is always enabled unless
217 # USE=minimal is set (see bug #252084)
193 if [[ -n "${DRIVER}" ]]; then 218 if [[ -n "${DRIVER}" ]]; then
194 if has dri ${IUSE} && use dri; then 219 if has dri ${IUSE} && use dri; then
195 einfo "Checking for direct rendering capabilities ..." 220 einfo "Checking for direct rendering capabilities ..."
221 if has_version '>=x11-base/xorg-server-1.5.3'; then
222 if built_with_use x11-base/xorg-server minimal; then
223 die "You must build x11-base/xorg-server with USE=-minimal."
224 fi
225 else
196 if ! built_with_use x11-base/xorg-server dri; then 226 if ! built_with_use x11-base/xorg-server dri; then
197 die "You must build x11-base/xorg-server with USE=dri." 227 die "You must build x11-base/xorg-server with USE=dri."
228 fi
198 fi 229 fi
199 fi 230 fi
200 fi 231 fi
201} 232}
202 233
225 if [[ -n ${GIT_ECLASS} ]]; then 256 if [[ -n ${GIT_ECLASS} ]]; then
226 git_src_unpack 257 git_src_unpack
227 else 258 else
228 unpack ${A} 259 unpack ${A}
229 fi 260 fi
230 cd ${S} 261 cd "${S}"
231 262
232 if [[ -n ${FONT_OPTIONS} ]]; then 263 if [[ -n ${FONT_OPTIONS} ]]; then
233 einfo "Detected font directory: ${FONT_DIR}" 264 einfo "Detected font directory: ${FONT_DIR}"
234 fi 265 fi
235} 266}
285 # Joshua Baergen - October 23, 2005 316 # Joshua Baergen - October 23, 2005
286 # Fix shared lib issues on MIPS, FBSD, etc etc 317 # Fix shared lib issues on MIPS, FBSD, etc etc
287 elibtoolize 318 elibtoolize
288} 319}
289 320
321# @FUNCTION: x-modular_src_prepare
322# @USAGE:
323# @DESCRIPTION:
324# Prepare a package after unpacking, performing all X-related tasks.
325x-modular_src_prepare() {
326 [[ -n ${GIT_ECLASS} ]] && has src_prepare ${EXPORTED_FUNCTIONS} \
327 && git_src_prepare
328 x-modular_patch_source
329 x-modular_reconf_source
330}
331
290# @FUNCTION: x-modular_src_unpack 332# @FUNCTION: x-modular_src_unpack
291# @USAGE: 333# @USAGE:
292# @DESCRIPTION: 334# @DESCRIPTION:
293# Unpack a package, performing all X-related tasks. 335# Unpack a package, performing all X-related tasks.
294x-modular_src_unpack() { 336x-modular_src_unpack() {
295 x-modular_specs_check 337 x-modular_specs_check
296 x-modular_server_supports_drivers_check 338 x-modular_server_supports_drivers_check
297 x-modular_dri_check 339 x-modular_dri_check
298 x-modular_unpack_source 340 x-modular_unpack_source
299 x-modular_patch_source 341 has src_prepare ${EXPORTED_FUNCTIONS} || x-modular_src_prepare
300 x-modular_reconf_source
301} 342}
302 343
303# @FUNCTION: x-modular_font_configure 344# @FUNCTION: x-modular_font_configure
304# @USAGE: 345# @USAGE:
305# @DESCRIPTION: 346# @DESCRIPTION:
306# If a font package, perform any necessary configuration steps 347# If a font package, perform any necessary configuration steps
307x-modular_font_configure() { 348x-modular_font_configure() {
308 if [[ -n "${FONT}" ]]; then 349 if [[ -n "${FONT}" ]]; then
309 # Might be worth adding an option to configure your desired font 350 # Might be worth adding an option to configure your desired font
310 # and exclude all others. Also, should this USE be nls or minimal? 351 # and exclude all others. Also, should this USE be nls or minimal?
311 if ! use nls; then 352 if has nls ${IUSE//+} && ! use nls; then
312 FONT_OPTIONS="${FONT_OPTIONS} 353 FONT_OPTIONS="${FONT_OPTIONS}
313 --disable-iso8859-2 354 --disable-iso8859-2
314 --disable-iso8859-3 355 --disable-iso8859-3
315 --disable-iso8859-4 356 --disable-iso8859-4
316 --disable-iso8859-5 357 --disable-iso8859-5
373# Run make. 414# Run make.
374x-modular_src_make() { 415x-modular_src_make() {
375 emake || die "emake failed" 416 emake || die "emake failed"
376} 417}
377 418
378# @FUNCTION: x-modular_src_configure 419# @FUNCTION: x-modular_src_compile
379# @USAGE: 420# @USAGE:
380# @DESCRIPTION: 421# @DESCRIPTION:
381# Compile a package, performing all X-related tasks. 422# Compile a package, performing all X-related tasks.
382x-modular_src_compile() { 423x-modular_src_compile() {
383 x-modular_src_configure 424 has src_configure ${EXPORTED_FUNCTIONS} || x-modular_src_configure
384 x-modular_src_make 425 x-modular_src_make
385} 426}
386 427
387# @FUNCTION: x-modular_src_install 428# @FUNCTION: x-modular_src_install
388# @USAGE: 429# @USAGE:
389# @DESCRIPTION: 430# @DESCRIPTION:
390# Install a built package to ${D}, performing any necessary steps. 431# Install a built package to ${D}, performing any necessary steps.
391# Creates a ChangeLog from git if using live ebuilds. 432# Creates a ChangeLog from git if using live ebuilds.
392x-modular_src_install() { 433x-modular_src_install() {
393 # Install everything to ${XDIR} 434 # Install everything to ${XDIR}
435 if [[ ${CATEGORY} = x11-proto ]]; then
394 make \ 436 make \
437 ${PN/proto/}docdir=/usr/share/doc/${PF} \
395 DESTDIR="${D}" \ 438 DESTDIR="${D}" \
396 install 439 install \
440 || die
441 else
442 make \
443 docdir=/usr/share/doc/${PF} \
444 DESTDIR="${D}" \
445 install \
446 || die
447 fi
397# Shouldn't be necessary in XDIR=/usr 448# Shouldn't be necessary in XDIR=/usr
398# einstall forces datadir, so we need to re-force it 449# einstall forces datadir, so we need to re-force it
399# datadir=${XDIR}/share \ 450# datadir=${XDIR}/share \
400# mandir=${XDIR}/share/man \ 451# mandir=${XDIR}/share/man \
401 452
404 git log ${GIT_TREE} > "${S}"/ChangeLog 455 git log ${GIT_TREE} > "${S}"/ChangeLog
405 popd 456 popd
406 fi 457 fi
407 458
408 if [[ -e ${S}/ChangeLog ]]; then 459 if [[ -e ${S}/ChangeLog ]]; then
409 dodoc ${S}/ChangeLog 460 dodoc "${S}"/ChangeLog
410 fi 461 fi
411# @VARIABLE: DOCS 462# @VARIABLE: DOCS
412# @DESCRIPTION: 463# @DESCRIPTION:
413# Any documentation to install 464# Any documentation to install
414 [[ -n ${DOCS} ]] && dodoc ${DOCS} 465 [[ -n ${DOCS} ]] && dodoc ${DOCS}
415 466
416 # Make sure docs get compressed
417 prepalldocs
418
419 # Don't install libtool archives for server modules 467 # Don't install libtool archives for server modules
420 if [[ -e ${D}/usr/$(get_libdir)/xorg/modules ]]; then 468 if [[ -e ${D}/usr/$(get_libdir)/xorg/modules ]]; then
421 find ${D}/usr/$(get_libdir)/xorg/modules -name '*.la' \ 469 find "${D}"/usr/$(get_libdir)/xorg/modules -name '*.la' \
422 | xargs rm -f 470 | xargs rm -f
423 fi 471 fi
424 472
425 if [[ -n "${FONT}" ]]; then 473 if [[ -n "${FONT}" ]]; then
426 remove_font_metadata 474 remove_font_metadata
466# @FUNCTION: cleanup_fonts 514# @FUNCTION: cleanup_fonts
467# @USAGE: 515# @USAGE:
468# @DESCRIPTION: 516# @DESCRIPTION:
469# Get rid of font directories that only contain generated files 517# Get rid of font directories that only contain generated files
470cleanup_fonts() { 518cleanup_fonts() {
471 local ALLOWED_FILES="encodings.dir fonts.cache-1 fonts.dir fonts.scale" 519 local ALLOWED_FILES="encodings.dir fonts.alias fonts.cache-1 fonts.dir fonts.scale"
472 for DIR in ${FONT_DIR}; do 520 for DIR in ${FONT_DIR}; do
473 unset KEEP_FONTDIR 521 unset KEEP_FONTDIR
474 REAL_DIR=${ROOT}usr/share/fonts/${DIR} 522 REAL_DIR=${ROOT}usr/share/fonts/${DIR}
475 523
476 ebegin "Checking ${REAL_DIR} for useless files" 524 ebegin "Checking ${REAL_DIR} for useless files"
513 die "${msg}" 561 die "${msg}"
514 fi 562 fi
515 563
516 create_fonts_scale 564 create_fonts_scale
517 create_fonts_dir 565 create_fonts_dir
518 fix_font_permissions
519 create_font_cache 566 create_font_cache
520} 567}
521 568
522# @FUNCTION: remove_font_metadata 569# @FUNCTION: remove_font_metadata
523# @USAGE: 570# @USAGE:
529 for DIR in ${FONT_DIR}; do 576 for DIR in ${FONT_DIR}; do
530 if [[ "${DIR}" != "Speedo" ]] && \ 577 if [[ "${DIR}" != "Speedo" ]] && \
531 [[ "${DIR}" != "CID" ]] ; then 578 [[ "${DIR}" != "CID" ]] ; then
532 # Delete font metadata files 579 # Delete font metadata files
533 # fonts.scale, fonts.dir, fonts.cache-1 580 # fonts.scale, fonts.dir, fonts.cache-1
534 rm -f ${D}/usr/share/fonts/${DIR}/fonts.{scale,dir,cache-1} 581 rm -f "${D}"/usr/share/fonts/${DIR}/fonts.{scale,dir,cache-1}
535 fi 582 fi
536 done 583 done
537} 584}
538 585
539# @FUNCTION: install_driver_hwdata 586# @FUNCTION: install_driver_hwdata
578 # NOTE: There is no way to regenerate Speedo/CID fonts.scale 625 # NOTE: There is no way to regenerate Speedo/CID fonts.scale
579 # <dberkholz@gentoo.org> 2 August 2004 626 # <dberkholz@gentoo.org> 2 August 2004
580 if [[ "${x/encodings}" = "${x}" ]] \ 627 if [[ "${x/encodings}" = "${x}" ]] \
581 && [[ -n "$(find ${x} -iname '*.[pot][ft][abcf]' -print)" ]]; then 628 && [[ -n "$(find ${x} -iname '*.[pot][ft][abcf]' -print)" ]]; then
582 mkfontscale \ 629 mkfontscale \
583 -a ${ROOT}/usr/share/fonts/encodings/encodings.dir \ 630 -a "${ROOT}"/usr/share/fonts/encodings/encodings.dir \
584 -- ${x} 631 -- ${x}
585 fi 632 fi
586 done 633 done
587 eend 0 634 eend 0
588} 635}
598 [[ -z "$(ls ${x}/)" ]] && continue 645 [[ -z "$(ls ${x}/)" ]] && continue
599 [[ "$(ls ${x}/)" = "fonts.cache-1" ]] && continue 646 [[ "$(ls ${x}/)" = "fonts.cache-1" ]] && continue
600 647
601 if [[ "${x/encodings}" = "${x}" ]]; then 648 if [[ "${x/encodings}" = "${x}" ]]; then
602 mkfontdir \ 649 mkfontdir \
603 -e ${ROOT}/usr/share/fonts/encodings \ 650 -e "${ROOT}"/usr/share/fonts/encodings \
604 -e ${ROOT}/usr/share/fonts/encodings/large \ 651 -e "${ROOT}"/usr/share/fonts/encodings/large \
605 -- ${x} 652 -- ${x}
606 fi 653 fi
607 done 654 done
608 eend 0 655 eend 0
609} 656}
610 657
611# @FUNCTION: fix_font_permissions
612# @USAGE:
613# @DESCRIPTION:
614# Font files should have 644 permissions. Ensure this is the case.
615fix_font_permissions() {
616 ebegin "Fixing permissions"
617 for DIR in ${FONT_DIR}; do
618 find ${ROOT}/usr/share/fonts/${DIR} -type f -name 'font.*' \
619 -exec chmod 0644 {} \;
620 done
621 eend 0
622}
623
624# @FUNCTION: create_font_cache 658# @FUNCTION: create_font_cache
625# @USAGE: 659# @USAGE:
626# @DESCRIPTION: 660# @DESCRIPTION:
627# Create fonts.cache-1 files, used by the new client-side fonts 661# Create fonts.cache-1 files, used by the new client-side fonts
628# subsystem. 662# subsystem.
629create_font_cache() { 663create_font_cache() {
630 font_pkg_postinst 664 font_pkg_postinst
631} 665}
632
633EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.117

  ViewVC Help
Powered by ViewVC 1.1.20