From 587d52fc0286978f2c28344f490b8772c800bfc9 Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Wed, 21 Jan 2009 03:58:03 +0000 Subject: Install fontconfig files again. Bug #253944. Package-Manager: portage-2.2_rc23/cvs/Linux x86_64 --- media-fonts/dejavu/ChangeLog | 10 +++- media-fonts/dejavu/Manifest | 14 ++++- media-fonts/dejavu/dejavu-2.28-r1.ebuild | 96 ++++++++++++++++++++++++++++++++ media-fonts/dejavu/dejavu-2.28.ebuild | 93 ------------------------------- 4 files changed, 116 insertions(+), 97 deletions(-) create mode 100644 media-fonts/dejavu/dejavu-2.28-r1.ebuild delete mode 100644 media-fonts/dejavu/dejavu-2.28.ebuild (limited to 'media-fonts') diff --git a/media-fonts/dejavu/ChangeLog b/media-fonts/dejavu/ChangeLog index f8d8f0b3b5ef..8340b2f39932 100644 --- a/media-fonts/dejavu/ChangeLog +++ b/media-fonts/dejavu/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-fonts/dejavu -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/ChangeLog,v 1.124 2008/12/21 17:48:39 pva Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/ChangeLog,v 1.125 2009/01/21 03:58:03 dirtyepic Exp $ + +*dejavu-2.28-r1 (21 Jan 2009) + + 21 Jan 2009; Ryan Hill -dejavu-2.28.ebuild, + +dejavu-2.28-r1.ebuild: + Install fontconfig files again. Bug #253944. *dejavu-2.28 (21 Dec 2008) diff --git a/media-fonts/dejavu/Manifest b/media-fonts/dejavu/Manifest index a21c872f75f8..6055acd6b793 100644 --- a/media-fonts/dejavu/Manifest +++ b/media-fonts/dejavu/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 59-dejavu.conf 2744 RMD160 f15724522cdfff79b55e0daa8b82d24a02a320c3 SHA1 f499928bbcf015adcd5ceb8713ae9864cac446a0 SHA256 72a9605e41161c7f0e0e77f8ce02ed16eb666ec457693c58334f5e67b12468ff DIST dejavu-fonts-2.27.tar.bz2 9329596 RMD160 a5840136cc808891d1c83fd77c53550f0c4a3a69 SHA1 a27dccee49d5be72d7677546ff12709095190003 SHA256 b8a375af5804416d570c9673217c63f231e8ee8c442a4e571a1cfc1df251bf2d DIST dejavu-fonts-2.28.tar.bz2 9714698 RMD160 daaf79f3562fd97693f21b0faff0f3701f8b2af8 SHA1 f62f248a2ae662585fba0abe0ee9698551b67e23 SHA256 a822abff755008290d31baa5d118fbe3ec23ffd0560281b47da7612f6b8047c9 @@ -6,6 +9,13 @@ DIST dejavu-fonts-ttf-2.28.tar.bz2 4315592 RMD160 4edf28f5e1832053cda0f57b21bd58 DIST dejavu-ttf-2.21.tar.bz2 3568331 RMD160 c6f35bb8ec3b9949664c9ebe63bc58e5e0f693fe SHA1 5f3d3362cf4e6fc269f9d429ab9d25d095e8af48 SHA256 ee27f4d4d3675f6e25d1c37b5d87710f6292ad5dcb9992b6ea04736bb86648ae EBUILD dejavu-2.21.ebuild 749 RMD160 b8fb59e9a1966029981ce7fcbb7fb589ca4b5d47 SHA1 99fca56112c5359e8405e4b0a05e9e170ffdbc18 SHA256 7fc1fd7793844938e6c61c43c66a8ba63d0f15c22996b1791b7b99993359dba9 EBUILD dejavu-2.27.ebuild 2507 RMD160 aa3d3ceaaff2dc1c68a45775944d11c50eecea22 SHA1 df071d25e6aa74cd167051efc4c25ab78977c47e SHA256 f89dba6f3e2449bbaea055e156aaa1cf01ae81ad148d5f6e4885d0ae0ea07d07 -EBUILD dejavu-2.28.ebuild 2504 RMD160 69162b780cf12af7e87d613f3f53b4ade4ab6ab5 SHA1 106952667ca9d3a8dcf2ae2d95ceb529486e6487 SHA256 8e6223c81176652a813e5f29ba7031bc5644b27151e038c89816a7965358e54f -MISC ChangeLog 15189 RMD160 f5e788b922254ccaf6215e60a47c67b8d017517e SHA1 c423c39f3d365a8ce8d9a3eb62aa6c3d6b15bff7 SHA256 60efc7e23a46438dd45eb47ae60aa2eccf90f3c7f1a59170d99eec1e5327597a +EBUILD dejavu-2.28-r1.ebuild 2613 RMD160 61bbcc5fa08c58fda39f443eade42c10b3233637 SHA1 052216333c48c1d793821d16e9bf2c049e4295f0 SHA256 d9b45083ba9e92cfb8126d88c3813ed0e8813c9470c8ab053b418cc4895a15e3 +MISC ChangeLog 15369 RMD160 cb0d4e30feec7106a75e331424d070c577671652 SHA1 ab9faaf5f06d66a4cf19727023fc02c96079e981 SHA256 23e1715d44b50bed0dc4cb56c6a90afbedde9e9c42f3433bf9947eed095ff47a MISC metadata.xml 694 RMD160 4f1c69c4c179abdefb496068a44233ce4c8c9fb1 SHA1 88008d6e6e92ba0271b327bd7388419635f3d5d2 SHA256 bec5db29d577763884dfd7a7c017c6f81c4e5d59a56fd79cd0327bdfc9f2dbe2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkl2nZMACgkQiqiDRvmkBmIhdgCfYx1iIiReMVJywRnJpzbnv2YJ +NHYAoOsy3W72U84oiT5IvBkANzqkgyOm +=muQf +-----END PGP SIGNATURE----- diff --git a/media-fonts/dejavu/dejavu-2.28-r1.ebuild b/media-fonts/dejavu/dejavu-2.28-r1.ebuild new file mode 100644 index 000000000000..65db6e00184c --- /dev/null +++ b/media-fonts/dejavu/dejavu-2.28-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/dejavu-2.28-r1.ebuild,v 1.1 2009/01/21 03:58:03 dirtyepic Exp $ + +EAPI=1 + +inherit font versionator + +DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters" +HOMEPAGE="http://dejavu.sourceforge.net/" +LICENSE="BitstreamVera" + +# If you want to test snapshot from dejavu.sf.net/snapshots/ +# just rename ebuild to dejavu-2.22.20071220.2156.ebuild +MY_PV=$(get_version_component_range 1-2) +snapv=$(get_version_component_range 3-4) +snapv=${snapv/./-} +MY_BP=${PN}-fonts-ttf-${MY_PV} +MY_SP=${PN}-fonts-${MY_PV} + +if [ -z ${snapv} ] +then + SRC_URI="!fontforge? ( mirror://sourceforge/${PN}/${MY_BP}.tar.bz2 ) + fontforge? ( mirror://sourceforge/${PN}/${MY_SP}.tar.bz2 )" +else + MY_BP=${MY_BP}-${snapv} + MY_SP=${MY_SP}-${snapv} + SRC_URI="!fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_BP}.tar.bz2 ) + fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_SP}.tar.bz2 )" +fi + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" + +IUSE="fontforge" +DEPEND="fontforge? ( x11-apps/mkfontscale + >=media-gfx/fontforge-20080429 + x11-apps/mkfontdir + dev-perl/Font-TTF + app-i18n/unicode-data + >media-libs/fontconfig-2.6.0 )" +RDEPEND="" + +if use fontforge +then + S=${WORKDIR}/${MY_SP} + FONT_S=${S}/build +else + S=${WORKDIR}/${MY_BP} + FONT_S=${S}/ttf +fi + +FONT_CONF=( + "${S}"/fontconfig/20-unhint-small-dejavu-sans-mono.conf + "${S}"/fontconfig/20-unhint-small-dejavu-sans.conf + "${S}"/fontconfig/20-unhint-small-dejavu-serif.conf + "${S}"/fontconfig/57-dejavu-sans-mono.conf + "${S}"/fontconfig/57-dejavu-sans.conf + "${S}"/fontconfig/57-dejavu-serif.conf ) + +FONT_SUFFIX="ttf" +DOCS="AUTHORS NEWS README status.txt langcover.txt unicover.txt" + +src_compile() { + if use fontforge + then + emake -j1 \ + BLOCKS=/usr/share/unicode-data/Blocks.txt \ + UNICODEDATA=/usr/share/unicode-data/UnicodeData.txt \ + FC-LANG=/usr/share/fc-lang \ + full sans \ + || die "emake failed" + fi +} + +src_install() { + font_src_install + if use fontforge + then + dodoc build/*.txt + fi + +} + +pkg_postinst() { + font_pkg_postinst + + ewarn + ewarn "Starting with ${PN}-2.22 font ligatures were re-imported in DejaVu" + ewarn "That means that you'll possibly encounter the infamous ligature bug" + ewarn "with pango-enabled Firefox (e.g. 'fi' and 'fl' will occasionally" + ewarn "overlap). This will be fixed in Firefox-3.x. Until this happens" + ewarn "either use Firefox without pango (MOZ_DISABLE_PANGO=1), or use" + ewarn "${PN}-2.21" + ewarn +} diff --git a/media-fonts/dejavu/dejavu-2.28.ebuild b/media-fonts/dejavu/dejavu-2.28.ebuild deleted file mode 100644 index f13f9e2c96c7..000000000000 --- a/media-fonts/dejavu/dejavu-2.28.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/dejavu-2.28.ebuild,v 1.1 2008/12/21 17:48:39 pva Exp $ - -EAPI=1 - -inherit font versionator - -DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters" -HOMEPAGE="http://dejavu.sourceforge.net/" -LICENSE="BitstreamVera" - -# If you want to test snapshot from dejavu.sf.net/snapshots/ -# just rename ebuild to dejavu-2.22.20071220.2156.ebuild -MY_PV=$(get_version_component_range 1-2) -snapv=$(get_version_component_range 3-4) -snapv=${snapv/./-} -MY_BP=${PN}-fonts-ttf-${MY_PV} -MY_SP=${PN}-fonts-${MY_PV} - -if [ -z ${snapv} ] -then - SRC_URI="!fontforge? ( mirror://sourceforge/${PN}/${MY_BP}.tar.bz2 ) - fontforge? ( mirror://sourceforge/${PN}/${MY_SP}.tar.bz2 )" -else - MY_BP=${MY_BP}-${snapv} - MY_SP=${MY_SP}-${snapv} - SRC_URI="!fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_BP}.tar.bz2 ) - fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_SP}.tar.bz2 )" -fi - -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" - -IUSE="fontforge" -DEPEND="fontforge? ( x11-apps/mkfontscale - >=media-gfx/fontforge-20080429 - x11-apps/mkfontdir - dev-perl/Font-TTF - app-i18n/unicode-data - >media-libs/fontconfig-2.6.0 )" -RDEPEND="" - -if use fontforge -then - S=${WORKDIR}/${MY_SP} - FONT_S=${S}/build -else - S=${WORKDIR}/${MY_BP} - FONT_S=${S}/ttf -fi - -FONT_CONF=( "${S}/fontconfig/20-unhint-small-dejavu.conf" - "${S}/fontconfig/20-unhint-small-dejavu-experimental.conf" - "${S}/fontconfig/57-dejavu.conf" - "${S}/fontconfig/61-dejavu-experimental.conf" ) - -FONT_SUFFIX="ttf" -DOCS="AUTHORS NEWS README status.txt langcover.txt unicover.txt" - -src_compile() { - if use fontforge - then - emake -j1 \ - BLOCKS=/usr/share/unicode-data/Blocks.txt \ - UNICODEDATA=/usr/share/unicode-data/UnicodeData.txt \ - FC-LANG=/usr/share/fc-lang \ - full sans \ - || die "emake failed" - fi -} - -src_install() { - font_src_install - if use fontforge - then - dodoc build/*.txt - fi - -} - -pkg_postinst() { - font_pkg_postinst - - ewarn - ewarn "Starting with ${PN}-2.22 font ligatures were re-imported in DejaVu" - ewarn "That means that you'll possibly encounter the infamous ligature bug" - ewarn "with pango-enabled Firefox (e.g. 'fi' and 'fl' will occasionally" - ewarn "overlap). This will be fixed in Firefox-3.x. Until this happens" - ewarn "either use Firefox without pango (MOZ_DISABLE_PANGO=1), or use" - ewarn "${PN}-2.21" - ewarn -} -- cgit v1.2.3-65-gdbad