[SCM] Debian Packaging Handbook: wiki source branch, master, updated. 35f99ed88fcded680cfb059e1a6e4ba60dbdbd97

Luca Brivio lb-guest at alioth.debian.org
Mon Jan 21 12:33:42 UTC 2008


The branch, master has been updated
       via  35f99ed88fcded680cfb059e1a6e4ba60dbdbd97 (commit)
      from  f3b8baabe0740a0918b366732c6ae1d540d5cc68 (commit)


- Shortlog ------------------------------------------------------------
35f99ed web commit by LucaBrivio: import from wiki.debian.org: Creation chapter (beginning)

Summary of changes:
 Creation.adoc |  160 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 160 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit 35f99ed88fcded680cfb059e1a6e4ba60dbdbd97
Author: Luca Brivio <lb-guest at alioth.debian.org>
Date:   Mon Jan 21 12:33:41 2008 +0000

    web commit by LucaBrivio: import from wiki.debian.org: Creation chapter (beginning)

diff --git a/Creation.adoc b/Creation.adoc
new file mode 100644
index 0000000..5893474
--- /dev/null
+++ b/Creation.adoc
@@ -0,0 +1,160 @@
+Creating packages
+-----------------
+
+The following section describes the method of creating Debian "source" packages, which can then be built for various architectures and then, if you so desire, be submitted to the Debian project for inclusion in their repositories, provided the package adheres to the packaging and license requirements demanded by Debian. This is not the way to develop binary packages. For more on that, see http://tldp.org/HOWTO/Debian-Binary-Package-Building-HOWTO/[]
+
+Debian package types
+~~~~~~~~~~~~~~~~~~~~
+
+General (non-native)
+^^^^^^^^^^^^^^^^^^^^
+
+Most Debian packages are .deb packages which are actually obtained by compiling an existing software release from source. For example, "kpat" is a Debian package obtained using the "KPatience" tarballs released by the KDE project. So, the Debian package maintainer obtains the source from the KPat website, compiles it using a procedure to make a .deb, and then submits (uploads) it into the Debian servers. This is the system in place for most Debian packages, and is what you will probably be making if you are reading this document.
+
+Native
+^^^^^^
+
+There are, however, some packages in Debian which are mostly useful only for Debian, and are developed in-house by the Debian project and not obtained from an external source. Such packages are called "native" packages since they are native to the Debian system and they have slightly different packaging rules.
+
+Pre-requirements
+~~~~~~~~~~~~~~~~
+
+Getting the source
+~~~~~~~~~~~~~~~~~~
+
+from a tarball
+^^^^^^^^^^^^^^
+
+from a revision control system
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Packaging tools
+~~~~~~~~~~~~~~~
+
+dh-make
+^^^^^^^
+
+dh-make-perl
+^^^^^^^^^^^^
+
+debhelper
+^^^^^^^^^
+
+CDBS
+^^^^
+
+Benefits
+++++++++
+
+Drawbacks
++++++++++
+
+yada
+^^^^
+
+devscripts
+^^^^^^^^^^
+
+debnest
+^^^^^^^
+
+Initial "debianization"
+~~~~~~~~~~~~~~~~~~~~~~~
+
+Naming
+^^^^^^
+
+Initial version number
+^^^^^^^^^^^^^^^^^^^^^^
+
+Editing debian/ files ===
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+required files
+++++++++++++++
+
+====== debian/copyright ======
+====== debian/changelog ======
+====== debian/control ======
+======= finding build-dependencies =======
+======= using debian-xcontrol =======
+====== debian/rules ======
+
+other files
++++++++++++
+
+====== debian/compat ======
+====== debian/docs ======
+====== debian/dirs ======
+====== debian/menu ======
+====== debian/watch ======
+Nelson gave an informal description in http://wiki.debian.org/debian/watch[debian/watch]. Maybe this could be recycled.
+
+Creating menu icons
++++++++++++++++++++
+
+Creating manpages for Debian
+++++++++++++++++++++++++++++
+
+====== Dealing with TROFF source ======
+====== Using Docbook ======
+
+Editing other files
+^^^^^^^^^^^^^^^^^^^
+
+Packaging
+~~~~~~~~~
+
+Splitting your application into multiple binary packages
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- PkgSplit
+
+Packaging according to the build system
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Simple top level Makefile
++++++++++++++++++++++++++
+
+autotools
++++++++++
+
+====== How to package upstream source which uses automake and autoconf and contains generated files ======
+
+Python distutils 
+++++++++++++++++
+
+... other tips
+^^^^^^^^^^^^^^
+
+Building packages
+~~~~~~~~~~~~~~~~~
+
+Pre-requirements
+^^^^^^^^^^^^^^^^
+
+Building tools
+^^^^^^^^^^^^^^
+
+debuild
++++++++
+
+debuild will automatically run lintian or linda, but their warning and error messages may scroll off the screen.  However, debuild also creates a log file of the entire build in the parent of the source directory (with the file extension .build).  You may find it convenient to open the build log in your editor to review the lintian messages.
+
+pbuilder and cowbuilder
++++++++++++++++++++++++
+
+====== setting pbuilder/cowbuilder with a chroot environment ======
+======= keeping all the stuff in the home directory =======
+
+debaux-build
+++++++++++++
+
+sbuild
+++++++
+
+Other tools useful when building
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ccache
+++++++

-- 
Debian Packaging Handbook: wiki source



More information about the Packaging-handbook-commits mailing list