From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/fontconfig/
Date: Tue, 18 Sep 2018 07:16:08 +0000 (UTC) [thread overview]
Message-ID: <1537254953.c99288edb7c658dafa1cd8056ab44f4569ad5075.polynomial-c@gentoo> (raw)
commit: c99288edb7c658dafa1cd8056ab44f4569ad5075
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Tue Sep 18 04:13:11 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Sep 18 07:15:53 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c99288ed
media-libs/fontconfig: Various fixes mostly related to EAPI="7".
Move CBUILD-side tools from DEPEND to BDEPEND.
Add [${MULTILIB_USEDEP}] to dependency on virtual/pkgconfig.
Fix usage of ${ED}, ${ROOT}, ${EROOT}.
Closes: https://bugs.gentoo.org/666418
media-libs/fontconfig/fontconfig-2.13.1.ebuild | 36 ++++++++++++++------------
1 file changed, 19 insertions(+), 17 deletions(-)
diff --git a/media-libs/fontconfig/fontconfig-2.13.1.ebuild b/media-libs/fontconfig/fontconfig-2.13.1.ebuild
index 3b995391a94..6d02affef22 100644
--- a/media-libs/fontconfig/fontconfig-2.13.1.ebuild
+++ b/media-libs/fontconfig/fontconfig-2.13.1.ebuild
@@ -15,6 +15,13 @@ SLOT="1.0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc static-libs"
+BDEPEND="dev-util/gperf
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ doc? (
+ =app-text/docbook-sgml-dtd-3.1*
+ app-text/docbook-sgml-utils[jadetex]
+ )"
# 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-2.1.0-r3[${MULTILIB_USEDEP}]
@@ -22,12 +29,7 @@ RDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
!elibc_Darwin? ( sys-apps/util-linux[${MULTILIB_USEDEP}] )
elibc_Darwin? ( sys-libs/native-uuid )
virtual/libintl[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- dev-util/gperf
- >=sys-devel/gettext-0.19.8
- doc? ( =app-text/docbook-sgml-dtd-3.1*
- app-text/docbook-sgml-utils[jadetex] )"
+DEPEND="${RDEPEND}"
PDEPEND="!x86-winnt? ( app-eselect/eselect-fontconfig )
virtual/ttf-fonts"
@@ -46,7 +48,7 @@ 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."
+ delete the directory ${EROOT}/etc/fonts/conf.d/ and re-emerge fontconfig."
}
src_prepare() {
@@ -116,9 +118,9 @@ multilib_src_install_all() {
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} || die
- rm -rf "${ED}"usr/share/doc/fontconfig
+ if [[ -e ${ED}/usr/share/doc/fontconfig/ ]]; then
+ mv "${ED}"/usr/share/doc/fontconfig/* "${ED}"/usr/share/doc/${P} || die
+ rm -rf "${ED}"/usr/share/doc/fontconfig
fi
# Changes should be made to /etc/fonts/local.conf, and as we had
@@ -144,11 +146,11 @@ pkg_preinst() {
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
+ [[ -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
+ [[ -f ${ED}/etc/fonts/conf.avail/${f} ]] \
+ && rm "${ED}"/etc/fonts/conf.d/"${f}" &>/dev/null
fi
done
fi
@@ -156,12 +158,12 @@ pkg_preinst() {
}
pkg_postinst() {
- einfo "Cleaning broken symlinks in ${EROOT%/}/etc/fonts/conf.d/"
- find -L "${EROOT}"etc/fonts/conf.d/ -type l -delete
+ 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
+ if [[ ${ROOT} == "" ]]; then
multilib_pkg_postinst() {
ebegin "Creating global font cache for ${ABI}"
"${EPREFIX}"/usr/bin/${CHOST}-fc-cache -srf
next reply other threads:[~2018-09-18 7:16 UTC|newest]
Thread overview: 140+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-18 7:16 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-13 12:05 [gentoo-commits] repo/gentoo:master commit in: media-libs/fontconfig/ Sam James
2025-02-22 9:38 Ulrich Müller
2025-01-30 0:40 Sam James
2025-01-29 22:40 Sam James
2024-12-06 20:25 Sam James
2024-10-18 19:05 Arthur Zamarin
2024-10-15 12:47 Arthur Zamarin
2024-10-12 23:45 Sam James
2024-10-12 23:35 Sam James
2024-10-12 23:18 Sam James
2024-10-12 23:18 Sam James
2024-10-07 2:52 Sam James
2024-05-28 14:03 Sam James
2024-05-28 12:35 Sam James
2024-05-28 12:29 Michał Górny
2024-05-28 12:04 Michał Górny
2023-12-27 20:57 Sam James
2023-12-27 20:57 Sam James
2023-12-01 16:00 Arthur Zamarin
2023-09-28 9:05 Sam James
2023-09-28 5:12 Sam James
2023-09-28 4:35 Sam James
2023-09-27 7:44 Sam James
2023-09-27 5:23 Sam James
2023-09-27 4:58 Sam James
2023-09-27 4:51 Sam James
2023-06-01 7:56 Sam James
2023-06-01 6:31 Sam James
2023-06-01 6:27 Sam James
2023-06-01 5:28 Sam James
2023-06-01 5:22 Sam James
2023-06-01 5:22 Sam James
2023-05-01 10:32 Sam James
2023-04-27 6:39 Sam James
2023-04-15 5:08 Sam James
2023-03-04 18:23 Arthur Zamarin
2023-03-04 11:48 Arthur Zamarin
2023-03-04 9:26 Arthur Zamarin
2023-03-04 7:57 Arthur Zamarin
2023-03-04 7:56 Arthur Zamarin
2023-03-04 5:50 Arthur Zamarin
2023-03-04 5:39 Arthur Zamarin
2023-03-04 5:32 Arthur Zamarin
2023-01-29 9:04 Sam James
2022-10-29 19:11 Sam James
2022-10-29 19:11 Sam James
2022-10-28 11:25 Sam James
2022-10-27 23:46 Sam James
2022-08-30 19:06 Sam James
2022-06-28 19:27 Arthur Zamarin
2022-06-28 19:08 Arthur Zamarin
2022-06-27 7:37 Agostino Sarubbo
2022-06-27 7:34 Agostino Sarubbo
2022-06-26 17:43 Arthur Zamarin
2022-06-26 17:24 Arthur Zamarin
2022-06-26 17:20 Arthur Zamarin
2022-06-26 17:19 Arthur Zamarin
2022-05-07 4:28 WANG Xuerui
2022-04-22 17:43 Sam James
2022-04-02 4:15 Sam James
2022-04-02 3:15 Sam James
2022-04-02 3:07 Sam James
2022-04-02 3:07 Sam James
2022-03-10 22:51 Sam James
2020-12-27 17:47 Fabian Groffen
2020-11-19 11:17 Agostino Sarubbo
2020-11-18 6:55 Agostino Sarubbo
2020-11-17 19:05 Agostino Sarubbo
2020-10-31 11:10 Mikle Kolyada
2020-10-29 22:06 Sergei Trofimovich
2020-10-29 22:06 Sergei Trofimovich
2020-10-28 19:38 Thomas Deutschmann
2020-10-28 19:38 Thomas Deutschmann
2020-10-20 9:49 Sam James
2020-10-20 9:46 Sam James
2018-11-12 20:26 Sergei Trofimovich
2018-10-17 11:18 Mikle Kolyada
2018-09-19 17:41 Markus Meier
2018-09-18 7:16 Lars Wendler
2018-09-17 21:34 Matt Turner
2018-09-17 21:34 Matt Turner
2018-09-14 8:28 Tobias Klausmann
2018-09-01 23:18 Sergei Trofimovich
2018-08-23 1:41 Thomas Deutschmann
2018-08-22 0:15 Mikle Kolyada
2018-08-21 18:42 Sergei Trofimovich
2018-08-21 8:25 Mart Raudsepp
2018-08-20 17:40 Mart Raudsepp
2018-07-25 8:54 Lars Wendler
2018-06-07 21:16 Mikle Kolyada
2018-06-02 17:25 Fabian Groffen
2018-06-02 14:57 Fabian Groffen
2018-06-02 14:14 Fabian Groffen
2018-05-20 21:38 Robin H. Johnson
2018-04-17 19:22 Michał Górny
2018-04-17 18:20 Thomas Deutschmann
2018-04-07 5:08 Matt Turner
2018-03-31 20:00 Sergei Trofimovich
2018-03-20 20:41 Matt Turner
2018-03-15 16:26 Mikle Kolyada
2018-03-13 20:31 Michał Górny
2018-03-08 18:10 Lars Wendler
2018-03-08 16:17 Lars Wendler
2018-03-08 16:07 Lars Wendler
2018-03-08 10:12 Lars Wendler
2018-03-05 13:57 Tobias Klausmann
2018-03-03 1:43 Mart Raudsepp
2018-02-22 10:27 Lars Wendler
2018-02-19 8:07 Sergei Trofimovich
2018-02-18 21:48 Thomas Deutschmann
2018-02-17 20:46 Sergei Trofimovich
2018-02-15 13:58 Jason Zaman
2018-02-15 9:23 Lars Wendler
2017-12-21 12:37 Lars Wendler
2017-10-05 13:04 Lars Wendler
2017-10-05 12:53 Fabian Groffen
2017-10-02 7:00 Fabian Groffen
2017-09-25 6:55 Fabian Groffen
2017-09-23 22:51 Lars Wendler
2017-09-08 22:49 Sergei Trofimovich
2017-09-08 5:06 Markus Meier
2017-09-04 7:30 Tobias Klausmann
2017-08-29 21:39 Thomas Deutschmann
2017-08-25 21:36 Mikle Kolyada
2017-08-19 15:16 Sergei Trofimovich
2017-08-17 20:18 Sergei Trofimovich
2017-07-24 13:11 Fabian Groffen
2017-07-20 10:23 Lars Wendler
2017-07-20 10:23 Lars Wendler
2017-06-20 12:37 Pacho Ramos
2017-06-03 19:27 Mike Gilbert
2017-06-02 20:49 Lars Wendler
2017-03-28 23:32 Michael Weber
2016-09-15 15:21 Michał Górny
2016-08-10 14:59 Lars Wendler
2016-08-10 14:59 Lars Wendler
2016-07-13 10:16 Lars Wendler
2016-07-13 10:16 Lars Wendler
2016-04-10 17:27 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1537254953.c99288edb7c658dafa1cd8056ab44f4569ad5075.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox