Allow to build against systemwide harfbuzz and graphite2 libraries
Categories
(Firefox Build System :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: gaston, Unassigned)
References
Details
Attachments
(3 files, 9 obsolete files)
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Comment 6•12 years ago
|
||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Comment 16•11 years ago
|
||
Comment 17•11 years ago
|
||
Comment 18•11 years ago
|
||
Reporter | ||
Comment 19•11 years ago
|
||
Comment 20•11 years ago
|
||
Reporter | ||
Comment 21•11 years ago
|
||
Comment 23•11 years ago
|
||
Comment 24•11 years ago
|
||
Comment 25•10 years ago
|
||
Comment 26•10 years ago
|
||
Comment hidden (mozreview-request) |
Comment 28•10 years ago
|
||
Comment 29•10 years ago
|
||
Comment 30•10 years ago
|
||
Comment 31•10 years ago
|
||
Comment 32•9 years ago
|
||
Comment 33•9 years ago
|
||
Comment hidden (mozreview-request) |
Updated•9 years ago
|
Comment 35•9 years ago
|
||
Comment hidden (mozreview-request) |
Comment 37•9 years ago
|
||
Comment 38•9 years ago
|
||
Comment 39•9 years ago
|
||
Comment 40•9 years ago
|
||
Comment 41•9 years ago
|
||
Comment 42•9 years ago
|
||
Comment hidden (mozreview-request) |
Comment 44•9 years ago
|
||
Comment 45•9 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 49•9 years ago
|
||
Comment 50•9 years ago
|
||
mozreview-review |
Comment 51•9 years ago
|
||
Comment 52•9 years ago
|
||
Comment 53•9 years ago
|
||
mozreview-review |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 56•9 years ago
|
||
mozreview-review |
Comment 57•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 63•8 years ago
|
||
Updated•8 years ago
|
Comment 64•7 years ago
|
||
Comment 65•6 years ago
|
||
since 7 years passed, is going to Mozilla include this patch or not? Would be nice to know.
Comment 66•6 years ago
|
||
The possibility of using system graphite2 appears to have gone with ff72 (new code and header in graphite2/geckoheader which only gets compiled if the shipped graphite2 is compiled, but is referenced from gfx/thebes and therefore breaks the build).
Comment 67•6 years ago
|
||
Hmm, that's a good point. In principle I think it should be possible to use that code in conjunction with a system graphite lib, but it'd probably take some build-system hacking somewhere to rearrange things.
The graphite2/geckoextra code is currently placed (and compiled) together with in-tree graphite because when the whole of graphite will be compiled as a WASM sandboxed library, this code is to be included as part of the lib. I suspect that would be harder to arrange if we moved the graphite2/geckoextra code over to gfx/thebes.
Comment 68•6 years ago
|
||
Looks like the only issue is the addition of 2 functions in the graphite2 library. I've moved 1 cpp and 1 header file into sytem graphite2 source and nothing so far is broken in the system when system graphite2 compiled with this addition. So technically the best solution would be to contribute those additions to main graphite2 library and then no more issues to compile 72 with system harfbuzz and graphite2 again.
Comment 69•6 years ago
|
||
Looks like the commit that introduced that this was added here:
https://phabricator.services.mozilla.com/D47388
See: #1584000
Comment 70•5 years ago
|
||
(In reply to s.zharkoff from comment #68)
Looks like the only issue is the addition of 2 functions in the graphite2 library. I've moved 1 cpp and 1 header file into sytem graphite2 source and nothing so far is broken in the system when system graphite2 compiled with this addition. So technically the best solution would be to contribute those additions to main graphite2 library and then no more issues to compile 72 with system harfbuzz and graphite2 again.
I've created a patch to include changes mentioned to the upstream package see here if anyone wants to look into it:
https://aur.archlinux.org/cgit/aur.git/tree/add_mozilla_geckoextra.patch?h=graphite-mozilla
Updated•4 years ago
|
Comment 71•3 years ago
|
||
Gentoo's graphite patch no avoids needing to link to patched version of graphite.
Description
•