Wiki source for CompilingPrograms
CompilingPrograms > how to compile programs for GNU/Linux, then package them for Mageia, good practices
===Pages about compiling programs for GNU/Linux and eventually packaging them for Mageia===
{{Category}}
===How to compile programs for GNU/Linux and packaging them for Mageia===
Before trying to compile, identify if the program has been packaged for another distribution
~- for existing packages in the distribution, there is a tool to compare versions in other distributions
~-
Check that
~- https://wiki.mageia.org/en/Policies are respected
~- mainly https://wiki.mageia.org/en/Software_inclusion_policy : checking the license first will prevent being disappointed if the software cannot be included in the end
Now you're ready to compile and spending some time on it
~- check dependencies and install corresponding -devel packages
~- see below how to manage source code
===Installing a source-version system to manage source code===
Trying git
~- First download initial (upstream) source code
~- commit this initial version to identify patches made to it
~- commit any consistant change, identifying reasons to patch
~- identify existing patches on other distribution to avoid re-discovering existing work already done
----
CategoryMageiaDev
===Pages about compiling programs for GNU/Linux and eventually packaging them for Mageia===
{{Category}}
===How to compile programs for GNU/Linux and packaging them for Mageia===
Before trying to compile, identify if the program has been packaged for another distribution
~- for existing packages in the distribution, there is a tool to compare versions in other distributions
~-
Check that
~- https://wiki.mageia.org/en/Policies are respected
~- mainly https://wiki.mageia.org/en/Software_inclusion_policy : checking the license first will prevent being disappointed if the software cannot be included in the end
Now you're ready to compile and spending some time on it
~- check dependencies and install corresponding -devel packages
~- see below how to manage source code
===Installing a source-version system to manage source code===
Trying git
~- First download initial (upstream) source code
~- commit this initial version to identify patches made to it
~- commit any consistant change, identifying reasons to patch
~- identify existing patches on other distribution to avoid re-discovering existing work already done
----
CategoryMageiaDev