View | Details | Raw Unified | Return to bug 194957 | Differences between
and this patch

Collapse All | Expand All

(-)Keywords/fc.ucl (+2 lines)
Lines 9-14 post-install: <<EOD Link Here
9
  *) fontsdir="%D/%@" ;;
9
  *) fontsdir="%D/%@" ;;
10
  esac
10
  esac
11
  fc-cache -s ${fontsdir} 2>/dev/null || true
11
  fc-cache -s ${fontsdir} 2>/dev/null || true
12
  /compat/linux/usr/bin/fc-cache -s ${fontsdir} 2>/dev/null || true
12
EOD
13
EOD
13
post-deinstall: <<EOD
14
post-deinstall: <<EOD
14
  case "%@" in
15
  case "%@" in
Lines 16-19 post-deinstall: <<EOD Link Here
16
  *) fontsdir="%D/%@" ;;
17
  *) fontsdir="%D/%@" ;;
17
  esac
18
  esac
18
  fc-cache -s ${fontsdir} 2>/dev/null || true
19
  fc-cache -s ${fontsdir} 2>/dev/null || true
20
  /compat/linux/usr/bin/fc-cache -s ${fontsdir} 2>/dev/null || true
19
EOD
21
EOD
(-)Keywords/fcfontsdir.ucl (+2 lines)
Lines 9-14 post-install: <<EOD Link Here
9
  *) fontsdir="%D/%@" ;;
9
  *) fontsdir="%D/%@" ;;
10
  esac
10
  esac
11
  fc-cache -s ${fontsdir} 2>/dev/null || true
11
  fc-cache -s ${fontsdir} 2>/dev/null || true
12
  /compat/linux/usr/bin/fc-cache -s ${fontsdir} 2>/dev/null || true
12
  mkfontscale ${fontsdir} 2>/dev/null || true
13
  mkfontscale ${fontsdir} 2>/dev/null || true
13
  mkfontdir ${fontsdir} 2>/dev/null || true
14
  mkfontdir ${fontsdir} 2>/dev/null || true
14
EOD
15
EOD
Lines 18-23 post-deinstall: <<EOD Link Here
18
  *) fontsdir="%D/%@" ;;
19
  *) fontsdir="%D/%@" ;;
19
  esac
20
  esac
20
  fc-cache -s ${fontsdir} 2>/dev/null || true
21
  fc-cache -s ${fontsdir} 2>/dev/null || true
22
  /compat/linux/usr/bin/fc-cache -s ${fontsdir} 2>/dev/null || true
21
  mkfontscale ${fontsdir} 2>/dev/null || true
23
  mkfontscale ${fontsdir} 2>/dev/null || true
22
  if [ -e ${fontsdir}/fonts.scale -a "`stat -f '%%z' ${fontsdir}/fonts.scale 2>/dev/null`" = '2' ]; then
24
  if [ -e ${fontsdir}/fonts.scale -a "`stat -f '%%z' ${fontsdir}/fonts.scale 2>/dev/null`" = '2' ]; then
23
    rm ${fontsdir}/fonts.scale
25
    rm ${fontsdir}/fonts.scale
(-)x11-fonts/linux-c6-fontconfig/Makefile (-1 lines)
Lines 24-30 USE_LDCONFIG= yes Link Here
24
# Don't let the linux fc-cache mess up the native cache file
24
# Don't let the linux fc-cache mess up the native cache file
25
post-extract:
25
post-extract:
26
		@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts ${WRKSRC}/var \
26
		@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts ${WRKSRC}/var \
27
			${WRKSRC}/usr/bin/fc-cache \
28
			${WRKSRC}/usr/share/man/man1/fc-cache.1.gz
27
			${WRKSRC}/usr/share/man/man1/fc-cache.1.gz
29
28
30
post-install:
29
post-install:
(-)x11-fonts/linux-c6-fontconfig/pkg-plist (+3 lines)
Lines 1-4 Link Here
1
etc/fonts
1
etc/fonts
2
usr/bin/fc-cache
2
usr/bin/fc-cat
3
usr/bin/fc-cat
3
usr/bin/fc-list
4
usr/bin/fc-list
4
usr/bin/fc-match
5
usr/bin/fc-match
Lines 17-19 usr/share/man/man1/fc-match.1.gz Link Here
17
usr/share/man/man1/fc-query.1.gz
18
usr/share/man/man1/fc-query.1.gz
18
usr/share/man/man1/fc-scan.1.gz
19
usr/share/man/man1/fc-scan.1.gz
19
usr/share/man/man5/fonts-conf.5.gz
20
usr/share/man/man5/fonts-conf.5.gz
21
@comment pre-seed cache like x11-fonts/fontconfig/files/pkg-install.in
22
@exec %D/usr/bin/fc-cache -s 2>/dev/null || true
(-)x11-fonts/linux-f10-fontconfig/Makefile (-1 lines)
Lines 25-31 USE_LDCONFIG= yes Link Here
25
# Don't let the linux fc-cache mess up the native cache file
25
# Don't let the linux fc-cache mess up the native cache file
26
post-extract:
26
post-extract:
27
		@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts ${WRKSRC}/var \
27
		@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts ${WRKSRC}/var \
28
			${WRKSRC}/usr/bin/fc-cache \
29
			${WRKSRC}/usr/share/man/man1/fc-cache.1.gz
28
			${WRKSRC}/usr/share/man/man1/fc-cache.1.gz
30
29
31
post-install:
30
post-install:
(-)x11-fonts/linux-f10-fontconfig/pkg-plist (+3 lines)
Lines 1-5 Link Here
1
@comment file listing
1
@comment file listing
2
etc/fonts
2
etc/fonts
3
usr/bin/fc-cache
3
usr/bin/fc-cat
4
usr/bin/fc-cat
4
usr/bin/fc-list
5
usr/bin/fc-list
5
usr/bin/fc-match
6
usr/bin/fc-match
Lines 14-16 usr/share/man/man1/fc-cat.1.gz Link Here
14
usr/share/man/man1/fc-list.1.gz
15
usr/share/man/man1/fc-list.1.gz
15
usr/share/man/man1/fc-match.1.gz
16
usr/share/man/man1/fc-match.1.gz
16
usr/share/man/man5/fonts-conf.5.gz
17
usr/share/man/man5/fonts-conf.5.gz
18
@comment pre-seed cache like x11-fonts/fontconfig/files/pkg-install.in
19
@exec %D/usr/bin/fc-cache -s 2>/dev/null || true

Return to bug 194957