Difference between revisions of "Debian Packaging"

From Free Pascal wiki
Jump to navigationJump to search
(stubbed, categorized.)
m (→‎Debian Packaging: spelling convignant->convenient, was-way etc,)
Line 4: Line 4:
 
This page aims to explain how to create debian packages for FPC.
 
This page aims to explain how to create debian packages for FPC.
 
=== Getting sources ===
 
=== Getting sources ===
FPC sources are managed using SVN. The most covignent was to get sources in order to build a release is using the svn export command :
+
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
 
  svn export http://svn.freepascal.org/svn/fpcbuild/tags/release_x_y_z fpcbuild-x.y.z
  
 
=== Building packages ===
 
=== Building packages ===
For general knowledge about building FPC release packages, plese refer to [[Release engineering]] page.
+
For general information about building FPC release packages, please refer to the [[Release engineering]] page.
  
The top make file of the fpcbuild-x.y.z supports the <b>deb</b> target which is intended to build Debian packages from sources.
+
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
 
  make deb
However, user may want to use his own packeging rules file
+
However, users may want to use their own packeging rules file
 
  make deb DEBDIR=<some path to debian dir>
 
  make deb DEBDIR=<some path to debian dir>
 
Or use a particular libgdb version
 
Or use a particular libgdb version

Revision as of 07:45, 8 September 2014

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.


Debian Packaging

This page aims to explain how to create debian packages for FPC.

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

For general information about building FPC release packages, please refer to the Release engineering page.

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...