Sign in Join
Wiki copytemporary

Debian Packaging: what changed

Revision 4 to 5. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11This page explains how to create Debian packages for the [[FPC]] compiler itself.
22
33- for more general information about [[FPC]] release, see [[Release engineering]] page.
44- for information on creating Debian packages for any application, see [[Debian package structure]].
55
66### Getting sources
77
88FPC sources are managed using SVN. The most convenient way to get sources in order to build a release is using the svn export command :
99
10-`svn export `[`http://svn.freepascal.org/svn/fpcbuild/tags/release_x_y_z`](http://svn.freepascal.org/svn/fpcbuild/tags/release_x_y_z)` fpcbuild-x.y.z`
10+```text
11+svn export http://svn.freepascal.org/svn/fpcbuild/tags/release_x_y_z fpcbuild-x.y.z
12+```
1113
1214### Building packages
1315
1416The top make file of the fpcbuild-x.y.z branch supports the deb target which is intended to build Debian packages from source.
1517
16-`make deb`
18+```text
19+make deb
20+```
1721
1822However, users may want to use their own packeging rules file
1923
20-`make deb DEBDIR=<some path to debian dir>`
24+```text
25+make deb DEBDIR=<some path to debian dir>
26+```
2127
2228Or use a particular libgdb version
2329
24-`make deb GDBLIBDIR=<path/${OS_TARGET}/${CPU_TARGET}>`
30+```text
31+make deb GDBLIBDIR=<path/${OS_TARGET}/${CPU_TARGET}>
32+```
2533
2634### How it works
2735
2836**To be continued...**
2937
3038---
3139*From the Free Pascal wiki, page "Debian Packaging", as it stood on 2020-08-26 after a change by Trev, out of the wiki's dump of 2024-05-26. 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).*
3240Category: FPC
3341Category: FPC development
3442Category: Linux
3543Category: Release engineering

Back to history