(Initial copy of the current guidelines) |
No edit summary |
||
Line 1: | Line 1: | ||
== Duplication of system libraries == | == Bundling and Duplication of system libraries == | ||
Fedora packages should make every effort to avoid having multiple, separate, upstream projects bundled together in a single package. | |||
All packages whose upstreams allow them to be built against system libraries must be built against system libraries. | |||
All packages whose upstreams have no mechanism to build against system libraries may opt to carry bundled libraries, but if they do, they must include <code>Provides: bundled(<libname>) = <version></code> in their RPM spec file. In addition, packages whose upstreams have no mechanism to build against system libraries must be contacted publicly about a path to supporting system libraries. If upstream refuses, this must be recorded in the spec file, either in comments placed adjacent to the <code>Provides:</code> above, or in an additional file checked into the SCM and referenced by a comment placed adjacent to the <code>Provides:</code> above. | |||
=== Avoid bundling of fonts in other packages === | === Avoid bundling of fonts in other packages === | ||
Fonts in general-purpose formats such as Type1, OpenType TT (TTF) or OpenType CFF (OTF) are subject to specific packaging guidelines ([[Packaging:FontsPolicy|1]]), and should | Fonts in general-purpose formats such as Type1, OpenType TT (TTF) or OpenType CFF (OTF) are subject to specific packaging guidelines ([[Packaging:FontsPolicy|1]]), and should always be packaged in the system-wide font repositories instead of private application directories. | ||
For more information, see: [[Packaging:FontsPolicy#Package_layout_for_fonts]]. | For more information, see: [[Packaging:FontsPolicy#Package_layout_for_fonts]]. |
Latest revision as of 05:43, 8 October 2015
Bundling and Duplication of system libraries
Fedora packages should make every effort to avoid having multiple, separate, upstream projects bundled together in a single package.
All packages whose upstreams allow them to be built against system libraries must be built against system libraries.
All packages whose upstreams have no mechanism to build against system libraries may opt to carry bundled libraries, but if they do, they must include Provides: bundled(<libname>) = <version>
in their RPM spec file. In addition, packages whose upstreams have no mechanism to build against system libraries must be contacted publicly about a path to supporting system libraries. If upstream refuses, this must be recorded in the spec file, either in comments placed adjacent to the Provides:
above, or in an additional file checked into the SCM and referenced by a comment placed adjacent to the Provides:
above.
Avoid bundling of fonts in other packages
Fonts in general-purpose formats such as Type1, OpenType TT (TTF) or OpenType CFF (OTF) are subject to specific packaging guidelines (1), and should always be packaged in the system-wide font repositories instead of private application directories. For more information, see: Packaging:FontsPolicy#Package_layout_for_fonts.