as-salamu alaykom, On Fri, May 23, 2008 at 11:45:20AM +0300, fadi al-katout wrote: > am having a trouble building monajat debian package > using the diff file that brother Ahmad created... > it is not the same as the one for wcc ?! ---end quoted text---
Sorry I was busy last week, I didn't answer your email. Here's the story of making a debian package: 1. Some programmer makes a nice program (such as thwab-lib, monajat,...). He makes an archive (.tar.gz or .tar.bz2, .zip, ...) file that contains the source code of his program and puts that on some website. This archive usually targets any linux system (not just Debian or Ubuntu), sometimes it can target other than linux, such as monajat that can work in windows. 2. Some packager decides to make a debian/ubuntu package for that program, so he downloads that archive and converts it to a .tar.gz archive with the following naming convention: package_version.orig.tar.gz. That's called the upstream tarball. 3. Then this packager unpacks that upstream tarball, and creates a debian/ folder in the extracted directory. In this debian folder, he puts scripts needed to build the binary debian package for the program. 4. When done, the packager runs: debuild -S -sa -rfakeroot to create the debian source package, the source package consists of three files: package_version-revision.dsc package_version-revision.diff.gz package_version.orig.tar.gz Where revision is the version of packaging work itself. The diff.gz file is a patch against the upstream tarball, this patch contians the work that the packager did in the debian/ folder. 5. To build this package, one can run: sudo pbuilder build package_version-revision.dsc And yes, of course the diff file for monajat is not the same as the one for wcc. -- أحمد المحمودي (Ahmed El-Mahmoudy) Digital design engineer SySDSoft, Inc. GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net) GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C 156E D325 C3C8 9DCA 0B27 _______________________________________________ Mailing list: https://launchpad.net/~ubuntume.team Post to : [email protected] Unsubscribe : https://launchpad.net/people/+me/+editemails More help : https://help.launchpad.net/ListHelp

