Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2008-02-02 00:07:20
Size: 651
Editor: PeMac
Comment:
Revision 6 as of 2008-02-02 00:25:56
Size: 1294
Editor: PeMac
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
A *.dsc file is produced when you build a package with ["debuild"] - if you're in the source directory of a Debian package you can just invoke ["pdebuild"] and not worry about it though. '''Debian source control file – .dsc'''. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package. The fields are listed below:

• Source

• Version

• Maintainer

• Binary

• Architecture

• Build-Depends et al. (source package interrelationships)

• Standards-Version

• Files

The source package control file is generated by dpkg-source when it builds the source archive.
Line 5: Line 23:
To unpack a source package it is typically invoked with

["dpkg-source"] -x .../path/to/filename.dsc

with the filename.tar.gzand filename.diff.gz(if applicable) in the same directory. It unpacks into package-version, and if applicable package-version.orig, in the current directory.
Line 6: Line 30:
 * http://www.debian.org/doc/maint-guide/  * http://www.debian.org/doc/maint-guide/
* http://www.sylence.net/stuff/Debian_Packaging_Manual.pdf

Debian source control file – .dsc. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package. The fields are listed below:

• Source

• Version

• Maintainer

• Binary

• Architecture

• Build-Depends et al. (source package interrelationships)

• Standards-Version

• Files

The source package control file is generated by dpkg-source when it builds the source archive.

Sources are normally not installed. You can only install them if you know the package name. When installing the sources of a debian package, a package ending on .dsc (description) is downloaded along with an original ["tar ball"] and a debian specific ["diff"] (compressed). The .dsc will contain the name of the package, both, in its filename as well as content (after the Source: keyword).

To unpack a source package it is typically invoked with

["dpkg-source"] -x .../path/to/filename.dsc

with the filename.tar.gzand filename.diff.gz(if applicable) in the same directory. It unpacks into package-version, and if applicable package-version.orig, in the current directory.