Debian Packaging: what changed
Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 2 | - | ||
| 3 | - | ||
| 4 | - | ||
| 1 | + | This page explains how to create Debian packages for the [[FPC]] compiler itself. | |
| 5 | 2 | ||
| 6 | - | ||
| 3 | + | * for more general information about [[FPC]] release, see [[Release engineering]] page. | |
| 4 | + | * for information on creating Debian packages for any application, see [[Debian package structure]]. | |
| 7 | 5 | ||
| 8 | - | ||
| 6 | + | ||
| 9 | 7 | ||
| 10 | - | ||
| 8 | + | An editor has declared this article to be a stub, meaning that it needs more information. Can you help out and [[/wiki.freepascal.org/index.php?title=Debian Packaging&action=edit|add some]]? If you have some useful information, you can [[Help:Editing|help]] the Free Pascal Wiki by clicking on the edit box on the left and expanding this page. | |
| 11 | 9 | ||
| 12 | - | ||
| 10 | + | ||
| 13 | 11 | ||
| 14 | - | ||
| 12 | + | ### Getting sources | |
| 15 | 13 | ||
| 16 | - | ||
| 14 | + | FPC sources are managed using SVN. The most convenient way to get sources in order to build a release is using the svn export command : | |
| 15 | + | ``` | |
| 16 | + | svn export <http://svn.freepascal.org/svn/fpcbuild/tags/release_x_y_z> fpcbuild-x.y.z | |
| 17 | + | ``` | |
| 17 | 18 | ||
| 18 | - | ||
| 19 | + | ### Building packages | |
| 19 | 20 | ||
| 20 | - | ||
| 21 | + | The top make file of the fpcbuild-x.y.z branch supports the **deb** target which is intended to build Debian packages from source. | |
| 22 | + | ``` | |
| 23 | + | make deb | |
| 24 | + | ``` | |
| 21 | 25 | ||
| 22 | - | ||
| 26 | + | However, users may want to use their own packeging rules file | |
| 27 | + | ``` | |
| 28 | + | make deb DEBDIR=<some path to debian dir> | |
| 29 | + | ``` | |
| 23 | 30 | ||
| 24 | - | ||
| 31 | + | Or use a particular libgdb version | |
| 32 | + | ``` | |
| 33 | + | make deb GDBLIBDIR=<path/${OS_TARGET}/${CPU_TARGET}> | |
| 34 | + | ``` | |
| 25 | 35 | ||
| 26 | 36 | ### How it works | |
| 27 | 37 | ||
| 28 | 38 | **To be continued...** | |
| 29 | 39 | ||
| 30 | 40 | --- | |
| 31 | - | ||
| 32 | - | ||
| 33 | - | ||
| 34 | - | ||
| 35 | - | ||
| 41 | + | *From the Free Pascal wiki, page "Debian Packaging", as the Internet Archive kept it on 2022-08-13. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
