How to build Debian packages

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    5 Favorites

    How to build Debian packages - Presentation Transcript

    1. How to build Debian packages? Talk about Debian, packaging and more... Kartik Mistry Magnet Technologies, Mumbai
    2. What we will learn?
      • About me!
      • What is Debian? What are packages?
      • Why Debian? Why .deb?
      • Building Packages
      • Your own packages in Debian aka How to contribute?
      • Tips & Tricks
    3. About me!
      • Debian user since 2004 AD
      • In NM queue ..
      • Leading Gujarati localization team since 2004
      • D-I translator for Gujarati
    4. What is Debian? Why Debian?
      • Debian GNU/Linux is one of the oldest Linux distribution
      • Known for stability, security and easy upgrades ..
      • Best package management system
      • Debian Social Contract, DFSG, Debian Policies
      • Most Important: Debian Community !
    5. Packages ..
      • Package makes life easy!
      • Debian packages are .deb
      • Package management is the key
      • dpkg
      • apt-get power
    6. Building Debian Packages The Debian design process is open to ensure that the system is of the higest quality and that it reflects the needs of the user community -- The Debian Linux Manifesto
    7. The basic stuff
      • Binary and source packages
      • Debian package is,
      .dsc .diff .orig.tar.gz
    8. Look inside the package ..
      • All changes made by Debian stays at debian/ directory
      • No touch to upstream original!
      • Debian patches are in debian/patches
      • Use of dpatch or quilt
    9. Starting with dh_make
      • dh_make tool
      • Single, Library, Multibinary, Kernel package
      • Inspecting debian/ directory
    10. debian/*
      • debian/changelog
      • debian/control
      • debian/copyright
      • debian/compact
    11. debian/rules
      • We know that debian/rules !
      • Basically Makefile
      • configure, build, install, binary-indep, binary-arch, binary, clean
    12. cdbs
      • Common Debian Build System
      • Magic stuffs!
    13. Building package finally!
      • Extracting the existing package: dpkg-source -X *.dsc
      • dpkg-buildpackage -rfakeroot -uc -us -sa
    14. Practical!
      • Small demo of package building ..
    15. pbuilder
      • pbuilder = personal builder
      • Your package must build on unstable, and you are running stable/testing version ..
      • chroot system, works with Ubuntu/Knoppix
    16. Checking packages
      • Quality matters!!
      • Lintian and Linda tools
      • Install it, it works? Check on different machines
      • Debian Policy
      • Small silly things ..
    17. Your own packages in Debian ..
      • Only Debian Developers are allowed to upload packages in Debian FTP
      • Any one can maintain packages without being Debian Developer
      • But, Where to upload?
    18. mentors.debian.net
      • Mentoring NM people
      • Finding Sponsors
      • Sponsors may have different criteria, so look for it ..
    19. GPG Key
      • GPG Key
      • Keysigning Party
      • Find Developer to sign your key! (Not neccessary)
    20. Tips & Tricks
      • Must lintian and linda error free
      • Look for small things
      • Your package really works?
      • Copyright is important
      • Learn from mistakes
    21. Resources
      • debian.org contains almost everything!
      • mentors.debian.net
      • Debian New Maitainer Guide
      • Debian Policy Manual
      • Debian Developer Reference
      • #debian-mentors, #debian-devel on irc.oftc.net
    22. Questions ?
    23. Thanks!
      • Kartik Mistry
      • Blog : kartikmistry.org/blog
      • Contact : kartik.mistry at gmail.com
      • This Presentation/Notes: kartikmistry.org/slides

    + gnunifygnunify, 3 years ago

    custom

    3831 views, 5 favs, 1 embeds more stats

    Talk about Debian, Packaging and more..

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 3831
      • 3826 on SlideShare
      • 5 from embeds
    • Comments 0
    • Favorites 5
    • Downloads 0
    Most viewed embeds
    • 5 views on http://new.openads.org

    more

    All embeds
    • 5 views on http://new.openads.org

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories