Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/kpathsea/
Date: Fri, 02 Apr 2021 07:25:17
Message-Id: 1617348037.6c71f0cce20b1ba654b8ab81515231ce5796b24d.zlogene@gentoo
1 commit: 6c71f0cce20b1ba654b8ab81515231ce5796b24d
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 2 07:19:48 2021 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 2 07:20:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c71f0cc
7
8 dev-libs/kpathsea: Use tmpfiles for runtime dirs
9
10 Closes: https://bugs.gentoo.org/605364
11 Package-Manager: Portage-3.0.17, Repoman-3.0.2
12 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
13
14 dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild | 7 ++++---
15 1 file changed, 4 insertions(+), 3 deletions(-)
16
17 diff --git a/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild b/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild
18 index e2fd405ab8c..365d871b16e 100644
19 --- a/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild
20 +++ b/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild
21 @@ -3,7 +3,7 @@
22
23 EAPI=7
24
25 -inherit texlive-common libtool prefix
26 +inherit texlive-common libtool prefix tmpfiles
27
28 TEXMFD_VERSION="10"
29
30 @@ -68,8 +68,7 @@ src_install() {
31
32 # The default configuration expects it to be world writable, bug #266680
33 # People can still change it with texconfig though.
34 - dodir /var/cache/fonts
35 - fperms 1777 /var/cache/fonts
36 + dotmpfiles "${FILESDIR}"/kpathsea.conf
37
38 # Take care of fmtutil.cnf and texmf.cnf
39 dodir /etc/texmf/{fmtutil.d,texmf.d}
40 @@ -98,6 +97,8 @@ src_install() {
41 }
42
43 pkg_postinst() {
44 + tmpfiles_process "${FILESDIR}"/kpathsea.conf
45 +
46 etexmf-update
47 }