Difference between revisions of "Debian Packaging"

From Free Pascal wiki
Jump to navigationJump to search
m (Add categories)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Debian Packaging ==
+
This page explains how to create Debian packages for the [[FPC]] compiler itself.
This page aims to explain how to create debian packages for FPC.
+
* for more general information about [[FPC]] release, see [[Release engineering]] page.
 +
* for information on creating Debian packages for any application, see [[Debian package structure]].
 +
 
 +
 
 +
{{stub}}
 +
 
 
=== Getting sources ===
 
=== Getting sources ===
 +
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 :
 +
svn export http://svn.freepascal.org/svn/fpcbuild/tags/release_x_y_z fpcbuild-x.y.z
 +
 
=== Building packages ===
 
=== Building packages ===
 +
The top make file of the fpcbuild-x.y.z branch supports the <b>deb</b> target which is intended to build Debian packages from source.
 +
make deb
 +
However, users may want to use their own packeging rules file
 +
make deb DEBDIR=<some path to debian dir>
 +
Or use a particular libgdb version
 +
make deb GDBLIBDIR=<path/${OS_TARGET}/${CPU_TARGET}>
 +
 
=== How it works ===
 
=== How it works ===
 +
'''To be continued...'''
 +
 +
[[Category:FPC]]
 +
[[Category:FPC development]]
 +
[[Category:Linux]]
 +
[[Category:Release engineering]]

Latest revision as of 04:20, 26 August 2020

This page explains how to create Debian packages for the FPC compiler itself.


An editor has declared this article to be a stub, meaning that it needs more information. Can you help out and add some? If you have some useful information, you can help the Free Pascal Wiki by clicking on the edit box on the left and expanding this page.


Getting sources

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 :

svn export http://svn.freepascal.org/svn/fpcbuild/tags/release_x_y_z fpcbuild-x.y.z

Building packages

The top make file of the fpcbuild-x.y.z branch supports the deb target which is intended to build Debian packages from source.

make deb

However, users may want to use their own packeging rules file

make deb DEBDIR=<some path to debian dir>

Or use a particular libgdb version

make deb GDBLIBDIR=<path/${OS_TARGET}/${CPU_TARGET}>

How it works

To be continued...