summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2010-04-11 02:12:48 +0000
committerRyan Hill <rhill@gentoo.org>2010-04-11 02:12:48 +0000
commit0315b2de6821f6494946e4dbcc3ac6748e6a3da6 (patch)
treec2d8a8f2a6a49eac2c4dee9060e0f1a01b0a397b /media-libs/fontconfig
parentVersion bump to 3.7.3, adding media-gfx/graphicsmagick to the deps. (diff)
downloadhistorical-0315b2de6821f6494946e4dbcc3ac6748e6a3da6.tar.gz
historical-0315b2de6821f6494946e4dbcc3ac6748e6a3da6.tar.bz2
historical-0315b2de6821f6494946e4dbcc3ac6748e6a3da6.zip
- Add alias for ZapfDingbats to fix display of some pdfs in poppler-based
readers. (bug #303591 by Rafał Mużyło, thanks to Paul Bredbury) - Add virtual/ttf-fonts to PDEPEND. (bug #260019 by Doruk Fisek) Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-libs/fontconfig')
-rw-r--r--media-libs/fontconfig/ChangeLog10
-rw-r--r--media-libs/fontconfig/Manifest10
-rw-r--r--media-libs/fontconfig/files/fontconfig-2.8.0-urw-aliases.patch18
-rw-r--r--media-libs/fontconfig/fontconfig-2.8.0-r1.ebuild129
4 files changed, 162 insertions, 5 deletions
diff --git a/media-libs/fontconfig/ChangeLog b/media-libs/fontconfig/ChangeLog
index b9a7ceccdaa6..89f818c1a129 100644
--- a/media-libs/fontconfig/ChangeLog
+++ b/media-libs/fontconfig/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/fontconfig
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.146 2010/04/11 01:00:59 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.147 2010/04/11 02:12:48 dirtyepic Exp $
+
+*fontconfig-2.8.0-r1 (11 Apr 2010)
+
+ 11 Apr 2010; Ryan Hill <dirtyepic@gentoo.org> +fontconfig-2.8.0-r1.ebuild,
+ +files/fontconfig-2.8.0-urw-aliases.patch:
+ - Add alias for ZapfDingbats to fix display of some pdfs in poppler-based
+ readers. (bug #303591 by Rafał Mużyło, thanks to Paul Bredbury)
+ - Add virtual/ttf-fonts to PDEPEND. (bug #260019 by Doruk Fisek)
11 Apr 2010; Ryan Hill <dirtyepic@gentoo.org> -fontconfig-2.5.0-r1.ebuild,
-files/fontconfig-2.5.0-libtool-2.2.patch, -fontconfig-2.7.1-r1.ebuild,
diff --git a/media-libs/fontconfig/Manifest b/media-libs/fontconfig/Manifest
index 29d53ffb1f1f..5d46e07b5207 100644
--- a/media-libs/fontconfig/Manifest
+++ b/media-libs/fontconfig/Manifest
@@ -4,18 +4,20 @@ Hash: SHA1
AUX fontconfig-2.3.2-docbook.patch 506 RMD160 c205d99ecc19866da8d0ac4ef7172dcef98a6299 SHA1 1054f38cef09c93baf34f08253345ca2ae638e4a SHA256 c6480dcf19fec22126a9205fa3d9b317e5a97613f86218cf1926a2a07848afd5
AUX fontconfig-2.6.0-parallel.patch 437 RMD160 5a8ab14d0d86f19d0658768a37927bf1761b3d3c SHA1 f12963e627d0735aed4e3c5b9b16331fd293ce4a SHA256 0f0a2fd2ad9241aa680f2c4fa607cc7898e9d8e8aa585b68d47961f82cf424e8
AUX fontconfig-2.7.1-latin-reorder.patch 1701 RMD160 ea313617ab751d328e0c4cfb75262ed2acc9a4ef SHA1 e079a3d03c4e2e4dfd36131689694159591ce4bf SHA256 cd27212a9e8a3045106fd427f2e5079ea348789c8760e7af443c2745479c8f82
+AUX fontconfig-2.8.0-urw-aliases.patch 509 RMD160 b735f3bf416f79e82f2b0944e80972514c313ef6 SHA1 6af46fdd965cee43ec461cb2a4bd5e1fdffc8dd9 SHA256 4a1e122dd3b140765163ca72eba8c2c52daa9e9459ddbcb6a2eba9a5bebe76d4
DIST fontconfig-2.6.0.tar.gz 1403857 RMD160 2fea7fa3fe1757b58ce53c4225b9f8e6ec7507bf SHA1 93752566b8327485b153bd156049614f779b4c57 SHA256 a9a639eaa0e5666606a4657cc1494eb6df820fac7e5a2aa0c3f7e703b7c8d8a5
DIST fontconfig-2.7.3.tar.gz 1542781 RMD160 2c349203592007b9cad439befccfc8fe05a977b1 SHA1 bc84b883673a7f43f2849f06ec110c4eaccfb42c SHA256 ba8fbff15c6b0395ed2f263311250bc8d36eb8793d122014429becab5c94b050
DIST fontconfig-2.8.0.tar.gz 1548409 RMD160 fefee412cad4fa71b573e997e14f1df12f439be2 SHA1 570fb55eb14f2c92a7b470b941e9d35dbfafa716 SHA256 fa2a1c6eea654d9fce7a4b1220f10c99cdec848dccaf1625c01f076b31382335
EBUILD fontconfig-2.6.0-r2.ebuild 3059 RMD160 91d3278cbf34e223a5c00132abf85e15930f5b45 SHA1 8f43105d2e4e0a18074895c6339dd454ae96075c SHA256 4c7630e52a1df096ab5c3f9a9b03286a16c2f10d093b7097724e9468c4c7b815
EBUILD fontconfig-2.7.3.ebuild 4150 RMD160 5b260e46842f74b6d2e3e4cd4db7212f7e8b08f2 SHA1 af382113f092c880f8d605ee80ef8c1e88f3632d SHA256 78d33fa95316e8050c51a973fbed7ff012a97f4b91ebe4a66def27fbfb1fb8e1
+EBUILD fontconfig-2.8.0-r1.ebuild 3995 RMD160 daf40d913192f1aed83e537ff9a27a77bff10d1c SHA1 8886aceb49fcc90a10c32ef45f69eb6776353bf9 SHA256 6fadec5d7306196c6223bee768cd64b5449ca05140f20373c1c7435ecec77600
EBUILD fontconfig-2.8.0.ebuild 3907 RMD160 594eee384a51972a2e7d72972e1c31b797b0c6ef SHA1 abd1eb266dbb9c611a2af860b1a0f44a955b5d04 SHA256 e990be0bd7d8133038ead99ee8d35d627fd879bbc4deb76158e15b9bebe1309c
-MISC ChangeLog 23170 RMD160 641debf3da13cbbe0e193b336ff21e2db2ffd870 SHA1 3786a14040b5919f5b48dcbbf7a21c84ad17ab48 SHA256 35cbe751b9250192773e1dafd4ff94c9454436f74a73e5c8df259ec186ddc8c5
+MISC ChangeLog 23543 RMD160 dd9e923155f982f62e41b7498de752a921b98bd0 SHA1 267bb11310268d3e29e390a12905993281a19926 SHA256 0e8d98ca1320ca10d79bd436d791aa5ef6b2e13740229bf17f00d7f620eb1ddb
MISC metadata.xml 419 RMD160 898b8233ab233060d8137dadf28c291b83a65500 SHA1 ee62c352812f8765122e5a65b7df5f8794c6c485 SHA256 859faa6fc0c008e92a6432f0fd50a760170d724b15997e557d5d73088277c4db
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkvBH/kACgkQiqiDRvmkBmICqQCcD1snlh5HDoYXJZS0W4xxtjgd
-Xc4An2HzHb78S99A4Sg0OJluz48fbdmc
-=/Umy
+iEYEARECAAYFAkvBMM4ACgkQiqiDRvmkBmLwwQCfSqqruFZMvHyK0BAY/zJ+wbVC
+TjsAoNVKQ+KT4hnu4It3y5+JWVahZKhN
+=AsW3
-----END PGP SIGNATURE-----
diff --git a/media-libs/fontconfig/files/fontconfig-2.8.0-urw-aliases.patch b/media-libs/fontconfig/files/fontconfig-2.8.0-urw-aliases.patch
new file mode 100644
index 000000000000..76a4aaafb0ce
--- /dev/null
+++ b/media-libs/fontconfig/files/fontconfig-2.8.0-urw-aliases.patch
@@ -0,0 +1,18 @@
+http://bugs.freedesktop.org/19128
+http://bugs.gentoo.org/303591
+http://bugzilla.redhat.com/468565
+http://bugzilla.gnome.org/502664
+
+--- a/conf.d/30-urw-aliases.conf
++++ b/conf.d/30-urw-aliases.conf
+@@ -29,6 +29,10 @@
+ <family>Zapf Dingbats</family>
+ <accept><family>Dingbats</family></accept>
+ </alias>
++ <alias binding="same">
++ <family>ZapfDingbats</family>
++ <accept><family>Dingbats</family></accept>
++ </alias>
+ <match target="pattern">
+ <test name="family">
+ <string>Symbol</string>
diff --git a/media-libs/fontconfig/fontconfig-2.8.0-r1.ebuild b/media-libs/fontconfig/fontconfig-2.8.0-r1.ebuild
new file mode 100644
index 000000000000..643a0e15be5d
--- /dev/null
+++ b/media-libs/fontconfig/fontconfig-2.8.0-r1.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.8.0-r1.ebuild,v 1.1 2010/04/11 02:12:48 dirtyepic Exp $
+
+EAPI="2"
+
+inherit autotools eutils libtool toolchain-funcs flag-o-matic
+
+DESCRIPTION="A library for configuring and customizing font access"
+HOMEPAGE="http://fontconfig.org/"
+SRC_URI="http://fontconfig.org/release/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="doc"
+
+# Purposefully dropped the xml USE flag and libxml2 support. Expat is the
+# default and used by every distro. See bug #283191.
+
+RDEPEND=">=media-libs/freetype-2.2.1
+ >=dev-libs/expat-1.95.3"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? (
+ app-text/docbook-sgml-utils[jadetex]
+ =app-text/docbook-sgml-dtd-3.1*
+ )"
+PDEPEND="app-admin/eselect-fontconfig
+ virtual/ttf-fonts"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.7.1-latin-reorder.patch # 130466
+ epatch "${FILESDIR}"/${PN}-2.3.2-docbook.patch # 310157
+ epatch "${FILESDIR}"/${PN}-2.8.0-urw-aliases.patch # 303591
+
+ eautoreconf
+
+ # Needed to get a sane .so versioning on fbsd, please dont drop
+ # If you have to run eautoreconf, you can also leave the elibtoolize call as
+ # it will be a no-op.
+ elibtoolize
+}
+
+src_configure() {
+ local myconf
+ if tc-is-cross-compiler; then
+ myconf="--with-arch=${ARCH}"
+ replace-flags -mtune=* -DMTUNE_CENSORED
+ replace-flags -march=* -DMARCH_CENSORED
+ fi
+ econf \
+ $(use_enable doc docs) \
+ $(use_enable doc docbook) \
+ --localstatedir=/var \
+ --with-default-fonts=/usr/share/fonts \
+ --with-add-fonts=/usr/local/share/fonts \
+ ${myconf} || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install"
+ emake DESTDIR="${D}" -C doc install-man || die "emake install-man"
+
+ #fc-lang directory contains language coverage datafiles
+ #which are needed to test the coverage of fonts.
+ insinto /usr/share/fc-lang
+ doins fc-lang/*.orth
+
+ insinto /etc/fonts
+ doins "${S}"/fonts.conf
+
+ dodoc doc/fontconfig-user.{txt,pdf}
+ dodoc AUTHORS ChangeLog README
+
+ if [[ -e ${D}usr/share/doc/fontconfig/ ]]; then
+ mv "${D}"usr/share/doc/fontconfig/* "${D}"/usr/share/doc/${P}
+ rm -rf "${D}"usr/share/doc/fontconfig
+ fi
+
+ # Changes should be made to /etc/fonts/local.conf, and as we had
+ # too much problems with broken fonts.conf, we force update it ...
+ # <azarah@gentoo.org> (11 Dec 2002)
+ echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
+ doenvd "${T}"/37fontconfig
+
+ # As of fontconfig 2.7, everything sticks their noses in here.
+ dodir /etc/sandbox.d
+ echo 'SANDBOX_PREDICT="/var/cache/fontconfig"' > "${D}"/etc/sandbox.d/37fontconfig
+}
+
+pkg_preinst() {
+ # Bug #193476
+ # /etc/fonts/conf.d/ contains symlinks to ../conf.avail/ to include various
+ # config files. If we install as-is, we'll blow away user settings.
+ ebegin "Syncing fontconfig configuration to system"
+ if [[ -e ${ROOT}/etc/fonts/conf.d ]]; then
+ for file in "${ROOT}"/etc/fonts/conf.avail/*; do
+ f=${file##*/}
+ if [[ -L ${ROOT}/etc/fonts/conf.d/${f} ]]; then
+ [[ -f ${D}etc/fonts/conf.avail/${f} ]] \
+ && ln -sf ../conf.avail/"${f}" "${D}"etc/fonts/conf.d/ &>/dev/null
+ else
+ [[ -f ${D}etc/fonts/conf.avail/${f} ]] \
+ && rm "${D}"etc/fonts/conf.d/"${f}" &>/dev/null
+ fi
+ done
+ fi
+ eend $?
+}
+
+pkg_postinst() {
+ einfo "Cleaning broken symlinks in "${ROOT}"etc/fonts/conf.d/"
+ find -L "${ROOT}"etc/fonts/conf.d/ -type l -delete
+
+ echo
+ ewarn "Please make fontconfig configuration changes using \`eselect fontconfig\`"
+ ewarn "Any changes made to /etc/fonts/fonts.conf will be overwritten."
+ ewarn
+ ewarn "If you need to reset your configuration to upstream defaults, delete"
+ ewarn "the directory ${ROOT}etc/fonts/conf.d/ and re-emerge fontconfig."
+ echo
+
+ if [[ ${ROOT} = / ]]; then
+ ebegin "Creating global font cache"
+ /usr/bin/fc-cache -srf
+ eend $?
+ fi
+}