Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281708 - [patch] fixing xorg fonts w/ fc-cache
Summary: [patch] fixing xorg fonts w/ fc-cache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 271243
  Show dependency tree
 
Reported: 2009-08-16 20:30 UTC by Ryan Hill (RETIRED)
Modified: 2010-03-16 09:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-adobe-utopia-type1-Skip-fc-cache-with-DESTDIR.patch (0001-adobe-utopia-type1-Skip-fc-cache-with-DESTDIR.patch,1.06 KB, patch)
2009-08-16 20:32 UTC, Ryan Hill (RETIRED)
Details | Diff
0001-bh-ttf-Skip-fc-cache-with-DESTDIR.patch (0001-bh-ttf-Skip-fc-cache-with-DESTDIR.patch,1.05 KB, patch)
2009-08-16 20:44 UTC, Ryan Hill (RETIRED)
Details | Diff
0001-bh-type1-Skip-fc-cache-with-DESTDIR.patch (0001-bh-type1-Skip-fc-cache-with-DESTDIR.patch,1.05 KB, patch)
2009-08-16 20:47 UTC, Ryan Hill (RETIRED)
Details | Diff
0001-bitstream-type1-Skip-fc-cache-with-DESTDIR.patch (0001-bitstream-type1-Skip-fc-cache-with-DESTDIR.patch,1.06 KB, patch)
2009-08-16 20:49 UTC, Ryan Hill (RETIRED)
Details | Diff
0001-ibm-type1-Skip-fc-cache-with-DESTDIR.patch (0001-ibm-type1-Skip-fc-cache-with-DESTDIR.patch,1.05 KB, patch)
2009-08-16 20:52 UTC, Ryan Hill (RETIRED)
Details | Diff
0001-misc-meltho-Skip-running-fc-cache-with-DESTDIR.patch (0001-misc-meltho-Skip-running-fc-cache-with-DESTDIR.patch,1.06 KB, patch)
2009-08-16 20:54 UTC, Ryan Hill (RETIRED)
Details | Diff
0001-misc-ethiopic-Skip-fc-cache-with-DESTDIR.patch (0001-misc-ethiopic-Skip-fc-cache-with-DESTDIR.patch,1.57 KB, patch)
2009-08-16 21:01 UTC, Ryan Hill (RETIRED)
Details | Diff
0001-xfree86-type1-Skip-fc-cache-with-DESTDIR.patch (0001-xfree86-type1-Skip-fc-cache-with-DESTDIR.patch,1.05 KB, patch)
2009-08-16 21:03 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2009-08-16 20:30:58 UTC
Here are the patches for bug #278221.  Simply, if DESTDIR is set, skip running fc-cache.  Can someone see if upstream is interested?
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2009-08-16 20:32:54 UTC
Created attachment 201463 [details, diff]
0001-adobe-utopia-type1-Skip-fc-cache-with-DESTDIR.patch
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-08-16 20:44:17 UTC
Created attachment 201467 [details, diff]
0001-bh-ttf-Skip-fc-cache-with-DESTDIR.patch
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2009-08-16 20:47:09 UTC
Created attachment 201468 [details, diff]
0001-bh-type1-Skip-fc-cache-with-DESTDIR.patch
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2009-08-16 20:49:48 UTC
Created attachment 201471 [details, diff]
0001-bitstream-type1-Skip-fc-cache-with-DESTDIR.patch
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2009-08-16 20:52:39 UTC
Created attachment 201474 [details, diff]
0001-ibm-type1-Skip-fc-cache-with-DESTDIR.patch
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2009-08-16 20:54:48 UTC
Created attachment 201476 [details, diff]
0001-misc-meltho-Skip-running-fc-cache-with-DESTDIR.patch
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2009-08-16 21:01:19 UTC
Created attachment 201477 [details, diff]
0001-misc-ethiopic-Skip-fc-cache-with-DESTDIR.patch
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2009-08-16 21:03:33 UTC
Created attachment 201479 [details, diff]
0001-xfree86-type1-Skip-fc-cache-with-DESTDIR.patch
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2009-08-16 22:02:22 UTC
Thanks a bunch Ryan :)

I'll ping upstream this week about this and I'll commit them myself if they're ACKed. I'll see if I can do new releases for the fonts packages soon as well.

Cheers!
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2009-08-23 22:49:54 UTC
FYI, fontconfig-2.7.1-r1 fixes the sandbox violations for good.
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2009-08-24 06:37:12 UTC
Judging by the sandbox.d entry you put in the ebuild, I take it this can't be fixed directly in the code?

Thanks a bunch for the fix though :)
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-09-01 15:01:11 UTC
Upstream ACKed the patches and I've committed them all :)

BTW, now that there's a global sandbox.d entry for fontconfig, is the hack in the x-modular eclass still needed? Or does it need fontconfig to go stable first?

Cheers
Comment 13 Ryan Hill (RETIRED) gentoo-dev 2009-09-02 01:18:33 UTC
Nice. :)

The hack can be dropped now - the current stable fontconfig(s) work fine without it and all unstable versions in the tree now have the sandbox.d file.
Comment 14 Peter Volkov (RETIRED) gentoo-dev 2009-10-11 07:42:04 UTC
(In reply to comment #13)
> The hack can be dropped now

/me added me droppeed. Thank you.
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2010-03-15 23:15:27 UTC
Soooo, this is all fixed in stable, isn't it?
Comment 16 Ryan Hill (RETIRED) gentoo-dev 2010-03-16 04:39:53 UTC
this was never broken in stable, so.. yes. :)
Comment 17 Tomáš Chvátal (RETIRED) gentoo-dev 2010-03-16 09:53:25 UTC
in that case closing as fixed :]