Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 201477 Details for
Bug 281708
[patch] fixing xorg fonts w/ fc-cache
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-misc-ethiopic-Skip-fc-cache-with-DESTDIR.patch
0001-misc-ethiopic-Skip-fc-cache-with-DESTDIR.patch (text/plain), 1.57 KB, created by
Ryan Hill (RETIRED)
on 2009-08-16 21:01:19 UTC
(
hide
)
Description:
0001-misc-ethiopic-Skip-fc-cache-with-DESTDIR.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2009-08-16 21:01:19 UTC
Size:
1.57 KB
patch
obsolete
>From c2786b244145fcb0f640741c33565fc0cbeeae7c Mon Sep 17 00:00:00 2001 >From: Ryan Hill <dirtyepic@gentoo.org> >Date: Sun, 16 Aug 2009 15:00:30 -0600 >Subject: [PATCH] misc-ethiopic: Skip fc-cache with DESTDIR. > >Fontconfig-2.7.0 runs chmod on the cachedir, causing access violations >when installing into a sandboxed environment. > >Signed-off-by: Ryan Hill <dirtyepic@gentoo.org> >--- > Makefile.am | 22 ++++++++++++++++++++-- > 1 files changed, 20 insertions(+), 2 deletions(-) > >diff --git a/Makefile.am b/Makefile.am >index d0e24cb..c979e70 100644 >--- a/Makefile.am >+++ b/Makefile.am >@@ -32,12 +32,30 @@ install-data-hook: > $(MKFONTSCALE) $(DESTDIR)$(ttffontdir) > @rm -f $(DESTDIR)$(ttffontdir)/font.dir > $(MKFONTDIR) $(DESTDIR)$(ttffontdir) >- $(FCCACHE) $(DESTDIR)$(ttffontdir) >+ @(if `test -z '$(DESTDIR)'`; then \ >+ echo $(FCCACHE) $(ttffontdir); \ >+ $(FCCACHE) $(ttffontdir); \ >+ else \ >+ echo "***"; \ >+ echo "*** Warning: fonts.cache not built"; \ >+ echo "***"; \ >+ echo "*** Generate this file manually on host system using fc-cache"; \ >+ echo "***"; \ >+ fi) > @rm -f $(DESTDIR)$(otffontdir)/fonts.scale > $(MKFONTSCALE) $(DESTDIR)$(otffontdir) > @rm -f $(DESTDIR)$(otffontdir)/font.dir > $(MKFONTDIR) $(DESTDIR)$(otffontdir) >- $(FCCACHE) $(DESTDIR)$(otffontdir) >+ @(if `test -z '$(DESTDIR)'`; then \ >+ echo $(FCCACHE) $(otffontdir); \ >+ $(FCCACHE) $(otffontdir); \ >+ else \ >+ echo "***"; \ >+ echo "*** Warning: fonts.cache not built"; \ >+ echo "***"; \ >+ echo "*** Generate this file manually on host system using fc-cache"; \ >+ echo "***"; \ >+ fi) > > distuninstallcheck: > @: >-- >1.6.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281708
:
201463
|
201467
|
201468
|
201471
|
201474
|
201476
| 201477 |
201479