[patch] Configure option to install OptionalPackage's sources
|Reported by:||mmadia||Owned by:||bonefish|
This implements the build system aspect of optionally including source archives inside pre-built image, as per this mailing list suggestion.
It is activated via a configure flag "--include-sources" and sets a Jam variable "INCLUDE_SOURCES". For CD's the destination folder is "_packages_/". For all other image types, it is "develop/sources/".
As mentioned in the above mailing list thread, this patch will facilitate in the distribution of OptionalPackages' sources, which is particularly useful to ensure compliance with the various GPL licenses, especially when distributing on physical media.
A second patch is include to display functionality with respect to build/jam/OptionalPackages. For now, the source code resides in the root folder of Haiku-Files. If this patch is adopted, a path similar to http://haiku-files.org/files/optional-packages/sources/<year> could be used.