summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/fontconfig/ChangeLog7
-rw-r--r--media-libs/fontconfig/Manifest26
-rw-r--r--media-libs/fontconfig/fontconfig-2.11.0.ebuild148
3 files changed, 172 insertions, 9 deletions
diff --git a/media-libs/fontconfig/ChangeLog b/media-libs/fontconfig/ChangeLog
index 7b6bb6636ba2..b29d654609cb 100644
--- a/media-libs/fontconfig/ChangeLog
+++ b/media-libs/fontconfig/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/fontconfig
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.186 2013/10/17 22:49:36 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.187 2013/10/21 04:13:31 yngwin Exp $
+
+*fontconfig-2.11.0 (21 Oct 2013)
+
+ 21 Oct 2013; Ben de Groot <yngwin@gentoo.org> +fontconfig-2.11.0.ebuild:
+ version bump
17 Oct 2013; Christoph Junghans <ottxor@gentoo.org> fontconfig-2.10.93.ebuild:
added prefix support (bug #484146)
diff --git a/media-libs/fontconfig/Manifest b/media-libs/fontconfig/Manifest
index 000080de721c..91fa657578d2 100644
--- a/media-libs/fontconfig/Manifest
+++ b/media-libs/fontconfig/Manifest
@@ -15,22 +15,32 @@ AUX fontconfig-2.7.1-latin-reorder.patch 1701 SHA256 cd27212a9e8a3045106fd427f2e
AUX fontconfig-2.8.0-urw-aliases.patch 509 SHA256 4a1e122dd3b140765163ca72eba8c2c52daa9e9459ddbcb6a2eba9a5bebe76d4 SHA512 774c57a28e10eb666c18e69dd7cf59fe1110fe13bbbade185dbd21be4917d4d7fb632be56805b2739ea9b47ee96560c8dd1d3d1916fed56ac32a16757a911f7e WHIRLPOOL 11d7056d1830a7e48aea00a22bb81397c9025f59817fd476dc26083e7ac2603aefd2ace261dfd04df78b6caa8d9c07f66027f37438b4677a7efe28b3cff260b6
DIST fontconfig-2.10.92.tar.bz2 1525585 SHA256 1162059927120f2321f12917189b524e6b2f09e11ac643278d0bb82634035b22 SHA512 b09996f1715a1d563cfc95a986847d0895fff96fb8a5db4b006a560764654db749675ed5d4ca2369296c0f6d2c21581e63892df2883d021ff6b92ede04788a1b WHIRLPOOL 75164908ce454c26583afde9575e4dac2985dd947f8abaf3a5173777fc738c11430c72674c342ae9445f2a749d0414b7d291032203f62e2cb5d6db5b119f14f5
DIST fontconfig-2.10.93.tar.bz2 1526089 SHA256 ea901f278848829ed9937d76fb0ce63ad362d7d5b9e75aa6a6b78bfef42e529c SHA512 5339ac2db160b672a4c9be09f019120c003d90ff6ad7d99894c4ffef7aefb7f3913d886090e4248c33a93481b522561b6057e45243842c8c830e1608e7e5d83f WHIRLPOOL 3f15a0f3e35318a692b895ea50e4a46be70951523853dbc6b2a7e6320bf93de1548d46ac732595d1aa3daaf94a7a4437796ec372021cf9dc7443ba1d885651f5
+DIST fontconfig-2.11.0.tar.bz2 1541382 SHA256 cb0e0ef6f03bc8568e95653840bb07d5859dc89d7ce2cade9d94fcccf8c1a467 SHA512 167061981f094060a684809110ac7c3a5bd0e7724427186b499351b25f8f28a3e03fa9aa0ab6db686347673b066fc97f0b27d6e4bfea5f44194244741637c256 WHIRLPOOL 9f905240a8cfa2b1151d6ff9cba7dce4e960e78b072a3a06ac6d49838e8b76a905478d9b6f9fc04aab49c49c2c583da8ea25de3ca12d3e08accda6f58c319e72
DIST fontconfig-2.8.0.tar.gz 1548409 SHA256 fa2a1c6eea654d9fce7a4b1220f10c99cdec848dccaf1625c01f076b31382335 SHA512 a110e72cc631f1e374324a02f6ba9526b89a547cafe2ae27b9913938b19018843b2940084d62f0dfaf38a6919dea6974fb98422d3908026f6873d5fba17c55a0 WHIRLPOOL cb7c5c461bcb0a0f6ef93d24a10506512beb99233a1f81d904321577c4023e38c7090806c616b8224689400fc4e2209e26aa20aa1f0ad84b2fcad5477061a003
DIST fontconfig-2.9.0.tar.gz 1682774 SHA256 ca7e25071cf044bdcdaf7c48845243c115b9269b4e369c6bd78a29e71f01b41a SHA512 1e91132141756c7455b97fb4d7773b8c0812d98d0c0f5f137c728d6f03cb4601a7f2857c246bd63619d47a8d9aeceb475a16dd625bfc085e235e85b04d29014f WHIRLPOOL a3814b4b2a1b86cedde702545defbcfbca7d3d61ecf512f37a09b5c4041ebb317aadcde1553be534e70d30c212729f547b50cbcd3102226fa92a7c75a7e55620
EBUILD fontconfig-2.10.92.ebuild 4303 SHA256 ed99599373ed5ed92f7475ba43dd8dfe0c10130b0a91d8665ea2fda383717b2c SHA512 a4db178067cc0804a55a435bd907bc7b135af5dd85febd7c29dce70598a751a9654979f75bce044254c05105fb627738173f78666a8a8b6c03b0307d1f4f92f1 WHIRLPOOL c7ca5c2a532dcee0897fe5908a6cbb7d01dabebe3de8bfe906ebcf86dd8f732b6034530f3814c8ae4c0e6ca3051489f57209f4667870e8f38c307d23f5c656dd
EBUILD fontconfig-2.10.93.ebuild 4709 SHA256 5d6180fef41fe2cfe95218b145942c41f30bd130fb130c56f0829f320db65113 SHA512 3d32cc5127087c1473108b2dc27b6c9aeed4347246a853626fd16c271fc1bddb8e23fdd0ab00b392ffb6d47f49a9762653706d35c29377904c1b278eed85bd79 WHIRLPOOL 8b17b583b7ef1b3df8fe77b01131ef003382e7343bd0a086f674e69f4c02e55f5cfc4b797f33510605e19eb2d3636aef451712f0b264c8534e98330b1a0eb1ab
+EBUILD fontconfig-2.11.0.ebuild 4708 SHA256 8f5f91d85048bdbdeb48b48026d7bb68fda2f6ed372497cc603afdb497117d98 SHA512 ba7de9d232df2591e22eb67b279ce145319bf432198ee06477c8860fe8619149e6e6f2f778fef7566521ef2530628b4d325572f4d4d07dd2362f9c1c3abb480f WHIRLPOOL b6b10eb808aa483a8ba78e2065c587c87b3a59a190d9d35082603306a71b660c59f333af0c4a77e3ea3c4f17e859246512447c67f2153a7d53c6818440694047
EBUILD fontconfig-2.8.0-r1.ebuild 3979 SHA256 41cc191c9e0763037801dcc0c8d8c753ce3ec5f236cec906a2e21a6140e5306f SHA512 5f0e19e48f9a7ca5ea863f2dd6c1afdcc2de2433a06da0ce69e5b6fcb769c757ebf2dcfaa500fc6532862af100501d5162678a1f7ce11256a871520350956556 WHIRLPOOL 7aca6d65eba1a31ab29ade2dbe39f6fc85d6542bed47aaadd3bfa38f5708aacf60b357a8f2df61b16da7e654e91a16b345cf17997de775099bad91680d305c92
EBUILD fontconfig-2.9.0.ebuild 4081 SHA256 6c897b70cec26bf69f8fd6344e62fa5204b4cd46860c1e5ea7cfa961c8b22b14 SHA512 7495d2a674d407d3ba535288b444034a3a7a9465eab1b89807e4f59366f0a8b548d0db973858026e58c4e633e0652ad7ffe9c0f5ba8037e207ede9082e84694b WHIRLPOOL 0d9a1b4d4dbd2c4e6fb790d5dea3e369ec112468843af9ce0c7a5f0dce0af1f411544b13dfeb4dceb4cfe9c1d5507dd304349ba33fc57a8a761ed47bc834ad18
-MISC ChangeLog 29665 SHA256 62c0fe80b513c3e3162af0ad970accae27c7afa79959de90baa75f9e93f9e291 SHA512 96e473b24d50b38ad3b0514c16e656141370e927dd52f5acb72f2a35c550e7815c43425afd8fcd10dbc3aec0133f4121d31766db9828b313df3cd7917088fe3e WHIRLPOOL 27c3722419e8116d27f448f87d488febb16aadd30ef5e95f7a1485293f41841861fe7376af9c1f53c49825dd6251ad558649c64060f40858a22c6a1493275373
+MISC ChangeLog 29790 SHA256 3f8de18b9c657ee5ddd8657f7c637462cc22c57a5914d3f026c2c739cf34965b SHA512 db0eaf413bb565d1af198d08d9f700d41f77ff38c1a1e41cc433ab1b3ef5d4ecd2da636cad0dbb5e6ae76e41db75bbc895b2c5c019b4fe3caca671a94843f624 WHIRLPOOL aad41bfe9d225027e2fecd22f4885bec597e3f6b62bc05bc0fbee4772e4d748efc8f97e3dc85301bb10b7086b7c793fcb78de17dedd404a6fc8f9ca68b578138
MISC metadata.xml 727 SHA256 90e4744ccb449b368e08690f44e02d4d8812b2a85223fb28943e5cbfd9bc1cbc SHA512 57e7f4ccb02227afe7ff2a9e2ad78a7ad54932d900a82c470bf0a71056357e8393d27c73e7f9f78940d8dc35d83182a14a0ca8feffe4c08a029c158ba343724d WHIRLPOOL fb47925fc948cac4a70befbf369a1cafcc94b00b607e07709692288fca5dd4fadb2e8e2e0b1e495d92ed3746d9fa9d45fd45d6aa4dea403617aa78b13e8b4f89
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJSYGmIAAoJEOeBhlrCAAWGs8kH/jH9GjugVctyi6kNPOj2GiKo
-qmiqpdG32I56YU/e+BZWSgZHDvw5mhLODUtaKXXNaw57iswv921ArYPld7PGENix
-g9NTSrw6fOPoIcpXQvw2+YqOKtz76RwNOZjpbc2getLaniUPN3FAK03hKd9+/uZ4
-CUxvZjbGNF6ZTn4fax6ulVO2ujqP+WZgIIS5+AepY4PyABH4b1Xe5wjy5Yr+zXyF
-D0hdn9XFgiUnxVUcHpzL0pRPMD3fTEWv1ztfhrZQW+4v1dRt+3qD5rtTWLOttyD1
-+Rj2K8Ry8qhaDxCIi6IBewOKDC2g4vaD/Ws7nvvxU0R9ixzExVC66e2gJE7tSqc=
-=xOpG
+iQJ8BAEBCABmBQJSZKnxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGODRENkQ2QkI1MzlEMURGNTkyNjYxNjUy
+QjI0NzRBRDQzQ0UyOTZFAAoJECskdK1Dziluy0QQAK+mXZFIGJ56KkJk8oiK9Ij+
+cx+CgS2Zcyqn4E5NkcOZ5DoK5/anldvrFyakTTEU8EkhUvFjaafKPDd7Z/Zu5G+A
+g//TEsjwG+YcQs0F5FqLCJmYnCVeuIQcat9d/lWdgJJeW82bbmDNpev1lvQgvi2M
+uoH0pdG6WcLnxAWhdTUJ9i8Up9IF5cp/UNqwl1DfY+PwRXwk8w3O1rr6n33L12gs
+NpJUytoQUaeRKywuCrkUvFROJ74PgjIQNTGoE9gYp/DnWcLR1E+j2/8VFrUN/lTN
+vhJPMrocYGdCYgeLcLcDigbpRQ++O1SQAfnUl5FWJOg5r8XoR1hqugSPzKcUe5k+
+Uzp1tpngwKEHkRfq5KNO90HEKZEvPJaRa8xpWUbTxYTv0iDFPBcKqjCEKlpdINtu
+sp92F+8QwTn65c83EWVxAfceJx9/xiDlruKBcUl3TIt5EbD6oTns/5Aq7VKCEaDM
+iATZzVMl52eiCr3bxFmm8d8MfbvhiQz0EPU6JV2wKfxTuhUpQsv1MxciFI+wnZ5f
+JN6wxBTtgUzfF0PV2qdEOjTSn12aVylgpWrEMpZbtIAzlclZaiCvcZ2ekRZqVSVa
+LC8Ogz2HLFPn7Xfq3/2//mwD9yqx8QLdcgzQx8zKyGfxXPBAVSDCgQWmH2DETzgw
+llLRvryJ5zyj+VLoxyiB
+=gCng
-----END PGP SIGNATURE-----
diff --git a/media-libs/fontconfig/fontconfig-2.11.0.ebuild b/media-libs/fontconfig/fontconfig-2.11.0.ebuild
new file mode 100644
index 000000000000..603fda32c38e
--- /dev/null
+++ b/media-libs/fontconfig/fontconfig-2.11.0.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.11.0.ebuild,v 1.1 2013/10/21 04:13:31 yngwin Exp $
+
+EAPI=5
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-multilib readme.gentoo
+
+DESCRIPTION="A library for configuring and customizing font access"
+HOMEPAGE="http://fontconfig.org/"
+SRC_URI="http://fontconfig.org/release/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="doc static-libs"
+
+# Purposefully dropped the xml USE flag and libxml2 support. Expat is the
+# default and used by every distro. See bug #283191.
+
+RDEPEND=">=dev-libs/expat-1.95.3[${MULTILIB_USEDEP}]
+ >=media-libs/freetype-2.2.1[${MULTILIB_USEDEP}]
+ abi_x86_32? ( !app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? (
+ =app-text/docbook-sgml-dtd-3.1*
+ app-text/docbook-sgml-utils[jadetex]
+ )"
+PDEPEND="!x86-winnt? ( app-admin/eselect-fontconfig )
+ virtual/ttf-fonts"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.7.1-latin-reorder.patch # 130466
+ "${FILESDIR}"/${PN}-2.10.2-docbook.patch # 310157
+)
+
+pkg_setup() {
+ DOC_CONTENTS="Please make fontconfig configuration changes using
+ \`eselect fontconfig\`. Any changes made to /etc/fonts/fonts.conf will be
+ overwritten. If you need to reset your configuration to upstream defaults,
+ delete the directory ${EROOT}etc/fonts/conf.d/ and re-emerge fontconfig."
+}
+
+src_configure() {
+ local addfonts
+ # harvest some font locations, such that users can benefit from the
+ # host OS's installed fonts
+ case ${CHOST} in
+ *-darwin*)
+ addfonts=",/Library/Fonts,/System/Library/Fonts"
+ ;;
+ *-solaris*)
+ [[ -d /usr/X/lib/X11/fonts/TrueType ]] && \
+ addfonts=",/usr/X/lib/X11/fonts/TrueType"
+ [[ -d /usr/X/lib/X11/fonts/Type1 ]] && \
+ addfonts="${addfonts},/usr/X/lib/X11/fonts/Type1"
+ ;;
+ *-linux-gnu)
+ use prefix && [[ -d /usr/share/fonts ]] && \
+ addfonts=",/usr/share/fonts"
+ ;;
+ esac
+
+ local myeconfargs=(
+ $(use_enable doc docbook)
+ # always enable docs to install manpages
+ --enable-docs
+ --localstatedir="${EPREFIX}"/var
+ --with-default-fonts="${EPREFIX}"/usr/share/fonts
+ --with-add-fonts="${EPREFIX}/usr/local/share/fonts${addfonts}" \
+ --with-templatedir="${EPREFIX}"/etc/fonts/conf.avail
+ )
+
+ autotools-multilib_src_configure
+}
+
+src_install() {
+ autotools-multilib_src_install
+
+ # XXX: avoid calling this multiple times, bug #459210
+ install_others() {
+ # stuff installed from build-dir
+ autotools-utils_src_compile \
+ DESTDIR="${D}" -C doc install-man
+
+ insinto /etc/fonts
+ doins "${BUILD_DIR}"/fonts.conf
+ }
+ multilib_foreach_abi install_others
+
+ #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
+
+ dodoc doc/fontconfig-user.{txt,pdf}
+
+ if [[ -e ${ED}usr/share/doc/fontconfig/ ]]; then
+ mv "${ED}"usr/share/doc/fontconfig/* "${ED}"/usr/share/doc/${P}
+ rm -rf "${ED}"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 ...
+ 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"' > "${ED}"/etc/sandbox.d/37fontconfig
+
+ readme.gentoo_create_doc
+}
+
+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 ${EROOT}/etc/fonts/conf.d ]]; then
+ for file in "${EROOT}"/etc/fonts/conf.avail/*; do
+ f=${file##*/}
+ if [[ -L ${EROOT}/etc/fonts/conf.d/${f} ]]; then
+ [[ -f ${ED}etc/fonts/conf.avail/${f} ]] \
+ && ln -sf ../conf.avail/"${f}" "${ED}"etc/fonts/conf.d/ &>/dev/null
+ else
+ [[ -f ${ED}etc/fonts/conf.avail/${f} ]] \
+ && rm "${ED}"etc/fonts/conf.d/"${f}" &>/dev/null
+ fi
+ done
+ fi
+ eend $?
+}
+
+pkg_postinst() {
+ einfo "Cleaning broken symlinks in "${EROOT}"etc/fonts/conf.d/"
+ find -L "${EROOT}"etc/fonts/conf.d/ -type l -delete
+
+ readme.gentoo_print_elog
+
+ if [[ ${ROOT} = / ]]; then
+ ebegin "Creating global font cache"
+ "${EPREFIX}"/usr/bin/fc-cache -srf
+ eend $?
+ fi
+}