From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MklQp-0000hi-V1 for garchives@archives.gentoo.org; Mon, 07 Sep 2009 21:07:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC985E0849; Mon, 7 Sep 2009 21:07:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BDD22E0849 for ; Mon, 7 Sep 2009 21:07:22 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 704DB641CD for ; Mon, 7 Sep 2009 21:07:22 +0000 (UTC) Received: from dirtyepic by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1MklQd-00087c-QO for gentoo-commits@lists.gentoo.org; Mon, 07 Sep 2009 21:07:19 +0000 From: "Ryan Hill (dirtyepic)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, dirtyepic@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: font.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: font.eclass X-VCS-Directories: eclass X-VCS-Committer: dirtyepic X-VCS-Committer-Name: Ryan Hill Content-Type: text/plain; charset=utf8 Message-Id: Sender: Ryan Hill Date: Mon, 07 Sep 2009 21:07:11 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: febe703d-685e-4c00-bd17-d7d1140121a8 X-Archives-Hash: 94d32f48f511a190502f0fa5b568433e dirtyepic 09/09/07 21:07:11 Modified: font.eclass Log: Tell the user if we've installed any config files and how to use them. Revision Changes Path 1.45 eclass/font.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass= ?rev=3D1.45&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass= ?rev=3D1.45&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass= ?r1=3D1.44&r2=3D1.45 Index: font.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/font.eclass,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- font.eclass 8 Feb 2009 18:22:39 -0000 1.44 +++ font.eclass 7 Sep 2009 21:07:11 -0000 1.45 @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.44 2009/02/08 = 18:22:39 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.45 2009/09/07 = 21:07:11 dirtyepic Exp $ =20 # @ECLASS: font.eclass # @MAINTAINER: @@ -11,6 +11,9 @@ =20 inherit eutils =20 + +EXPORT_FUNCTIONS pkg_setup src_install pkg_postinst pkg_postrm + # # Variable declarations # @@ -150,6 +153,23 @@ find "${ROOT}"usr/share/fonts/ -type f '!' -perm 0644 -print0 \ | xargs -0 chmod -v 0644 2>/dev/null =20 + if [[ -n ${FONT_CONF[@]} ]]; then + if has_version '>=3Dmedia-libs/fontconfig-2.4'; then + local conffile + echo + elog "The following fontconfig configuration files have been installe= d:" + elog + for conffile in "${FONT_CONF[@]}"; do + if [[ -e ${ROOT}etc/fonts/conf.avail/$(basename ${conffile}) ]]; the= n + elog " $(basename ${conffile})" + fi + done + elog + elog "Use \`eselect fontconfig\` to enable/disable them." + echo + fi + fi +=09 if has_version '>=3Dmedia-libs/fontconfig-2.4'; then if [[ ${ROOT} =3D=3D "/" ]]; then ebegin "Updating global fontcache" @@ -176,4 +196,3 @@ fi } =20 -EXPORT_FUNCTIONS src_install pkg_setup pkg_postinst pkg_postrm