Differences between revisions 7 and 8
Revision 7 as of 2010-02-24 01:38:22
Size: 1408
Editor: ClintAdams
Comment:
Revision 8 as of 2010-02-24 01:39:28
Size: 1589
Editor: ?RichardDarst
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

If you want to help here, add as much as you think important to this outline. Then, whoever presents it can narrow it down to what they see as practical in the time we have.
Line 30: Line 32:
   * Other tools: shlibs, ... ... ...    * Other tools: shlibdeps, ... ... ...

Draft outline

If you want to help here, add as much as you think important to this outline. Then, whoever presents it can narrow it down to what they see as practical in the time we have.

  • Binary packages
    • Constructing/unpacking with just ar and tar.
    • dpkg-deb --unpack
    • DEBIAN - metainfo
    • root, containing all files as installed
    • Package files database, no overlaps, dpkg-divert
    • How to build a binary package: make a folder containnig the root and DEBIAN, then dpkg-deb --build
  • Source packages
    • (brief note on package formats, we'll get to this later)
    • Goal here: Make a DEBIAN+root directory, run dpkg-deb --pack on it.
    • debian/rules is a Makefile
    • Interface to building: what the autobuilders/policy require:
      • debian/rules binary (run with fake or real superuser privileges)
      • debian/rules build (run with normal user privileges)
    • Other required files
      • debian/control
      • debian/changelog
      • Not build related: debian/{copyright,readme,news,}
    • Common packaging tools:
      • debhelper
        • Tries to automatically install stuff based on common names
        • Use debian/package.XXX to add extra stuff to install
        • dh vs dh7
        • debian/package.{install, docs, xxx}
        • Adding more stuff to its makefiles
      • cdbs
      • yada
    • Other tools: shlibdeps, ... ... ...
  • Package formats
    • 1.0: .orig.tar.gz + diff to add debian/ directory
    • 3.0: .orig.tar.gz + debian.tar.gz + ...
  • Some archive related stuff?
  • Other useful tools?